スキル一覧に戻る
jasonkuhrt

writing-skills

by jasonkuhrt

Tool configurations

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

SKILL.md


name: writing-skills description: Use when creating, improving, or reviewing Claude Code skills. Covers frontmatter, tool use patterns, file structure, hooks, and CC platform limitations. Also invoke superpowers:writing-skills for CSO and testing workflow.

Writing Skills

Facts

  • The frontmatter name is what appears in autocomplete list when typing / in session. So name: foo would allow user to submit /foo to trigger that skill.
  • The skill directory name appears printed in session when skill is activated by the agent. E.g. dir /foobar would yield e.g.
    ⏺ Skill(foobar)
    ⎿  Initializing…
    
  • Skill(foobar) is also the syntax for granting permission to the skill in config
  • Development Related
    • Skills created or modified in ~/.claude/skills or .claude/skills are immediately available without restarting the session (added in v2.1.0)

Overview

This skill covers Claude Code platform specifics. For skill design methodology (CSO, TDD, testing), also invoke superpowers:writing-skills.

Key Rules (from Anthropic guide)

Frontmatter:

  • name: Max 64 chars, lowercase letters/numbers/hyphens only, no reserved words ("anthropic", "claude")
  • description: Max 1024 chars, non-empty, third person, critical for discovery
    • Good: "Processes Excel files and generates reports"
    • Avoid: "I can help you process Excel files"
  • Use gerund form (verb + -ing) for names: processing-pdfs, analyzing-spreadsheets

Body:

  • Keep SKILL.md under 500 lines
  • "Claude is already very smart. Only add context Claude doesn't already have."
  • Paths are relative to skill directory — use scripts/foo not .claude/skills/my-skill/scripts/foo

File Structure

my-skill/
├── SKILL.md          # Main (<500 lines)
├── reference/        # Detailed docs (loaded on demand)
├── scripts/          # Executable (zero-token)
└── assets/           # Static files (banners, templates)

Naming: Directory name = skill name (kebab-case). Opening # Title = titleized skill name.

Skill Body Headings

HeadingPurpose
## CRITICALSafety rules at top
## Use CasesRefine when skill applies
## RequirementsDeps, env vars, how to handle absence
## StepsSequential workflow
## OperationsMenu of actions
## ExamplesUser prompt → Claude action
## ReferenceInternal docs
## NotesGotchas, tips
## AppendixImplementation details

Tools for Skills

ToolPurposeReference
AskUserQuestionInteractive prompts (max 4 options)tool-ask-user-question.md
TodoWriteTask checkboxestool-todo-write.md
BashExecute bundled scripts (zero-token)pattern-script-bundling.md
ReadLoad reference files on demandpattern-progressive-disclosure.md

Frontmatter Options

FieldPurposeReference
name, descriptionIdentity and discoveryconfig-frontmatter.md
allowed-toolsSkip permission promptsconfig-allowed-tools.md
context: forkRun in isolated subagentconfig-context-fork.md
hooksPreToolUse/PostToolUse/Stopconfig-hooks.md
user-invocableShow in slash menuconfig-frontmatter.md
disable-model-invocationUser-triggered onlyconfig-frontmatter.md

Platform Limitations

Cannot control:

Patterns

PatternReference
Code examplespattern-code-examples.md
Progressive disclosurepattern-progressive-disclosure.md
Script bundlingpattern-script-bundling.md

When Reviewing Skills

Apply criteria from both this skill (CC platform) and superpowers:writing-skills (methodology).

Platform checklist:

  • Frontmatter valid? (name format, description length, third person)
  • SKILL.md under 500 lines?
  • Reference files used for detailed content?
  • Code examples have language tags?
  • Known limitations acknowledged? (output collapse, status line)
  • Hooks correctly structured if used?
  • allowed-tools syntax correct if used?

Methodology checklist (from superpowers:writing-skills):

  • CSO applied? (Claude-Specific Optimization)
  • Token-efficient structure?
  • Clear trigger conditions in description?

スコア

総合スコア

55/100

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

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

+5

レビュー

💬

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