@arthai/agents 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +123 -0
- package/VERSION +1 -0
- package/agents/ai-consultant.md +999 -0
- package/agents/architect.md +174 -0
- package/agents/code-reviewer.md +115 -0
- package/agents/competitive-analyst.md +688 -0
- package/agents/content-strategist.md +607 -0
- package/agents/design-studio-create.md +304 -0
- package/agents/design-studio-critique.md +258 -0
- package/agents/design-studio-think.md +79 -0
- package/agents/domain-hunter.md +519 -0
- package/agents/explore-light.md +52 -0
- package/agents/frontend.md +261 -0
- package/agents/gtm-expert.md +811 -0
- package/agents/meeting-prep.md +318 -0
- package/agents/ops.md +149 -0
- package/agents/product-manager.md +563 -0
- package/agents/python-backend.md +286 -0
- package/agents/qa-baseline-updater.md +45 -0
- package/agents/qa-challenger.md +97 -0
- package/agents/qa-domain.md +145 -0
- package/agents/qa-e2e.md +184 -0
- package/agents/qa-test-promoter.md +97 -0
- package/agents/qa.md +226 -0
- package/agents/setup.md +134 -0
- package/agents/sre.md +165 -0
- package/agents/stakeholder-reporter.md +94 -0
- package/agents/user-researcher.md +602 -0
- package/bin/cli.js +322 -0
- package/bundles/canvas.json +16 -0
- package/bundles/compass.json +16 -0
- package/bundles/counsel.json +31 -0
- package/bundles/cruise.json +11 -0
- package/bundles/forge.json +26 -0
- package/bundles/prime.json +10 -0
- package/bundles/prism.json +23 -0
- package/bundles/scalpel.json +17 -0
- package/bundles/sentinel.json +19 -0
- package/bundles/shield.json +14 -0
- package/bundles/spark.json +19 -0
- package/compiler.sh +305 -0
- package/dist/plugins/canvas/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/canvas/agents/design-studio-create.md +304 -0
- package/dist/plugins/canvas/agents/design-studio-critique.md +258 -0
- package/dist/plugins/canvas/agents/design-studio-think.md +79 -0
- package/dist/plugins/canvas/agents/frontend.md +261 -0
- package/dist/plugins/canvas/skills/planning/SKILL.md +436 -0
- package/dist/plugins/compass/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/compass/agents/content-strategist.md +607 -0
- package/dist/plugins/compass/agents/gtm-expert.md +811 -0
- package/dist/plugins/compass/agents/product-manager.md +563 -0
- package/dist/plugins/compass/agents/user-researcher.md +602 -0
- package/dist/plugins/compass/skills/planning/SKILL.md +436 -0
- package/dist/plugins/counsel/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/counsel/agents/ai-consultant.md +999 -0
- package/dist/plugins/counsel/agents/competitive-analyst.md +688 -0
- package/dist/plugins/counsel/agents/meeting-prep.md +318 -0
- package/dist/plugins/counsel/agents/stakeholder-reporter.md +94 -0
- package/dist/plugins/counsel/hooks/check-deliverable.sh +65 -0
- package/dist/plugins/counsel/hooks/ensure-client-dir.sh +59 -0
- package/dist/plugins/counsel/hooks/hooks.json +28 -0
- package/dist/plugins/counsel/skills/client-discovery/SKILL.md +266 -0
- package/dist/plugins/counsel/skills/consulting/SKILL.md +282 -0
- package/dist/plugins/counsel/skills/deliverable-builder/SKILL.md +928 -0
- package/dist/plugins/counsel/skills/engagement-tracker/SKILL.md +380 -0
- package/dist/plugins/counsel/skills/market-research/SKILL.md +300 -0
- package/dist/plugins/counsel/skills/opportunity-map/SKILL.md +307 -0
- package/dist/plugins/counsel/skills/pitch-generator/SKILL.md +378 -0
- package/dist/plugins/counsel/skills/roi-calculator/SKILL.md +469 -0
- package/dist/plugins/counsel/skills/share/SKILL.md +211 -0
- package/dist/plugins/counsel/skills/solution-architect/SKILL.md +566 -0
- package/dist/plugins/counsel/skills/templates/SKILL.md +194 -0
- package/dist/plugins/counsel/skills/welcome/SKILL.md +136 -0
- package/dist/plugins/counsel/skills/wizard/SKILL.md +411 -0
- package/dist/plugins/cruise/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/cruise/skills/autopilot/SKILL.md +425 -0
- package/dist/plugins/forge/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/forge/agents/architect.md +174 -0
- package/dist/plugins/forge/agents/code-reviewer.md +115 -0
- package/dist/plugins/forge/agents/frontend.md +261 -0
- package/dist/plugins/forge/agents/product-manager.md +563 -0
- package/dist/plugins/forge/agents/python-backend.md +286 -0
- package/dist/plugins/forge/agents/qa.md +226 -0
- package/dist/plugins/forge/hooks/hooks.json +28 -0
- package/dist/plugins/forge/hooks/post-test-summary.sh +115 -0
- package/dist/plugins/forge/hooks/triage-router.sh +740 -0
- package/dist/plugins/forge/skills/implement/SKILL.md +532 -0
- package/dist/plugins/forge/skills/planning/SKILL.md +436 -0
- package/dist/plugins/forge/skills/pr/SKILL.md +275 -0
- package/dist/plugins/forge/skills/precheck/SKILL.md +159 -0
- package/dist/plugins/forge/skills/qa/SKILL.md +127 -0
- package/dist/plugins/forge/skills/review-pr/SKILL.md +367 -0
- package/dist/plugins/prime/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/prime/agents/ai-consultant.md +999 -0
- package/dist/plugins/prime/agents/architect.md +174 -0
- package/dist/plugins/prime/agents/code-reviewer.md +115 -0
- package/dist/plugins/prime/agents/competitive-analyst.md +688 -0
- package/dist/plugins/prime/agents/content-strategist.md +607 -0
- package/dist/plugins/prime/agents/design-studio-create.md +304 -0
- package/dist/plugins/prime/agents/design-studio-critique.md +258 -0
- package/dist/plugins/prime/agents/design-studio-think.md +79 -0
- package/dist/plugins/prime/agents/explore-light.md +52 -0
- package/dist/plugins/prime/agents/frontend.md +261 -0
- package/dist/plugins/prime/agents/gtm-expert.md +811 -0
- package/dist/plugins/prime/agents/meeting-prep.md +318 -0
- package/dist/plugins/prime/agents/ops.md +149 -0
- package/dist/plugins/prime/agents/product-manager.md +563 -0
- package/dist/plugins/prime/agents/python-backend.md +286 -0
- package/dist/plugins/prime/agents/qa-baseline-updater.md +45 -0
- package/dist/plugins/prime/agents/qa-challenger.md +97 -0
- package/dist/plugins/prime/agents/qa-domain.md +145 -0
- package/dist/plugins/prime/agents/qa-e2e.md +184 -0
- package/dist/plugins/prime/agents/qa-test-promoter.md +97 -0
- package/dist/plugins/prime/agents/qa.md +226 -0
- package/dist/plugins/prime/agents/setup.md +134 -0
- package/dist/plugins/prime/agents/sre.md +165 -0
- package/dist/plugins/prime/agents/stakeholder-reporter.md +94 -0
- package/dist/plugins/prime/agents/user-researcher.md +602 -0
- package/dist/plugins/prime/hooks/check-deliverable.sh +65 -0
- package/dist/plugins/prime/hooks/ensure-client-dir.sh +59 -0
- package/dist/plugins/prime/hooks/hooks.json +184 -0
- package/dist/plugins/prime/hooks/post-deploy-health.sh +83 -0
- package/dist/plugins/prime/hooks/post-diff-test-compare.sh +125 -0
- package/dist/plugins/prime/hooks/post-edit-lint.sh +92 -0
- package/dist/plugins/prime/hooks/post-git-state.sh +54 -0
- package/dist/plugins/prime/hooks/post-merge-cleanup.sh +101 -0
- package/dist/plugins/prime/hooks/post-test-summary.sh +115 -0
- package/dist/plugins/prime/hooks/pre-bash-guard.sh +142 -0
- package/dist/plugins/prime/hooks/pre-edit-guard.sh +121 -0
- package/dist/plugins/prime/hooks/pre-task-context.sh +113 -0
- package/dist/plugins/prime/hooks/session-bootstrap.sh +379 -0
- package/dist/plugins/prime/hooks/session-end.sh +107 -0
- package/dist/plugins/prime/hooks/session-summary.sh +97 -0
- package/dist/plugins/prime/hooks/sync-agents.sh +269 -0
- package/dist/plugins/prime/hooks/triage-router.sh +740 -0
- package/dist/plugins/prime/skills/arth/SKILL.md +165 -0
- package/dist/plugins/prime/skills/autopilot/SKILL.md +425 -0
- package/dist/plugins/prime/skills/calibrate/SKILL.md +1807 -0
- package/dist/plugins/prime/skills/ci-fix/SKILL.md +293 -0
- package/dist/plugins/prime/skills/client-discovery/SKILL.md +266 -0
- package/dist/plugins/prime/skills/consulting/SKILL.md +282 -0
- package/dist/plugins/prime/skills/custom-domain/SKILL.md +261 -0
- package/dist/plugins/prime/skills/deliverable-builder/SKILL.md +928 -0
- package/dist/plugins/prime/skills/discord-ops/SKILL.md +125 -0
- package/dist/plugins/prime/skills/engagement-tracker/SKILL.md +380 -0
- package/dist/plugins/prime/skills/explore.md +43 -0
- package/dist/plugins/prime/skills/fix/SKILL.md +1058 -0
- package/dist/plugins/prime/skills/implement/SKILL.md +532 -0
- package/dist/plugins/prime/skills/incident/SKILL.md +910 -0
- package/dist/plugins/prime/skills/issue/SKILL.md +134 -0
- package/dist/plugins/prime/skills/market-research/SKILL.md +300 -0
- package/dist/plugins/prime/skills/onboard/SKILL.md +344 -0
- package/dist/plugins/prime/skills/opportunity-map/SKILL.md +307 -0
- package/dist/plugins/prime/skills/pitch-generator/SKILL.md +378 -0
- package/dist/plugins/prime/skills/planning/SKILL.md +436 -0
- package/dist/plugins/prime/skills/pr/SKILL.md +275 -0
- package/dist/plugins/prime/skills/precheck/SKILL.md +159 -0
- package/dist/plugins/prime/skills/qa/SKILL.md +127 -0
- package/dist/plugins/prime/skills/qa-incident/SKILL.md +54 -0
- package/dist/plugins/prime/skills/qa-learn/SKILL.md +47 -0
- package/dist/plugins/prime/skills/restart/SKILL.md +70 -0
- package/dist/plugins/prime/skills/review-pr/SKILL.md +367 -0
- package/dist/plugins/prime/skills/roi-calculator/SKILL.md +469 -0
- package/dist/plugins/prime/skills/scan/SKILL.md +232 -0
- package/dist/plugins/prime/skills/setup/SKILL.md +691 -0
- package/dist/plugins/prime/skills/share/SKILL.md +211 -0
- package/dist/plugins/prime/skills/solution-architect/SKILL.md +566 -0
- package/dist/plugins/prime/skills/sre/SKILL.md +362 -0
- package/dist/plugins/prime/skills/sync/SKILL.md +188 -0
- package/dist/plugins/prime/skills/templates/SKILL.md +194 -0
- package/dist/plugins/prime/skills/welcome/SKILL.md +136 -0
- package/dist/plugins/prime/skills/wizard/SKILL.md +411 -0
- package/dist/plugins/prism/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/prism/agents/qa-baseline-updater.md +45 -0
- package/dist/plugins/prism/agents/qa-challenger.md +97 -0
- package/dist/plugins/prism/agents/qa-domain.md +145 -0
- package/dist/plugins/prism/agents/qa-e2e.md +184 -0
- package/dist/plugins/prism/agents/qa-test-promoter.md +97 -0
- package/dist/plugins/prism/agents/qa.md +226 -0
- package/dist/plugins/prism/hooks/hooks.json +26 -0
- package/dist/plugins/prism/hooks/post-diff-test-compare.sh +125 -0
- package/dist/plugins/prism/hooks/post-test-summary.sh +115 -0
- package/dist/plugins/prism/skills/qa/SKILL.md +127 -0
- package/dist/plugins/prism/skills/qa-incident/SKILL.md +54 -0
- package/dist/plugins/prism/skills/qa-learn/SKILL.md +47 -0
- package/dist/plugins/scalpel/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/scalpel/agents/code-reviewer.md +115 -0
- package/dist/plugins/scalpel/hooks/hooks.json +26 -0
- package/dist/plugins/scalpel/hooks/pre-edit-guard.sh +121 -0
- package/dist/plugins/scalpel/skills/ci-fix/SKILL.md +293 -0
- package/dist/plugins/scalpel/skills/fix/SKILL.md +1058 -0
- package/dist/plugins/scalpel/skills/issue/SKILL.md +134 -0
- package/dist/plugins/sentinel/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/sentinel/agents/ops.md +149 -0
- package/dist/plugins/sentinel/agents/sre.md +165 -0
- package/dist/plugins/sentinel/hooks/hooks.json +26 -0
- package/dist/plugins/sentinel/hooks/post-deploy-health.sh +83 -0
- package/dist/plugins/sentinel/hooks/post-git-state.sh +54 -0
- package/dist/plugins/sentinel/skills/incident/SKILL.md +910 -0
- package/dist/plugins/sentinel/skills/restart/SKILL.md +70 -0
- package/dist/plugins/sentinel/skills/sre/SKILL.md +362 -0
- package/dist/plugins/shield/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/shield/hooks/hooks.json +60 -0
- package/dist/plugins/shield/hooks/pre-bash-guard.sh +142 -0
- package/dist/plugins/shield/hooks/pre-edit-guard.sh +121 -0
- package/dist/plugins/shield/hooks/session-bootstrap.sh +379 -0
- package/dist/plugins/shield/hooks/triage-router.sh +740 -0
- package/dist/plugins/spark/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/spark/agents/explore-light.md +52 -0
- package/dist/plugins/spark/agents/setup.md +134 -0
- package/dist/plugins/spark/hooks/hooks.json +16 -0
- package/dist/plugins/spark/hooks/session-bootstrap.sh +379 -0
- package/dist/plugins/spark/skills/calibrate/SKILL.md +1807 -0
- package/dist/plugins/spark/skills/onboard/SKILL.md +344 -0
- package/dist/plugins/spark/skills/scan/SKILL.md +232 -0
- package/dist/plugins/spark/skills/setup/SKILL.md +691 -0
- package/hook-defs.json +104 -0
- package/hooks/check-deliverable.sh +65 -0
- package/hooks/ensure-client-dir.sh +59 -0
- package/hooks/hooks.json +16 -0
- package/hooks/post-deploy-health.sh +83 -0
- package/hooks/post-diff-test-compare.sh +125 -0
- package/hooks/post-edit-lint.sh +92 -0
- package/hooks/post-git-state.sh +54 -0
- package/hooks/post-merge-cleanup.sh +101 -0
- package/hooks/post-test-summary.sh +115 -0
- package/hooks/pre-bash-guard.sh +142 -0
- package/hooks/pre-edit-guard.sh +121 -0
- package/hooks/pre-task-context.sh +113 -0
- package/hooks/session-bootstrap.sh +379 -0
- package/hooks/session-end.sh +107 -0
- package/hooks/session-start.sh +46 -0
- package/hooks/session-summary.sh +97 -0
- package/hooks/sync-agents.sh +269 -0
- package/hooks/triage-router.sh +740 -0
- package/install.sh +3185 -0
- package/package.json +40 -0
- package/portable.manifest +112 -0
- package/skills/arth/SKILL.md +165 -0
- package/skills/autopilot/SKILL.md +425 -0
- package/skills/calibrate/SKILL.md +1807 -0
- package/skills/ci-fix/SKILL.md +293 -0
- package/skills/client-discovery/SKILL.md +266 -0
- package/skills/consulting/SKILL.md +282 -0
- package/skills/continue/SKILL.md +174 -0
- package/skills/custom-domain/SKILL.md +261 -0
- package/skills/deliverable-builder/SKILL.md +928 -0
- package/skills/discord-ops/SKILL.md +125 -0
- package/skills/engagement-tracker/SKILL.md +380 -0
- package/skills/explore.md +43 -0
- package/skills/fix/SKILL.md +1058 -0
- package/skills/implement/SKILL.md +532 -0
- package/skills/incident/SKILL.md +910 -0
- package/skills/issue/SKILL.md +134 -0
- package/skills/market-research/SKILL.md +300 -0
- package/skills/onboard/SKILL.md +344 -0
- package/skills/opportunity-map/SKILL.md +307 -0
- package/skills/pitch-generator/SKILL.md +378 -0
- package/skills/planning/SKILL.md +436 -0
- package/skills/pr/SKILL.md +275 -0
- package/skills/precheck/SKILL.md +159 -0
- package/skills/qa/SKILL.md +127 -0
- package/skills/qa-incident/SKILL.md +54 -0
- package/skills/qa-learn/SKILL.md +47 -0
- package/skills/railway/central-station/SKILL.md +226 -0
- package/skills/railway/central-station/references/environment-config.md +183 -0
- package/skills/railway/central-station/references/monorepo.md +216 -0
- package/skills/railway/central-station/references/railpack.md +257 -0
- package/skills/railway/central-station/references/variables.md +170 -0
- package/skills/railway/database/SKILL.md +284 -0
- package/skills/railway/database/references/environment-config.md +183 -0
- package/skills/railway/database/references/monorepo.md +216 -0
- package/skills/railway/database/references/railpack.md +257 -0
- package/skills/railway/database/references/variables.md +170 -0
- package/skills/railway/database/scripts/railway-api.sh +41 -0
- package/skills/railway/deploy/SKILL.md +128 -0
- package/skills/railway/deploy/references/environment-config.md +183 -0
- package/skills/railway/deploy/references/monorepo.md +216 -0
- package/skills/railway/deploy/references/railpack.md +257 -0
- package/skills/railway/deploy/references/variables.md +170 -0
- package/skills/railway/deployment/SKILL.md +222 -0
- package/skills/railway/deployment/references/environment-config.md +183 -0
- package/skills/railway/deployment/references/monorepo.md +216 -0
- package/skills/railway/deployment/references/railpack.md +257 -0
- package/skills/railway/deployment/references/variables.md +170 -0
- package/skills/railway/domain/SKILL.md +137 -0
- package/skills/railway/domain/references/environment-config.md +183 -0
- package/skills/railway/domain/references/monorepo.md +216 -0
- package/skills/railway/domain/references/railpack.md +257 -0
- package/skills/railway/domain/references/variables.md +170 -0
- package/skills/railway/environment/SKILL.md +266 -0
- package/skills/railway/environment/references/environment-config.md +183 -0
- package/skills/railway/environment/references/monorepo.md +216 -0
- package/skills/railway/environment/references/railpack.md +257 -0
- package/skills/railway/environment/references/variables.md +170 -0
- package/skills/railway/metrics/SKILL.md +211 -0
- package/skills/railway/metrics/references/environment-config.md +183 -0
- package/skills/railway/metrics/references/monorepo.md +216 -0
- package/skills/railway/metrics/references/railpack.md +257 -0
- package/skills/railway/metrics/references/variables.md +170 -0
- package/skills/railway/metrics/scripts/railway-api.sh +41 -0
- package/skills/railway/new/SKILL.md +489 -0
- package/skills/railway/new/references/environment-config.md +183 -0
- package/skills/railway/new/references/monorepo.md +216 -0
- package/skills/railway/new/references/railpack.md +257 -0
- package/skills/railway/new/references/variables.md +170 -0
- package/skills/railway/projects/SKILL.md +142 -0
- package/skills/railway/projects/references/environment-config.md +183 -0
- package/skills/railway/projects/references/monorepo.md +216 -0
- package/skills/railway/projects/references/railpack.md +257 -0
- package/skills/railway/projects/references/variables.md +170 -0
- package/skills/railway/projects/scripts/railway-api.sh +41 -0
- package/skills/railway/railway-docs/SKILL.md +47 -0
- package/skills/railway/railway-docs/references/environment-config.md +183 -0
- package/skills/railway/railway-docs/references/monorepo.md +216 -0
- package/skills/railway/railway-docs/references/railpack.md +257 -0
- package/skills/railway/railway-docs/references/variables.md +170 -0
- package/skills/railway/service/SKILL.md +249 -0
- package/skills/railway/service/references/environment-config.md +183 -0
- package/skills/railway/service/references/monorepo.md +216 -0
- package/skills/railway/service/references/railpack.md +257 -0
- package/skills/railway/service/references/variables.md +170 -0
- package/skills/railway/service/scripts/railway-api.sh +41 -0
- package/skills/railway/status/SKILL.md +91 -0
- package/skills/railway/status/references/environment-config.md +183 -0
- package/skills/railway/status/references/monorepo.md +216 -0
- package/skills/railway/status/references/railpack.md +257 -0
- package/skills/railway/status/references/variables.md +170 -0
- package/skills/railway/templates/SKILL.md +275 -0
- package/skills/railway/templates/references/environment-config.md +183 -0
- package/skills/railway/templates/references/monorepo.md +216 -0
- package/skills/railway/templates/references/railpack.md +257 -0
- package/skills/railway/templates/references/variables.md +170 -0
- package/skills/railway/templates/scripts/railway-api.sh +41 -0
- package/skills/restart/SKILL.md +70 -0
- package/skills/review-pr/SKILL.md +367 -0
- package/skills/roi-calculator/SKILL.md +469 -0
- package/skills/scan/SKILL.md +232 -0
- package/skills/setup/SKILL.md +691 -0
- package/skills/share/SKILL.md +211 -0
- package/skills/solution-architect/SKILL.md +566 -0
- package/skills/sre/SKILL.md +362 -0
- package/skills/superpowers/brainstorming/SKILL.md +96 -0
- package/skills/superpowers/dispatching-parallel-agents/SKILL.md +180 -0
- package/skills/superpowers/executing-plans/SKILL.md +84 -0
- package/skills/superpowers/finishing-a-development-branch/SKILL.md +200 -0
- package/skills/superpowers/receiving-code-review/SKILL.md +213 -0
- package/skills/superpowers/requesting-code-review/SKILL.md +105 -0
- package/skills/superpowers/requesting-code-review/code-reviewer.md +146 -0
- package/skills/superpowers/subagent-driven-development/SKILL.md +242 -0
- package/skills/superpowers/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
- package/skills/superpowers/subagent-driven-development/implementer-prompt.md +78 -0
- package/skills/superpowers/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/skills/superpowers/systematic-debugging/CREATION-LOG.md +119 -0
- package/skills/superpowers/systematic-debugging/SKILL.md +296 -0
- package/skills/superpowers/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/skills/superpowers/systematic-debugging/condition-based-waiting.md +115 -0
- package/skills/superpowers/systematic-debugging/defense-in-depth.md +122 -0
- package/skills/superpowers/systematic-debugging/find-polluter.sh +63 -0
- package/skills/superpowers/systematic-debugging/root-cause-tracing.md +169 -0
- package/skills/superpowers/systematic-debugging/test-academic.md +14 -0
- package/skills/superpowers/systematic-debugging/test-pressure-1.md +58 -0
- package/skills/superpowers/systematic-debugging/test-pressure-2.md +68 -0
- package/skills/superpowers/systematic-debugging/test-pressure-3.md +69 -0
- package/skills/superpowers/test-driven-development/SKILL.md +371 -0
- package/skills/superpowers/test-driven-development/testing-anti-patterns.md +299 -0
- package/skills/superpowers/using-git-worktrees/SKILL.md +218 -0
- package/skills/superpowers/using-superpowers/SKILL.md +95 -0
- package/skills/superpowers/verification-before-completion/SKILL.md +139 -0
- package/skills/superpowers/writing-plans/SKILL.md +116 -0
- package/skills/superpowers/writing-skills/SKILL.md +655 -0
- package/skills/superpowers/writing-skills/anthropic-best-practices.md +1150 -0
- package/skills/superpowers/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
- package/skills/superpowers/writing-skills/graphviz-conventions.dot +172 -0
- package/skills/superpowers/writing-skills/persuasion-principles.md +187 -0
- package/skills/superpowers/writing-skills/render-graphs.js +168 -0
- package/skills/superpowers/writing-skills/testing-skills-with-subagents.md +384 -0
- package/skills/sync/SKILL.md +188 -0
- package/skills/templates/SKILL.md +194 -0
- package/skills/welcome/SKILL.md +136 -0
- package/skills/wizard/SKILL.md +411 -0
- package/templates/CLAUDE.md.managed-block +123 -0
- package/templates/CLAUDE.md.template +111 -0
- package/templates/consulting/engagement-tracker-template.md +181 -0
- package/templates/consulting/executive-summary-template.md +83 -0
- package/templates/consulting/maturity-assessment-template.md +182 -0
- package/templates/consulting/proposal-template.md +209 -0
- package/templates/consulting/roi-model-template.md +139 -0
- package/templates/consulting/solution-architecture-template.md +313 -0
- package/templates/settings.json +130 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sync
|
|
3
|
+
description: "Sync claude-agents tooling. Usage: /sync (pull latest), /sync status, /sync push <path> (contribute back)"
|
|
4
|
+
user-invocable: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /sync — Claude Agents Sync
|
|
8
|
+
|
|
9
|
+
Manage the shared claude-agents tooling between your project and the central repo.
|
|
10
|
+
|
|
11
|
+
## Commands
|
|
12
|
+
|
|
13
|
+
### `/sync` (no args) — Pull & re-sync
|
|
14
|
+
|
|
15
|
+
Pull the latest from `~/.claude-agents/` and re-sync symlinks into the current project.
|
|
16
|
+
|
|
17
|
+
Steps:
|
|
18
|
+
1. `cd ~/.claude-agents && git pull --ff-only`
|
|
19
|
+
2. Run `~/.claude-agents/install.sh` on the current project directory
|
|
20
|
+
3. Report what was created, updated, or skipped
|
|
21
|
+
|
|
22
|
+
### `/sync status` — Show status
|
|
23
|
+
|
|
24
|
+
Run `~/.claude-agents/install.sh --status` on the current project directory.
|
|
25
|
+
Report which files are symlinked, overridden, or missing.
|
|
26
|
+
|
|
27
|
+
### `/sync push <target>` — Contribute back
|
|
28
|
+
|
|
29
|
+
Push a modified agent, skill, or hook from the current project back to `~/.claude-agents/`.
|
|
30
|
+
|
|
31
|
+
The `<target>` can be:
|
|
32
|
+
- A name: `/sync push pr`, `/sync push onboard`, `/sync push ops`
|
|
33
|
+
- A path: `/sync push skills/pr/SKILL.md`, `/sync push agents/ops.md`
|
|
34
|
+
- Omitted: `/sync push` — auto-detect what changed (see step 1)
|
|
35
|
+
|
|
36
|
+
#### Step 1: Resolve the target to a file path
|
|
37
|
+
|
|
38
|
+
| Target | How to resolve |
|
|
39
|
+
|--------|---------------|
|
|
40
|
+
| No target given | Run `git diff --name-only HEAD` in the project repo. Filter for `.claude/agents/`, `.claude/skills/`, `.claude/hooks/`. If multiple, ask user which one. |
|
|
41
|
+
| A name (e.g., `pr`) | Search for it: `.claude/skills/<name>/SKILL.md`, `.claude/agents/<name>.md`, `.claude/hooks/<name>.sh` — use the first that exists as a regular file (not symlink). |
|
|
42
|
+
| A path (e.g., `skills/pr/SKILL.md`) | Prepend `.claude/` if needed → `.claude/skills/pr/SKILL.md` |
|
|
43
|
+
|
|
44
|
+
The resolved path must be a **regular file** (not a symlink). If it's a symlink pointing to `~/.claude-agents/`, tell the user: "This file is managed by claude-agents. Edit it directly at `~/.claude-agents/<path>` instead."
|
|
45
|
+
|
|
46
|
+
#### Step 2: Determine the item type and destination
|
|
47
|
+
|
|
48
|
+
| Source path pattern | Type | Destination in claude-agents |
|
|
49
|
+
|--------------------|------|------------------------------|
|
|
50
|
+
| `.claude/agents/<name>.md` | agent | `agents/<name>.md` |
|
|
51
|
+
| `.claude/skills/<name>/SKILL.md` | skill | `skills/<name>/SKILL.md` |
|
|
52
|
+
| `.claude/skills/<name>/` (directory) | skill-dir | `skills/<name>/` |
|
|
53
|
+
| `.claude/hooks/<name>.sh` | hook | `hooks/<name>.sh` |
|
|
54
|
+
|
|
55
|
+
#### Step 3: Check for project-specific content
|
|
56
|
+
|
|
57
|
+
Read the file. Warn if it contains hardcoded paths (`/Users/`, `~/prepme`), project-specific env vars, service names, or URLs. Ask user to clean up or proceed.
|
|
58
|
+
|
|
59
|
+
#### Step 4: Copy and commit
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
# Determine branch name
|
|
63
|
+
# If destination exists in claude-agents → update/<name>
|
|
64
|
+
# If new → add/<name>
|
|
65
|
+
BRANCH="update/<name>" # or add/<name>
|
|
66
|
+
|
|
67
|
+
cd ~/.claude-agents
|
|
68
|
+
git checkout -b "$BRANCH"
|
|
69
|
+
|
|
70
|
+
# Copy from project to toolkit
|
|
71
|
+
cp <source> <destination> # single file
|
|
72
|
+
cp -r <source-dir> <destination-dir> # directory
|
|
73
|
+
|
|
74
|
+
# If new item, add to manifest
|
|
75
|
+
grep -q "<relative-path>" portable.manifest || echo "<type> <relative-path>" >> portable.manifest
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
#### Step 4b: Register new hooks in install.sh (HOOKS ONLY)
|
|
79
|
+
|
|
80
|
+
**If the item type is `hook` AND it is a NEW hook** (not already in install.sh), you MUST register it in `install.sh`. Skipping this will cause the `15-manifest-coverage` CI test to fail.
|
|
81
|
+
|
|
82
|
+
**4b.1: Detect hook metadata from the script**
|
|
83
|
+
|
|
84
|
+
Read the first 10 lines of the hook script. Look for a comment declaring the hook type:
|
|
85
|
+
- `# SessionEnd hook` → event: `SessionEnd`, matcher: `""`
|
|
86
|
+
- `# SessionStart hook` → event: `SessionStart`, matcher: `""`
|
|
87
|
+
- `# UserPromptSubmit hook` → event: `UserPromptSubmit`, matcher: `""`
|
|
88
|
+
- `# PreToolUse hook (Bash)` → event: `PreToolUse`, matcher: `"Bash"`
|
|
89
|
+
- `# PreToolUse hook (Edit)` → event: `PreToolUse`, matcher: `"Edit"`
|
|
90
|
+
- `# PostToolUse hook (Bash)` → event: `PostToolUse`, matcher: `"Bash"`
|
|
91
|
+
- Pattern: `# <Event> hook` or `# <Event> hook (<Matcher>)`
|
|
92
|
+
|
|
93
|
+
If no event comment is found, the hook is a **helper script** (called by other hooks, not by Claude Code directly). Helper scripts only need steps 4b.2 and 4b.3 — skip 4b.4, 4b.5, and 4b.6.
|
|
94
|
+
|
|
95
|
+
**4b.2: Determine the category**
|
|
96
|
+
|
|
97
|
+
Ask the user which category. Common mappings:
|
|
98
|
+
- `hooks` — routing, delegation, worktree sync (e.g., triage-router, sync-worktree, session-end)
|
|
99
|
+
- `guardrails` — safety guards, linting, bootstrap (e.g., pre-bash-guard, post-edit-lint, session-bootstrap)
|
|
100
|
+
- `core` — sync infrastructure (e.g., sync-agents)
|
|
101
|
+
- `railway` — Railway-specific (e.g., sync-railway-worktree)
|
|
102
|
+
|
|
103
|
+
**4b.3: Edit `get_category_items()` in install.sh**
|
|
104
|
+
|
|
105
|
+
Find the case branch for the chosen category and append `hooks/<name>.sh` to the echo string.
|
|
106
|
+
|
|
107
|
+
Example — adding `session-end.sh` to the `hooks` category:
|
|
108
|
+
```
|
|
109
|
+
# Before:
|
|
110
|
+
hooks)
|
|
111
|
+
echo "hooks/triage-router.sh hooks/sync-worktree.sh"
|
|
112
|
+
;;
|
|
113
|
+
|
|
114
|
+
# After:
|
|
115
|
+
hooks)
|
|
116
|
+
echo "hooks/triage-router.sh hooks/sync-worktree.sh hooks/session-end.sh"
|
|
117
|
+
;;
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Also update `get_category_label()` to increment the count, and `get_category_desc()` to mention the new hook.
|
|
121
|
+
|
|
122
|
+
**4b.4: Edit `get_category_hooks()` in install.sh** (settings.json hooks only)
|
|
123
|
+
|
|
124
|
+
Add the hook name (without `hooks/` prefix and `.sh` suffix) to the category's echo string.
|
|
125
|
+
|
|
126
|
+
Example:
|
|
127
|
+
```
|
|
128
|
+
# Before:
|
|
129
|
+
hooks) echo "triage-router" ;;
|
|
130
|
+
|
|
131
|
+
# After:
|
|
132
|
+
hooks) echo "triage-router session-end" ;;
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
**4b.5: Add to `HOOK_DEFS` in install.sh**
|
|
136
|
+
|
|
137
|
+
Find the `HOOK_DEFS = {` Python dict (inside the `merge_settings_hooks` heredoc) and add a new entry before the closing `}`. Use `$CLAUDE_PROJECT_DIR/.claude/hooks/<name>.sh` as the command path. Set timeout to 15 for session hooks, 5 for tool hooks.
|
|
138
|
+
|
|
139
|
+
Example entry:
|
|
140
|
+
```python
|
|
141
|
+
"session-end": {
|
|
142
|
+
"event": "SessionEnd",
|
|
143
|
+
"entry": {
|
|
144
|
+
"matcher": "",
|
|
145
|
+
"hooks": [{
|
|
146
|
+
"type": "command",
|
|
147
|
+
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-end.sh",
|
|
148
|
+
"timeout": 15
|
|
149
|
+
}]
|
|
150
|
+
},
|
|
151
|
+
"fingerprint": "session-end.sh"
|
|
152
|
+
}
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**4b.6: Add to uninstall fallback list**
|
|
156
|
+
|
|
157
|
+
Find the `hooks_to_remove=` fallback string in `handle_uninstall()` and add the hook name.
|
|
158
|
+
|
|
159
|
+
#### Step 4c: Commit and push
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
git add <destination> portable.manifest install.sh
|
|
163
|
+
git commit -m "feat: add <name> hook with install.sh registration"
|
|
164
|
+
git push -u origin "$BRANCH"
|
|
165
|
+
gh pr create --title "Add <name> hook" --body "Contributed from <project> repo"
|
|
166
|
+
|
|
167
|
+
# Return to previous branch
|
|
168
|
+
git checkout -
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
#### Step 5: Report the PR URL
|
|
172
|
+
|
|
173
|
+
### `/sync setup` — Re-run interactive setup
|
|
174
|
+
|
|
175
|
+
Re-run the interactive category selection menu for the current project.
|
|
176
|
+
|
|
177
|
+
Steps:
|
|
178
|
+
1. Run `~/.claude-agents/install.sh --setup` on the current project directory
|
|
179
|
+
2. The menu will show with current selections pre-populated
|
|
180
|
+
3. User can add or remove categories
|
|
181
|
+
4. Report what changed
|
|
182
|
+
|
|
183
|
+
## Important Rules
|
|
184
|
+
|
|
185
|
+
- **Never push directly to main** in claude-agents — always branch + PR
|
|
186
|
+
- **Always check for project-specific content** before contributing
|
|
187
|
+
- **After PR merges**, the file will auto-sync to all projects on next session start
|
|
188
|
+
- The original file in the project stays as a regular file until the next sync converts it to a symlink
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: templates
|
|
3
|
+
description: "Generate structured deliverables from templates. Usage: /templates <type> <topic>"
|
|
4
|
+
user-invocable: true
|
|
5
|
+
arguments: "<type> <topic>"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Provides structured templates for common non-engineering deliverables. Each template
|
|
9
|
+
produces a professional, outcome-focused document by bringing in the right specialist.
|
|
10
|
+
|
|
11
|
+
## Argument Parsing
|
|
12
|
+
|
|
13
|
+
| Input | Action |
|
|
14
|
+
|---|---|
|
|
15
|
+
| `/templates` | Show selection menu |
|
|
16
|
+
| `/templates product-brief` | Ask for topic, then generate product brief |
|
|
17
|
+
| `/templates product-brief notifications` | Generate product brief for "notifications" |
|
|
18
|
+
| `/templates launch-plan` | Ask for topic, then generate launch plan |
|
|
19
|
+
| `/templates launch-plan dark-mode` | Generate launch plan for "dark-mode" |
|
|
20
|
+
| `/templates status-report` | Generate status report immediately (reads project data automatically) |
|
|
21
|
+
| `/templates design-critique` | Ask what to critique, then generate critique |
|
|
22
|
+
| `/templates design-critique login-page` | Generate design critique for "login-page" |
|
|
23
|
+
| `/templates meeting-briefing` | Ask for meeting topic, then generate pre-meeting briefing |
|
|
24
|
+
| `/templates meeting-briefing sprint-planning` | Generate briefing for "sprint-planning" meeting |
|
|
25
|
+
| `/templates blog-post` | Ask for topic, then generate blog post |
|
|
26
|
+
| `/templates blog-post launch-announcement` | Generate blog post about "launch-announcement" |
|
|
27
|
+
| `/templates user-persona` | Ask for research data source, then generate persona |
|
|
28
|
+
| `/templates user-persona pm-users` | Generate persona for "pm-users" from available data |
|
|
29
|
+
|
|
30
|
+
## Selection Menu
|
|
31
|
+
|
|
32
|
+
If no type is provided, present this menu using AskUserQuestion:
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
What would you like to create?
|
|
36
|
+
1. Product brief — Define a feature or product for your team
|
|
37
|
+
2. Launch plan — Plan how to bring something to market
|
|
38
|
+
3. Status report — Summarize project progress for stakeholders
|
|
39
|
+
4. Design critique — Evaluate a design against proven principles
|
|
40
|
+
5. Meeting briefing — Prepare for an upcoming meeting with project context
|
|
41
|
+
6. Blog post — Write a blog post grounded in your product's real capabilities
|
|
42
|
+
7. User persona — Generate behavior-based personas from research data
|
|
43
|
+
|
|
44
|
+
Just type a number or the template name.
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Template Definitions
|
|
48
|
+
|
|
49
|
+
### 1. Product Brief
|
|
50
|
+
|
|
51
|
+
**Purpose:** Define a feature or product so the team understands what to build and why.
|
|
52
|
+
|
|
53
|
+
**Execution:** Spawn the `product-manager` agent with this prompt:
|
|
54
|
+
|
|
55
|
+
> Write a product brief for: {topic}
|
|
56
|
+
>
|
|
57
|
+
> Read the project's CLAUDE.md for context. Structure the brief with these sections:
|
|
58
|
+
> - **Problem statement** — What pain point does this solve? Who feels it?
|
|
59
|
+
> - **Target user** — Who specifically benefits? Be concrete.
|
|
60
|
+
> - **Desired outcome** — What does success look like from the user's perspective?
|
|
61
|
+
> - **Success metrics** — How will we measure if this worked? (2-3 metrics)
|
|
62
|
+
> - **Scope** — What is included and what is explicitly excluded?
|
|
63
|
+
> - **Open questions** — What do we still need to figure out?
|
|
64
|
+
>
|
|
65
|
+
> Write in plain language. No jargon. Focus on outcomes, not implementation details.
|
|
66
|
+
> Keep it under 500 words.
|
|
67
|
+
|
|
68
|
+
### 2. Launch Plan
|
|
69
|
+
|
|
70
|
+
**Purpose:** Plan how to bring a feature or product to market.
|
|
71
|
+
|
|
72
|
+
**Execution:** Spawn the `gtm-expert` agent with this prompt:
|
|
73
|
+
|
|
74
|
+
> Write a launch plan for: {topic}
|
|
75
|
+
>
|
|
76
|
+
> Read the project's CLAUDE.md for context. Structure the plan with these sections:
|
|
77
|
+
> - **What is launching** — One-paragraph summary
|
|
78
|
+
> - **Who it is for** — Target audience with specifics
|
|
79
|
+
> - **Positioning** — One sentence: "For [who] who [need], [product] is [category] that [benefit]"
|
|
80
|
+
> - **Channels** — Where and how to reach the audience (3-5 channels, prioritized)
|
|
81
|
+
> - **Timeline** — Week-by-week plan for the first 4 weeks
|
|
82
|
+
> - **Success metrics** — How we know the launch worked (2-3 metrics)
|
|
83
|
+
> - **Risks** — What could go wrong and how to mitigate (2-3 risks)
|
|
84
|
+
>
|
|
85
|
+
> Write in plain language. Be specific and actionable, not generic.
|
|
86
|
+
> Keep it under 600 words.
|
|
87
|
+
|
|
88
|
+
### 3. Status Report
|
|
89
|
+
|
|
90
|
+
**Purpose:** Summarize project progress for stakeholders who don't read code.
|
|
91
|
+
|
|
92
|
+
**Execution:** Spawn the `stakeholder-reporter` agent with this prompt:
|
|
93
|
+
|
|
94
|
+
> Generate a project status report.
|
|
95
|
+
>
|
|
96
|
+
> Read git history, open PRs, merged PRs, and open issues to produce
|
|
97
|
+
> a plain-English summary of project health. Follow your report format exactly.
|
|
98
|
+
> If a topic or scope was specified, focus on: {topic}
|
|
99
|
+
|
|
100
|
+
This template requires no input from the user — the agent reads project data automatically.
|
|
101
|
+
|
|
102
|
+
### 4. Design Critique
|
|
103
|
+
|
|
104
|
+
**Purpose:** Evaluate a design against proven principles and provide actionable feedback.
|
|
105
|
+
|
|
106
|
+
**Execution:** Ask the user what to critique if not provided (URL, screenshot path, or description).
|
|
107
|
+
Then spawn the `design-studio-critique` agent with this prompt:
|
|
108
|
+
|
|
109
|
+
> Critique this design: {topic/input}
|
|
110
|
+
>
|
|
111
|
+
> Structure your critique with these sections:
|
|
112
|
+
> - **Design intent** — What is this design trying to accomplish?
|
|
113
|
+
> - **First impressions** — What works well at first glance?
|
|
114
|
+
> - **Principles evaluation** — Evaluate against Dieter Rams' 10 principles for good design
|
|
115
|
+
> - **Accessibility notes** — Any concerns for users with different abilities?
|
|
116
|
+
> - **Recommendations** — Specific, actionable improvements (prioritized, top 3-5)
|
|
117
|
+
>
|
|
118
|
+
> Write for a non-technical audience. Explain design concepts in plain language.
|
|
119
|
+
> Be constructive — lead with what works before suggesting changes.
|
|
120
|
+
|
|
121
|
+
### 5. Meeting Briefing
|
|
122
|
+
|
|
123
|
+
**Purpose:** Prepare for an upcoming meeting with relevant project context and suggested talking points.
|
|
124
|
+
|
|
125
|
+
**Execution:** Spawn the `meeting-prep` agent with this prompt:
|
|
126
|
+
|
|
127
|
+
> Generate a pre-meeting briefing for: {topic}
|
|
128
|
+
>
|
|
129
|
+
> Read git history, open PRs, merged PRs, and open issues to gather relevant project context.
|
|
130
|
+
> Classify the meeting type (daily check-in, weekly tactical, monthly strategic, 1:1, or decision meeting).
|
|
131
|
+
> Structure the briefing with: What You Need to Know, What Shipped Recently, What's In Progress,
|
|
132
|
+
> Open Questions for This Meeting, and Suggested Talking Points.
|
|
133
|
+
> Keep it under 500 words. Write in plain language — no engineering jargon.
|
|
134
|
+
|
|
135
|
+
### 6. Blog Post
|
|
136
|
+
|
|
137
|
+
**Purpose:** Create a compelling blog post grounded in the product's real capabilities and codebase context.
|
|
138
|
+
|
|
139
|
+
**Execution:** Spawn the `content-strategist` agent with this prompt:
|
|
140
|
+
|
|
141
|
+
> Write a blog post about: {topic}
|
|
142
|
+
>
|
|
143
|
+
> Read the project's CLAUDE.md, README.md, and recent git history for context.
|
|
144
|
+
> Ground all claims in real product capabilities — read the actual code if needed.
|
|
145
|
+
> Structure with these sections:
|
|
146
|
+
> - **Headline** — Specific promise, not generic ("How We Cut Deploy Times by 37%" not "Improving Deployments")
|
|
147
|
+
> - **Hook** — Opening that earns the reader's next 30 seconds
|
|
148
|
+
> - **Body** — 3-5 key points with specific examples and data
|
|
149
|
+
> - **Takeaway** — What the reader should do with this information
|
|
150
|
+
> - **CTA** — One clear next step
|
|
151
|
+
>
|
|
152
|
+
> Write for a non-technical audience unless the topic is explicitly technical.
|
|
153
|
+
> Aim for 800-1200 words. Use the PAS or AIDA framework as appropriate.
|
|
154
|
+
|
|
155
|
+
### 7. User Persona
|
|
156
|
+
|
|
157
|
+
**Purpose:** Generate behavior-based personas from research data (interview notes, support tickets, survey responses, or product analytics).
|
|
158
|
+
|
|
159
|
+
**Execution:** Ask the user for research data source if not provided (file path, paste notes, or description of users).
|
|
160
|
+
Then spawn the `user-researcher` agent with this prompt:
|
|
161
|
+
|
|
162
|
+
> Generate behavior-based user personas from: {topic/input}
|
|
163
|
+
>
|
|
164
|
+
> If research data is provided, synthesize it into personas. If a user segment is described,
|
|
165
|
+
> use available project context (issues, PRs, README) to infer behavioral patterns.
|
|
166
|
+
> Structure each persona with:
|
|
167
|
+
> - **Persona name** — Descriptive verb phrase (e.g., "The Rapid Prototyper"), not a demographic label
|
|
168
|
+
> - **Behavior pattern** — What they do, how often, what tools they use
|
|
169
|
+
> - **Motivation** — Functional, emotional, and social jobs (JTBD)
|
|
170
|
+
> - **Current pain** — Top frustration, workaround, cost
|
|
171
|
+
> - **Trigger** — What prompts them to act
|
|
172
|
+
> - **Success looks like** — Desired outcome in their words
|
|
173
|
+
>
|
|
174
|
+
> Generate 3-5 personas max. Every claim must be grounded in observed behavior, not assumptions.
|
|
175
|
+
|
|
176
|
+
## Post-Template Flow
|
|
177
|
+
|
|
178
|
+
After every template output, always present these next steps:
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
What next?
|
|
182
|
+
- "share this" to format for your team
|
|
183
|
+
- "revise [section]" to change something
|
|
184
|
+
- "try another template" to create a different deliverable
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
## Rules
|
|
188
|
+
|
|
189
|
+
- Never show agent names, model names, or cost tiers to the user
|
|
190
|
+
- Say "bringing in a specialist" if you need to explain what is happening, not "spawning the product-manager agent"
|
|
191
|
+
- All output must be jargon-free — translate engineering terms to plain language
|
|
192
|
+
- If the user provides a topic inline, skip the question and go straight to generation
|
|
193
|
+
- Always offer "share this" as a next step (enables the /share skill viral loop)
|
|
194
|
+
- If an agent is unavailable, explain what happened in plain English and suggest an alternative
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: welcome
|
|
3
|
+
description: "Role-aware welcome for non-engineers. Presents intent-based menu instead of blank terminal. Usage: /welcome"
|
|
4
|
+
user-invocable: true
|
|
5
|
+
arguments: ""
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Welcome Skill — Role-Based Intent Router
|
|
9
|
+
|
|
10
|
+
Presents a role-appropriate welcome screen when a non-engineer opens Claude Code.
|
|
11
|
+
Replaces the blank terminal with a clear, outcome-oriented menu.
|
|
12
|
+
|
|
13
|
+
**Design principles:**
|
|
14
|
+
- Speak in outcomes, not mechanisms ("Plan a feature" not "Spawn a planning team")
|
|
15
|
+
- Progressive disclosure — show 4-5 options, not 18 agents
|
|
16
|
+
- No jargon — no "agents," "skills," "hooks," "symlinks," or model names
|
|
17
|
+
- The system picks the right specialist; the user describes what they want
|
|
18
|
+
|
|
19
|
+
## Execution Steps
|
|
20
|
+
|
|
21
|
+
### 1. Detect Role
|
|
22
|
+
|
|
23
|
+
Check the project's `.claude/.claude-agents.conf` for `USER_ROLE`. If present, use it.
|
|
24
|
+
If not present, check these signals:
|
|
25
|
+
- If `.claude/agents/gtm-expert.md` exists but no QA agents → likely PM/founder/marketer
|
|
26
|
+
- If design-studio agents exist but no backend agents → likely designer
|
|
27
|
+
- If all agents exist → likely engineer (fall through to /onboard)
|
|
28
|
+
|
|
29
|
+
If role cannot be determined, ask using AskUserQuestion:
|
|
30
|
+
- "What's your role on this team?"
|
|
31
|
+
- Options: Product Manager, Founder, Designer, Marketer, Operations, Engineer
|
|
32
|
+
|
|
33
|
+
Store the role in `.claude/.claude-agents.conf` as `USER_ROLE="<role>"` for future sessions.
|
|
34
|
+
|
|
35
|
+
### 2. Present Role-Based Menu
|
|
36
|
+
|
|
37
|
+
Based on the detected role, present a welcome screen using AskUserQuestion.
|
|
38
|
+
|
|
39
|
+
**For Product Managers (`pm`):**
|
|
40
|
+
|
|
41
|
+
Question: "What would you like to do?"
|
|
42
|
+
Options:
|
|
43
|
+
1. "Plan a feature" — description: "Describe a feature and get a full product brief + architecture plan"
|
|
44
|
+
2. "Check project status" — description: "See what the team is working on, open PRs, and issues"
|
|
45
|
+
3. "Create or review an issue" — description: "Create a GitHub issue or review existing ones"
|
|
46
|
+
4. "Something else" — description: "Describe what you need in plain English"
|
|
47
|
+
|
|
48
|
+
**For Founders (`founder`):**
|
|
49
|
+
|
|
50
|
+
Question: "What would you like to do?"
|
|
51
|
+
Options:
|
|
52
|
+
1. "Plan a feature or strategy" — description: "Get a product plan, GTM strategy, or architecture review"
|
|
53
|
+
2. "Check project status" — description: "Full briefing: PRs, issues, deployments, team activity"
|
|
54
|
+
3. "Review positioning or GTM" — description: "Analyze market positioning, competitive landscape, or launch strategy"
|
|
55
|
+
4. "Something else" — description: "Describe what you need in plain English"
|
|
56
|
+
|
|
57
|
+
**For Designers (`designer`):**
|
|
58
|
+
|
|
59
|
+
Question: "What would you like to do?"
|
|
60
|
+
Options:
|
|
61
|
+
1. "Design thinking session" — description: "Explore UX goals, user journeys, and design direction"
|
|
62
|
+
2. "Get a design critique" — description: "Review a design against established principles (Rams, Norman, Vignelli)"
|
|
63
|
+
3. "Plan a UI feature" — description: "Get a design brief + architecture plan for a UI change"
|
|
64
|
+
4. "Something else" — description: "Describe what you need in plain English"
|
|
65
|
+
|
|
66
|
+
**For Marketers (`marketer`):**
|
|
67
|
+
|
|
68
|
+
Question: "What would you like to do?"
|
|
69
|
+
Options:
|
|
70
|
+
1. "Create a launch strategy" — description: "Full GTM plan: positioning, channels, growth loops, launch brief"
|
|
71
|
+
2. "Analyze positioning" — description: "Positioning canvas, competitive analysis, category definition"
|
|
72
|
+
3. "Plan content or campaign" — description: "Content strategy informed by what the product actually does"
|
|
73
|
+
4. "Something else" — description: "Describe what you need in plain English"
|
|
74
|
+
|
|
75
|
+
**For Ops/Project Managers (`ops`):**
|
|
76
|
+
|
|
77
|
+
Question: "What would you like to do?"
|
|
78
|
+
Options:
|
|
79
|
+
1. "Check project status" — description: "PRs, issues, CI status, deployment health"
|
|
80
|
+
2. "Triage open issues" — description: "Prioritize and assign open issues"
|
|
81
|
+
3. "Review recent changes" — description: "What shipped recently, what's in progress"
|
|
82
|
+
4. "Something else" — description: "Describe what you need in plain English"
|
|
83
|
+
|
|
84
|
+
**For Engineers or unknown roles:**
|
|
85
|
+
Fall through to `/onboard` — the existing onboarding skill handles engineers well.
|
|
86
|
+
|
|
87
|
+
### 3. Route Based on Choice
|
|
88
|
+
|
|
89
|
+
Map the user's selection to the appropriate action:
|
|
90
|
+
|
|
91
|
+
| Selection | Route to |
|
|
92
|
+
|-----------|----------|
|
|
93
|
+
| Plan a feature / Plan a feature or strategy / Plan a UI feature | Ask for feature name + brief, then invoke `/planning` (add `--design` for designers, `--gtm` for founders) |
|
|
94
|
+
| Check project status / Review recent changes | Invoke `/onboard` (brownfield flow) |
|
|
95
|
+
| Create or review an issue | Invoke `/issue list` to show issues, then ask what to do |
|
|
96
|
+
| Review positioning or GTM | Spawn `gtm-expert` agent with the project context |
|
|
97
|
+
| Create a launch strategy | Spawn `gtm-expert` agent with launch-strategy prompt |
|
|
98
|
+
| Analyze positioning | Spawn `gtm-expert` agent with positioning-canvas prompt |
|
|
99
|
+
| Design thinking session | Spawn `design-studio:think` agent |
|
|
100
|
+
| Get a design critique | Spawn `design-studio:critique` agent |
|
|
101
|
+
| Plan content or campaign | Spawn `gtm-expert` agent with content-strategy prompt |
|
|
102
|
+
| Triage open issues | Run `gh issue list`, present prioritized list |
|
|
103
|
+
| Something else | Let the user type what they need; normal triage handles it |
|
|
104
|
+
|
|
105
|
+
### 4. Post-Action Follow-Up
|
|
106
|
+
|
|
107
|
+
After the routed action completes, present contextual next steps:
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
What next?
|
|
111
|
+
- "share this" to format for sharing with your team
|
|
112
|
+
- "revise [section]" to change something
|
|
113
|
+
- "do something else" to go back to the menu
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Integration with Triage Router
|
|
117
|
+
|
|
118
|
+
The triage router (`hooks/triage-router.sh`) should detect when `/welcome` has been
|
|
119
|
+
invoked and skip injecting the full routing table for that message. The welcome skill
|
|
120
|
+
handles its own routing.
|
|
121
|
+
|
|
122
|
+
## When This Skill Runs
|
|
123
|
+
|
|
124
|
+
This skill can be triggered in three ways:
|
|
125
|
+
1. User types `/welcome` explicitly
|
|
126
|
+
2. The triage router detects a non-engineer role AND a vague/greeting first message
|
|
127
|
+
3. An engineer runs `quick-setup.sh` which sets `USER_ROLE` — next session auto-triggers
|
|
128
|
+
|
|
129
|
+
## Rules
|
|
130
|
+
|
|
131
|
+
- **Never show agent names** to non-engineers — say "planning team" not "product-manager + architect agents"
|
|
132
|
+
- **Never show model names** — the system picks the right model automatically
|
|
133
|
+
- **Never show cost tiers** — budget optimization is invisible
|
|
134
|
+
- **Max 1 question** before taking action — don't interview the user
|
|
135
|
+
- **If user types something specific**, skip the menu and route directly
|
|
136
|
+
- **Always offer "Something else"** — the menu is a suggestion, not a constraint
|