AGENT SKILL
doc-generator
Creates professional documentation for SWAL projects using real code analysis. Use when projects have low doc score or missing ARCHITECTURE.md/STATE.md.
- License 许可
- MIT
- 所属仓库
- iberi22/skills
- 最近更新
- 2026-10-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- doc-generator
- author
- swal
- license
- MIT
- updated
- 2026-04-23
- version
- 1.0.0
- description
- Creates professional documentation for SWAL projects using real code analysis. Use when projects have low doc score or missing ARCHITECTURE.md/STATE.md.
03 SKILL.md 正文
Documentation Generator Skill
Creates professional documentation for SWAL projects using real code analysis.
When to Use
- Project has < 50% doc score
- Missing ARCHITECTURE.md, STATE.md, or TODO.md
- Need to update existing documentation
Process
Phase 1: Research (REQUIRED)
- Read
README.mdif exists - Read
package.jsonfor tech stack and scripts - Explore
src/folder structure - Run
npm run buildto verify build status - Check GitHub issues if available
Phase 2: Create .gitcore/ folder
mkdir -Force .gitcore\
Phase 3: Write ARCHITECTURE.md
Project-specific content covering:
- What the project does (specific, not generic)
- Tech stack (from package.json)
- Module structure (from src/ exploration)
- Data flow (from code reading)
- API endpoints (from routes)
Phase 4: Write STATE.md
Project-specific content covering:
- Build status (from npm run build)
- Test status (from npm test)
- Module status table (real modules you found)
- Known issues (real issues from code or GitHub)
Phase 5: Write TODO.md
Real tasks found in the code or issues:
- HIGH: What needs to be done next
- MEDIUM: What should be done
- LOW: Future improvements
- NO "TODO: Add..." content
Phase 6: Commit
git add .gitcore/
git commit -m "docs: add professional documentation"
Rules
- REAL content only - no stubs
- If you don't know, research more
- Every section must have specific content
- Length follows what the project actually has
Output Format
Report:
- Files created
- Line counts
- Key findings
- Commit hash
04 同仓库更多 Skills
web-design-guidelines
暂无简介
★ 0
blocked-page-recovery
Use when a fetch fails: 403/429, paywall, WAF, bot wall. Recovers the page via archives and provenance-checked fallbacks.
★ 0
studio-coach
暂无简介
★ 0
src-generator
暂无简介
★ 0
sqlite-pro
暂无简介
★ 0
rigor-evaluator
Use when you need a quick heuristic rigor score (10 criteria, 0-2 each) for the features in a .gitcore/features.json file, to decide which features are ready to ship.
★ 0