Agent Skill
2/7/2026

skill-development

This skill should be used when the user asks to "create a skill", "write SKILL.md", "skill frontmatter", "skill description", "trigger phrases", or needs guidance on writing skills with progressive disclosure.

N
nthplusio
0GitHub Stars
1Views
npx skills add nthplusio/functional-claude

SKILL.md

Nameskill-development
DescriptionThis skill should be used when the user asks to "create a skill", "write SKILL.md", "skill frontmatter", "skill description", "trigger phrases", or needs guidance on writing skills with progressive disclosure.

name: skill-development description: Guide for writing effective SKILL.md files with proper triggers and progressive disclosure. Use when the user asks to "create a skill", "write SKILL.md", "skill frontmatter", "skill description", or "trigger phrases". version: 0.5.0

Skill Development

Core Principles

Concise is Key

Claude already knows markdown, YAML, JSON, and directory structures. Only document what's non-obvious — plugin-specific conventions, exact field names, behaviors that differ from expectations.

The test: Before writing a section, ask "Does Claude already know this?" If yes, cut it.

Degrees of Freedom

Match specificity to how fragile the convention is:

FreedomWhenExample
Low (exact syntax)Breaking changes if wrongFrontmatter fields, file paths
Medium (guidance)Multiple valid approachesWriting style, description format
High (principles)Creative decisionsSkill body structure, examples

Progressive Disclosure

LocationContentTarget
DescriptionTrigger phrases~50 words
SKILL.md bodyCore conventionsUnder 500 lines
references/Details, API docsAs needed
examples/Working codeAs needed

Keep SKILL.md concise. Move detailed docs to references/.

Skill Structure

skill-name/
├── SKILL.md           # Required: main instructions
├── references/        # Detailed docs (loaded as needed)
├── examples/          # Working code samples
└── scripts/           # Utility scripts

SKILL.md Format

---
name: skill-name
description: Capability summary. Use when the user asks to "action X",
  "do Y", or needs guidance on [topic].
version: 1.0.0
---

# Skill Title

Skill body content here (markdown).

Frontmatter Fields

FieldPurpose
nameDisplay name (defaults to directory)
descriptionCapability + trigger phrases for auto-loading
versionSkill version
disable-model-invocationManual only (no auto-load)
user-invocableSet false for Claude-only
allowed-toolsAuto-approved tools
context: forkRun in subagent
modelModel override

Description Format (Critical)

Start with a capability summary, then trigger phrases. Use direct "Use when..." form:

description: Guide for creating event-driven hooks. Use when the user asks to
  "create a hook", "add a PreToolUse hook", or mentions hook events
  (PreToolUse, PostToolUse, Stop).

String Substitutions

VariableDescription
$ARGUMENTSAll arguments
$NArgument by position
${CLAUDE_SESSION_ID}Current session

Writing Style

  • Imperative: "Create the hook" not "You should create"
  • Specific trigger phrases in descriptions
  • Concrete examples over abstract rules

Quality Review

After creating a skill, use the skill-reviewer agent:

Review my skill at ./skills/my-skill

Linking Skills

For related topics:
- **/plugin-name:other-skill** - Description
Skills Info
Original Name:skill-developmentAuthor:nthplusio