Docs generator

From 2233admin/reverse-skill-evolver · View interactive version

Docs generator is an AI agent skill from the GitHub repository 2233admin/reverse-skill-evolver. Creates task-oriented technical documentation with progressive disclosure. Use when writing READMEs, API docs, architecture docs, or markdown documentation. Also use this skill at the END of any completed reverse engineering, penetration testing, CTF, or security analysis task to generate a formal r

How to use this skill

Skill file

Technical Documentation

For writing style, tone, and voice guidance, use Skill(ce:writer) with The Engineer persona.

安全/逆向任务文档输出

当逆向/渗透/CTF/安全分析任务完成后,本 skill 负责在用户项目目录生成正式技术文档。

触发时机

  1. 逆向任务完成,已产出核心结论(算法还原、签名破解、绕过方案等)
  2. 渗透测试完成,已发现并验证漏洞
  3. CTF 题目解出,已拿到 flag
  4. 用户明确要求"写一份报告/文档/writeup"

模板选择

| 任务类型 | 使用模板 |

|---------|---------|

| APK/二进制/so 逆向 | references/security-report-templates.md → 逆向工程报告 |

| 渗透测试/漏洞挖掘 | references/security-report-templates.md → 渗透测试报告 |

| CTF 解题 | references/security-report-templates.md → CTF Writeup |

| JS/Web 签名逆向 | references/security-report-templates.md → 签名逆向报告 |

| 通用技术文档 | references/templates.md → README / API 文档 |

输出规范

质量要求

图表集成

生成报告时,应在适当位置调用 diagram-generator skill 生成可视化图表:

| 报告类型 | 建议图表 | 图表类型 |

|---------|---------|---------|

| 逆向工程报告 | 函数调用关系图、数据流图 | Mermaid flowchart / sequenceDiagram |

| 渗透测试报告 | 攻击路径图、网络拓扑图 | Mermaid flowchart / Graphviz |

| CTF Writeup | 解题思路流程图 | Mermaid flowchart |

| JS 签名逆向报告 | 请求链路时序图、算法流程图 | Mermaid sequenceDiagram / flowchart |

图表以 Mermaid 代码块形式嵌入报告 markdown 中,确保可在 GitHub/GitLab 直接渲染。


Core Principles

1. Progressive Disclosure

Reveal information in layers:

| Layer | Content | User Question |

|-------|---------|---------------|

| 1 | One-sentence description | What is it? |

| 2 | Quick start code block | How do I use it? |

| 3 | Full API reference | What are my options? |

| 4 | Architecture deep dive | How does it work? |

Warnings, breaking changes, and prerequisites go at the TOP.

2. Task-Oriented Writing

<!-- Bad: Feature-oriented -->
## AuthService Class
The AuthService class provides authentication methods...

<!-- Good: Task-oriented -->
## Authenticating Users
To authenticate a user, call login() with credentials:

3. Show, Don't Tell

Every concept needs a concrete example.

Formatting Standards

Quality Checklist

Anti-Patterns

| Problem | Fix |

|---------|-----|

| Wall of text | Break up with headings, bullets, code, tables |

| Buried critical info | Warnings/breaking changes at TOP |

| Missing error docs | Always document what can go wrong |

Templates

For README, API endpoint, and file organization templates, see references/templates.md.

Related Skills


按需自举(On-Demand Bootstrap)

本 skill 不依赖外部工具,纯文本生成。无需 bootstrap。

如果需要渲染图表嵌入报告,会调用 diagram-generator/ skill。


路由上下文

上游入口: 所有安全/逆向 skill 在任务完成后自动调用本 skill

触发方式:

同级关联模块:

安全报告模板: references/security-report-templates.md

通用文档模板: references/templates.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.