skill-writer

Claude Code skill 设计和编写助手。仅通过 /skill-writer 命令手动触发,不自动激活。负责分析需求合理性、边界情况、降级兼容处理,最终生成规范的 SKILL.md 文件。

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skill-writer" with this command: npx skills add snailuu/skill/snailuu-skill-skill-writer

Skill Writer

Read ~/.claude/skills/skill-writer/AGENTS.md before proceeding.


重要:工具调用规则

必须直接使用 Bash 工具执行 shell 命令,绝对不要使用 Task 工具。

Phase 1 — Analyze and Score

ls ~/.claude/skills/

Analyze the requirement. Output a completeness score immediately using the scoring template in AGENTS.md § Appendix B.


Phase 2 — Iterate

After each user response, update the score and ask only the highest-impact unanswered questions.

Advance to Phase 3 when score ≥ 85, or user says "够了" / "直接写".


Phase 3 — Present Draft

Show the complete SKILL.md content in a code block. Use the template from AGENTS.md § Appendix C.

Note any fields filled with defaults. Ask: "是否需要修改?没问题就写入文件。"


Phase 4 — Write and Validate

mkdir -p ~/.claude/skills/<skill-name>

Write the file with the Write tool. Then validate:

bash ~/.claude/skills/skill-writer/scripts/validate.sh ~/.claude/skills/<skill-name>

Report the validation result to the user.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

code-review-expert

No summary provided by upstream source.

Repository SourceNeeds Review
General

git-exclude

No summary provided by upstream source.

Repository SourceNeeds Review
General

git-commit-gen

No summary provided by upstream source.

Repository SourceNeeds Review