Skip to content

writing-skills

Use when creating new skills, editing existing skills, or verifying skills work before deployment

定位

Use when creating new skills, editing existing skills, or verifying skills work before deployment

核心流程/章节

  • Overview
  • What is a Skill?
  • TDD Mapping for Skills
  • When to Create a Skill
  • Skill Types
  • Directory Structure
  • SKILL.md Structure
  • Overview

原文要点

Writing Skills

Overview

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),...

适用场景

  • 基于 description 推断:Use when creating new skills, editing existing skills, or verifying skills work before deployment

参见

Released under the MIT License.