jpskill.com
🛠️ 開発・MCP コミュニティ

skills-factory

Meta-skill for creating production-ready Claude Code skills using evaluation-driven development, progressive disclosure patterns, comprehensive validation, and two-Claude iterative methodology

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o skills-factory.zip https://jpskill.com/download/18300.zip && unzip -o skills-factory.zip && rm skills-factory.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/18300.zip -OutFile "$d\skills-factory.zip"; Expand-Archive "$d\skills-factory.zip" -DestinationPath $d -Force; ri "$d\skills-factory.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して skills-factory.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → skills-factory フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
11

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Skills Factory

本スキルは、本番環境で使用可能な Claude Code skills を作成、検証、反復するための包括的なメタスキルです。

Skills について

Skills は、専門的な知識とワークフローによって Claude Code の機能を拡張します。Skills は、コンテンツを3つのレベルでロードする progressive disclosure system (段階的開示システム) を使用します。

  1. Metadata (YAML) - 常に起動時にロードされます (~100 tokens)
  2. Instructions (SKILL.md の本文) - トリガーされたときにロードされます (<5,000 tokens)
  3. Resources (サポートファイル) - 必要に応じてロードされます (事実上無制限)

Skills はファイルシステムベースのツールであり、~/.claude/skills/ (個人用) または .claude/skills/ (プロジェクト固有) に存在します。

Skill の作成プロセス

ステップ 1: ドメインの理解

何かを書き始める前に、構築するものを深く理解してください。

重要な質問をする:

  • この skill は、どのような特定の問題を解決しますか?
  • ユーザーは誰で、どのような状況ですか?
  • どのようなタスクを自動化し、どのようなタスクをガイドする必要がありますか?
  • Claude はどのような知識を持っている必要があり、どのような知識を参照できますか?
  • 成功はどのように測定されますか?

徹底的に調査する:

  • 既存の類似の skill を確認する
  • 関連するドキュメントを調査する
  • ワークフローのドメインを理解する
  • エッジケースと失敗モードを特定する

成功基準を定義する:

  • どのような具体的な結果が、skill が機能していることを示しますか?
  • skill がない場合とある場合で、成功はどのように見えますか?
  • 効果はどのように評価しますか?

参照: 評価主導の開発方法論については、references/EVALUATION_GUIDE.md を参照してください。

ステップ 2: アーキテクチャの計画

実装前に、skill の構造を設計します。

パターンを選択する:

  • Simple skill: SKILL.md のみ (~100-300 行)
  • Standard skill: SKILL.md + 1〜3 個の参照ファイル
  • Script-heavy skill: SKILL.md + scripts/ + 検証パターン
  • Reference-heavy skill: SKILL.md + references/ (5つ以上のサポートドキュメント)

段階的開示を計画する:

  • SKILL.md には何を含める必要がありますか? (トリガー、コアワークフロー、ナビゲーション)
  • references/ には何を入れますか? (詳細なガイド、例、コンテキスト)
  • scripts/ には何を入れますか? (検証、自動化、処理)
  • SKILL.md を可能な限り 200 行未満に保つ

ワークフローを設計する:

  • 線形プロセスですか? シンプルなシーケンシャルステップを使用する
  • 品質ゲートですか? チェックリストワークフローを使用する
  • 条件付きパスですか? 意思決定ツリーを設計する
  • 反復が必要ですか? フィードバックループを計画する

参照: references/WORKFLOW_PATTERNS.md および references/VALIDATION_PATTERNS.md

ステップ 3: Skill 構造の初期化

skill の基盤を作成します。

cd ~/.claude/skills  # またはプロジェクト固有の場合は .claude/skills
python /path/to/init_skill.py my-skill-name

これにより、以下が作成されます。

my-skill-name/
├── SKILL.md          # メインの skill ファイル (YAML + 指示)
├── scripts/          # 実行可能スクリプト (オプション)
├── references/       # サポートドキュメント (オプション)
└── assets/           # 画像、テンプレート、データファイル (オプション)

初期化後:

  • YAML フロントマター内のすべての TODO: プレースホルダーを置き換える
  • 主要なトリガー用語を含む説明を起草する (最大 1024 文字)
  • 名前がハイフンケース (小文字 + ハイフンのみ) であることを確認する
  • 段階的開示構造を計画する

参照: バンドルされている scripts/init_skill.py

ステップ 4: 設計と実装

ベストプラクティスに従って skill を構築します。

YAML フロントマターの要件:

---
name: skill-name          # 必須: ハイフンケース、最大 64 文字
description: |            # 必須: 最大 1024 文字、トリガー用語を含める
  この skill が何をするかの明確で具体的な説明。
  skill をトリガーする主要な用語を含める。
  機能とユースケースに焦点を当てる。
