Skip to content

a5c-ai/babysitter / library/specializations/algorithms-optimization/skills/algorithm-visualizer

algorithm-visualizer

Verified

Generate visual representations of algorithm execution

FileKindSize
README.mdmarkdown681 B
SKILL.mdskill md2.0 KB
---
name: algorithm-visualizer
description: Generate visual representations of algorithm execution
allowed-tools:
  - Bash
  - Read
  - Write
  - Grep
  - Glob
graph:
  domains: [domain:computer-science]
  specializations: [specialization:algorithms-optimization]
  skillAreas: [skill-area:dynamic-programming, skill-area:graph-algorithms, skill-area:data-visualization]
  roles: [role:backend-engineer, role:computational-scientist]
---

# Algorithm Visualizer Skill

## Purpose

Generate visual representations of algorithm execution to aid understanding, debugging, and explanation of algorithmic concepts.

## Capabilities

- Step-by-step execution visualization
- Data structure state visualization
- Graph algorithm animation
- DP table visualization
- Generate animated GIFs/videos
- Interactive visualization generation
- Tree and array state rendering

## Target Processes

- algorithm-implementation
- dp-pattern-matching
- graph-traversal
- interview-problem-explanation

## Visualization Types

1. **Array Operations**: Sorting, searching, two-pointer techniques
2. **Tree Structures**: Binary trees, BST operations, tree traversals
3. **Graph Algorithms**: BFS, DFS, shortest paths, MST
4. **DP Tables**: State transitions, optimal substructure
5. **Data Structures**: Stack, queue, heap operations

## Input Schema

```json
{
  "type": "object",
  "properties": {
    "algorithm": { "type": "string" },
    "input": { "type": "object" },
    "format": {
      "type": "string",
      "enum": ["ascii", "svg", "gif", "html"]
    },
    "steps": { "type": "boolean", "default": true }
  },
  "required": ["algorithm", "input"]
}
```

## Output Schema

```json
{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "visualization": { "type": "string" },
    "steps": { "type": "array" },
    "format": { "type": "string" }
  },
  "required": ["success"]
}
```

## Integration

Can integrate with visualization libraries like Manim, D3.js, or generate ASCII art for terminal-based visualization.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 197kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall