@cubis/foundry 0.3.76 → 0.3.78
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/dist/cli/build/commands.js +19 -0
- package/dist/cli/build/commands.js.map +1 -0
- package/dist/cli/commands/register.js +4 -0
- package/dist/cli/commands/register.js.map +1 -1
- package/dist/cli/core.js +844 -25
- package/dist/cli/core.js.map +1 -1
- package/mcp/src/tools/skillTools.test.ts +34 -1
- package/package.json +4 -3
- package/src/cli/build/commands.ts +39 -0
- package/src/cli/commands/register.ts +6 -0
- package/src/cli/core.ts +1026 -28
- package/workflows/skills/_schema/skill-platform-attributes.json +7 -0
- package/workflows/skills/deep-research/SKILL.md +81 -0
- package/workflows/skills/deep-research/evals/assertions.md +17 -0
- package/workflows/skills/deep-research/evals/evals.json +56 -0
- package/workflows/skills/deep-research/examples/01-latest-docs-check.md +12 -0
- package/workflows/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
- package/workflows/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
- package/workflows/skills/deep-research/references/comparison-checklist.md +57 -0
- package/workflows/skills/deep-research/references/research-output.md +69 -0
- package/workflows/skills/deep-research/references/source-ladder.md +81 -0
- package/workflows/skills/generated/skill-audit.json +20 -2
- package/workflows/skills/generated/skill-catalog.json +70 -4
- package/workflows/skills/skills_index.json +66 -0
- package/workflows/skills/spec-driven-delivery/SKILL.md +63 -0
- package/workflows/workflows/agent-environment-setup/generated/route-manifest.json +123 -10
- package/workflows/workflows/agent-environment-setup/manifest.json +48 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/orchestrator.md +6 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/project-planner.md +4 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/researcher.md +8 -4
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/accessibility.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/architecture.toml +19 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/backend.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/create.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/database.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/debug.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/devops.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/implement-track.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/migrate.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/mobile.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/onboard.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/orchestrate.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/plan.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/refactor.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/release.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/review.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/security.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/spec.toml +19 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/test.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/vercel.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/rules/GEMINI.md +15 -8
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/SKILL.md +89 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/evals/assertions.md +17 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/evals/evals.json +56 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/examples/01-latest-docs-check.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/references/comparison-checklist.md +57 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/references/research-output.md +69 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/references/source-ladder.md +81 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/spec-driven-delivery/SKILL.md +65 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/architecture.md +82 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/backend.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/create.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/database.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/implement-track.md +7 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/migrate.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/mobile.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/onboard.md +4 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/orchestrate.md +8 -3
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/plan.md +16 -6
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/refactor.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/release.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/spec.md +81 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/agents/orchestrator.md +6 -5
- package/workflows/workflows/agent-environment-setup/platforms/claude/agents/project-planner.md +4 -3
- package/workflows/workflows/agent-environment-setup/platforms/claude/agents/researcher.md +8 -4
- package/workflows/workflows/agent-environment-setup/platforms/claude/hooks/README.md +15 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/hooks/route-research-guard.mjs +39 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/hooks/settings.snippet.json +15 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/rules/CLAUDE.md +17 -8
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/SKILL.md +95 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/evals/assertions.md +17 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/evals/evals.json +56 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/examples/01-latest-docs-check.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/references/comparison-checklist.md +57 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/references/research-output.md +69 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/references/source-ladder.md +81 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/skills_index.json +66 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/spec-driven-delivery/SKILL.md +66 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/architecture.md +80 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/backend.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/create.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/database.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/implement-track.md +7 -1
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/migrate.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/mobile.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/onboard.md +4 -3
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/orchestrate.md +8 -3
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/plan.md +16 -6
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/refactor.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/release.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/spec.md +79 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/orchestrator.md +7 -6
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/project-planner.md +5 -4
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/researcher.md +9 -5
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/sre-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/validator.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/vercel-expert.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/rules/AGENTS.md +15 -8
- package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/SKILL.md +89 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/evals/assertions.md +17 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/evals/evals.json +56 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/examples/01-latest-docs-check.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/references/comparison-checklist.md +57 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/references/research-output.md +69 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/references/source-ladder.md +81 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/skills/spec-driven-delivery/SKILL.md +65 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/accessibility.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/architecture.md +82 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/backend.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/create.md +5 -2
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/database.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/debug.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/devops.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/implement-track.md +8 -2
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/migrate.md +5 -2
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/mobile.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/onboard.md +5 -4
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/orchestrate.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/plan.md +17 -7
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/refactor.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/release.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/review.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/security.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/spec.md +81 -0
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/test.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/vercel.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/orchestrator.md +6 -5
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/project-planner.md +4 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/researcher.md +8 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-accessibility.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-architecture.prompt.md +18 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-backend.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-create.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-database.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-debug.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-devops.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-implement-track.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-migrate.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-mobile.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-onboard.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-orchestrate.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-plan.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-refactor.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-release.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-review.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-security.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-spec.prompt.md +18 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-test.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-vercel.prompt.md +9 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/rules/copilot-instructions.md +15 -8
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/SKILL.md +94 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/evals/assertions.md +17 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/evals/evals.json +56 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/examples/01-latest-docs-check.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/references/comparison-checklist.md +57 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/references/research-output.md +69 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/references/source-ladder.md +81 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/skills_index.json +66 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/spec-driven-delivery/SKILL.md +70 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/architecture.md +80 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/backend.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/create.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/database.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/implement-track.md +7 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/migrate.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/mobile.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/onboard.md +4 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/orchestrate.md +8 -3
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/plan.md +16 -6
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/refactor.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/release.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/spec.md +79 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/accessibility.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/architecture.toml +19 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/backend.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/create.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/database.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/debug.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/devops.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/implement-track.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/migrate.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/mobile.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/onboard.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/orchestrate.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/plan.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/refactor.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/release.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/review.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/security.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/spec.toml +19 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/test.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/vercel.toml +10 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/rules/GEMINI.md +15 -8
- package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/SKILL.md +89 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/evals/assertions.md +17 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/evals/evals.json +56 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/examples/01-latest-docs-check.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/references/comparison-checklist.md +57 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/references/research-output.md +69 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/references/source-ladder.md +81 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/spec-driven-delivery/SKILL.md +65 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/architecture.md +82 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/backend.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/create.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/database.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/implement-track.md +7 -1
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/migrate.md +4 -1
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/mobile.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/onboard.md +4 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/orchestrate.md +8 -3
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/plan.md +16 -6
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/refactor.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/release.md +3 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/spec.md +81 -0
- package/workflows/workflows/agent-environment-setup/shared/agents/backend-specialist.md +5 -5
- package/workflows/workflows/agent-environment-setup/shared/agents/database-architect.md +3 -3
- package/workflows/workflows/agent-environment-setup/shared/agents/orchestrator.md +10 -9
- package/workflows/workflows/agent-environment-setup/shared/agents/penetration-tester.md +3 -3
- package/workflows/workflows/agent-environment-setup/shared/agents/product-manager.md +6 -6
- package/workflows/workflows/agent-environment-setup/shared/agents/project-planner.md +10 -9
- package/workflows/workflows/agent-environment-setup/shared/agents/researcher.md +13 -9
- package/workflows/workflows/agent-environment-setup/shared/agents/security-auditor.md +2 -2
- package/workflows/workflows/agent-environment-setup/shared/rules/STEERING.md +57 -13
- package/workflows/workflows/agent-environment-setup/shared/rules/overrides/claude.md +2 -0
- package/workflows/workflows/agent-environment-setup/shared/rules/overrides/codex.md +3 -3
- package/workflows/workflows/agent-environment-setup/shared/rules/overrides/gemini.md +20 -0
- package/workflows/workflows/agent-environment-setup/shared/workflows/architecture.md +80 -0
- package/workflows/workflows/agent-environment-setup/shared/workflows/backend.md +8 -5
- package/workflows/workflows/agent-environment-setup/shared/workflows/create.md +5 -2
- package/workflows/workflows/agent-environment-setup/shared/workflows/database.md +6 -3
- package/workflows/workflows/agent-environment-setup/shared/workflows/implement-track.md +12 -6
- package/workflows/workflows/agent-environment-setup/shared/workflows/migrate.md +7 -4
- package/workflows/workflows/agent-environment-setup/shared/workflows/mobile.md +3 -0
- package/workflows/workflows/agent-environment-setup/shared/workflows/onboard.md +6 -5
- package/workflows/workflows/agent-environment-setup/shared/workflows/orchestrate.md +10 -5
- package/workflows/workflows/agent-environment-setup/shared/workflows/plan.md +18 -8
- package/workflows/workflows/agent-environment-setup/shared/workflows/refactor.md +5 -2
- package/workflows/workflows/agent-environment-setup/shared/workflows/release.md +3 -0
- package/workflows/workflows/agent-environment-setup/shared/workflows/security.md +2 -2
- package/workflows/workflows/agent-environment-setup/shared/workflows/spec.md +79 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "latest-capability-verification",
|
|
4
|
+
"description": "Validate that the skill performs repo-first research, prioritizes official documentation, labels secondary evidence, and recommends a next route.",
|
|
5
|
+
"prompt": "Research whether the latest official Claude Code hook surface supports reinforcing route honoring before implementation. Start with the current repo state, then use official docs if needed. If community sources add useful practical context, include them but label them appropriately. End with the next workflow, agent, or skill we should use.",
|
|
6
|
+
"assertions": [
|
|
7
|
+
{
|
|
8
|
+
"id": "repo-first",
|
|
9
|
+
"description": "Starts with repo or local evidence before using external sources."
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "official-first",
|
|
13
|
+
"description": "Treats official docs or upstream sources as the primary evidence."
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "secondary-labeled",
|
|
17
|
+
"description": "Labels any Reddit or community evidence as secondary rather than authoritative."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "gaps-called-out",
|
|
21
|
+
"description": "States any unresolved gaps, conflicts, or unknowns."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "next-route",
|
|
25
|
+
"description": "Ends with a concrete recommended next route."
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "tool-comparison",
|
|
31
|
+
"description": "Validate that the skill compares options with a clear frame, ties findings back to repo impact, and produces a decision-ready output.",
|
|
32
|
+
"prompt": "Compare whether our CLI should keep enforcement in Gemini command wrappers only or also add Claude hook templates. Use the repo state first, then official docs for current platform capabilities, and include community evidence only if it adds implementation nuance. Finish with a recommendation and the next route to take.",
|
|
33
|
+
"assertions": [
|
|
34
|
+
{
|
|
35
|
+
"id": "comparison-frame",
|
|
36
|
+
"description": "Defines concrete comparison axes such as repo impact, enforcement surface, and maintenance cost."
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "repo-impact",
|
|
40
|
+
"description": "Connects each option back to the current repo or bundle behavior."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "fact-vs-inference",
|
|
44
|
+
"description": "Separates verified facts from inference or interpretation."
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "decision-oriented",
|
|
48
|
+
"description": "Produces a recommendation or explicit defer condition."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "no-research-sprawl",
|
|
52
|
+
"description": "Keeps the answer structured instead of turning into an unfiltered dump of sources."
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Example: Latest Docs Check
|
|
2
|
+
|
|
3
|
+
## User Request
|
|
4
|
+
|
|
5
|
+
> Research whether Claude Code hooks can reinforce route honoring before we add new workflow rules.
|
|
6
|
+
|
|
7
|
+
## Expected Shape
|
|
8
|
+
|
|
9
|
+
1. Inspect the repo's current Claude rule and hook support first.
|
|
10
|
+
2. Verify the current official Claude docs for hooks, event names, and config format.
|
|
11
|
+
3. Separate those verified facts from any community commentary about hook effectiveness.
|
|
12
|
+
4. End with the recommended next route, for example `@researcher` continuing the research or `/create` applying the validated hook template changes.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Example: Ecosystem Comparison
|
|
2
|
+
|
|
3
|
+
## User Request
|
|
4
|
+
|
|
5
|
+
> Compare whether our CLI should keep Gemini command enforcement only, or add another platform-native hook layer for Claude as well.
|
|
6
|
+
|
|
7
|
+
## Expected Shape
|
|
8
|
+
|
|
9
|
+
1. Start with repo constraints and current platform bundle behavior.
|
|
10
|
+
2. Compare the official platform capabilities using primary docs.
|
|
11
|
+
3. Add any useful community evidence as clearly labeled secondary input.
|
|
12
|
+
4. Produce a recommendation tied to the repo: which platform gets which enforcement surface, and why.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Example: Research To Implementation Handoff
|
|
2
|
+
|
|
3
|
+
## User Request
|
|
4
|
+
|
|
5
|
+
> Research the latest Codex, Claude, and Gemini MCP behavior, then tell me the next route to update our workflow rules safely.
|
|
6
|
+
|
|
7
|
+
## Expected Shape
|
|
8
|
+
|
|
9
|
+
1. Gather repo evidence first.
|
|
10
|
+
2. Verify current official docs for each platform.
|
|
11
|
+
3. Summarize verified facts, secondary evidence, and gaps.
|
|
12
|
+
4. End with a precise next route such as `/plan` for a policy change or `skill-creator` for skill/rule packaging work.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Comparison Checklist
|
|
2
|
+
|
|
3
|
+
Use this when evaluating tools, frameworks, APIs, or platforms.
|
|
4
|
+
|
|
5
|
+
## 1. Scope the Comparison
|
|
6
|
+
|
|
7
|
+
Define:
|
|
8
|
+
|
|
9
|
+
- what is being compared
|
|
10
|
+
- whether the comparison is about implementation fit, operational cost, or product capability
|
|
11
|
+
- what time horizon matters: immediate migration, medium-term maintenance, or long-term platform fit
|
|
12
|
+
|
|
13
|
+
## 2. Compare on Stable Axes
|
|
14
|
+
|
|
15
|
+
Use a short set of dimensions:
|
|
16
|
+
|
|
17
|
+
- integration fit with the current repo
|
|
18
|
+
- maturity and maintenance signal
|
|
19
|
+
- official documentation quality
|
|
20
|
+
- configuration complexity
|
|
21
|
+
- ecosystem and tooling support
|
|
22
|
+
- operational constraints
|
|
23
|
+
- migration cost
|
|
24
|
+
|
|
25
|
+
Do not compare on vague criteria like "better DX" without concrete evidence.
|
|
26
|
+
|
|
27
|
+
## 3. Capture Repo Impact
|
|
28
|
+
|
|
29
|
+
Tie each option back to the current codebase:
|
|
30
|
+
|
|
31
|
+
- what code would change
|
|
32
|
+
- which workflows or agents would own the work
|
|
33
|
+
- what risks are specific to this repo
|
|
34
|
+
- whether new MCP tools or skills would be required
|
|
35
|
+
|
|
36
|
+
## 4. Separate Product Claims from Team Constraints
|
|
37
|
+
|
|
38
|
+
An option can be technically stronger and still be a worse fit for the repo.
|
|
39
|
+
|
|
40
|
+
Keep these separate:
|
|
41
|
+
|
|
42
|
+
- product capability
|
|
43
|
+
- ecosystem quality
|
|
44
|
+
- team familiarity
|
|
45
|
+
- migration blast radius
|
|
46
|
+
- existing architecture constraints
|
|
47
|
+
|
|
48
|
+
## 5. Decision Frame
|
|
49
|
+
|
|
50
|
+
Finish with one of:
|
|
51
|
+
|
|
52
|
+
- recommend option A
|
|
53
|
+
- recommend option B
|
|
54
|
+
- defer decision pending one missing verification
|
|
55
|
+
- keep current approach because switching cost outweighs gain
|
|
56
|
+
|
|
57
|
+
If the evidence is mixed, say what would change the recommendation.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Research Output Contract
|
|
2
|
+
|
|
3
|
+
## Required Sections
|
|
4
|
+
|
|
5
|
+
### 1. Research question
|
|
6
|
+
|
|
7
|
+
State:
|
|
8
|
+
|
|
9
|
+
- the exact topic
|
|
10
|
+
- why research was necessary
|
|
11
|
+
- whether freshness or public comparison mattered
|
|
12
|
+
- the decision this research is meant to support
|
|
13
|
+
|
|
14
|
+
### 2. Verified facts
|
|
15
|
+
|
|
16
|
+
List the strongest findings first.
|
|
17
|
+
|
|
18
|
+
For each fact:
|
|
19
|
+
|
|
20
|
+
- state the claim in one sentence
|
|
21
|
+
- cite the source class: repo, official docs, upstream repo, standard
|
|
22
|
+
- include the relevant link or file path
|
|
23
|
+
- include date/version when it matters
|
|
24
|
+
|
|
25
|
+
### 3. Secondary / community evidence
|
|
26
|
+
|
|
27
|
+
Only include this when it adds signal the primary sources did not provide.
|
|
28
|
+
|
|
29
|
+
For each item:
|
|
30
|
+
|
|
31
|
+
- label it as secondary evidence
|
|
32
|
+
- state what practical signal it adds
|
|
33
|
+
- avoid presenting it as settled fact
|
|
34
|
+
|
|
35
|
+
### 4. Gaps / unknowns
|
|
36
|
+
|
|
37
|
+
Document:
|
|
38
|
+
|
|
39
|
+
- unresolved conflicts
|
|
40
|
+
- missing official confirmation
|
|
41
|
+
- assumptions that still need validation
|
|
42
|
+
- risks if the team proceeds anyway
|
|
43
|
+
|
|
44
|
+
### 5. Recommended next route
|
|
45
|
+
|
|
46
|
+
Research should end with one clear recommendation:
|
|
47
|
+
|
|
48
|
+
- direct execution
|
|
49
|
+
- a specific workflow like `/plan` or `/create`
|
|
50
|
+
- a specialist like `@researcher` or `@frontend-specialist`
|
|
51
|
+
- an exact skill like `stitch` or `deep-research`
|
|
52
|
+
|
|
53
|
+
Keep this recommendation concrete enough that the next step does not need another routing pass.
|
|
54
|
+
|
|
55
|
+
## Compression Rules
|
|
56
|
+
|
|
57
|
+
- Prefer 5 strong findings over 20 weak ones.
|
|
58
|
+
- Do not paste long quotes from docs when a citation plus summary will do.
|
|
59
|
+
- If multiple sources say the same thing, summarize once and cite the strongest source.
|
|
60
|
+
- If research found nothing reliable, say that directly.
|
|
61
|
+
|
|
62
|
+
## Handoff Pattern
|
|
63
|
+
|
|
64
|
+
When handing off to implementation or planning, include:
|
|
65
|
+
|
|
66
|
+
- the decision summary
|
|
67
|
+
- the highest-confidence constraints
|
|
68
|
+
- the unresolved risks
|
|
69
|
+
- the next route to take
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Source Ladder
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Use the smallest amount of external research that still produces a decision-ready answer. Keep the evidence traceable and ordered by trust.
|
|
6
|
+
|
|
7
|
+
## 1. Repo / Local Evidence First
|
|
8
|
+
|
|
9
|
+
Start by inspecting:
|
|
10
|
+
|
|
11
|
+
- application code and tests
|
|
12
|
+
- README files and internal docs
|
|
13
|
+
- generated workflow or skill assets
|
|
14
|
+
- lockfiles, config files, and package manifests
|
|
15
|
+
- existing integration code and migration history
|
|
16
|
+
|
|
17
|
+
If the repo already answers the question, stop there. Do not browse externally just because web research feels safer.
|
|
18
|
+
|
|
19
|
+
## 2. Primary External Sources
|
|
20
|
+
|
|
21
|
+
Use these next:
|
|
22
|
+
|
|
23
|
+
- official vendor docs
|
|
24
|
+
- upstream repositories and release notes
|
|
25
|
+
- standards bodies and reference specs
|
|
26
|
+
- maintainer-authored examples
|
|
27
|
+
|
|
28
|
+
Prefer sources that expose:
|
|
29
|
+
|
|
30
|
+
- exact feature names
|
|
31
|
+
- current version constraints
|
|
32
|
+
- config formats
|
|
33
|
+
- dates or changelog context
|
|
34
|
+
|
|
35
|
+
When the topic is time-sensitive, capture the date you verified the source and the version or doc page involved.
|
|
36
|
+
|
|
37
|
+
## 3. Secondary / Community Sources
|
|
38
|
+
|
|
39
|
+
Use these only after primary evidence:
|
|
40
|
+
|
|
41
|
+
- Reddit threads
|
|
42
|
+
- issue comments
|
|
43
|
+
- independent blog posts
|
|
44
|
+
- forum discussions
|
|
45
|
+
- third-party comparison articles
|
|
46
|
+
|
|
47
|
+
Community evidence is useful for:
|
|
48
|
+
|
|
49
|
+
- practical gotchas
|
|
50
|
+
- migration pain points
|
|
51
|
+
- missing-doc workarounds
|
|
52
|
+
- real-world adoption patterns
|
|
53
|
+
|
|
54
|
+
Community evidence is not enough on its own for authoritative claims about product behavior, supported configuration, or security guarantees.
|
|
55
|
+
|
|
56
|
+
## 4. Conflict Handling
|
|
57
|
+
|
|
58
|
+
When sources disagree:
|
|
59
|
+
|
|
60
|
+
1. Prefer repo evidence for the current codebase state.
|
|
61
|
+
2. Prefer official docs over community claims for product behavior.
|
|
62
|
+
3. Prefer newer dated material when the sources cover the same feature.
|
|
63
|
+
4. If the conflict remains unresolved, report it as a gap instead of guessing.
|
|
64
|
+
|
|
65
|
+
## 5. Evidence Labels
|
|
66
|
+
|
|
67
|
+
Use these labels in research output:
|
|
68
|
+
|
|
69
|
+
- **Verified fact** — backed by repo evidence or a primary source
|
|
70
|
+
- **Secondary evidence** — backed only by community or indirect sources
|
|
71
|
+
- **Inference** — reasoned conclusion not directly stated by a source
|
|
72
|
+
- **Gap** — could not be verified confidently
|
|
73
|
+
|
|
74
|
+
## 6. Stop Conditions
|
|
75
|
+
|
|
76
|
+
Stop researching when:
|
|
77
|
+
|
|
78
|
+
- the decision is already clear
|
|
79
|
+
- new sources only repeat the same point
|
|
80
|
+
- the remaining uncertainty is small and clearly documented
|
|
81
|
+
- the task should move into implementation or planning
|
package/workflows/workflows/agent-environment-setup/platforms/claude/skills/skills_index.json
CHANGED
|
@@ -193,6 +193,38 @@
|
|
|
193
193
|
"databases"
|
|
194
194
|
]
|
|
195
195
|
},
|
|
196
|
+
{
|
|
197
|
+
"id": "deep-research",
|
|
198
|
+
"package_id": "deep-research",
|
|
199
|
+
"catalog_id": "deep-research",
|
|
200
|
+
"kind": "skill",
|
|
201
|
+
"name": "deep-research",
|
|
202
|
+
"canonical": true,
|
|
203
|
+
"canonical_id": "deep-research",
|
|
204
|
+
"deprecated": false,
|
|
205
|
+
"replaced_by": null,
|
|
206
|
+
"aliases": [],
|
|
207
|
+
"category": "core-operating",
|
|
208
|
+
"layer": "core-operating",
|
|
209
|
+
"maturity": "incubating",
|
|
210
|
+
"tier": "experimental",
|
|
211
|
+
"tags": [
|
|
212
|
+
"core-operating",
|
|
213
|
+
"deep",
|
|
214
|
+
"deep research",
|
|
215
|
+
"deep-research",
|
|
216
|
+
"research"
|
|
217
|
+
],
|
|
218
|
+
"path": ".claude/skills/deep-research/SKILL.md",
|
|
219
|
+
"description": "Use when investigating latest vendor behavior, comparing tools or platforms, verifying claims beyond the repo, or gathering external evidence before implementation.",
|
|
220
|
+
"triggers": [
|
|
221
|
+
"deep-research",
|
|
222
|
+
"deep research",
|
|
223
|
+
"deep",
|
|
224
|
+
"research",
|
|
225
|
+
"core-operating"
|
|
226
|
+
]
|
|
227
|
+
},
|
|
196
228
|
{
|
|
197
229
|
"id": "django-drf",
|
|
198
230
|
"package_id": "django-drf",
|
|
@@ -1689,6 +1721,40 @@
|
|
|
1689
1721
|
"core-operating"
|
|
1690
1722
|
]
|
|
1691
1723
|
},
|
|
1724
|
+
{
|
|
1725
|
+
"id": "spec-driven-delivery",
|
|
1726
|
+
"package_id": "spec-driven-delivery",
|
|
1727
|
+
"catalog_id": "spec-driven-delivery",
|
|
1728
|
+
"kind": "skill",
|
|
1729
|
+
"name": "spec-driven-delivery",
|
|
1730
|
+
"canonical": true,
|
|
1731
|
+
"canonical_id": "spec-driven-delivery",
|
|
1732
|
+
"deprecated": false,
|
|
1733
|
+
"replaced_by": null,
|
|
1734
|
+
"aliases": [],
|
|
1735
|
+
"category": "workflow-specialists",
|
|
1736
|
+
"layer": "workflow-specialists",
|
|
1737
|
+
"maturity": "incubating",
|
|
1738
|
+
"tier": "experimental",
|
|
1739
|
+
"tags": [
|
|
1740
|
+
"delivery",
|
|
1741
|
+
"driven",
|
|
1742
|
+
"spec",
|
|
1743
|
+
"spec driven delivery",
|
|
1744
|
+
"spec-driven-delivery",
|
|
1745
|
+
"workflow-specialists"
|
|
1746
|
+
],
|
|
1747
|
+
"path": ".claude/skills/spec-driven-delivery/SKILL.md",
|
|
1748
|
+
"description": "Use when turning a non-trivial request into a Git-tracked spec pack, maintaining traceability during execution, and updating specs before code when requirements or architecture change.",
|
|
1749
|
+
"triggers": [
|
|
1750
|
+
"spec-driven-delivery",
|
|
1751
|
+
"spec driven delivery",
|
|
1752
|
+
"spec",
|
|
1753
|
+
"driven",
|
|
1754
|
+
"delivery",
|
|
1755
|
+
"workflow-specialists"
|
|
1756
|
+
]
|
|
1757
|
+
},
|
|
1692
1758
|
{
|
|
1693
1759
|
"id": "spring-boot",
|
|
1694
1760
|
"package_id": "spring-boot",
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spec-driven-delivery
|
|
3
|
+
description: Use when turning a non-trivial request into a Git-tracked spec pack, maintaining traceability during execution, and updating specs before code when requirements or architecture change.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Spec-Driven Delivery
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Create and maintain a lightweight source of truth for non-trivial work. This skill turns requirements, decisions, acceptance criteria, and architecture impact into a spec pack under the `docs/specs/<spec-id>/` workspace area, then keeps that pack aligned as implementation evolves.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- Planning a medium or large feature before implementation
|
|
15
|
+
- Capturing acceptance criteria, traceability, and architecture impact in Git
|
|
16
|
+
- Reusing or refreshing an existing spec pack for a follow-up change
|
|
17
|
+
- Bridging native plan-mode output into durable project documents
|
|
18
|
+
- Keeping implementation, verification, and documentation aligned across sessions
|
|
19
|
+
|
|
20
|
+
## Instructions
|
|
21
|
+
|
|
22
|
+
1. **Classify the task first** because trivial work should not pay spec overhead. Use this skill only when the task is multi-step, cross-session, cross-domain, risky, or likely to change architecture, testing strategy, or team coordination.
|
|
23
|
+
2. **Look for an existing spec pack before creating a new one** because duplicate specs create drift. Reuse the closest matching spec directory when the current request extends an active initiative.
|
|
24
|
+
3. **Create a stable `spec_id` and spec root** because the same identifier should survive planning, execution, review, and follow-up changes.
|
|
25
|
+
4. **Write the minimum viable pack** because the goal is durable coordination, not bureaucracy. Keep the brief, acceptance, tasks, traceability, and handoff documents concise and testable.
|
|
26
|
+
5. **Use `sadd` when turning requirements into assertions** because spec quality depends on extracting testable behavior instead of leaving requirements vague.
|
|
27
|
+
6. **Record architecture impact explicitly** because implementation must stay aligned with the project architecture contract and current-state tech map. Mark whether the change affects architecture style, module boundaries, dependency rules, design system, deployment shape, or testing strategy.
|
|
28
|
+
7. **Update the spec before implementation changes behavior** because traceability breaks when code changes first and docs lag behind.
|
|
29
|
+
8. **Keep the task graph execution-ready** because `/implement-track` and `/orchestrate` should be able to act on the spec without replanning. Every task should have ownership, dependencies, acceptance criteria, and a verification path.
|
|
30
|
+
9. **Route external research through `deep-research`** because repo-first planning still needs disciplined escalation when freshness or public comparison matters.
|
|
31
|
+
10. **Emit a clear next route** because spec work usually hands off into `/create`, `/implement-track`, `/orchestrate`, or `/architecture`.
|
|
32
|
+
11. **Report `doc_impact` and `traceability_status`** because feature work should surface whether the architecture contract or tech map must be refreshed at the end.
|
|
33
|
+
12. **Keep the pack alive during execution** because a stale spec is worse than none. Update acceptance, tasks, and traceability when scope or constraints change.
|
|
34
|
+
|
|
35
|
+
## Output Format
|
|
36
|
+
|
|
37
|
+
Deliver:
|
|
38
|
+
|
|
39
|
+
1. **Spec summary** — `spec_id`, `spec_root`, goal, scope, and why spec mode is warranted
|
|
40
|
+
2. **Acceptance and traceability state** — requirements, open gaps, and `traceability_status`
|
|
41
|
+
3. **Execution-ready plan** — tasks, owners, dependencies, and verification checkpoints
|
|
42
|
+
4. **Architecture and doc impact** — `architecture_impact` plus `doc_impact`
|
|
43
|
+
5. **Recommended next route** — exact workflow, agent, or skill to continue from the spec
|
|
44
|
+
|
|
45
|
+
## References
|
|
46
|
+
|
|
47
|
+
| File | Load when |
|
|
48
|
+
| --- | --- |
|
|
49
|
+
| `../sadd/SKILL.md` | Need requirement mining, GIVEN-WHEN-THEN specs, or traceability patterns. |
|
|
50
|
+
| `../architecture-doc/SKILL.md` | Need ADRs, system boundaries, or architecture-document structure. |
|
|
51
|
+
| `../deep-research/SKILL.md` | Need repo-first research escalation or evidence labeling rules. |
|
|
52
|
+
|
|
53
|
+
## Examples
|
|
54
|
+
|
|
55
|
+
| File | Use when |
|
|
56
|
+
| --- | --- |
|
|
57
|
+
| `../sadd/references/spec-mining.md` | Turning loose requirements into testable spec entries. |
|
|
58
|
+
| `../sadd/references/coverage-mapping.md` | Building a traceability matrix that links specs, tests, and code. |
|
|
59
|
+
|
|
60
|
+
## Claude Platform Notes
|
|
61
|
+
|
|
62
|
+
- Use `$ARGUMENTS` to access user-provided arguments passed when the skill is invoked.
|
|
63
|
+
- Reference skill-local files with `${CLAUDE_SKILL_DIR}/references/<file>` for portable paths.
|
|
64
|
+
- When `context: fork` is set, the skill runs in an isolated subagent context; the `agent` field names the fork target.
|
|
65
|
+
- MCP skill tools (`skill_search`, `skill_get`, `skill_validate`, `skill_get_reference`) are available for dynamic skill discovery and loading.
|
|
66
|
+
- Use `allowed-tools` in frontmatter to restrict tool access for security-sensitive skills.
|
package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/architecture.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
command: "/architecture"
|
|
3
|
+
description: "Refresh the project architecture contract and current-state map in ENGINEERING_RULES.md and TECH.md with explicit structure, design-system, testing, and flow guidance."
|
|
4
|
+
triggers:
|
|
5
|
+
[
|
|
6
|
+
"architecture",
|
|
7
|
+
"design system",
|
|
8
|
+
"adr",
|
|
9
|
+
"clean architecture",
|
|
10
|
+
"system map",
|
|
11
|
+
"app structure",
|
|
12
|
+
"technical governance",
|
|
13
|
+
"flow diagram",
|
|
14
|
+
]
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# Architecture Workflow
|
|
18
|
+
|
|
19
|
+
## When to use
|
|
20
|
+
|
|
21
|
+
Use this when the task is to declare, refresh, or validate the project architecture contract and current-state map, especially after structure changes, scale changes, design-system changes, migrations, or major feature additions.
|
|
22
|
+
|
|
23
|
+
## Routing
|
|
24
|
+
|
|
25
|
+
- Primary coordinator: `@project-planner`
|
|
26
|
+
- Documentation support: `@documentation-writer`
|
|
27
|
+
- Research support: `@researcher`
|
|
28
|
+
- Domain validation: `@backend-specialist`, `@frontend-specialist`, `@database-architect`
|
|
29
|
+
|
|
30
|
+
## Skill Routing
|
|
31
|
+
|
|
32
|
+
- Primary skills: `architecture-doc`, `system-design`, `tech-doc`, `frontend-design`
|
|
33
|
+
- Supporting skills (optional): `api-design`, `database-design`, `sadd`, `deep-research`
|
|
34
|
+
- Load the four primary skills directly for this workflow. Add `api-design` or `database-design` when service or data boundaries are central, `sadd` when tying the architecture update to an active spec pack, and `deep-research` only when outside evidence is required.
|
|
35
|
+
|
|
36
|
+
## Workflow steps
|
|
37
|
+
|
|
38
|
+
1. Inspect the repo first and read `ENGINEERING_RULES.md` followed by `TECH.md` if they exist.
|
|
39
|
+
2. Determine the current architecture style, module boundaries, design-system source of truth, and testing strategy from the codebase.
|
|
40
|
+
3. Update only the managed architecture sections in `ENGINEERING_RULES.md` and `TECH.md`.
|
|
41
|
+
4. Add or refresh Mermaid diagrams and flow narratives inside `TECH.md` when they clarify system behavior.
|
|
42
|
+
5. Record whether the update was driven by a broader spec and whether future implementation must follow newly declared rules.
|
|
43
|
+
|
|
44
|
+
## Context notes
|
|
45
|
+
|
|
46
|
+
- This workflow is route-fixed and skill-fixed: do not start with `route_resolve` or `skill_search`.
|
|
47
|
+
- `ENGINEERING_RULES.md` is normative. `TECH.md` is descriptive. Keep them aligned but not redundant.
|
|
48
|
+
- Preserve manual content outside the managed architecture sections.
|
|
49
|
+
- Mark non-applicable sections explicitly instead of silently omitting them.
|
|
50
|
+
|
|
51
|
+
## Verification
|
|
52
|
+
|
|
53
|
+
- Managed architecture sections exist in both target docs.
|
|
54
|
+
- Architecture style, dependency rules, and design-system guidance are explicit.
|
|
55
|
+
- `TECH.md` includes flow text and at least one Mermaid diagram when the repo has meaningful flow complexity.
|
|
56
|
+
- The update records `doc_impact` and whether future feature work must refresh the docs again.
|
|
57
|
+
|
|
58
|
+
## Output Contract
|
|
59
|
+
|
|
60
|
+
```yaml
|
|
61
|
+
ARCHITECTURE_WORKFLOW_RESULT:
|
|
62
|
+
primary_agent: project-planner
|
|
63
|
+
supporting_agents: [documentation-writer?, researcher?, backend-specialist?, frontend-specialist?, database-architect?]
|
|
64
|
+
primary_skills: [architecture-doc, system-design, tech-doc, frontend-design]
|
|
65
|
+
supporting_skills: [api-design?, database-design?, sadd?, deep-research?]
|
|
66
|
+
managed_targets:
|
|
67
|
+
rules_doc: ENGINEERING_RULES.md
|
|
68
|
+
tech_doc: TECH.md
|
|
69
|
+
files_updated: [ENGINEERING_RULES.md, TECH.md]
|
|
70
|
+
architecture_contract:
|
|
71
|
+
style: <string>
|
|
72
|
+
dependency_rules: [<string>]
|
|
73
|
+
design_system_source: <string>
|
|
74
|
+
technical_snapshot:
|
|
75
|
+
topology: [<string>]
|
|
76
|
+
flows: [<string>]
|
|
77
|
+
diagrams: [<string>] | []
|
|
78
|
+
doc_impact: rules | tech | both
|
|
79
|
+
next_actions: [<string>] | []
|
|
80
|
+
```
|
|
@@ -36,6 +36,7 @@ Use this for backend architecture, API design, service implementation, or Postma
|
|
|
36
36
|
|
|
37
37
|
- This workflow file, active platform rules, and selected agents or skills guide execution.
|
|
38
38
|
- Attach API specifications, schema diagrams, Postman collections, and relevant service code.
|
|
39
|
+
- Read `ENGINEERING_RULES.md` and `TECH.md` before changing service boundaries or shared backend structure.
|
|
39
40
|
|
|
40
41
|
## Skill Routing
|
|
41
42
|
|
|
@@ -50,6 +51,7 @@ Use this for backend architecture, API design, service implementation, or Postma
|
|
|
50
51
|
3. Implement backend logic with proper error handling and validation.
|
|
51
52
|
4. Write integration tests covering happy path and error cases.
|
|
52
53
|
5. Review for security, performance, and reliability.
|
|
54
|
+
6. Set `doc_impact` if the change alters service boundaries, shared contracts, or operational shape.
|
|
53
55
|
|
|
54
56
|
## Verification
|
|
55
57
|
|
|
@@ -74,6 +76,7 @@ BACKEND_WORKFLOW_RESULT:
|
|
|
74
76
|
implementation:
|
|
75
77
|
files_changed: [<path>]
|
|
76
78
|
tests_added: [<path>]
|
|
79
|
+
doc_impact: none | tech | rules | both
|
|
77
80
|
verification:
|
|
78
81
|
checks_run: [<command-or-test>]
|
|
79
82
|
evidence: [<string>]
|
|
@@ -22,6 +22,7 @@ Use this for net-new implementation after design is stable.
|
|
|
22
22
|
|
|
23
23
|
- This workflow file, active platform rules, and selected agents or skills guide execution.
|
|
24
24
|
- Attach logs, screenshots, failing output, and relevant paths when context is incomplete.
|
|
25
|
+
- Read `ENGINEERING_RULES.md` first and `TECH.md` next for non-trivial work so new code follows the declared architecture and design-system rules.
|
|
25
26
|
|
|
26
27
|
## Skill Routing
|
|
27
28
|
|
|
@@ -35,7 +36,8 @@ Use this for net-new implementation after design is stable.
|
|
|
35
36
|
1. Confirm target files and contracts.
|
|
36
37
|
2. Implement smallest coherent increment.
|
|
37
38
|
3. Validate behavior with focused tests.
|
|
38
|
-
4. Capture
|
|
39
|
+
4. Capture `doc_impact` when the feature changes architecture, boundaries, scale, or design-system rules.
|
|
40
|
+
5. Capture remaining gaps and follow-ups.
|
|
39
41
|
|
|
40
42
|
## Verification
|
|
41
43
|
|
|
@@ -55,6 +57,7 @@ CREATE_WORKFLOW_RESULT:
|
|
|
55
57
|
summary: <string>
|
|
56
58
|
changed_artifacts: [<path-or-artifact>]
|
|
57
59
|
behavioral_impact: [<string>]
|
|
60
|
+
doc_impact: none | tech | rules | both
|
|
58
61
|
verification:
|
|
59
62
|
checks_run: [<command-or-test>]
|
|
60
63
|
evidence: [<string>]
|
|
@@ -20,6 +20,7 @@ Use this for schema design, query optimization, migration planning, or database
|
|
|
20
20
|
|
|
21
21
|
- This workflow file, active platform rules, and selected agents or skills guide execution.
|
|
22
22
|
- Attach existing schema, migration history, query patterns, and performance requirements.
|
|
23
|
+
- Read `ENGINEERING_RULES.md` and `TECH.md` before changing data ownership, persistence boundaries, or shared schema conventions.
|
|
23
24
|
|
|
24
25
|
## Skill Routing
|
|
25
26
|
|
|
@@ -34,6 +35,7 @@ Use this for schema design, query optimization, migration planning, or database
|
|
|
34
35
|
3. Plan migration with rollback strategy.
|
|
35
36
|
4. Optimize queries and indexes for known access patterns.
|
|
36
37
|
5. Validate data integrity constraints.
|
|
38
|
+
6. Set `doc_impact` if the change alters data boundaries, core entities, or persistence patterns that future work should follow.
|
|
37
39
|
|
|
38
40
|
## Verification
|
|
39
41
|
|
|
@@ -57,6 +59,7 @@ DATABASE_WORKFLOW_RESULT:
|
|
|
57
59
|
query_optimization:
|
|
58
60
|
queries_reviewed: <number>
|
|
59
61
|
indexes_recommended: [<string>] | []
|
|
62
|
+
doc_impact: none | tech | rules | both
|
|
60
63
|
integrity_checks: [<string>]
|
|
61
64
|
follow_up_items: [<string>] | []
|
|
62
65
|
```
|
package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/implement-track.md
CHANGED
|
@@ -20,6 +20,8 @@ Use this for large-scale implementation work that spans multiple sessions or mil
|
|
|
20
20
|
|
|
21
21
|
- This workflow file, active platform rules, and selected agents or skills guide execution.
|
|
22
22
|
- Attach the implementation plan, milestone definitions, and acceptance criteria per milestone.
|
|
23
|
+
- Reuse `docs/specs/<spec-id>/` when present instead of maintaining a separate progress source of truth.
|
|
24
|
+
- Read `ENGINEERING_RULES.md` first and `TECH.md` next before starting milestone execution.
|
|
23
25
|
|
|
24
26
|
## Skill Routing
|
|
25
27
|
|
|
@@ -33,7 +35,7 @@ Use this for large-scale implementation work that spans multiple sessions or mil
|
|
|
33
35
|
2. Execute current milestone with focused implementation.
|
|
34
36
|
3. Run quality gate validation at milestone completion.
|
|
35
37
|
4. Update progress tracking and capture status.
|
|
36
|
-
5. Adjust remaining plan based on learnings.
|
|
38
|
+
5. Adjust remaining plan, spec traceability, and doc refresh needs based on learnings.
|
|
37
39
|
6. Proceed to next milestone or report completion.
|
|
38
40
|
|
|
39
41
|
## Verification
|
|
@@ -59,5 +61,9 @@ IMPLEMENT_TRACK_WORKFLOW_RESULT:
|
|
|
59
61
|
validation_evidence: <string>
|
|
60
62
|
overall_progress: <percentage>
|
|
61
63
|
scope_changes: [<string>] | []
|
|
64
|
+
spec_id: <string> | null
|
|
65
|
+
spec_root: docs/specs/<spec-id> | null
|
|
66
|
+
traceability_status: complete | partial | blocked
|
|
67
|
+
doc_impact: none | tech | rules | both
|
|
62
68
|
follow_up_items: [<string>] | []
|
|
63
69
|
```
|
|
@@ -28,6 +28,7 @@ Use this for technology migrations, framework upgrades, dependency updates, or m
|
|
|
28
28
|
|
|
29
29
|
- This workflow file, active platform rules, and selected agents or skills guide execution.
|
|
30
30
|
- Attach the migration target, current versions, breaking change lists, and impact assessment.
|
|
31
|
+
- Read `ENGINEERING_RULES.md` and `TECH.md` first because migrations often change accepted patterns and current-state architecture at the same time.
|
|
31
32
|
|
|
32
33
|
## Skill Routing
|
|
33
34
|
|
|
@@ -42,7 +43,8 @@ Use this for technology migrations, framework upgrades, dependency updates, or m
|
|
|
42
43
|
3. Plan incremental migration steps with rollback points.
|
|
43
44
|
4. Execute migration one step at a time with verification.
|
|
44
45
|
5. Update tests and documentation for new patterns.
|
|
45
|
-
6.
|
|
46
|
+
6. Set `doc_impact` when the migration changes architecture, deployment shape, boundaries, or design-system rules.
|
|
47
|
+
7. Verify full system behavior after migration complete.
|
|
46
48
|
|
|
47
49
|
## Verification
|
|
48
50
|
|
|
@@ -69,5 +71,6 @@ MIGRATE_WORKFLOW_RESULT:
|
|
|
69
71
|
verification:
|
|
70
72
|
tests_passed: true | false
|
|
71
73
|
performance_impact: <string>
|
|
74
|
+
doc_impact: none | tech | rules | both
|
|
72
75
|
follow_up_items: [<string>] | []
|
|
73
76
|
```
|