allowed-tools:            # オプション: 事前承認されたツールリスト (Claude Code のみ)
  - Read
  - Grep
  - Glob
metadata:                 # オプション: 追跡用のカスタムキーと値のペア
  author: "TeamName"
  version: "1.0.0"
  category: "data-processing"
---

オプションの YAML フィールド:

allowed-tools (Claude Code のみ):

  • 目的: この skill がアクティブなときに Claude が使用できるツールを制限します。
  • 形式: ツールの名前の YAML リスト
  • ユースケース:
    • 読み取り専用の skill (ファイルの変更を防止): [Read, Grep, Glob]
    • セキュリティに敏感なワークフロー (ツールの範囲を制限)
    • データ分析のみ (書き込み/実行権限なし)
  • 既知のツール: Read, Write, Edit, Grep, Glob, Bash, Task, SlashCommand, Skill
  • :
    ---
    name: safe-file-reader
    description: ファイルを変更せずに読み取り、分析する
    allowed-tools: [Read, Grep, Glob]
    ---

metadata (すべてのプラットフォーム):

  • 目的: 追跡と分類のためにカスタムキーと値のペアを格納します。
  • 形式: YAML ディクショナリ (文字列キー → 文字列値)
  • ユースケース:
    • バージョンの追跡: {version: "2.1.0"}
    • チームの所有権: {author: "TeamName", contact: "team@example.com"}
    • 分類: {category: "content-creation", domain: "marketing"}
    • カスタム追跡 ID: {internal-id: "SKILL-12345"}
  • ベストプラクティス: 他のツールとの競合を避けるために、一意のキー名を使用します。
  • :
    ---
    name: pdf-processor
    description: PDF ファイルからテキストとテーブルを抽出する
    metadata:
      author: "ContentTeam"
      version: "2.1.0"
      category: "document-processing"
      last-updated: "2025-11-22"
    ---

SKILL.md 本文のガイドライン:

  • 目的を説明する明確な「About」セクションから始める
  • 抽象的な説明よりも具体的な例を使用する
  • 複雑なワークフローを番号付きのステップに分割する
  • 詳細なコンテンツを参照する (すべてをインライン化しない)
  • SKILL.md の合計を 500 行未満に保つ (理想的には 200 行未満)

段階的開示のルール:

  • ファイルを1レベル深く参照する: [Guide](references/guide.md)
  • ネストされた参照は禁止: references/category/subcategory/file.md
  • 必要に応じてスクリプトをロードする: "Run validation: bash scripts/validate.py"
  • 重要な情報を最初にロードし、詳細は参照に委ねる

ワークフローの統合:

  • 主要なステップの後に検証チェックポイントを追加する
  • 品質保証のためのフィードバックループを設計する
  • s
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Skills Factory

A comprehensive meta-skill for creating, validating, and iterating on production-ready Claude Code skills.

About Skills

Skills extend Claude Code's capabilities with specialized knowledge and workflows. They use a progressive disclosure system that loads content in three levels:

  1. Metadata (YAML) - Always loaded at startup (~100 tokens)
  2. Instructions (SKILL.md body) - Loaded when triggered (<5,000 tokens)
  3. Resources (supporting files) - Loaded as needed (effectively unlimited)

Skills are filesystem-based tools that live in ~/.claude/skills/ (personal) or .claude/skills/ (project-specific).

Skill Creation Process

Step 1: Understanding the Domain

Before writing anything, deeply understand what you're building:

Ask Critical Questions:

  • What specific problem does this skill solve?
  • Who is the user and what's their context?
  • What tasks should be automated vs. guided?
  • What knowledge must Claude have vs. can reference?
  • How will success be measured?

Research Thoroughly:

  • Review similar existing skills
  • Study relevant documentation
  • Understand the workflow domain
  • Identify edge cases and failure modes

Define Success Criteria:

  • What specific outcomes indicate the skill works?
  • What would success look like without the skill vs. with it?
  • How will you evaluate effectiveness?

See: references/EVALUATION_GUIDE.md for evaluation-driven development methodology.

Step 2: Planning Your Architecture

Design your skill's structure before implementation:

Choose Your Pattern:

  • Simple skill: SKILL.md only (~100-300 lines)
  • Standard skill: SKILL.md + 1-3 reference files
  • Script-heavy skill: SKILL.md + scripts/ + validation patterns
  • Reference-heavy skill: SKILL.md + references/ with 5+ supporting docs

