diff --git a/Makefile b/Makefile index a57b457..e86fd7a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: help install plugin link doctor update new-skill +.PHONY: help install plugin link doctor update new-skill profile profile-list profile-current profile-reset help: ## Show available commands @grep -E '^[a-zA-Z_-]+:.*##' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*## "}; {printf " make %-14s %s\n", $$1, $$2}' @@ -22,6 +22,18 @@ onboard: link ## Onboard an existing project (run from the project directory) @echo "Open Claude Code in your project directory and run: /onboard" @echo "Or with hints: /onboard Python FastAPI monorepo" +profile: ## Run profile.sh (usage: make profile cmd="set design") + @bash lib/profile.sh $(cmd) + +profile-list: ## List skill profiles (design, dev, qa, audit, minimal) + @bash lib/profile.sh list + +profile-current: ## Detect which skill profile is currently active + @bash lib/profile.sh current + +profile-reset: ## Re-enable all gstack skills (undo any profile set) + @bash lib/profile.sh reset + new-skill: ## Create a new skill scaffold (usage: make new-skill name=myskill) @test -n "$(name)" || (echo "Usage: make new-skill name=myskill" && exit 1) @mkdir -p agents skills/$(name) diff --git a/agents/plugin-advisor.md b/agents/plugin-advisor.md index eacc2fd..2e814e7 100644 --- a/agents/plugin-advisor.md +++ b/agents/plugin-advisor.md @@ -23,6 +23,11 @@ claude plugin list 2>/dev/null || echo "plugin-list-unavailable" # `claude plugin enable|disable` does not apply to them. bash "$HOME/.claude/lib/toggle-external.sh" list 2>/dev/null || echo "toggle-external-unavailable" +# Active skill profile — design / dev / qa / audit / minimal / custom. +# Profiles partition gstack + personal skills by purpose. See +# lib/profile.sh and lib/profiles/*.profile. +bash "$HOME/.claude/lib/profile.sh" current 2>/dev/null || echo "profile-unavailable" + # Context7 CLI command -v ctx7 &>/dev/null && ctx7 --version 2>/dev/null | head -1 || echo "ctx7-not-installed" @@ -114,6 +119,7 @@ Output: `COMPLEXITY: % —