Create a new skill following Fractary plugin standards
Creates a new skill following Fractary plugin standards with proper XML structure and workflow files.
/plugin marketplace add fractary/claude-plugins/plugin install fractary-faber-agent@fractary<name> [--plugin <plugin-name>] [--handler-type <type>]claude-haiku-4-5<CRITICAL_RULES> YOU MUST:
YOU MUST NOT:
THIS COMMAND IS ONLY A ROUTER. </CRITICAL_RULES>
<WORKFLOW> 1. **Parse user input** - Extract skill name (required) - Extract plugin flag: --plugin <plugin-name> (optional, defaults to current plugin) - Extract handler-type flag: --handler-type <type> (optional)Validate arguments
Build structured request
Invoke agent
Return response
<ARGUMENT_PARSING>
Purpose: Create a new skill with proper XML structure, workflow files, and standards compliance
Required Arguments:
<name>: Skill name (lowercase with hyphens, e.g., "data-fetcher")Optional Arguments:
--plugin <plugin-name>: Target plugin (default: detect from current directory)--handler-type <type>: Handler type if multi-provider (e.g., "iac", "hosting")--tools <tools>: Comma-separated tool list (default: "Bash")--description <desc>: Brief skill description (will be prompted if not provided)Maps to: create-skill operation
Examples:
# Create a basic skill in current plugin
/fractary-faber-agent:create-skill data-fetcher
# Create a handler skill in specific plugin
/fractary-faber-agent:create-skill terraform-deployer --handler-type iac --plugin faber-cloud
# Create with custom tools
/fractary-faber-agent:create-skill api-client --tools "Bash, Read, WebFetch"
Skill Name:
Handler Type (optional):
</ARGUMENT_PARSING>
<AGENT_INVOCATION>
After parsing arguments, invoke the agent using declarative syntax:
Agent: skill-creator (or @agent-fractary-faber-agent:skill-creator)
Request structure:
{
"operation": "create-skill",
"parameters": {
"skill_name": "<name>",
"plugin_name": "<plugin-name>",
"handler_type": "<type>",
"tools": "<tool-list>",
"description": "<description>"
}
}
The agent will:
create-skill - Create a new skill file with standards compliance</AGENT_INVOCATION>
<ERROR_HANDLING> Common errors to handle:
Missing required argument:
Error: Skill name is required
Usage: /fractary-faber-agent:create-skill <name>
Invalid skill name format:
Error: Skill name must be lowercase with hyphens (kebab-case)
Example: data-fetcher (not Data_Fetcher or dataFetcher)
Plugin not found:
Error: Plugin not found: <plugin-name>
Please ensure you're in a valid plugin directory or specify --plugin
</ERROR_HANDLING>
<EXAMPLES> ## Usage Examples# Simple skill
/fractary-faber-agent:create-skill data-fetcher
# Handler skill for infrastructure
/fractary-faber-agent:create-skill terraform-deployer --handler-type iac --plugin faber-cloud
# Skill with custom description
/fractary-faber-agent:create-skill api-client --description "Fetches data from REST APIs"
# Skill with custom tools
/fractary-faber-agent:create-skill file-processor --tools "Bash, Read, Write, Edit"
🎯 Creating skill: data-fetcher
Plugin: faber-data
───────────────────────────────────────
📋 Phase 1/5: Frame
Gathering requirements...
📐 Phase 2/5: Architect
Designing skill structure...
🔨 Phase 3/5: Build
Generating from template...
• SKILL.md created
• workflow/basic.md created
🧪 Phase 4/5: Evaluate
Validating compliance...
✅ XML markup valid
✅ Structure valid
🚀 Phase 5/5: Release
Saving skill files...
✅ Skill created successfully!
Location: plugins/faber-data/skills/data-fetcher/
Files created:
• SKILL.md
• workflow/basic.md
</EXAMPLES>
<NOTES>
## Design Philosophy
This command follows the Fractary command pattern:
This command integrates with:
Related commands:
/fractary-faber-agent:create-agent - Create an agent/fractary-faber-agent:create-command - Create a command/fractary-faber-agent:create-plugin - Create a complete plugin/create-skillGuided skill creation with brainstorming and TDD methodology. Triggers: new skill, create skill, skill creation, start skill, build skill, add skill, write skill Use when: starting a new skill from scratch, need guided brainstorming for skill design, want structured workflow for skill development DO NOT use when: evaluating existing skills - use /skills-eval instead. DO NOT use when: testing existing skills - use /test-skill instead. DO NOT use when: improving skill architecture - use modular-skills skill. Use this command to create any new skill. Brainstorming is recommended.