Plan Progressive Disclosure:

  • What must be in SKILL.md? (triggers, core workflow, navigation)
  • What goes to references/? (detailed guides, examples, context)
  • What goes to scripts/? (validation, automation, processing)
  • Keep SKILL.md under 200 lines when possible

Design Workflows:

  • Linear process? Use simple sequential steps
  • Quality gates? Use checklist workflow
  • Conditional paths? Design decision tree
  • Iteration needed? Plan feedback loop

See: references/WORKFLOW_PATTERNS.md and references/VALIDATION_PATTERNS.md

Step 3: Initialize Skill Structure

Create your skill's foundation:

cd ~/.claude/skills  # or .claude/skills for project-specific
python /path/to/init_skill.py my-skill-name

This creates:

my-skill-name/
├── SKILL.md          # Main skill file (YAML + instructions)
├── scripts/          # Executable scripts (optional)
├── references/       # Supporting documentation (optional)
└── assets/           # Images, templates, data files (optional)

Post-Initialization:

  • Replace ALL TODO: placeholders in YAML frontmatter
  • Draft description with key trigger terms (max 1024 chars)
  • Ensure name is hyphen-case (lowercase + hyphens only)
  • Plan your progressive disclosure structure

See: Bundled scripts/init_skill.py

Step 4: Design & Implement

Build your skill following best practices:

YAML Frontmatter Requirements:

---
name: skill-name          # Required: hyphen-case, max 64 chars
description: |            # Required: max 1024 chars, include trigger terms
  Clear, specific description of what this skill does.
  Include key terms that should trigger the skill.
  Focus on capabilities and use cases.
allowed-tools:            # Optional: Pre-approved tools list (Claude Code only)
  - Read
  - Grep
  - Glob
metadata:                 # Optional: Custom key-value pairs for tracking
  author: "TeamName"
  version: "1.0.0"
  category: "data-processing"
---

Optional YAML Fields:

allowed-tools (Claude Code only):

  • Purpose: Restricts which tools Claude can use when this skill is active
  • Format: YAML list of tool names
  • Use Cases:
    • Read-only skills (prevent file modification): [Read, Grep, Glob]
    • Security-sensitive workflows (limit tool scope)
    • Data analysis only (no write/execute permissions)
  • Known Tools: Read, Write, Edit, Grep, Glob, Bash, Task, SlashCommand, Skill
  • Example:
    ---
    name: safe-file-reader
    description: Read and analyze files without making changes
    allowed-tools: [Read, Grep, Glob]
    ---

metadata (All platforms):

  • Purpose: Store custom key-value pairs for tracking and categorization
  • Format: YAML dictionary (string keys → string values)
  • Use Cases:
    • Version tracking: {version: "2.1.0"}
    • Team ownership: {author: "TeamName", contact: "team@example.com"}
    • Categorization: {category: "content-creation", domain: "marketing"}
    • Custom tracking IDs: {internal-id: "SKILL-12345"}
  • Best Practice: Use unique key names to avoid conflicts with other tools
  • Example:
    ---
    name: pdf-processor
    description: Extract text and tables from PDF files
    metadata:
      author: "ContentTeam"
      version: "2.1.0"
      category: "document-processing"
      last-updated: "2025-11-22"
    ---

