@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,566 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: solution-architect
|
|
3
|
+
description: "Design AI solutions for consulting engagements. Usage: /solution-architect <client-name> [--initiative <name>]"
|
|
4
|
+
user-invocable: true
|
|
5
|
+
arguments: "<client-name> [--initiative <name>]"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Solution Architect Skill
|
|
9
|
+
|
|
10
|
+
Designs comprehensive AI solutions for consulting engagements, including technology selection, architecture diagrams, implementation plans, and cost models.
|
|
11
|
+
|
|
12
|
+
## Trigger
|
|
13
|
+
|
|
14
|
+
When the user invokes `/solution-architect <client-name>` with an optional `--initiative <name>` to target a specific initiative.
|
|
15
|
+
|
|
16
|
+
## Prerequisites
|
|
17
|
+
|
|
18
|
+
- Client profile at `clients/<client-name>/profile.json`
|
|
19
|
+
- Discovery outputs at `clients/<client-name>/discovery/`
|
|
20
|
+
- Assessment outputs at `clients/<client-name>/assessment/`
|
|
21
|
+
- Selected initiatives (from opportunity-map or user specification)
|
|
22
|
+
|
|
23
|
+
## Steps
|
|
24
|
+
|
|
25
|
+
### 1. Load Context
|
|
26
|
+
|
|
27
|
+
Read and synthesize inputs from prior skill outputs:
|
|
28
|
+
|
|
29
|
+
**From Discovery:**
|
|
30
|
+
- `discovery/market-research.md` — industry benchmarks, adoption rates
|
|
31
|
+
- `discovery/competitive-landscape.md` — competitor capabilities
|
|
32
|
+
- `discovery/industry-trends.md` — technology trajectory
|
|
33
|
+
|
|
34
|
+
**From Assessment:**
|
|
35
|
+
- `assessment/current-state.md` — existing tech stack, data landscape
|
|
36
|
+
- `assessment/ai-readiness.md` — maturity scores, gaps
|
|
37
|
+
- `assessment/stakeholder-map.md` — decision makers, champions
|
|
38
|
+
|
|
39
|
+
**From Opportunity Map:**
|
|
40
|
+
- `assessment/opportunity-matrix.md` — scored initiatives
|
|
41
|
+
- Selected initiative(s) to architect
|
|
42
|
+
|
|
43
|
+
If `--initiative` is specified, filter to that single initiative. Otherwise, architect solutions for the top 3 initiatives by score.
|
|
44
|
+
|
|
45
|
+
For each selected initiative, extract:
|
|
46
|
+
- Business objective and success metrics
|
|
47
|
+
- Data requirements and availability
|
|
48
|
+
- Integration points with existing systems
|
|
49
|
+
- Stakeholder requirements and constraints
|
|
50
|
+
- Timeline and budget constraints
|
|
51
|
+
|
|
52
|
+
### 2. Technology Selection Matrix
|
|
53
|
+
|
|
54
|
+
For each component of the solution, evaluate options across key dimensions:
|
|
55
|
+
|
|
56
|
+
```markdown
|
|
57
|
+
## Technology Selection Matrix
|
|
58
|
+
|
|
59
|
+
### [Initiative Name]
|
|
60
|
+
|
|
61
|
+
| Component | Option A | Option B | Option C | Recommendation |
|
|
62
|
+
|-----------|----------|----------|----------|----------------|
|
|
63
|
+
| **LLM Provider** | | | | |
|
|
64
|
+
| Capability | | | | |
|
|
65
|
+
| Cost/month | | | | |
|
|
66
|
+
| Hosting | Cloud/On-prem/Hybrid | | | |
|
|
67
|
+
| Data Privacy | Level 1-4 | | | |
|
|
68
|
+
| Integration Effort | Low/Med/High | | | |
|
|
69
|
+
| Vendor Lock-in Risk | Low/Med/High | | | |
|
|
70
|
+
| **Vector Database** | | | | |
|
|
71
|
+
| Capability | | | | |
|
|
72
|
+
| Cost/month | | | | |
|
|
73
|
+
| Hosting | | | | |
|
|
74
|
+
| Data Privacy | | | | |
|
|
75
|
+
| Integration Effort | | | | |
|
|
76
|
+
| Vendor Lock-in Risk | | | | |
|
|
77
|
+
| **Orchestration** | | | | |
|
|
78
|
+
| **Data Pipeline** | | | | |
|
|
79
|
+
| **Monitoring** | | | | |
|
|
80
|
+
| **Frontend/UX** | | | | |
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**Data Privacy Levels:**
|
|
84
|
+
- Level 1: Public data only, cloud OK
|
|
85
|
+
- Level 2: Internal data, SOC 2 required
|
|
86
|
+
- Level 3: PII/sensitive data, encryption at rest/transit required
|
|
87
|
+
- Level 4: Regulated data (HIPAA/GDPR/CCPA), on-prem or private cloud required
|
|
88
|
+
|
|
89
|
+
**Scoring criteria (1-5 for each):**
|
|
90
|
+
- Functional fit for use case
|
|
91
|
+
- Total cost of ownership
|
|
92
|
+
- Team skill match
|
|
93
|
+
- Scalability headroom
|
|
94
|
+
- Ecosystem/community support
|
|
95
|
+
|
|
96
|
+
### 3. Build vs Buy Decisions
|
|
97
|
+
|
|
98
|
+
For each major component, provide a structured recommendation:
|
|
99
|
+
|
|
100
|
+
```markdown
|
|
101
|
+
## Build vs Buy Analysis
|
|
102
|
+
|
|
103
|
+
### [Component Name]
|
|
104
|
+
|
|
105
|
+
| Factor | Build Custom | SaaS Solution | Open Source |
|
|
106
|
+
|--------|-------------|---------------|------------|
|
|
107
|
+
| **Upfront Cost** | | | |
|
|
108
|
+
| **Monthly Cost** | | | |
|
|
109
|
+
| **Time to Deploy** | | | |
|
|
110
|
+
| **Customizability** | High | Low-Med | High |
|
|
111
|
+
| **Maintenance Burden** | High | Low | Med-High |
|
|
112
|
+
| **Data Control** | Full | Limited | Full |
|
|
113
|
+
| **Vendor Risk** | None | Med-High | Low |
|
|
114
|
+
| **Skill Required** | High | Low | Med |
|
|
115
|
+
|
|
116
|
+
**Pros:**
|
|
117
|
+
- Build: [specific advantages for this client]
|
|
118
|
+
- Buy: [specific advantages for this client]
|
|
119
|
+
- Open Source: [specific advantages for this client]
|
|
120
|
+
|
|
121
|
+
**Cons:**
|
|
122
|
+
- Build: [specific disadvantages]
|
|
123
|
+
- Buy: [specific disadvantages]
|
|
124
|
+
- Open Source: [specific disadvantages]
|
|
125
|
+
|
|
126
|
+
**Recommendation:** [Build/Buy/Open Source] because [1-2 sentence justification tied to client constraints]
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### 4. Architecture Design
|
|
130
|
+
|
|
131
|
+
Create architecture diagrams using Mermaid syntax. Select the most appropriate template from the reference architectures below and customize for the client's needs.
|
|
132
|
+
|
|
133
|
+
#### System Architecture (Mermaid Flowchart)
|
|
134
|
+
|
|
135
|
+
```mermaid
|
|
136
|
+
flowchart TB
|
|
137
|
+
subgraph Users["User Layer"]
|
|
138
|
+
WebApp[Web Application]
|
|
139
|
+
API[API Clients]
|
|
140
|
+
Mobile[Mobile App]
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
subgraph Gateway["API Gateway"]
|
|
144
|
+
Auth[Authentication]
|
|
145
|
+
RateLimit[Rate Limiting]
|
|
146
|
+
Router[Request Router]
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
subgraph Core["AI Core"]
|
|
150
|
+
Orchestrator[AI Orchestrator]
|
|
151
|
+
LLM[LLM Service]
|
|
152
|
+
Embeddings[Embedding Service]
|
|
153
|
+
VectorDB[(Vector Store)]
|
|
154
|
+
Cache[(Response Cache)]
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
subgraph Data["Data Layer"]
|
|
158
|
+
ETL[ETL Pipeline]
|
|
159
|
+
DataWarehouse[(Data Warehouse)]
|
|
160
|
+
FeatureStore[(Feature Store)]
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
subgraph Ops["Operations"]
|
|
164
|
+
Monitor[Monitoring]
|
|
165
|
+
Logging[Centralized Logging]
|
|
166
|
+
Alerts[Alert Manager]
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
Users --> Gateway --> Core
|
|
170
|
+
Core --> Data
|
|
171
|
+
Ops --> Core
|
|
172
|
+
Ops --> Gateway
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
#### Data Pipeline (Mermaid Sequence Diagram)
|
|
176
|
+
|
|
177
|
+
```mermaid
|
|
178
|
+
sequenceDiagram
|
|
179
|
+
participant Source as Data Sources
|
|
180
|
+
participant Ingest as Ingestion Layer
|
|
181
|
+
participant Process as Processing
|
|
182
|
+
participant Store as Storage
|
|
183
|
+
participant Serve as Serving Layer
|
|
184
|
+
participant Monitor as Monitoring
|
|
185
|
+
|
|
186
|
+
Source->>Ingest: Raw data (batch/stream)
|
|
187
|
+
Ingest->>Process: Validated data
|
|
188
|
+
Process->>Process: Transform, enrich, embed
|
|
189
|
+
Process->>Store: Processed artifacts
|
|
190
|
+
Store->>Serve: Query/retrieve
|
|
191
|
+
Serve->>Monitor: Metrics, latency, quality
|
|
192
|
+
Monitor-->>Process: Feedback loop
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
#### Integration Points Diagram
|
|
196
|
+
|
|
197
|
+
Document every integration with external systems:
|
|
198
|
+
|
|
199
|
+
```markdown
|
|
200
|
+
| Integration Point | System | Protocol | Direction | Auth | Data Volume | SLA |
|
|
201
|
+
|-------------------|--------|----------|-----------|------|-------------|-----|
|
|
202
|
+
| CRM sync | Salesforce | REST API | Bidirectional | OAuth 2.0 | ~10K records/day | 99.9% |
|
|
203
|
+
| Document ingest | SharePoint | Graph API | Inbound | App token | ~500 docs/week | 99.5% |
|
|
204
|
+
| Notification | Slack | Webhook | Outbound | Bot token | ~100 msgs/day | Best effort |
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
#### Security and Privacy Design
|
|
208
|
+
|
|
209
|
+
```markdown
|
|
210
|
+
## Security Architecture
|
|
211
|
+
|
|
212
|
+
### Authentication & Authorization
|
|
213
|
+
- [Auth method: SSO/OAuth/API keys]
|
|
214
|
+
- [RBAC model: roles and permissions]
|
|
215
|
+
- [Token management: rotation, expiry]
|
|
216
|
+
|
|
217
|
+
### Data Protection
|
|
218
|
+
- Encryption at rest: [method]
|
|
219
|
+
- Encryption in transit: [method]
|
|
220
|
+
- PII handling: [anonymization/pseudonymization approach]
|
|
221
|
+
- Data retention: [policy]
|
|
222
|
+
- Right to deletion: [mechanism]
|
|
223
|
+
|
|
224
|
+
### Compliance
|
|
225
|
+
- [Relevant regulations: GDPR, HIPAA, SOC 2, etc.]
|
|
226
|
+
- [Audit trail requirements]
|
|
227
|
+
- [Data residency requirements]
|
|
228
|
+
|
|
229
|
+
### AI-Specific Security
|
|
230
|
+
- Prompt injection mitigation
|
|
231
|
+
- Output filtering and guardrails
|
|
232
|
+
- Model access controls
|
|
233
|
+
- Training data governance
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
### 5. Implementation Plan
|
|
237
|
+
|
|
238
|
+
#### Sequenced Build Plan (Mermaid Gantt)
|
|
239
|
+
|
|
240
|
+
```mermaid
|
|
241
|
+
gantt
|
|
242
|
+
title [Initiative Name] Implementation Plan
|
|
243
|
+
dateFormat YYYY-MM-DD
|
|
244
|
+
axisFormat %b %Y
|
|
245
|
+
|
|
246
|
+
section Foundation
|
|
247
|
+
Infrastructure setup :a1, 2026-04-01, 2w
|
|
248
|
+
Data pipeline MVP :a2, after a1, 3w
|
|
249
|
+
Authentication/security :a3, after a1, 2w
|
|
250
|
+
|
|
251
|
+
section Core Build
|
|
252
|
+
AI model integration :b1, after a2, 4w
|
|
253
|
+
Core feature development :b2, after a3, 6w
|
|
254
|
+
Integration development :b3, after b1, 3w
|
|
255
|
+
|
|
256
|
+
section Testing & Launch
|
|
257
|
+
Integration testing :c1, after b2, 2w
|
|
258
|
+
UAT with stakeholders :c2, after c1, 2w
|
|
259
|
+
Pilot launch :c3, after c2, 1w
|
|
260
|
+
Monitor and iterate :c4, after c3, 4w
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
#### Resource Requirements
|
|
264
|
+
|
|
265
|
+
```markdown
|
|
266
|
+
| Role | Headcount | Duration | Skills Required | Internal/External |
|
|
267
|
+
|------|-----------|----------|-----------------|-------------------|
|
|
268
|
+
| ML Engineer | 1-2 | 6 months | Python, LLM fine-tuning, RAG | Internal preferred |
|
|
269
|
+
| Data Engineer | 1 | 4 months | ETL, data pipeline, vector DB | Either |
|
|
270
|
+
| Full-Stack Dev | 1-2 | 6 months | React/Next.js, API design | Internal |
|
|
271
|
+
| DevOps/MLOps | 0.5 | Ongoing | K8s, CI/CD, monitoring | Internal |
|
|
272
|
+
| Project Manager | 0.5 | 6 months | AI project delivery | Internal |
|
|
273
|
+
| AI/ML Architect | 0.25 | Ongoing | Solution design, reviews | Consulting |
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
#### Risk Register
|
|
277
|
+
|
|
278
|
+
```markdown
|
|
279
|
+
| # | Risk | Probability | Impact | Mitigation | Owner | Status |
|
|
280
|
+
|---|------|-------------|--------|------------|-------|--------|
|
|
281
|
+
| 1 | Data quality insufficient for AI | Medium | High | Data audit sprint in Week 2, quality gates | Data Lead | Open |
|
|
282
|
+
| 2 | LLM accuracy below threshold | Medium | High | Evaluation framework, fallback to rules | ML Lead | Open |
|
|
283
|
+
| 3 | Integration delays with legacy systems | High | Medium | API adapter pattern, mock interfaces | Tech Lead | Open |
|
|
284
|
+
| 4 | User adoption resistance | Medium | High | Change management plan, early champions | PM | Open |
|
|
285
|
+
| 5 | Cost overrun on cloud AI services | Low | Medium | Usage caps, cost monitoring alerts, caching | DevOps | Open |
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
#### Testing Strategy
|
|
289
|
+
|
|
290
|
+
```markdown
|
|
291
|
+
## Testing Strategy
|
|
292
|
+
|
|
293
|
+
### Unit Testing
|
|
294
|
+
- Minimum 80% code coverage
|
|
295
|
+
- AI component testing with fixed seed inputs
|
|
296
|
+
- Mock external API calls
|
|
297
|
+
|
|
298
|
+
### Integration Testing
|
|
299
|
+
- End-to-end pipeline validation
|
|
300
|
+
- Cross-system data flow verification
|
|
301
|
+
- Error handling and retry logic
|
|
302
|
+
|
|
303
|
+
### AI-Specific Testing
|
|
304
|
+
- Accuracy/quality benchmarks against golden dataset
|
|
305
|
+
- Hallucination detection test suite
|
|
306
|
+
- Prompt robustness testing (adversarial inputs)
|
|
307
|
+
- Latency and throughput benchmarks
|
|
308
|
+
- Cost-per-query tracking
|
|
309
|
+
|
|
310
|
+
### UAT Criteria
|
|
311
|
+
- [ ] Core workflows complete without errors
|
|
312
|
+
- [ ] Response quality meets stakeholder expectations
|
|
313
|
+
- [ ] Performance within SLA (< [X]s response time)
|
|
314
|
+
- [ ] Edge cases handled gracefully
|
|
315
|
+
- [ ] Feedback mechanism functional
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
### 6. Cost Model
|
|
319
|
+
|
|
320
|
+
#### Total Cost of Ownership (3-Year)
|
|
321
|
+
|
|
322
|
+
```markdown
|
|
323
|
+
## Cost Model: [Initiative Name]
|
|
324
|
+
|
|
325
|
+
### Year 1 — Build + Initial Operations
|
|
326
|
+
| Category | Monthly | Annual | Notes |
|
|
327
|
+
|----------|---------|--------|-------|
|
|
328
|
+
| Cloud Infrastructure | | | |
|
|
329
|
+
| AI/LLM API Costs | | | |
|
|
330
|
+
| Vector DB Hosting | | | |
|
|
331
|
+
| SaaS Licenses | | | |
|
|
332
|
+
| Personnel (build) | | | |
|
|
333
|
+
| Consulting/External | | | |
|
|
334
|
+
| Training & Enablement | | | |
|
|
335
|
+
| **Year 1 Total** | | **$XXX,XXX** | |
|
|
336
|
+
|
|
337
|
+
### Year 2 — Scale + Optimize
|
|
338
|
+
| Category | Monthly | Annual | Notes |
|
|
339
|
+
|----------|---------|--------|-------|
|
|
340
|
+
| Cloud Infrastructure | | | +20% scaling |
|
|
341
|
+
| AI/LLM API Costs | | | Volume optimization |
|
|
342
|
+
| Personnel (maintain) | | | Reduced from build |
|
|
343
|
+
| SaaS Licenses | | | |
|
|
344
|
+
| **Year 2 Total** | | **$XXX,XXX** | |
|
|
345
|
+
|
|
346
|
+
### Year 3 — Steady State
|
|
347
|
+
| Category | Monthly | Annual | Notes |
|
|
348
|
+
|----------|---------|--------|-------|
|
|
349
|
+
| Cloud Infrastructure | | | Optimized |
|
|
350
|
+
| AI/LLM API Costs | | | Mature usage |
|
|
351
|
+
| Personnel (maintain) | | | |
|
|
352
|
+
| SaaS Licenses | | | |
|
|
353
|
+
| **Year 3 Total** | | **$XXX,XXX** | |
|
|
354
|
+
|
|
355
|
+
### 3-Year TCO: $XXX,XXX
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
#### Break-Even Analysis
|
|
359
|
+
|
|
360
|
+
```markdown
|
|
361
|
+
### Break-Even Analysis
|
|
362
|
+
|
|
363
|
+
| Metric | Value |
|
|
364
|
+
|--------|-------|
|
|
365
|
+
| Total Investment (Year 1) | $XXX,XXX |
|
|
366
|
+
| Monthly Benefit (once live) | $XX,XXX |
|
|
367
|
+
| Break-Even Point | Month [X] |
|
|
368
|
+
| 3-Year Net Benefit | $XXX,XXX |
|
|
369
|
+
| 3-Year ROI | XXX% |
|
|
370
|
+
|
|
371
|
+
**Assumptions:**
|
|
372
|
+
1. [Key assumption 1]
|
|
373
|
+
2. [Key assumption 2]
|
|
374
|
+
3. [Key assumption 3]
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
#### Cost Scaling Projection
|
|
378
|
+
|
|
379
|
+
```markdown
|
|
380
|
+
### Cost Scaling Projection
|
|
381
|
+
|
|
382
|
+
| Scale Factor | Users | Queries/Day | Monthly Cost | Cost/Query |
|
|
383
|
+
|-------------|-------|-------------|--------------|------------|
|
|
384
|
+
| Pilot | 50 | 500 | $X,XXX | $X.XX |
|
|
385
|
+
| Department | 500 | 5,000 | $XX,XXX | $X.XX |
|
|
386
|
+
| Enterprise | 5,000 | 50,000 | $XX,XXX | $X.XX |
|
|
387
|
+
| Full Scale | 20,000 | 200,000 | $XXX,XXX | $X.XX |
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
### 7. Generate Output Files
|
|
391
|
+
|
|
392
|
+
Create output files in `clients/<client-name>/architecture/`:
|
|
393
|
+
|
|
394
|
+
- **`architecture/solution-design.md`** — System architecture, integration points, security design, Mermaid diagrams
|
|
395
|
+
- **`architecture/technology-selection.md`** — Selection matrix, build vs buy, vendor comparisons
|
|
396
|
+
- **`architecture/implementation-plan.md`** — Gantt chart, resource plan, risk register, testing strategy
|
|
397
|
+
- **`architecture/cost-model.md`** — TCO, break-even, scaling projections
|
|
398
|
+
|
|
399
|
+
## Reference Architecture Templates
|
|
400
|
+
|
|
401
|
+
Use the appropriate template as a starting point and customize for the client's specific needs.
|
|
402
|
+
|
|
403
|
+
### Template 1: RAG Pipeline
|
|
404
|
+
|
|
405
|
+
```mermaid
|
|
406
|
+
flowchart LR
|
|
407
|
+
subgraph Ingest["Document Ingestion"]
|
|
408
|
+
Docs[Documents] --> Chunker[Text Chunker]
|
|
409
|
+
Chunker --> Embedder[Embedding Model]
|
|
410
|
+
end
|
|
411
|
+
|
|
412
|
+
subgraph Store["Vector Storage"]
|
|
413
|
+
Embedder --> VectorDB[(Vector Database)]
|
|
414
|
+
VectorDB --> Index[HNSW Index]
|
|
415
|
+
end
|
|
416
|
+
|
|
417
|
+
subgraph Retrieve["Retrieval"]
|
|
418
|
+
Query[User Query] --> QueryEmbed[Query Embedding]
|
|
419
|
+
QueryEmbed --> Search[Similarity Search]
|
|
420
|
+
Search --> VectorDB
|
|
421
|
+
Search --> Reranker[Re-ranker]
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
subgraph Generate["Generation"]
|
|
425
|
+
Reranker --> PromptBuilder[Prompt Builder]
|
|
426
|
+
PromptBuilder --> LLM[LLM]
|
|
427
|
+
LLM --> Response[Response]
|
|
428
|
+
Response --> Guardrails[Output Guardrails]
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
Guardrails --> User[User]
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
**When to use:** Knowledge bases, document Q&A, internal search, support chatbots.
|
|
435
|
+
|
|
436
|
+
### Template 2: ML Prediction Service
|
|
437
|
+
|
|
438
|
+
```mermaid
|
|
439
|
+
flowchart LR
|
|
440
|
+
subgraph Data["Data Pipeline"]
|
|
441
|
+
Sources[Data Sources] --> ETL[ETL/ELT]
|
|
442
|
+
ETL --> FeatureStore[(Feature Store)]
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
subgraph Train["Model Training"]
|
|
446
|
+
FeatureStore --> Training[Training Pipeline]
|
|
447
|
+
Training --> Registry[Model Registry]
|
|
448
|
+
Registry --> Validation[Model Validation]
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
subgraph Serve["Model Serving"]
|
|
452
|
+
Validation --> Deploy[Model Deployment]
|
|
453
|
+
Deploy --> API[Prediction API]
|
|
454
|
+
API --> Cache[(Prediction Cache)]
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
subgraph Monitor["Monitoring"]
|
|
458
|
+
API --> Metrics[Performance Metrics]
|
|
459
|
+
Metrics --> Drift[Drift Detection]
|
|
460
|
+
Drift --> Retrain[Retrain Trigger]
|
|
461
|
+
Retrain --> Training
|
|
462
|
+
end
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
**When to use:** Forecasting, churn prediction, pricing optimization, anomaly detection.
|
|
466
|
+
|
|
467
|
+
### Template 3: Document Processing
|
|
468
|
+
|
|
469
|
+
```mermaid
|
|
470
|
+
flowchart LR
|
|
471
|
+
subgraph Intake["Document Intake"]
|
|
472
|
+
Upload[Upload / Email / API] --> Classify[Document Classifier]
|
|
473
|
+
Classify --> Queue[(Processing Queue)]
|
|
474
|
+
end
|
|
475
|
+
|
|
476
|
+
subgraph Extract["Extraction"]
|
|
477
|
+
Queue --> OCR[OCR Engine]
|
|
478
|
+
OCR --> NER[Named Entity Recognition]
|
|
479
|
+
NER --> Extract2[Field Extraction]
|
|
480
|
+
Extract2 --> Structured[Structured Data]
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
subgraph Validate["Validation"]
|
|
484
|
+
Structured --> Rules[Business Rules]
|
|
485
|
+
Rules --> Confidence[Confidence Scoring]
|
|
486
|
+
Confidence -->|High| Auto[Auto-Approve]
|
|
487
|
+
Confidence -->|Low| Review[Human Review Queue]
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
subgraph Output["Output"]
|
|
491
|
+
Auto --> DB[(Database)]
|
|
492
|
+
Review --> DB
|
|
493
|
+
DB --> Downstream[Downstream Systems]
|
|
494
|
+
end
|
|
495
|
+
```
|
|
496
|
+
|
|
497
|
+
**When to use:** Invoice processing, contract analysis, form digitization, claims processing.
|
|
498
|
+
|
|
499
|
+
### Template 4: Chatbot / Agent
|
|
500
|
+
|
|
501
|
+
```mermaid
|
|
502
|
+
flowchart TB
|
|
503
|
+
User[User Input] --> Router[Intent Router]
|
|
504
|
+
|
|
505
|
+
Router -->|FAQ| Knowledge[Knowledge Base RAG]
|
|
506
|
+
Router -->|Action| Tools[Tool Executor]
|
|
507
|
+
Router -->|Complex| Agent[Multi-step Agent]
|
|
508
|
+
|
|
509
|
+
Knowledge --> LLM[LLM]
|
|
510
|
+
Tools --> LLM
|
|
511
|
+
Agent --> Planner[Task Planner]
|
|
512
|
+
Planner --> Tools
|
|
513
|
+
Planner --> Knowledge
|
|
514
|
+
|
|
515
|
+
LLM --> Safety[Safety Filter]
|
|
516
|
+
Safety --> Response[Response]
|
|
517
|
+
Response --> Feedback[User Feedback]
|
|
518
|
+
Feedback --> Memory[(Conversation Memory)]
|
|
519
|
+
Memory --> Router
|
|
520
|
+
```
|
|
521
|
+
|
|
522
|
+
**When to use:** Customer support, internal helpdesk, sales assistant, onboarding guide.
|
|
523
|
+
|
|
524
|
+
### Template 5: Analytics Dashboard
|
|
525
|
+
|
|
526
|
+
```mermaid
|
|
527
|
+
flowchart LR
|
|
528
|
+
subgraph Sources["Data Sources"]
|
|
529
|
+
CRM[CRM]
|
|
530
|
+
ERP[ERP]
|
|
531
|
+
Web[Web Analytics]
|
|
532
|
+
Custom[Custom Data]
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
subgraph Pipeline["Data Pipeline"]
|
|
536
|
+
Sources --> ETL[ETL/CDC]
|
|
537
|
+
ETL --> Warehouse[(Data Warehouse)]
|
|
538
|
+
end
|
|
539
|
+
|
|
540
|
+
subgraph ML["ML Layer"]
|
|
541
|
+
Warehouse --> Features[Feature Engineering]
|
|
542
|
+
Features --> Models[ML Models]
|
|
543
|
+
Models --> Predictions[(Predictions Store)]
|
|
544
|
+
end
|
|
545
|
+
|
|
546
|
+
subgraph Viz["Visualization"]
|
|
547
|
+
Warehouse --> Dashboards[Dashboard Engine]
|
|
548
|
+
Predictions --> Dashboards
|
|
549
|
+
Dashboards --> NLQ[Natural Language Query]
|
|
550
|
+
Dashboards --> Alerts[Automated Alerts]
|
|
551
|
+
end
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
**When to use:** Executive dashboards, operational analytics, predictive reporting, KPI monitoring.
|
|
555
|
+
|
|
556
|
+
## Quality Checklist
|
|
557
|
+
|
|
558
|
+
Before finalizing output:
|
|
559
|
+
- [ ] All Mermaid diagrams render correctly (no syntax errors)
|
|
560
|
+
- [ ] Technology selections are justified with specific criteria
|
|
561
|
+
- [ ] Cost estimates are realistic and sourced where possible
|
|
562
|
+
- [ ] Implementation timeline is achievable given resource constraints
|
|
563
|
+
- [ ] Risk mitigations are actionable, not generic
|
|
564
|
+
- [ ] Security design addresses client's compliance requirements
|
|
565
|
+
- [ ] Build vs Buy decisions account for client's team capabilities
|
|
566
|
+
- [ ] Architecture handles expected scale (current + 3 year growth)
|