帮助你创建、修改并在发布前验证 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
…
在宣称任务完成或修复成功前,先执行验证并用结果佐证结论。
帮助你创建、修改并排查 AI 技能规范、调用与兼容性问题