スキル一覧に戻る
sumik5

authoring-skills

by sumik5

1🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: authoring-skills description: Guides the creation of effective Claude Agent Skills. Use when creating new skills, improving existing skills, or reviewing skill quality. Covers naming conventions, file structure, progressive disclosure, and evaluation-driven development.

Claude Skills Authoring Guide

Overview

This skill provides best practices for creating effective Claude Agent Skills that are discoverable, concise, and well-tested.

When to Use

  • Creating new skills: Before writing a new SKILL.md
  • Improving existing skills: When refactoring or enhancing skills
  • Reviewing skill quality: For code review of skill files
  • Learning skill authoring: Understanding the skill architecture

Core Principles

1. Concise is Key

The context window is a shared resource. Challenge each piece of information:

  • "Does Claude really need this explanation?"
  • "Can I assume Claude knows this?"
  • "Does this paragraph justify its token cost?"

Default assumption: Claude is already very smart. Only add context Claude doesn't already have.

2. Progressive Disclosure

SKILL.md serves as an overview that points to detailed materials as needed:

  • Keep SKILL.md body under 500 lines
  • Split content into separate files when approaching this limit
  • Claude loads additional files only when needed

3. Appropriate Degrees of Freedom

Match specificity to task fragility:

Freedom LevelUse WhenExample
High (text instructions)Multiple approaches validCode review guidelines
Medium (pseudocode)Preferred pattern existsReport templates
Low (specific scripts)Operations are fragileDatabase migrations

Quick Reference

YAML Frontmatter Requirements

---
name: skill-name        # lowercase, hyphens, max 64 chars
description: Describes what it does and when to use it.  # max 1024 chars
---

Naming convention: Use gerund form (verb + -ing)

  • Good: processing-pdfs, analyzing-data, testing-code
  • Avoid: helper, utils, tools

Description rules:

  • Always write in third person
  • Include what the skill does AND when to use it
  • Be specific and include key terms for discovery

See NAMING.md for detailed naming guidelines.

File Structure

my-skill/
├── SKILL.md              # Main instructions (loaded when triggered)
├── REFERENCE.md          # API reference (loaded as needed)
├── EXAMPLES.md           # Usage examples (loaded as needed)
└── scripts/
    └── utility.py        # Executed, not loaded into context

See STRUCTURE.md for progressive disclosure patterns.

Skill Creation Workflow

Step 1: Identify the Gap

Before writing documentation, identify what Claude struggles with:

  1. Run Claude on representative tasks without a skill
  2. Document specific failures or missing context
  3. Create 3+ evaluation scenarios

Step 2: Write Minimal Instructions

Create just enough content to address the gaps:

---
name: my-skill
description: [What it does]. Use when [trigger conditions].
---

# [Skill Title]

## Quick Start
[Minimal working example]

## Advanced Features
See [REFERENCE.md](REFERENCE.md) for details.

Step 3: Test and Iterate

  1. Test with real usage scenarios
  2. Observe Claude's navigation patterns
  3. Refine based on failures

See WORKFLOWS.md for detailed development workflow.

Common Patterns

Template Pattern

Provide output format templates:

## Report Structure

Use this template:

```markdown
# [Title]

## Summary
[One-paragraph overview]

## Key Findings
- Finding 1
- Finding 2
```

Examples Pattern

Show input/output pairs:

## Commit Message Format

**Input**: Added user authentication
**Output**:
```
feat(auth): implement authentication

Add login endpoint and token validation
```

Conditional Workflow Pattern

Guide through decision points:

## Workflow

1. Determine task type:
   - **Creating new?** → See "Creation workflow"
   - **Editing existing?** → See "Editing workflow"

Anti-Patterns to Avoid

Anti-PatternProblemSolution
Too verboseWastes context tokensAssume Claude's intelligence
Time-sensitive infoBecomes outdatedUse "old patterns" section
Inconsistent termsConfuses ClaudePick one term, use consistently
Too many optionsDecision paralysisProvide default with escape hatch
Deep nestingPartial file readsKeep references one level deep
Windows pathsCross-platform errorsUse forward slashes only

Detailed Documentation

  • writing-technical-docs: General documentation principles
  • applying-solid-principles: Code quality for utility scripts

スコア

総合スコア

40/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です