Use to validate spectacular environment - checks superpowers plugin, git-spice, git repo, and project structure before running spectacular workflows
View on GitHubSelect agents to install to:
npx add-skill https://github.com/arittr/spectacular/blob/main/skills/validating-environment/SKILL.md -a claude-code --skill validating-environmentInstallation paths:
.claude/skills/validating-environment/# Validating Environment ## Overview This skill validates that all required dependencies and configuration are in place for spectacular workflows. It checks for the superpowers plugin, git-spice installation, git repository status, and project structure. It also detects whether the workspace is single-repo or multi-repo. ## When to Use Use this skill when: - Starting a new spectacular session - Running `/spectacular:init` command - Before beginning any spectacular workflow to ensure prerequisites are met - Troubleshooting spectacular setup issues **Announce:** "I'm using validating-environment to check the spectacular setup." ## The Process ### Step 1: Check Superpowers Plugin Check if superpowers is installed (handles both direct and marketplace installs): ```bash # Check both possible install locations: # - Direct: ~/.claude/plugins/cache/superpowers # - Marketplace: ~/.claude/plugins/cache/superpowers-marketplace/superpowers SUPERPOWERS_PATH="" if [ -d ~/.claude/plugins/cache/superpowers ]; then SUPERPOWERS_PATH=~/.claude/plugins/cache/superpowers elif [ -d ~/.claude/plugins/cache/superpowers-marketplace/superpowers ]; then SUPERPOWERS_PATH=~/.claude/plugins/cache/superpowers-marketplace/superpowers fi if [ -n "$SUPERPOWERS_PATH" ]; then echo "Superpowers plugin is installed" SUPERPOWERS_VERSION=$(cd "$SUPERPOWERS_PATH" && git describe --tags 2>/dev/null || echo "unknown") echo " Version: $SUPERPOWERS_VERSION" echo " Path: $SUPERPOWERS_PATH" else echo "Superpowers plugin NOT installed" echo "" echo "Spectacular requires the superpowers plugin for core skills:" echo " - brainstorming" echo " - subagent-driven-development" echo " - requesting-code-review" echo " - verification-before-completion" echo " - finishing-a-development-branch" echo "" echo "Install with:" echo " /plugin install superpowers@superpowers-marketplace" echo "" SUPERPOWERS_MISSING=true fi ``` ### Step 2: Check Git-Spice Verify git-spice