帮助你创建、修改并在发布前验证 AI 技能配置与可用性
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "writing-skills" 技能: 1. 下载 https://raw.githubusercontent.com/obra/superpowers/main/skills/writing-skills/SKILL.md 2. 保存为 ~/.claude/skills/writing-skills/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为一个“会议纪要整理”技能生成完整定义,包括用途说明、输入输出约束、示例提示词和测试用例。
一份结构清晰的新技能草案,包含描述、规则、示例和基础验证内容。
请优化这个技能的说明文字,让触发条件更明确,并补充 3 条更贴近用户场景的使用示例。
更新后的技能文案,触发条件更清楚,并附带更实用的示例。
请检查这个技能是否存在定义不清、示例不足或边界条件遗漏的问题,并给出修复建议和验证清单。
一份问题清单、改进建议,以及可用于上线前检查的验证步骤。
Writing skills IS Test-Driven Development applied to process documentation.
Personal skills live in agent-specific directories (~/.claude/skills for Claude Code, ~/.agents/skills/ for Codex)
You write test cases (pressure scenarios with subagents), watch them fail (baseline behavior), write the skill (documentation), watch tests pass (agents comply), and refactor (close loopholes).
Core principle: If you didn't watch an agent fail without the skill, you don't know if the skill teaches the right thing.
REQUIRED BACKGROUND: You MUST understand superpowers:test-driven-development before using this skill. That skill defines the fundamental RED-GREEN-REFACTOR cycle. This skill adapts TDD to documentation.
Official guidance: For Anthropic's official skill authoring best practices, see anthropic-best-practices.md. This document provides additional patterns and guidelines that complement the TDD-focused approach in this skill.
A skill is a reference guide for proven techniques, patterns, or tools. Skills help future Claude instances find and apply effective approaches.
Skills are: Reusable techniques, patterns, tools, reference guides
Skills are NOT: Narratives about how you solved a problem once
| TDD Concept | Skill Creation |
|---|---|
| Test case | Pressure scenario with subagent |
| Production code | Skill document (SKILL.md) |
| Test fails (RED) | Agent violates rule without skill (baseline) |
| Test passes (GREEN) | Agent complies with skill present |
| Refactor | Close loopholes while maintaining compliance |
| Write test first | Run baseline scenario BEFORE writing skill |
| Watch it fail | Document exact rationalizations agent uses |
| Minimal code | Write skill addressing those specific violations |
| Watch it pass | Verify agent now complies |
| Refactor cycle | Find new rationalizations → plug → re-verify |
The entire skill creation process follows RED-GREEN-REFACTOR.
Create when:
Don't create for:
Concrete method with steps to follow (condition-based-waiting, root-cause-tracing)
Way of thinking about problems (flatten-with-flags, test-invariants)
API docs, syntax guides, tool documentation (office docs)
skills/
skill-name/
SKILL.md # Main reference (required)
supporting-file.* # Only if needed
Flat namespace - all skills in one searchable namespace
Separate files for:
Keep inline:
Frontmatter (YAML):
name and description (see agentskills.io/specification for all supported fields)name: Use letters, numbers, and hyphens only (no parentheses, special chars)description: Third-person, describes ONLY when to use (NOT what it does)
---
name: Skill-Name-With-Hyphens
…
帮助你审慎分析代码评审意见,核实技术合理性后再决定是否采纳。
在对话开始时建立技能发现与调用规则,确保先用技能再作答。
在宣称任务完成或修复成功前,先执行验证并用结果佐证结论。
在开发分支完成并通过测试后,帮助选择合并、提 PR 或清理收尾方案。
在创意与实现前梳理用户意图、需求与方案方向,降低返工风险。
用于在当前会话中拆分并并行推进独立实现任务,加快开发执行效率。
帮助你规划并创建新的自定义技能,生成结构、说明文档与可选脚本
帮助用户创建或改进 AI 技能,明确能力范围、流程设计与工具集成方式。
帮助你创建、修改并排查 AI 技能规范、调用与兼容性问题
帮助用户创建或更新技能,扩展 Codex 的知识、流程与工具能力
帮助你创建、整理、校验并重构 AgentSkills 与 SKILL.md 技能文件。
帮助你把常用工作流程封装成可复用的 SKILL.md 技能模板