Provides scripts and templates for automated build system management, command registration, and plugin maintenance. These are battle-tested scripts that automate repetitive infrastructure tasks.
/plugin marketplace add vanman2024/dev-lifecycle-marketplace/plugin install foundation@dev-lifecycle-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
examples/BUILD-GUIDE-ai-saas-app.mdscripts/build-command-registry.shscripts/register-all-commands.shtemplates/BUILD-GUIDE.template.mdProvides scripts and templates for automated build system management, command registration, and plugin maintenance. These are battle-tested scripts that automate repetitive infrastructure tasks.
Purpose: Register all active commands in ~/.claude/settings.json
What it does:
Usage:
bash ~/.claude/plugins/marketplaces/dev-lifecycle-marketplace/plugins/foundation/skills/build-system-automation/scripts/register-all-commands.sh
Expected Output:
š Registering all active commands in /home/user/.claude/settings.json
š¦ Creating backup: /home/user/.claude/settings.json.backup.20251105-230619
š Scanning for active commands...
š Found 218 active commands
š Currently registered: 173 commands
ā Missing commands (first 20):
/claude-agent-sdk:add-cost-tracking
...
ā
Registration complete!
š Now registered: 219 commands
When to run:
Purpose: Build comprehensive JSON registry of all commands with descriptions
What it does:
/tmp/command-registry.json with metadataUsage:
bash ~/.claude/plugins/marketplaces/dev-lifecycle-marketplace/plugins/foundation/skills/build-system-automation/scripts/build-command-registry.sh
Output Format (/tmp/command-registry.json):
{
"commands": {
"/foundation:github-init": {
"description": "Complete GitHub repository initialization with gh CLI",
"plugin": "foundation",
"marketplace": "dev-lifecycle-marketplace",
"file": "/path/to/commands/github-init.md"
}
}
}
When to run:
These scripts are essential for BUILD-GUIDE template creation:
build-command-registry.sh generates complete command listBoth scripts exclude:
.archive/ - Old archived commands (v1.x numbered plugins)/archived/ - Plugin-specific archivesdev-lifecycle-test-agent-001/ - Test marketplace duplicates/templates/ - Template files in domain-plugin-builder/docs/frameworks/ - Documentation examplesIf you create new test marketplaces or archive patterns, update the grep pattern in both scripts:
grep -v -E '(\.archive|/archived/|dev-lifecycle-test-agent-001|/templates/|/docs/frameworks/|YOUR_NEW_PATTERN)'
Expected counts (as of 2025-01-05):
To verify current count:
find ~/.claude/plugins/marketplaces -path "*/commands/*.md" -type f 2>/dev/null | \
grep -v -E '(\.archive|/archived/|dev-lifecycle-test-agent-001|/templates/|/docs/frameworks/)' | \
wc -l
jq -e . ~/.claude/settings.jsongrep -c 'SlashCommand' ~/.claude/settings.jsonls -lh ~/.claude/settings.json.backup.*ls -la ~/.claude/settings.jsonls -la /tmp/bash -x script.shThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.