ユーザーの責任範囲定義から、Agentのマークダウンファイルを生成する。エージェント作成時、プラグイン要素生成時、またはユーザーがエージェント定義、責任範囲、Agent生成、エージェントドキュメントに言及した際に使用する。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill agent-generator
このSkillは、ユーザーが提供する責任範囲や対象フェーズの情報を基に、Agentのマークダウンファイルを生成する。ユーザーとの対話を通じて必要な情報を収集し、標準化されたエージェントのドキュメントを作成する。
このSkillは以下の範囲をカバーする:
エージェント生成前に、既存のエージェントを確認し、重複を避ける。
実施内容:
確認対象:
質問例:
【既存エージェント確認】
プラグインディレクトリ内の既存エージェントを確認しました。
以下のエージェントと責任範囲が重複する可能性があります:
- [既存エージェント名]: [既存エージェントの説明]
作成予定のエージェントから、これらの重複内容を除外してよろしいですか?
既存エージェントで代用可能な場合:
【確認】
作成予定のエージェントと同じ責任範囲のエージェントが既に存在します:
- [既存エージェント名]: [既存エージェントの説明]
既存エージェントで十分な場合は、新規作成は不要です。
それでも新規作成が必要ですか?必要な場合は、既存エージェントとの違いを教えてください。
ユーザーとの対話を通じて、エージェントに必要な情報を収集する。
実施内容:
質問例:
【責任範囲の確認】
このエージェントが担当する責任範囲を確認します。以下のどの範囲ですか?
1. 特定フェーズ全体(要件定義、設計、実装など)【推奨】
2. 特定領域全体(セキュリティ、パフォーマンス、品質管理など)
3. 複数フェーズにまたがる横断的な役割
収集した情報を基に、エージェントファイルのコンテンツを生成する。
実施内容:
フロントマターの作成:
---
name: エージェント名(ケバブケース、例: requirements-agent)
description: エージェントの簡潔な説明(1行、50文字以内)
tools: 使用可能な外部ツール(例: "*", "Read", "Write", "Bash"など)
model: inherit(通常はinherit、特定のモデルを指定する場合のみ変更)
color: 表示色(例: blue, green, redなど)
---
役割の記述:
責任範囲の定義:
責任範囲は「責任範囲内」と「責任範囲外」の2つのサブセクションに分けて記述する。
責任範囲内:
責任範囲外:
注意事項の記述:
プラグインアーキテクチャ規約の遵守:
生成するエージェントは、プラグインアーキテクチャ規約に従う必要がある(独立性の原則、汎用性の原則など)。
重要な制約:
重複最小化の確認:
既存エージェントと重複する内容が含まれていないかを確認し、エージェント固有の内容のみを記述する。
生成したコンテンツを検証し、品質を確保する。
実施内容:
プラグインアーキテクチャ規約の確認:
このスキルは以下を生成する:
検出例:
このエージェントは、いろいろな作業を担当する
対処法:
検出例:
## ワークフロー
1. ユーザーから要件をヒアリングする
2. 要件を整理する
3. 要件定義書を作成する
対処法:
検出例:
このエージェントは、requirements-structurer スキルを使用して要件を整理する
対処法:
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Replace with description of the skill and when Claude should use it.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Take majiayu000/agent-generator from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.