reverse-skill-router
Use the reverse-skill repository from Codex for authorized reverse engineering, security analysis, CTF, and defensive testing…
generate, refine, validate, and render diagrams from natural language, notes, code snippets, schemas, tables, or existing diagram source. use for flowcharts, swimlanes, sequence diagrams, state diagrams, er diagrams, class diagrams, architecture/c4-style diagrams, dependency
Claude Code
$ npx -y skills add zhaoxuya520/reverse-skill --skill diagram-generator --agent claude-code
Codex
$ npx skills add zhaoxuya520/reverse-skill --skill diagram-generator -a codex -y
Cursor
$ npx skills add zhaoxuya520/reverse-skill --skill diagram-generator -a cursor -y
Gemini CLI
$ npx skills add zhaoxuya520/reverse-skill --skill diagram-generator -a gemini-cli -y
GitHub Copilot
$ npx skills add zhaoxuya520/reverse-skill --skill diagram-generator -a github-copilot -y
OpenCode
$ npx skills add zhaoxuya520/reverse-skill --skill diagram-generator -a opencode -y
Windsurf
$ npx skills add zhaoxuya520/reverse-skill --skill diagram-generator -a windsurf -y
name: diagram-generator description: generate, refine, validate, and render diagrams from natural language, notes, code snippets, schemas, tables, or existing diagram source. use for flowcharts, swimlanes, sequence diagrams, state diagrams, er diagrams, class diagrams, architecture/c4-style diagrams, dependency graphs, gantt charts, mind maps, user journeys, sankey-style flows, org charts, network graphs, and other visual models. supports mermaid by default, graphviz dot for complex graph layout, plantuml for uml-heavy engineering diagrams, and svg output when direct markup is more reliable.
1. `NOW`:确认当前任务是否命中本 skill 的适用范围 2. `NOW`:读取 `../tool-index.md`,校验工具可用性和实际路径 3. `NEXT`:缺工具时调用 bootstrap,不要猜路径 4. `ACT`:进入"工作流"第一步并执行,不要停在确认状态
Create clear, editable diagrams from messy or structured inputs. Prefer text-based diagram source first so the result can be reviewed, versioned, and refined. Render to files only when the user asks for an image/PDF or when a downloadable artifact would materially help.
1. Identify the user's intent, audience, and source material. 2. Choose the diagram family and language using the decision table below. 3. Normalize entities, relationships, labels, states, branches, and time/order information before writing diagram code. 4. Generate concise, readable diagram source. 5. Validate the syntax mentally and, when creating files, run `scripts/render_diagram.py`. 6. Return the diagram source plus a short note about assumptions. When files are generated, include links to the output files.
Do not over-ask for clarification. If the request is underspecified, make reasonable assumptions and label them briefly.
Use Mermaid unless another language is clearly better.
| User wants | Prefer | Why | |---|---|---| | process flow, decision tree, simple swimlane | Mermaid flowchart | readable and easy to paste into Markdown | | sequence of system/user interactions | Mermaid sequenceDiagram or PlantUML sequence | Mermaid for docs; PlantUML for UML formality | | lifecycle, state machine, transitions | Mermaid stateDiagram-v2 or PlantUML state | compact transition syntax | | database schema, entities, relationships | Mermaid erDiagram | portable ER notation | | class/interface/object model | Mermaid classDiagram or PlantUML class | Mermaid for docs; PlantUML for detailed UML | | project schedule | Mermaid gantt | concise timeline syntax | | hierarchy, ideas, notes | Mermaid mindmap | good default for idea maps | | customer/product journey | Mermaid journey | built-in journey notation | | git history | Mermaid gitGraph | built-in git notation | | dependency graph, package graph, large network | Graphviz DOT | better layout engines for dense graphs | | architecture with layers, clusters, boundaries | Mermaid flowchart with subgraphs, Graphviz clusters, or PlantUML C4-style | choose based on requested fidelity | | weighted flow/sankey-like relationship | Mermaid sankey-beta when supported, otherwise SVG or Graphviz | Mermaid support may vary by renderer | | custom visual where source languages fit poorly | SVG | precise control over layout and styling |
Consult `references/diagram-patterns.md` for compact templates.
General Mermaid rules:
Use Graphviz for large, dense, or layout-sensitive relationship diagrams.
Use PlantUML when the user asks for UML or needs formal UML notation.
Reverse Engineering / Authorized Penetration Testing / Security Research Skill Router Pack AI-powered routing + On-demand toolchain bootstrapping + Self-evolving knowledge base Supports Claude Code, Kiro, Cursor, Cline, and other AI coding clients 逆向/渗透/安全技能路由包 - AI 自动路由 + 按需自举工具链 + 自动进化经验库 | 支持 Claude Code / Kiro / Cursor / Cline 等代码 AI 客户端
Use the reverse-skill repository from Codex for authorized reverse engineering, security analysis, CTF, and defensive testing…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的…
Use for authorized multi-stage attack-path planning and orchestration when a task spans reconnaissance, initial access, privilege…
跨版本符号迁移与二进制差分。当你有旧版本的符号/逆向结果,需要快速迁移到新版本时使用。 适用场景:内核缺 PDB 用旧版符号推导、程序更新后批量迁移函数名、应用更新后快速定位新偏移。 核心方法:用 LLM 做结构化差异比对,程序化输入输出,成本极低(200…
Use for authorized binary analysis in Binary Ninja, including HLIL/MLIL/LLIL inspection, strings/imports/exports,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…
Vercel AI SDK patterns for the installed major (ui/package.json: `ai` 6.x, `@ai-sdk/react` 3.x). The skill name is historical;…