一键导入
generate-docs
Generate documentation. Public APIs must have JSDoc. No vague docs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate documentation. Public APIs must have JSDoc. No vague docs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Read-only quality scan of components. Reports problems without making changes. Uses software-base + domain profile skills.
Refactoring patterns - improving code design without changing behavior
Read-only quality scan of components. Reports problems without making changes. Uses software-base + domain profile skills.
Internal phase: independent Codex review + targeted fixes. Not user-facing.
Find duplicated code and consolidate into shared utilities. Fixes all duplicates.
Reference templates for Codex evaluation. Used by build/improve orchestrators — not executed directly.
| name | generate-docs |
| description | Generate documentation. Public APIs must have JSDoc. No vague docs. |
Generate documentation. Public APIs MUST be documented.
No arguments? Describe this skill and stop. Do not execute.
mkdir -p .claude && echo '{"skill":"doc-code","started":"'$(date -Iseconds)'"}' > .claude/active-workflow.json
Write documentation a master craftsperson would be proud of.
Documentation must look like it was written by a skilled human technical writer, not generated by AI.
@param name - the name)Test: Would someone learn something from this doc they couldn't infer from the code? If not, cut it.
You MUST do these documentation tasks. Not "consider" - DO:
## Documentation: [target]
DOCUMENTED:
- src/service.ts: 5 functions with JSDoc
- src/types.ts: 3 types with field comments
- README.md: Added "Usage" section for new feature
PUBLIC_APIS_DOCUMENTED: N
README_UPDATED: yes/no
COMMENTS_ADDED: N
APPLIED:
- [expert]: [decision]
DOC_COMPLETE
After documenting:
Your turn ends here. Output DOC_COMPLETE and STOP.