跳到正文
cccskills
免费在 GitHub 公开

algorithm-visualizer

Generate visual representations of algorithm execution

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md2.0 KB
  • README.md681 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

{
  "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

{
  "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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Provide implementations of advanced data structures

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18572026年9月17日 更新

Fresh adversarial code review with binary PASS/FAIL verdicts, evidence citations, and anchoring bias prevention via fresh reviewer spawning.

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18572026年9月17日 更新

WASM-based instant code transforms for simple tasks, achieving 352x speedup over LLM inference with zero cost.

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18572026年9月17日 更新

Coordinate Crew (persistent) and Polecat (transient) agents using Gas Town's hook-based work distribution and GUPP principle.

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18572026年9月17日 更新

Hierarchical coordination and drift detection with frequent checkpoints, shared memory coherence validation, role specialization enforcement, and short task cycles.

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18572026年9月17日 更新

System and API design guidance covering component boundaries, data flow, integration patterns, and scalability considerations.

中文简介正在准备中。当前显示原文说明。

a5c-ai/babysitter18572026年9月17日 更新

查看 a5c-ai 的全部技能

报告此技能的问题