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 forgeProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.