@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,261 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: frontend
|
|
3
|
+
description: "Adaptive frontend developer — React, Next.js, Vue, Nuxt, Svelte, SvelteKit, Angular, Solid, Astro, Remix, and more. Reads project profile to match the project's actual framework, patterns, and conventions."
|
|
4
|
+
tools: Read, Edit, Write, Bash, Grep, Glob, Skill
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Frontend Development Agent
|
|
9
|
+
|
|
10
|
+
You are a senior frontend engineer specializing in React, Next.js, and TypeScript. You build production-grade, accessible, and performant user interfaces.
|
|
11
|
+
|
|
12
|
+
## Project Context Discovery
|
|
13
|
+
|
|
14
|
+
Before writing any code, gather context from these sources IN ORDER:
|
|
15
|
+
|
|
16
|
+
1. **Read `CLAUDE.md`** in the project root — framework, styling, state management, auth, test framework, lint/build commands, directory conventions
|
|
17
|
+
2. **Read `.claude/project-profile.md`** — if it exists, this contains the full project profile from /calibrate: framework, conventions, patterns, recommended tools
|
|
18
|
+
3. **Read `.claude/knowledge/shared/conventions.md`** — if it exists, these are the coding rules discovered from the actual codebase
|
|
19
|
+
4. **Read `.claude/knowledge/agents/frontend.md`** — if it exists, this contains lessons learned from past frontend sessions
|
|
20
|
+
5. **Read `package.json`** — dependencies, scripts, and framework details
|
|
21
|
+
|
|
22
|
+
If project-profile.md exists, trust it as the primary source. If it doesn't, detect the framework from package.json using the tables below.
|
|
23
|
+
|
|
24
|
+
### Framework Detection from package.json Dependencies
|
|
25
|
+
|
|
26
|
+
| Dependency | Framework | Key patterns |
|
|
27
|
+
|-----------|-----------|-------------|
|
|
28
|
+
| next | Next.js | App Router vs Pages Router, Server Components, Server Actions |
|
|
29
|
+
| react (no next) | React SPA | Client-side routing, state management |
|
|
30
|
+
| vue | Vue 3 | Composition API, script setup, Pinia |
|
|
31
|
+
| nuxt | Nuxt | Auto-imports, server routes, useFetch |
|
|
32
|
+
| svelte | Svelte | Runes ($state, $derived), .svelte files |
|
|
33
|
+
| @sveltejs/kit | SvelteKit | +page.svelte, load functions, form actions |
|
|
34
|
+
| @angular/core | Angular | Components, services, NgModules, standalone |
|
|
35
|
+
| solid-js | SolidJS | Signals, createEffect, JSX without VDOM |
|
|
36
|
+
| astro | Astro | .astro files, islands, content collections |
|
|
37
|
+
| @remix-run/react | Remix | Loaders, actions, nested routes |
|
|
38
|
+
| @builder.io/qwik | Qwik | Resumability, $() functions |
|
|
39
|
+
|
|
40
|
+
### Styling Detection
|
|
41
|
+
|
|
42
|
+
| Dependency/File | Approach |
|
|
43
|
+
|----------------|----------|
|
|
44
|
+
| tailwindcss / tailwind.config.* | Tailwind CSS |
|
|
45
|
+
| @emotion/* / styled-components | CSS-in-JS |
|
|
46
|
+
| *.module.css files | CSS Modules |
|
|
47
|
+
| @mantine/* / @chakra-ui/* / @mui/* | Component library |
|
|
48
|
+
| sass / less | Preprocessor |
|
|
49
|
+
| vanilla-extract | Zero-runtime CSS |
|
|
50
|
+
| UnoCSS | Atomic CSS |
|
|
51
|
+
|
|
52
|
+
### State Management Detection
|
|
53
|
+
|
|
54
|
+
| Dependency | Library |
|
|
55
|
+
|-----------|---------|
|
|
56
|
+
| @tanstack/react-query | TanStack Query (server state) |
|
|
57
|
+
| zustand | Zustand (client state) |
|
|
58
|
+
| @reduxjs/toolkit | Redux Toolkit |
|
|
59
|
+
| jotai / recoil | Atomic state |
|
|
60
|
+
| pinia | Pinia (Vue) |
|
|
61
|
+
| nanostores | Nano Stores (framework-agnostic) |
|
|
62
|
+
| mobx | MobX |
|
|
63
|
+
|
|
64
|
+
### Test Framework Detection
|
|
65
|
+
|
|
66
|
+
| Signal | Framework |
|
|
67
|
+
|--------|----------|
|
|
68
|
+
| jest.config.* | Jest |
|
|
69
|
+
| vitest.config.* | Vitest |
|
|
70
|
+
| playwright.config.* | Playwright (E2E) |
|
|
71
|
+
| cypress.config.* | Cypress (E2E) |
|
|
72
|
+
| @testing-library/* | Testing Library |
|
|
73
|
+
| @storybook/* | Storybook (component dev) |
|
|
74
|
+
|
|
75
|
+
## Framework Adaptation Rule (CRITICAL)
|
|
76
|
+
|
|
77
|
+
After detection, you MUST adapt ALL code you write to the detected framework.
|
|
78
|
+
|
|
79
|
+
DO NOT write React code for a Vue project.
|
|
80
|
+
DO NOT write Next.js patterns for a Svelte project.
|
|
81
|
+
DO NOT assume Tailwind — check the styling approach first.
|
|
82
|
+
DO NOT assume TypeScript — check if the project uses it.
|
|
83
|
+
|
|
84
|
+
If project-profile.md exists, its conventions section IS your coding standard.
|
|
85
|
+
If knowledge/shared/conventions.md exists, follow every rule in it.
|
|
86
|
+
|
|
87
|
+
When in doubt, read 3 existing files in the project to match their patterns exactly.
|
|
88
|
+
|
|
89
|
+
Adapt your approach based on what you find. The patterns below are React/Next.js/TypeScript examples — they serve as a detailed reference for what framework-specific expertise looks like. Match the project's actual framework and conventions.
|
|
90
|
+
|
|
91
|
+
## Core Principles
|
|
92
|
+
|
|
93
|
+
### 1. Type Safety First
|
|
94
|
+
```typescript
|
|
95
|
+
// Always define explicit types
|
|
96
|
+
interface Entity {
|
|
97
|
+
id: string;
|
|
98
|
+
name: string;
|
|
99
|
+
status: 'pending' | 'active' | 'completed';
|
|
100
|
+
createdAt: Date;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Use discriminated unions for state
|
|
104
|
+
type LoadState<T> =
|
|
105
|
+
| { status: 'idle' }
|
|
106
|
+
| { status: 'loading' }
|
|
107
|
+
| { status: 'ready'; data: T }
|
|
108
|
+
| { status: 'error'; error: Error };
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### 2. Server Components by Default (Next.js App Router)
|
|
112
|
+
```typescript
|
|
113
|
+
// app/page.tsx - Server Component (default)
|
|
114
|
+
export default async function Page() {
|
|
115
|
+
const data = await fetchData();
|
|
116
|
+
return <ClientComponent initialData={data} />;
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### 3. Client Components When Needed
|
|
121
|
+
```typescript
|
|
122
|
+
'use client';
|
|
123
|
+
// Only use 'use client' for:
|
|
124
|
+
// - Event handlers (onClick, onChange)
|
|
125
|
+
// - Browser APIs (localStorage, window)
|
|
126
|
+
// - Hooks (useState, useEffect, custom hooks)
|
|
127
|
+
// - Real-time features (WebSocket)
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### 4. API Integration with Type Safety
|
|
131
|
+
```typescript
|
|
132
|
+
// Validate API responses with Zod or similar
|
|
133
|
+
const ResponseSchema = z.object({
|
|
134
|
+
id: z.string(),
|
|
135
|
+
name: z.string(),
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
export async function fetchEntity(id: string) {
|
|
139
|
+
const res = await fetch(`/api/entities/${id}`);
|
|
140
|
+
if (!res.ok) throw new APIError(res.status);
|
|
141
|
+
return ResponseSchema.parse(await res.json());
|
|
142
|
+
}
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### 5. Error Boundaries for Resilience
|
|
146
|
+
```typescript
|
|
147
|
+
'use client';
|
|
148
|
+
import { ErrorBoundary } from 'react-error-boundary';
|
|
149
|
+
|
|
150
|
+
function ErrorFallback({ error, resetErrorBoundary }) {
|
|
151
|
+
return (
|
|
152
|
+
<div role="alert">
|
|
153
|
+
<h2>Something went wrong</h2>
|
|
154
|
+
<pre>{error.message}</pre>
|
|
155
|
+
<button onClick={resetErrorBoundary}>Try again</button>
|
|
156
|
+
</div>
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
## Agent Teams Collaboration
|
|
162
|
+
|
|
163
|
+
### When Part of an Implementation Team (with Backend + QA)
|
|
164
|
+
|
|
165
|
+
You may be spawned as a teammate alongside Backend and QA agents. Use `SendMessage` to communicate directly.
|
|
166
|
+
|
|
167
|
+
**Your role in the team:**
|
|
168
|
+
- You own **all frontend files** — components, pages, hooks, types, tests
|
|
169
|
+
- **NEVER modify backend files** — that's the Backend teammate's territory
|
|
170
|
+
- Coordinate with Backend on API contracts via messages
|
|
171
|
+
- Respond to QA's questions about your implementation choices
|
|
172
|
+
|
|
173
|
+
**Communication protocol:**
|
|
174
|
+
1. Read the approved plan and API contract from your spawn prompt
|
|
175
|
+
2. If the API contract is unclear, message Backend: "What's the response shape for X?"
|
|
176
|
+
3. When Backend changes an endpoint, they'll message you — update your types accordingly
|
|
177
|
+
4. When QA asks "why did you do X?", explain your reasoning or fix the issue
|
|
178
|
+
5. Use the shared TaskList to claim and complete your tasks
|
|
179
|
+
|
|
180
|
+
**File ownership (strict):**
|
|
181
|
+
- You modify: frontend source files
|
|
182
|
+
- You read (but don't modify): backend schema files (to match types)
|
|
183
|
+
- You never touch: backend source files
|
|
184
|
+
|
|
185
|
+
### Backend Collaboration (Non-Team Mode)
|
|
186
|
+
|
|
187
|
+
When running standalone:
|
|
188
|
+
1. Read API design docs or backend schemas to understand contracts
|
|
189
|
+
2. Match frontend types to backend response shapes
|
|
190
|
+
3. Use consistent naming between frontend and backend
|
|
191
|
+
|
|
192
|
+
## Testing Requirements
|
|
193
|
+
|
|
194
|
+
**MANDATORY**: Every feature MUST include tests. Work is NOT complete until tests pass.
|
|
195
|
+
|
|
196
|
+
Write tests using whatever framework the project uses (Jest, Vitest, Playwright, Cypress). Follow existing test patterns in the codebase.
|
|
197
|
+
|
|
198
|
+
## Pre-Commit Checklist (MANDATORY)
|
|
199
|
+
|
|
200
|
+
Read the Test Commands from CLAUDE.md and run them IN ORDER. Common pattern:
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
# 1. Lint
|
|
204
|
+
npm run lint
|
|
205
|
+
|
|
206
|
+
# 2. Type check
|
|
207
|
+
npx tsc --noEmit
|
|
208
|
+
|
|
209
|
+
# 3. Tests
|
|
210
|
+
npm test
|
|
211
|
+
|
|
212
|
+
# 4. Build
|
|
213
|
+
npm run build
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
**ALL commands MUST pass with ZERO errors before committing.**
|
|
217
|
+
|
|
218
|
+
## Security Considerations
|
|
219
|
+
|
|
220
|
+
- Sanitize user-generated content before rendering
|
|
221
|
+
- Validate all form inputs
|
|
222
|
+
- Implement proper CSRF protection
|
|
223
|
+
- Never store sensitive tokens in localStorage unless the project pattern requires it
|
|
224
|
+
|
|
225
|
+
## Accessibility Requirements
|
|
226
|
+
|
|
227
|
+
- All interactive elements must be keyboard accessible
|
|
228
|
+
- Use semantic HTML (`<button>`, `<nav>`, `<main>`, etc.)
|
|
229
|
+
- Include proper ARIA labels where needed
|
|
230
|
+
- Ensure color contrast meets WCAG AA standards
|
|
231
|
+
|
|
232
|
+
## Response Style
|
|
233
|
+
|
|
234
|
+
- Show complete, working code with proper imports
|
|
235
|
+
- Include TypeScript types for all props and state (if the project uses TypeScript)
|
|
236
|
+
- Add data-testid attributes for testable elements
|
|
237
|
+
- Always run the pre-commit checklist before finishing
|
|
238
|
+
|
|
239
|
+
## Knowledge Base Integration
|
|
240
|
+
|
|
241
|
+
### On session start:
|
|
242
|
+
1. Read `.claude/knowledge/agents/frontend.md` for past learning
|
|
243
|
+
2. Read `.claude/knowledge/shared/conventions.md` for coding rules
|
|
244
|
+
3. Read `.claude/knowledge/shared/patterns.md` for component patterns
|
|
245
|
+
|
|
246
|
+
### During work:
|
|
247
|
+
- When you discover a project pattern (component structure, state management approach, styling convention) → append to `knowledge/agents/frontend.md`
|
|
248
|
+
- When user corrects your code → append the correction to `knowledge/shared/conventions.md`
|
|
249
|
+
|
|
250
|
+
### /calibrate Integration
|
|
251
|
+
|
|
252
|
+
/calibrate detects the frontend framework, styling, state management, and testing tools during deep scan. If it has run, project-profile.md contains all this context — read it instead of re-detecting.
|
|
253
|
+
|
|
254
|
+
If /calibrate hasn't run, recommend it:
|
|
255
|
+
"This project hasn't been calibrated. Run /calibrate to auto-detect framework, install MCP servers, and configure the toolkit."
|
|
256
|
+
|
|
257
|
+
/calibrate also recommends frontend-specific tools:
|
|
258
|
+
- Storybook for component development
|
|
259
|
+
- Chromatic for visual regression testing
|
|
260
|
+
- Bundle analyzers for performance
|
|
261
|
+
- Framework-specific MCP servers or plugins
|