@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
package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/architecture.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
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: `the project-planner posture`
|
|
26
|
+
- Documentation support: `the documentation-writer posture`
|
|
27
|
+
- Research support: `the researcher posture`
|
|
28
|
+
- Domain validation: `the backend-specialist posture`, `the frontend-specialist posture`, `the database-architect posture`
|
|
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
|
+
```
|
|
81
|
+
|
|
82
|
+
> **Gemini note:** Commands route into workflow files under `.gemini/workflows/`. Specialists are inline postures coordinated through GEMINI.md guidance, not separate agent artifacts.
|
|
@@ -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/gemini/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,6 +61,10 @@ 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
|
```
|
|
64
70
|
|
|
@@ -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,6 +71,7 @@ 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
|
```
|
|
74
77
|
|
|
@@ -20,6 +20,7 @@ Use this for mobile app development, Flutter architecture, Stitch-driven mobile
|
|
|
20
20
|
|
|
21
21
|
- This workflow file, active platform rules, and selected agents or skills guide execution.
|
|
22
22
|
- Attach platform targets (iOS, Android, both), Flutter version, and relevant screen/feature context.
|
|
23
|
+
- Read `ENGINEERING_RULES.md` and `TECH.md` before implementing non-trivial mobile work so screens and features follow the declared architecture and design-system rules.
|
|
23
24
|
|
|
24
25
|
## Skill Routing
|
|
25
26
|
|
|
@@ -35,6 +36,7 @@ Use this for mobile app development, Flutter architecture, Stitch-driven mobile
|
|
|
35
36
|
3. Implement with consideration for iOS/Android differences.
|
|
36
37
|
4. Write widget and integration tests.
|
|
37
38
|
5. Review for platform-specific edge cases and UX conventions.
|
|
39
|
+
6. Set `doc_impact` if the feature changes navigation, shared UI rules, or mobile architecture conventions.
|
|
38
40
|
|
|
39
41
|
## Verification
|
|
40
42
|
|
|
@@ -62,6 +64,7 @@ MOBILE_WORKFLOW_RESULT:
|
|
|
62
64
|
platform_notes:
|
|
63
65
|
ios: [<string>] | []
|
|
64
66
|
android: [<string>] | []
|
|
67
|
+
doc_impact: none | tech | rules | both
|
|
65
68
|
follow_up_items: [<string>] | []
|
|
66
69
|
```
|
|
67
70
|
|
|
@@ -27,12 +27,13 @@ Use this when joining a new project, exploring an unfamiliar codebase, or prepar
|
|
|
27
27
|
|
|
28
28
|
- This workflow file, active platform rules, and selected agents or skills guide execution.
|
|
29
29
|
- Provide the repo URL, focus areas, and any specific questions to answer during onboarding.
|
|
30
|
+
- Read `ENGINEERING_RULES.md` first and `TECH.md` next when present so onboarding distinguishes the intended contract from current implementation reality.
|
|
30
31
|
|
|
31
32
|
## Skill Routing
|
|
32
33
|
|
|
33
|
-
- Primary skills: `
|
|
34
|
+
- Primary skills: `deep-research`, `system-design`
|
|
34
35
|
- Supporting skills (optional): `system-design`, `database-design`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`
|
|
35
|
-
- Start with `
|
|
36
|
+
- Start with `deep-research` for systematic exploration and `system-design` for architecture mapping. Add `system-design` for undocumented systems. Prefer repo evidence first; use external sources only when setup or dependency behavior cannot be confirmed locally.
|
|
36
37
|
|
|
37
38
|
## Workflow steps
|
|
38
39
|
|
|
@@ -55,7 +56,7 @@ Use this when joining a new project, exploring an unfamiliar codebase, or prepar
|
|
|
55
56
|
ONBOARD_WORKFLOW_RESULT:
|
|
56
57
|
primary_agent: researcher
|
|
57
58
|
supporting_agents: [code-archaeologist?, backend-specialist?, frontend-specialist?]
|
|
58
|
-
primary_skills: [
|
|
59
|
+
primary_skills: [deep-research, system-design]
|
|
59
60
|
supporting_skills: [system-design?, database-design?]
|
|
60
61
|
project_overview:
|
|
61
62
|
purpose: <string>
|
package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/orchestrate.md
CHANGED
|
@@ -20,12 +20,13 @@ Use this when a task spans multiple domains (backend + frontend, security + infr
|
|
|
20
20
|
|
|
21
21
|
- This workflow file, active platform rules, and selected agents or skills guide execution.
|
|
22
22
|
- Attach the full task description, constraints, acceptance criteria, and relevant context when starting.
|
|
23
|
+
- Read `ENGINEERING_RULES.md` and `TECH.md` before decomposing non-trivial work, then reuse any existing `docs/specs/<spec-id>/` pack as the handoff source of truth.
|
|
23
24
|
|
|
24
25
|
## Skill Routing
|
|
25
26
|
|
|
26
27
|
- Primary skills: `system-design`, `api-design`
|
|
27
|
-
- Supporting skills (optional): `database-design`, `
|
|
28
|
-
- Start with `system-design` for system design coordination and `api-design` for integration contracts. Add
|
|
28
|
+
- Supporting skills (optional): `database-design`, `deep-research`, `mcp-server-builder`, `tech-doc`, `prompt-engineering`, `skill-creator`
|
|
29
|
+
- Start with `system-design` for system design coordination and `api-design` for integration contracts. Add `deep-research` before implementation when the coordination challenge depends on fresh external facts or public comparison.
|
|
29
30
|
|
|
30
31
|
## Workflow steps
|
|
31
32
|
|
|
@@ -34,7 +35,8 @@ Use this when a task spans multiple domains (backend + frontend, security + infr
|
|
|
34
35
|
3. Delegate each task to the best specialist agent with full context.
|
|
35
36
|
4. Validate each deliverable against acceptance criteria via independent validation.
|
|
36
37
|
5. Iterate on failed validations with specific feedback (max 3 iterations).
|
|
37
|
-
6.
|
|
38
|
+
6. Surface `doc_impact` when the coordinated work changes architecture, boundaries, scale, or the design system.
|
|
39
|
+
7. Integrate outputs, verify cross-task consistency, and report results.
|
|
38
40
|
|
|
39
41
|
## Verification
|
|
40
42
|
|
|
@@ -51,6 +53,8 @@ ORCHESTRATE_WORKFLOW_RESULT:
|
|
|
51
53
|
supporting_agents: [<specialist-agents-used>]
|
|
52
54
|
primary_skills: [system-design, api-design]
|
|
53
55
|
supporting_skills: [<supporting-skills-used>]
|
|
56
|
+
spec_id: <string> | null
|
|
57
|
+
spec_root: docs/specs/<spec-id> | null
|
|
54
58
|
task_count: <number>
|
|
55
59
|
completed: <number>
|
|
56
60
|
failed: <number>
|
|
@@ -61,6 +65,7 @@ ORCHESTRATE_WORKFLOW_RESULT:
|
|
|
61
65
|
iterations: <number>
|
|
62
66
|
validation_evidence: <string>
|
|
63
67
|
integration_status: clean | conflicts_resolved | issues_remaining
|
|
68
|
+
doc_impact: none | tech | rules | both
|
|
64
69
|
remaining_risks: [<string>] | []
|
|
65
70
|
follow_up_actions: [<string>] | []
|
|
66
71
|
```
|
|
@@ -4,7 +4,6 @@ description: "Build a decision-complete implementation plan with interfaces, fai
|
|
|
4
4
|
triggers:
|
|
5
5
|
[
|
|
6
6
|
"plan",
|
|
7
|
-
"spec",
|
|
8
7
|
"design",
|
|
9
8
|
"roadmap",
|
|
10
9
|
"acceptance",
|
|
@@ -32,21 +31,24 @@ Use this when starting a new feature, project, or significant change that needs
|
|
|
32
31
|
|
|
33
32
|
- This workflow file, active platform rules, and selected agents or skills guide execution.
|
|
34
33
|
- Attach the feature request, problem statement, constraints, and any existing design documents.
|
|
34
|
+
- Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before finalizing a non-trivial plan.
|
|
35
|
+
- Reuse an existing `docs/specs/<spec-id>/` pack when the change already has one instead of creating a parallel planning track.
|
|
35
36
|
|
|
36
37
|
## Skill Routing
|
|
37
38
|
|
|
38
39
|
- Primary skills: `system-design`, `api-design`
|
|
39
|
-
- Supporting skills (optional): `database-design`, `
|
|
40
|
-
- Start with `system-design` for system design and `api-design` for API contracts. Add `database-design` when data modeling is central, `
|
|
40
|
+
- Supporting skills (optional): `database-design`, `deep-research`, `mcp-server-builder`, `tech-doc`, `prompt-engineering`, `skill-creator`
|
|
41
|
+
- Start with `system-design` for system design and `api-design` for API contracts. Add `database-design` when data modeling is central, `deep-research` when fresh external knowledge or public comparison is needed.
|
|
41
42
|
|
|
42
43
|
## Workflow steps
|
|
43
44
|
|
|
44
45
|
1. Clarify scope, success criteria, and constraints.
|
|
45
|
-
2. Research existing patterns and dependencies.
|
|
46
|
+
2. Research existing patterns and dependencies, starting in-repo and escalating to `deep-research` only when outside evidence is required.
|
|
46
47
|
3. Decompose into tasks with ownership and dependencies.
|
|
47
48
|
4. Define interfaces, contracts, and failure modes.
|
|
48
49
|
5. Produce acceptance criteria for each milestone.
|
|
49
|
-
6.
|
|
50
|
+
6. Record `architecture_impact`, `doc_impact`, and `traceability_status` when the work is non-trivial.
|
|
51
|
+
7. Identify risks, unknowns, and mitigation strategies.
|
|
50
52
|
|
|
51
53
|
## Verification
|
|
52
54
|
|
|
@@ -62,7 +64,9 @@ PLAN_WORKFLOW_RESULT:
|
|
|
62
64
|
primary_agent: project-planner
|
|
63
65
|
supporting_agents: [orchestrator?, backend-specialist?, frontend-specialist?, database-architect?]
|
|
64
66
|
primary_skills: [system-design, api-design]
|
|
65
|
-
supporting_skills: [database-design?,
|
|
67
|
+
supporting_skills: [database-design?, deep-research?, mcp-server-builder?]
|
|
68
|
+
spec_id: <string> | null
|
|
69
|
+
spec_root: docs/specs/<spec-id> | null
|
|
66
70
|
plan:
|
|
67
71
|
scope_summary: <string>
|
|
68
72
|
tasks:
|
|
@@ -74,6 +78,12 @@ PLAN_WORKFLOW_RESULT:
|
|
|
74
78
|
interfaces: [<string>]
|
|
75
79
|
risks: [<string>]
|
|
76
80
|
milestones: [<string>]
|
|
81
|
+
architecture_impact:
|
|
82
|
+
summary: <string>
|
|
83
|
+
affects_structure: true | false
|
|
84
|
+
affects_design_system: true | false
|
|
85
|
+
doc_impact: none | tech | rules | both
|
|
86
|
+
traceability_status: complete | partial | blocked
|
|
77
87
|
follow_up_items: [<string>] | []
|
|
78
88
|
```
|
|
79
89
|
|
|
@@ -20,6 +20,7 @@ Use this when improving code structure, reducing tech debt, or modularizing with
|
|
|
20
20
|
|
|
21
21
|
- This workflow file, active platform rules, and selected agents or skills guide execution.
|
|
22
22
|
- Attach the target code, pain points, and any constraints on what can change.
|
|
23
|
+
- Read `ENGINEERING_RULES.md` and `TECH.md` first so behavior-preserving structure changes do not drift from the accepted architecture contract.
|
|
23
24
|
|
|
24
25
|
## Skill Routing
|
|
25
26
|
|
|
@@ -34,6 +35,7 @@ Use this when improving code structure, reducing tech debt, or modularizing with
|
|
|
34
35
|
3. Apply one refactoring at a time with behavior preservation.
|
|
35
36
|
4. Verify behavior unchanged after each step.
|
|
36
37
|
5. Document the improved structure and any conventions established.
|
|
38
|
+
6. Set `doc_impact` when the refactor changes project structure, module boundaries, or design-system conventions.
|
|
37
39
|
|
|
38
40
|
## Verification
|
|
39
41
|
|
|
@@ -57,6 +59,7 @@ REFACTOR_WORKFLOW_RESULT:
|
|
|
57
59
|
quality_improvement:
|
|
58
60
|
complexity_before: <string>
|
|
59
61
|
complexity_after: <string>
|
|
62
|
+
doc_impact: none | tech | rules | both
|
|
60
63
|
tests_added: [<test-file-path>] | []
|
|
61
64
|
follow_up_items: [<string>] | []
|
|
62
65
|
```
|
|
@@ -20,6 +20,7 @@ Use this when preparing a release, deploying to production, or managing a rollou
|
|
|
20
20
|
|
|
21
21
|
- This workflow file, active platform rules, and selected agents or skills guide execution.
|
|
22
22
|
- Attach the release scope, version number, changelog draft, and deployment target.
|
|
23
|
+
- Read `ENGINEERING_RULES.md` and `TECH.md` before release if the shipped changes touched architecture, scaling assumptions, or design-system rules.
|
|
23
24
|
|
|
24
25
|
## Skill Routing
|
|
25
26
|
|
|
@@ -35,6 +36,7 @@ Use this when preparing a release, deploying to production, or managing a rollou
|
|
|
35
36
|
4. Execute staged rollout with health checks at each stage.
|
|
36
37
|
5. Verify production health post-deployment.
|
|
37
38
|
6. Document rollback procedure and post-release status.
|
|
39
|
+
7. Set `doc_impact` if the release includes architecture-affecting work that should refresh the managed docs.
|
|
38
40
|
|
|
39
41
|
## Verification
|
|
40
42
|
|
|
@@ -61,6 +63,7 @@ RELEASE_WORKFLOW_RESULT:
|
|
|
61
63
|
stages_completed: [<string>]
|
|
62
64
|
health_checks: [<string>]
|
|
63
65
|
rollback_plan: <string>
|
|
66
|
+
doc_impact: none | tech | rules | both
|
|
64
67
|
follow_up_items: [<string>] | []
|
|
65
68
|
```
|
|
66
69
|
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
command: "/spec"
|
|
3
|
+
description: "Create or refresh a Git-tracked spec pack for non-trivial work, including acceptance criteria, traceability, architecture impact, and next-route handoff."
|
|
4
|
+
triggers:
|
|
5
|
+
[
|
|
6
|
+
"spec",
|
|
7
|
+
"sdd",
|
|
8
|
+
"source of truth",
|
|
9
|
+
"traceability",
|
|
10
|
+
"acceptance criteria",
|
|
11
|
+
"openspec",
|
|
12
|
+
"requirements",
|
|
13
|
+
"architecture impact",
|
|
14
|
+
]
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# Spec Workflow
|
|
18
|
+
|
|
19
|
+
## When to use
|
|
20
|
+
|
|
21
|
+
Use this for non-trivial work that needs durable planning in Git before implementation: medium or large features, multi-step changes, cross-session work, migrations, risky refactors, or any request that needs explicit acceptance and traceability.
|
|
22
|
+
|
|
23
|
+
## Routing
|
|
24
|
+
|
|
25
|
+
- Primary coordinator: `the project-planner posture`
|
|
26
|
+
- Traceability and requirements support: `the researcher posture`
|
|
27
|
+
- Cross-domain coordination: `the orchestrator posture`
|
|
28
|
+
- Documentation and structure support: `the documentation-writer posture`
|
|
29
|
+
|
|
30
|
+
## Skill Routing
|
|
31
|
+
|
|
32
|
+
- Primary skills: `spec-driven-delivery`, `sadd`
|
|
33
|
+
- Supporting skills (optional): `system-design`, `architecture-doc`, `deep-research`, `api-design`, `database-design`, `tech-doc`
|
|
34
|
+
- Start with `spec-driven-delivery` for the pack structure and handoff contract. Add `sadd` when mining requirements into testable assertions, `system-design` or `architecture-doc` when the spec changes structure, and `deep-research` only when repo-local evidence is insufficient.
|
|
35
|
+
|
|
36
|
+
## Workflow steps
|
|
37
|
+
|
|
38
|
+
1. Determine whether the task is non-trivial enough to justify a spec pack.
|
|
39
|
+
2. Find an existing `docs/specs/<spec-id>/` pack or create a new stable `spec_id`.
|
|
40
|
+
3. Write or refresh the spec pack with brief, acceptance, tasks, traceability, and handoff files.
|
|
41
|
+
4. Record `architecture_impact`, `doc_impact`, and any required updates to `ENGINEERING_RULES.md` or `TECH.md`.
|
|
42
|
+
5. Identify the next execution route and hand off without replanning the same work.
|
|
43
|
+
|
|
44
|
+
## Context notes
|
|
45
|
+
|
|
46
|
+
- Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist because they define the accepted architecture contract and current state.
|
|
47
|
+
- Prefer repo evidence first; escalate to `deep-research` only when freshness, public comparison, or explicit research requests require it.
|
|
48
|
+
- Keep spec packs lean. Trivial one-step tasks should stay on the lightweight path with no new spec directory.
|
|
49
|
+
|
|
50
|
+
## Verification
|
|
51
|
+
|
|
52
|
+
- `spec_id` and `spec_root` are stable and explicit.
|
|
53
|
+
- Acceptance criteria are testable and traceable.
|
|
54
|
+
- Task dependencies form a valid execution order.
|
|
55
|
+
- `architecture_impact`, `doc_impact`, and `traceability_status` are present.
|
|
56
|
+
|
|
57
|
+
## Output Contract
|
|
58
|
+
|
|
59
|
+
```yaml
|
|
60
|
+
SPEC_WORKFLOW_RESULT:
|
|
61
|
+
primary_agent: project-planner
|
|
62
|
+
supporting_agents: [researcher?, orchestrator?, documentation-writer?]
|
|
63
|
+
primary_skills: [spec-driven-delivery, sadd]
|
|
64
|
+
supporting_skills: [system-design?, architecture-doc?, deep-research?, api-design?, database-design?, tech-doc?]
|
|
65
|
+
spec_id: <string>
|
|
66
|
+
spec_root: docs/specs/<spec-id>
|
|
67
|
+
architecture_impact:
|
|
68
|
+
summary: <string>
|
|
69
|
+
affects_structure: true | false
|
|
70
|
+
affects_design_system: true | false
|
|
71
|
+
affects_testing_strategy: true | false
|
|
72
|
+
doc_impact: none | tech | rules | both
|
|
73
|
+
traceability_status: complete | partial | blocked
|
|
74
|
+
documents:
|
|
75
|
+
created: [<path>] | []
|
|
76
|
+
updated: [<path>] | []
|
|
77
|
+
next_route: </create | /implement-track | /orchestrate | /architecture | direct>
|
|
78
|
+
gaps: [<string>] | []
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
> **Gemini note:** Commands route into workflow files under `.gemini/workflows/`. Specialists are inline postures coordinated through GEMINI.md guidance, not separate agent artifacts.
|
|
@@ -4,7 +4,7 @@ description: Backend specialist for API contracts, service logic, schema-aware b
|
|
|
4
4
|
tools: Read, Grep, Glob, Bash, Edit, Write
|
|
5
5
|
model: inherit
|
|
6
6
|
maxTurns: 25
|
|
7
|
-
skills: api-
|
|
7
|
+
skills: api-design, api-patterns, system-design, auth-architect, database-design, database-design, database-optimizer, drizzle-expert, firebase, microservices-architect, nodejs-best-practices, nestjs-expert, fastapi-expert, graphql-architect, stripe-best-practices, serverless-patterns, i18n-localization, typescript-pro, javascript-pro, python-pro, golang-pro, java-pro, csharp-pro, kotlin-pro, rust-pro, php-pro, ruby-pro
|
|
8
8
|
handoffs:
|
|
9
9
|
- agent: "test-engineer"
|
|
10
10
|
title: "Test Backend"
|
|
@@ -20,10 +20,10 @@ Build backend systems that stay correct under production pressure.
|
|
|
20
20
|
|
|
21
21
|
- Do not call `skill_search` for any skill in the pre-declared list when the task clearly falls into that domain.
|
|
22
22
|
- Load one primary skill first based on the dominant concern:
|
|
23
|
-
- `api-
|
|
23
|
+
- `api-design` for API contract shape, versioning, or endpoint design
|
|
24
24
|
- `api-patterns` for REST/RPC conventions and HTTP semantics
|
|
25
25
|
- `auth-architect` for authentication, authorization, session, RBAC, or SSO flows
|
|
26
|
-
- `database-
|
|
26
|
+
- `database-design` for schema design, query optimization, or migration planning
|
|
27
27
|
- `nestjs-expert` for NestJS-specific module, provider, or decorator patterns
|
|
28
28
|
- `fastapi-expert` for FastAPI route, dependency injection, or Pydantic model patterns
|
|
29
29
|
- `graphql-architect` for GraphQL schema, resolver, or subscription design
|
|
@@ -40,10 +40,10 @@ Load on demand. Do not preload all references.
|
|
|
40
40
|
|
|
41
41
|
| File | Load when |
|
|
42
42
|
| ------------------------- | ---------------------------------------------------------------------------- |
|
|
43
|
-
| `api-
|
|
43
|
+
| `api-design` | Designing new API contracts, versioning, or endpoint shape. |
|
|
44
44
|
| `api-patterns` | REST/RPC conventions, HTTP status codes, or pagination patterns. |
|
|
45
45
|
| `auth-architect` | Auth flows, token management, session design, or access control. |
|
|
46
|
-
| `database-
|
|
46
|
+
| `database-design` | Schema design, query optimization, or migration strategy. |
|
|
47
47
|
| `nestjs-expert` | NestJS modules, providers, guards, interceptors, or decorators. |
|
|
48
48
|
| `fastapi-expert` | FastAPI routes, middleware, Pydantic models, or async patterns. |
|
|
49
49
|
| `graphql-architect` | GraphQL schema design, resolvers, or subscription patterns. |
|
|
@@ -4,7 +4,7 @@ description: Expert database architect for schema design, query optimization, mi
|
|
|
4
4
|
tools: Read, Grep, Glob, Bash, Edit, Write
|
|
5
5
|
model: inherit
|
|
6
6
|
maxTurns: 25
|
|
7
|
-
skills:
|
|
7
|
+
skills: system-design, database-design, database-design, database-optimizer, drizzle-expert, postgres, mysql, sqlite, mongodb, redis, supabase, firebase, vitess, neki, typescript-pro, javascript-pro, python-pro, golang-pro, java-pro, php-pro, ruby-pro
|
|
8
8
|
handoffs:
|
|
9
9
|
- agent: "backend-specialist"
|
|
10
10
|
title: "Implement Schema Changes"
|
|
@@ -22,7 +22,7 @@ Design and operate data systems that stay correct, performant, and evolvable und
|
|
|
22
22
|
- Load one primary skill first based on the dominant concern:
|
|
23
23
|
- `database-design` for schema normalization, entity modeling, or relationship design
|
|
24
24
|
- `database-optimizer` for query performance, index strategy, or execution plan analysis
|
|
25
|
-
- `database-
|
|
25
|
+
- `database-design` for cross-cutting database operations and migration patterns
|
|
26
26
|
- `drizzle-expert` for Drizzle ORM schema, queries, or TypeScript-first database access
|
|
27
27
|
- `postgres` / `mysql` / `sqlite` / `mongodb` / `redis` for engine-specific patterns
|
|
28
28
|
- `supabase` / `firebase` / `vitess` / `neki` for platform-specific database behavior
|
|
@@ -37,7 +37,7 @@ Load on demand. Do not preload all references.
|
|
|
37
37
|
| -------------------- | --------------------------------------------------------------------------- |
|
|
38
38
|
| `database-design` | Schema normalization, entity relationships, or data modeling decisions. |
|
|
39
39
|
| `database-optimizer` | Query performance, index strategy, or EXPLAIN analysis. |
|
|
40
|
-
| `database-
|
|
40
|
+
| `database-design` | Cross-cutting operations, migration patterns, or general database guidance. |
|
|
41
41
|
| `drizzle-expert` | Drizzle ORM schema definitions, queries, or migrations. |
|
|
42
42
|
| `postgres` | PostgreSQL-specific features, extensions, or tuning. |
|
|
43
43
|
| `mysql` | MySQL-specific features, replication, or optimization. |
|
|
@@ -5,7 +5,7 @@ tools: Read, Grep, Glob, Bash, Write, Edit
|
|
|
5
5
|
model: inherit
|
|
6
6
|
maxTurns: 30
|
|
7
7
|
memory: project
|
|
8
|
-
skills:
|
|
8
|
+
skills: system-design, api-design, database-design, deep-research, mcp-server-builder, openai-docs, prompt-engineering, skill-creator, typescript-pro, javascript-pro, python-pro
|
|
9
9
|
handoffs:
|
|
10
10
|
- agent: "validator"
|
|
11
11
|
title: "Validate Results"
|
|
@@ -31,8 +31,8 @@ Your only permitted actions:
|
|
|
31
31
|
|
|
32
32
|
## Skill Loading Contract
|
|
33
33
|
|
|
34
|
-
- Do not call `skill_search` for `
|
|
35
|
-
- Use `
|
|
34
|
+
- Do not call `skill_search` for `system-design`, `api-design`, `database-design`, `deep-research`, `mcp-server-builder`, `openai-docs`, `prompt-engineering`, or `skill-creator` when the task is clearly multi-stream coordination, planning, architecture design, contract design, research, or skill package work.
|
|
35
|
+
- Use `system-design` when the coordination problem is really a design tradeoff problem, `api-design` when integration contracts are the coordination bottleneck, `database-design` when the shared dependency is a data-model or migration concern, `deep-research` when the coordination risk is stale or conflicting external information, `mcp-server-builder` for MCP-specific streams, `openai-docs` for OpenAI-doc verification streams, `prompt-engineering` for instruction-quality streams, and `skill-creator` when the coordinated changes are in skills, mirrors, routing, or packaging.
|
|
36
36
|
- Prefer platform-native delegation features when available, but keep the orchestration contract stable even when execution stays in a single track.
|
|
37
37
|
- Use `skill_validate` before `skill_get`, and use `skill_get_reference` only for the specific sidecar file needed by the current coordination step.
|
|
38
38
|
|
|
@@ -42,13 +42,13 @@ Load on demand. Do not preload all references.
|
|
|
42
42
|
|
|
43
43
|
| File | Load when |
|
|
44
44
|
| ----------------------- | --------------------------------------------------------------------------------------------------------- |
|
|
45
|
-
| `
|
|
46
|
-
| `api-
|
|
47
|
-
| `database-
|
|
45
|
+
| `system-design` | Coordination depends on resolving system design or interface tradeoffs first. |
|
|
46
|
+
| `api-design` | The critical shared dependency is an API contract or integration boundary. |
|
|
47
|
+
| `database-design` | The coordination risk centers on schema, migration, data ownership, or engine choice. |
|
|
48
48
|
| `deep-research` | External sources, latest information, or public-repo comparisons are blocking confident execution. |
|
|
49
|
-
| `mcp-builder` | One stream is MCP server design, tool shape, or transport selection. |
|
|
49
|
+
| `mcp-server-builder` | One stream is MCP server design, tool shape, or transport selection. |
|
|
50
50
|
| `openai-docs` | One stream needs current OpenAI docs or version-specific behavior verification. |
|
|
51
|
-
| `prompt-
|
|
51
|
+
| `prompt-engineering` | One stream is repairing prompts, agent rules, or instruction quality. |
|
|
52
52
|
| `skill-creator` | The coordinated work includes creating, repairing, or adapting skill packages across generated platforms. |
|
|
53
53
|
|
|
54
54
|
## When to Use
|
|
@@ -158,7 +158,8 @@ ANTI-LAZINESS:
|
|
|
158
158
|
5. **Iterate, don't accept mediocrity** — if output is incomplete or wrong, re-delegate with feedback.
|
|
159
159
|
6. **Track progress visibly** — maintain a task list showing status of each work item.
|
|
160
160
|
7. **Fail fast on blockers** — if a dependency is missing or a task is stuck after 3 iterations, escalate.
|
|
161
|
-
8. **
|
|
161
|
+
8. **Route research explicitly** — when freshness or public comparison matters, delegate to `@researcher` or load `deep-research` before implementation.
|
|
162
|
+
9. **Synthesize at the end** — combine outputs with concrete actions, risks, and verification evidence.
|
|
162
163
|
|
|
163
164
|
## Anti-Patterns to Prevent
|
|
164
165
|
|
|
@@ -22,7 +22,7 @@ triggers:
|
|
|
22
22
|
tools: Read, Grep, Glob, Bash
|
|
23
23
|
model: inherit
|
|
24
24
|
maxTurns: 25
|
|
25
|
-
skills: security-engineer, vulnerability-scanner, auth-architect, api-
|
|
25
|
+
skills: security-engineer, vulnerability-scanner, auth-architect, api-design, typescript-pro, javascript-pro, python-pro, golang-pro, rust-pro
|
|
26
26
|
handoffs:
|
|
27
27
|
- agent: "security-auditor"
|
|
28
28
|
title: "Review Findings"
|
|
@@ -39,7 +39,7 @@ Map attack surfaces, validate exploitability, and provide actionable remediation
|
|
|
39
39
|
- `security-engineer` for OWASP methodology, threat modeling, and secure architecture review
|
|
40
40
|
- `vulnerability-scanner` for dependency scanning, SAST/DAST tooling, and CVE assessment
|
|
41
41
|
- `auth-architect` for authentication bypass, privilege escalation, or session hijacking analysis
|
|
42
|
-
- `api-
|
|
42
|
+
- `api-design` for API security review, input validation gaps, or rate limiting assessment
|
|
43
43
|
- Use `skill_validate` before `skill_get`, and use `skill_get_reference` only for the specific sidecar file needed.
|
|
44
44
|
|
|
45
45
|
## Skill References
|
|
@@ -49,7 +49,7 @@ Map attack surfaces, validate exploitability, and provide actionable remediation
|
|
|
49
49
|
| `security-engineer` | OWASP methodology, threat modeling, or secure architecture review. |
|
|
50
50
|
| `vulnerability-scanner` | Dependency scanning, SAST/DAST analysis, or CVE assessment. |
|
|
51
51
|
| `auth-architect` | Auth bypass, privilege escalation, or session hijacking analysis. |
|
|
52
|
-
| `api-
|
|
52
|
+
| `api-design` | API security gaps, input validation, or rate limiting review. |
|
|
53
53
|
|
|
54
54
|
## Operating Stance
|
|
55
55
|
|