SKILL.md Body Guidelines:

  • Start with clear "About" section explaining purpose
  • Use concrete examples over abstract explanations
  • Break complex workflows into numbered steps
  • Reference detailed content (don't inline everything)
  • Keep total SKILL.md under 500 lines (ideally under 200)

Progressive Disclosure Rules:

  • Reference files ONE level deep: [Guide](references/guide.md)
  • No nested references: references/category/subcategory/file.md
  • Load scripts when needed: "Run validation: bash scripts/validate.py"
  • Front-load critical info, defer details to references

Workflow Integration:

  • Add validation checkpoints after key steps
  • Design feedback loops for quality assurance
  • Use scripts to automate validation (not punt to Claude)
  • Provide clear error messages with actionable fixes

See: references/WORKFLOW_PATTERNS.md, references/VALIDATION_PATTERNS.md

Step 5: Validate & Package

Ensure quality before distribution:

Comprehensive Validation:

python scripts/comprehensive_validate.py /path/to/my-skill-name

This checks:

  • ✓ YAML structure and required fields
  • ✓ Naming conventions (hyphen-case, no invalid chars)
  • ✓ Description quality (length, clarity, trigger terms)
  • ✓ Progressive disclosure (file references one-level deep)
  • ✓ Best practices (no absolute paths, TODO markers, etc.)
  • ✓ Content quality (examples present, clear structure)
  • ✓ Workflow validation (if workflows present)

Fix all errors and warnings before packaging.

Package for Distribution:

python scripts/package_skill.py /path/to/my-skill-name

Creates: my-skill-name.zip ready for sharing or installation.

See: Bundled scripts/comprehensive_validate.py and scripts/package_skill.py

Step 6: Iterate Using Two-Claude Methodology

Most skills require iteration to reach production quality. Use the Two-Claude Method:

Claude A (Builder):

  • Has the skill loaded in their environment
  • Performs realistic tasks the skill should help with
  • Documents behavior, errors, confusion points
  • Takes notes on what works and what doesn't

Claude B (Tester/Observer):

  • Reviews Claude A's session logs and outputs
  • Analyzes where the skill succeeded vs. failed
  • Identifies improvement opportunities
  • Proposes specific edits to skill files

Iteration Cycle:

  1. Claude A uses the skill on realistic task
  2. Observe and document behavior (what happened?)
  3. Claude B analyzes session (what should change?)
  4. Edit skill files based on findings
  5. Re-validate with comprehensive_validate.py
  6. Repeat until skill performs well consistently

Key Observation Points:

  • Did Claude invoke the skill when appropriate?
  • Did the skill provide sufficient guidance?
  • Were workflows clear and easy to follow?
  • Did validation catch errors effectively?
  • What caused confusion or errors?

See: references/TWO_CLAUDE_METHODOLOGY.md for complete iteration framework.

Step 7: Deploy & Distribute

After validation and iteration, deploy your skill so Claude can use it.

Deploy to Claude Code:

For personal use (across all projects):

python scripts/package_skill.py my-skill --install personal

Installs to ~/.claude/skills/my-skill/ - immediately available in all Claude Code sessions.

For team/project use (shared via git):

python scripts/package_skill.py my-skill --install project
git add .claude/skills/my-skill/
git commit -m "Add my-skill for team workflows"
git push

Team members get skill automatically on git pull.

Deploy to Claude.ai / Claude Desktop:

python scripts/package_skill.py my-skill --package

Upload generated my-skill.zip via Settings > Features.

Deploy to Claude API: Upload via /v1/skills endpoint for organization-wide availability.

Verification:

  • Claude Code: Ask "What skills are available?"
  • Claude.ai/Desktop: Check Settings > Features shows skill
  • API: List skills via API endpoint

Important: Skills do not sync across surfaces. Must deploy separately to each platform (Code, .ai, Desktop, API).

See: references/DEPLOYMENT_GUIDE.md for complete deployment workflows, surface-specific instructions, and team distribution strategies.

Troubleshooting

Common Issues:

  • "Claude doesn't use my skill" → Check description triggers, YAML validity
  • "Skill loaded but ignored" → Add concrete examples, improve clarity
  • "Validation failing" → Run comprehensive_validate.py for specific errors
  • "Skill too complex" → Apply progressive disclosure, move content to references
  • "Skill created but not available" → Check installation location, use --install flag
  • "Skill works in Code but not .ai" → Skills don't sync, must upload separately
  • "Team doesn't have skill" → Commit to git (project) or share zip (other surfaces)

See: references/TROUBLESHOOTING.md for comprehensive troubleshooting guide.

Reference Documentation

Example Skills

See references/examples/ for annotated example skills demonstrating best practices:

  • simple-skill/ - Minimal viable skill (commit-helper)
  • standard-skill/ - Moderate complexity with references (pdf-processor)
  • complex-skill/ - Full progressive disclosure (data-analysis)

Each example includes ANNOTATIONS.md explaining architectural decisions.

Scripts

  • init_skill.py - Generate new skill from template
  • comprehensive_validate.py - Deep validation (structure, content, best practices)
  • package_skill.py - Create distributable .zip file

Version History

v1.1.0 (2025-10-19)

  • Added deployment layer with cross-surface support
  • Enhanced package_skill.py with --install flag (personal/project)
  • Enhanced init_skill.py with interactive location prompt
  • Created DEPLOYMENT_GUIDE.md reference (~4,000 words)
  • Added deployment troubleshooting (Issues 9-12)
  • Complete end-to-end workflow: creation → deployment → distribution

v1.0.0 (2025-10-19)

  • Initial production release
  • Evaluation-driven development framework
  • Two-Claude iterative methodology
  • Comprehensive validation script
  • Workflow patterns (Sequential, Checklist, Conditional, Iterative)
  • Validation patterns (Script-based, Reference-based, Plan-validate-execute, Multi-stage)
  • Progressive disclosure implementation
  • Troubleshooting guide (8 common issues)

Created with Skills Factory - Meta-skill for production-ready Claude Code skills

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。