用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Objective-Arts/lens-dist --skill generate-docs命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| 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.