From foundation
Provides scripts and templates for automated build system management, command registration, and plugin maintenance. These are battle-tested scripts that automate repetitive infrastructure tasks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/foundation:build-system-automationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Provides scripts and templates for automated build system management, command registration, and plugin maintenance. These are battle-tested scripts that automate repetitive infrastructure tasks.
Provides 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.shnpx claudepluginhub vanman2024/dev-lifecycle-marketplace --plugin foundationGuides creation of slash commands for Claude Code: YAML frontmatter, dynamic args, bash execution, file refs, interactions, organization, and best practices.
Guides developers on creating, structuring, and organizing slash commands for Claude Code. Covers YAML frontmatter, dynamic arguments, bash execution, user interactions, and best practices for reusable command workflows.
Guides creation of legacy slash commands for Claude Code (.claude/commands/ format), including YAML frontmatter, dynamic args, bash execution, git integration, and user interaction patterns.