From forge
Add a new component (hook, agent, skill, MCP server, bin tool, or output style) to an existing Claude Code plugin. Use when asked to extend, enhance, or add functionality to a plugin that already exists.
How this skill is triggered — by the user, by Claude, or both
Slash command
/forge:add-componentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Add a new component to an existing Claude Code plugin.
Add a new component to an existing Claude Code plugin.
/forge:add-component hook <plugin-path> — add a new hook + handler/forge:add-component agent <plugin-path> — add a new agent/forge:add-component skill <plugin-path> — add a new skill/forge:add-component mcp <plugin-path> — add MCP server config/forge:add-component bin <plugin-path> — add a bin tool/forge:add-component output-style <plugin-path> — add an output styleParse $ARGUMENTS to extract the component type and optional plugin path (default: cwd).
plugin.json to understand the plugin's current structureReference ${CLAUDE_PLUGIN_ROOT}/data/component-templates.jsonl for proven patterns.
Use templates from the /forge:generate skill for the specific component type:
npx claudepluginhub pretinnov-inc/claude-plugin-marketplace --plugin forgeGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.