integrate-command
БесплатноБез исполняемых скриптовНе проверенIntegrate a user or project command into Product Forge
от jpoutrin★ 16 звёзд на GitHubОб этом скилле
Integrate Command
Import a command from your user-level (~/.claude/) or project-level (.claude/) directory into a Product Forge plugin.
Usage
# Integrate from user level (default source)
/integrate-command my-command --plugin=claude-code-dev
# Integrate from project level
/integrate-command my-command --plugin=claude-code-dev --source=project
# Integrate from a specific plugin subdirectory
/integrate-command my-command --plugin=git-workflow --source=user
Arguments
<command-name>- Name of the command to integrate (without .md extension)--plugin=<name>- Target Product Forge plugin (required)--source=user|project- Where to find the command (default:user)
Source Locations
--source=user: Searches in~/.claude/*/commands/directories--source=project: Searches in.claude/*/commands/directories
Execution Instructions
When the user runs this command:
1. Parse Arguments
- Extract
command-namefrom first argument - Extract
pluginfrom--plugin=flag (required) - Extract
sourcefrom--source=flag (default:user)
2. Locate Source Command
Search for the command file:
# For --source=user
find ~/.claude -path "*/commands/${command-name}.md" -type f 2>/dev/null
# For --source=project
find .claude -path "*/commands/${command-name}.md" -type f 2>/dev/null
If multiple matches found, list them and ask user to specify the full path.
If not found:
Command '${command-name}' not found in ${source} level.
Searched locations:
- ~/.claude/*/commands/${command-name}.md
Available commands:
[list available .md files in commands directories]
3. Validate Target Plugin
Check the target plugin exists in Product Forge:
ls plugins/${plugin}/.claude-plugin/plugin.json
If not found:
Plugin '${plugin}' not found in Product Forge.
Available plugins:
- claude-code-dev
- product-design
- git-workflow
- python-experts
- ...
4. Determine Destination
DESTINATION=plugins/${plugin}/commands/${command-name}.md
5. Check for Conflicts
If destination exists, use AskUserQuestion to prompt:
Command '${command-name}' already exists in plugin '${plugin}'.
Options:
- Overwrite: Replace existing command
- Rename: Save as ${command-name}-new.md
- Cancel: Abort operation
6. Copy Command
cp ${source_path} plugins/${plugin}/commands/${command-name}.md
7. Confirm Success
Command integrated successfully!
Source: ${source_path}
Destination: plugins/${plugin}/commands/${command-name}.md
Next steps:
1. Review the command: cat plugins/${plugin}/commands/${command-name}.md
2. Refresh plugins: /forge-refresh --force
3. Commit changes: git add plugins/${plugin}/commands/${command-name}.md
Example Workflow
# 1. Create a command at user level
# (manually or by copying and modifying)
# 2. Test it in your projects
# 3. Once ready, integrate into Product Forge
/integrate-command my-awesome-command --plugin=claude-code-dev
# 4. Refresh to make it available
/forge-refresh --force
# 5. Commit and push
git add plugins/claude-code-dev/commands/my-awesome-command.md
git commit -m "feat(claude-code-dev): add my-awesome-command"
Error Handling
- Command not found: Show search locations and available commands
- Plugin not found: Show list of available plugins
- Missing --plugin flag: Show usage with example
- Copy failed: Show error and suggest checking permissions
Установить integrate-command в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл integrate-command?
Integrate a user or project command into Product Forge
Как установить скилл integrate-command?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл integrate-command запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic