doc-gen

Generate SRS and IEEE-1016-2009 SDD documents from source code and requirements.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/manhthien2005/PM_REVIEW --skill doc-gen-manhthien2005
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: doc-gen
Source: https://github.com/manhthien2005/PM_REVIEW/tree/main/tooling/.windsurf-template/shared/skills/doc-gen
Command: npx skills add https://github.com/manhthien2005/PM_REVIEW --skill doc-gen-manhthien2005

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Writing standards-compliant SRS and SDD documentation manually is slow and error-prone, and single-pass AI drafts often miss requirement gaps or violate non-functional constraints. This Skill automates document generation while enforcing a structured multi-agent review so the output is rigorous and traceable to actual source code. ## Core Features & Use Cases - Standards-Based Generation: Produces SRS documents and SDD documents following the IEEE-1016-2009 structure, using bundled Vietnamese templates as reference guidelines. - Multi-Agent Brainstorming Review: Simulates Primary Designer, Skeptic, Constraint Guardian, and Arbiter roles to challenge the design, surface gaps (e.g., missing database fields), and enforce NFR compliance before output. - Create or Refine Modes: Generates new {MODULE_NAME}_SRS.md / {MODULE_NAME}_SDD.md files or refines specific sections of existing documents, with Mermaid diagrams and Vietnamese final content. - Use Case: Ask for an SDD for the AUTH module; the Skill reads the auth source code, drafts a C4 model and flows, challenges the design with a brute-force attack scenario, adds rate limiting, and outputs the final Vietnamese document. ## Quick Start Ask the AI to write an SDD document for the AUTH module using the doc-gen skill.

Frequently Asked Questions about doc-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an SDD document from source code?▼

Invoke the doc-gen skill with a request like writing an SDD for a specific module. The skill reads the module's source code, builds C4 models and UML diagrams, runs a multi-agent review, and outputs a markdown file named {MODULE_NAME}_SDD.md.

How to write an IEEE-1016-2009 software design document with AI?▼

The doc-gen skill uses the bundled sdd-template.md as a reference guideline covering architecture views, data design, interfaces, and design rationale. The template is advisory, so the structure adapts to your project's actual needs.

Can I refine an existing SRS instead of creating a new one?▼

Yes. When you request refinement, the skill reads the existing document, identifies gaps such as missing scalability metrics in NFR sections, and rewrites or updates the relevant sections in place rather than generating a new file.

What is multi-agent brainstorming in document generation?▼

It is a structured peer-review simulation where a Primary Designer drafts the document, a Skeptic challenges assumptions, a Constraint Guardian enforces NFRs, and an Arbiter resolves objections. A Decision Log records all decisions before the document is finalized.

What language and diagram format does the generated documentation use?▼

The final document content is written in Vietnamese because stakeholders read Vietnamese, while diagrams use Mermaid syntax. The AI's internal reasoning instructions remain in English.