@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/antigravity/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
|
|
package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/refactor.md
CHANGED
|
@@ -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
|
```
|
package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/release.md
CHANGED
|
@@ -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: `.agent/agents/project-planner`
|
|
26
|
+
- Traceability and requirements support: `.agent/agents/researcher`
|
|
27
|
+
- Cross-domain coordination: `.agent/agents/orchestrator`
|
|
28
|
+
- Documentation and structure support: `.agent/agents/documentation-writer`
|
|
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
|
+
> **Antigravity note:** Use Agent Manager for parallel agent coordination. Workflow files are stored under `.agent/workflows/`.
|
|
@@ -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: system-design, api-design, database-design,
|
|
8
|
+
skills: system-design, api-design, database-design, deep-research, mcp-server-builder, tech-doc, prompt-engineering, skill-creator, typescript-best-practices, javascript-best-practices, python-best-practices
|
|
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 `system-design`, `api-design`, `database-design`, `
|
|
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, `
|
|
34
|
+
- Do not call `skill_search` for `system-design`, `api-design`, `database-design`, `deep-research`, `mcp-server-builder`, `tech-doc`, `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, `tech-doc` 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
|
|
|
@@ -45,7 +45,7 @@ Load on demand. Do not preload all references.
|
|
|
45
45
|
| `system-design` | Coordination depends on resolving system design or interface tradeoffs first. |
|
|
46
46
|
| `api-design` | The critical shared dependency is an API contract or integration boundary. |
|
|
47
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
49
|
| `mcp-server-builder` | One stream is MCP server design, tool shape, or transport selection. |
|
|
50
50
|
| `tech-doc` | One stream needs current OpenAI docs or version-specific behavior verification. |
|
|
51
51
|
| `prompt-engineering` | One stream is repairing prompts, agent rules, or instruction quality. |
|
|
@@ -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
|
|
package/workflows/workflows/agent-environment-setup/platforms/claude/agents/project-planner.md
CHANGED
|
@@ -5,7 +5,7 @@ tools: Read, Grep, Glob, Bash, Edit, Write
|
|
|
5
5
|
model: inherit
|
|
6
6
|
maxTurns: 30
|
|
7
7
|
memory: project
|
|
8
|
-
skills: system-design, api-design, database-design,
|
|
8
|
+
skills: system-design, api-design, database-design, deep-research, mcp-server-builder, tech-doc, prompt-engineering, skill-creator, typescript-best-practices, javascript-best-practices, python-best-practices
|
|
9
9
|
handoffs:
|
|
10
10
|
- agent: "orchestrator"
|
|
11
11
|
title: "Start Implementation"
|
|
@@ -24,7 +24,7 @@ Decompose complex requests into implementable plans with clear ownership, depend
|
|
|
24
24
|
- Load `system-design` for system design tradeoffs in the plan.
|
|
25
25
|
- Load `api-design` when the plan involves API contract decisions.
|
|
26
26
|
- Load `database-design` when the plan involves data modeling or migration.
|
|
27
|
-
- Load `
|
|
27
|
+
- Load `deep-research` when planning requires fresh external information, public comparison, or evidence beyond the repo.
|
|
28
28
|
- Use `skill_validate` before `skill_get`, and use `skill_get_reference` only for the specific sidecar file needed.
|
|
29
29
|
|
|
30
30
|
## Skill References
|
|
@@ -34,7 +34,7 @@ Decompose complex requests into implementable plans with clear ownership, depend
|
|
|
34
34
|
| `system-design` | Plan involves system design tradeoffs or component boundaries. |
|
|
35
35
|
| `api-design` | Plan involves API contract decisions or integration points. |
|
|
36
36
|
| `database-design` | Plan involves data modeling, schema design, or migration strategy. |
|
|
37
|
-
| `
|
|
37
|
+
| `deep-research` | Planning requires external research or approach comparison. |
|
|
38
38
|
| `mcp-server-builder` | Plan involves MCP server or tool implementation. |
|
|
39
39
|
| `skill-creator` | Plan involves skill package creation or modification. |
|
|
40
40
|
|
|
@@ -45,6 +45,7 @@ Decompose complex requests into implementable plans with clear ownership, depend
|
|
|
45
45
|
- Every task needs an owner (agent), acceptance criteria, and verification approach.
|
|
46
46
|
- Plan for rollback — every change should be reversible.
|
|
47
47
|
- Front-load risk — tackle the hardest technical uncertainty first.
|
|
48
|
+
- When outside evidence is needed, send research through `deep-research` first instead of mixing web browsing into every implementation stream.
|
|
48
49
|
|
|
49
50
|
## Planning Methodology
|
|
50
51
|
|
|
@@ -18,7 +18,7 @@ tools: Read, Grep, Glob, Bash
|
|
|
18
18
|
model: inherit
|
|
19
19
|
maxTurns: 30
|
|
20
20
|
memory: project
|
|
21
|
-
skills:
|
|
21
|
+
skills: deep-research, system-design, database-design, tech-doc, prompt-engineering
|
|
22
22
|
handoffs:
|
|
23
23
|
- agent: "project-planner"
|
|
24
24
|
title: "Plan Implementation"
|
|
@@ -30,8 +30,8 @@ Investigate thoroughly, synthesize findings, and deliver structured knowledge be
|
|
|
30
30
|
|
|
31
31
|
## Skill Loading Contract
|
|
32
32
|
|
|
33
|
-
- Do not call `skill_search` for `
|
|
34
|
-
- Load `
|
|
33
|
+
- Do not call `skill_search` for `deep-research`, `system-design`, `database-design`, `tech-doc`, or `prompt-engineering` when the task is clearly research work.
|
|
34
|
+
- Load `deep-research` first for all research tasks — it defines the source ladder, evidence labeling, and research output contract.
|
|
35
35
|
- Add `system-design` when research involves system design patterns or tradeoffs.
|
|
36
36
|
- Add `database-design` when research involves data storage options or migration approaches.
|
|
37
37
|
- Add `tech-doc` when research involves OpenAI API or model behavior verification.
|
|
@@ -42,7 +42,7 @@ Investigate thoroughly, synthesize findings, and deliver structured knowledge be
|
|
|
42
42
|
|
|
43
43
|
| File | Load when |
|
|
44
44
|
| ----------------------- | --------------------------------------------------------------------- |
|
|
45
|
-
| `
|
|
45
|
+
| `deep-research` | All research tasks — defines the core research methodology. |
|
|
46
46
|
| `system-design` | Research involves system design patterns or architectural tradeoffs. |
|
|
47
47
|
| `database-design` | Research involves data storage, database comparison, or migration. |
|
|
48
48
|
| `tech-doc` | Research involves OpenAI API, model behavior, or version differences. |
|
|
@@ -51,6 +51,9 @@ Investigate thoroughly, synthesize findings, and deliver structured knowledge be
|
|
|
51
51
|
## Operating Stance
|
|
52
52
|
|
|
53
53
|
- Breadth first, then depth — survey the landscape before drilling into specifics.
|
|
54
|
+
- Repo first, then web — inspect local code, configs, and docs before using external sources.
|
|
55
|
+
- Official docs first — use vendor or maintainer documentation as primary evidence.
|
|
56
|
+
- Community evidence is secondary — Reddit, blog posts, and forum threads can inform implementation, but label them as lower-trust support.
|
|
54
57
|
- Cite sources — every finding should be traceable to evidence.
|
|
55
58
|
- Distinguish fact from inference — clearly label assumptions.
|
|
56
59
|
- Produce actionable findings — research without recommendations is incomplete.
|
|
@@ -72,3 +75,4 @@ Investigate thoroughly, synthesize findings, and deliver structured knowledge be
|
|
|
72
75
|
- Clear distinction between verified facts and educated guesses.
|
|
73
76
|
- Actionable recommendations with tradeoff analysis.
|
|
74
77
|
- Remaining knowledge gaps identified.
|
|
78
|
+
- Output order: verified facts, secondary/community evidence, gaps, recommended next route.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Claude Route/Research Hook Templates
|
|
2
|
+
|
|
3
|
+
These files are generated by Cubis Foundry as optional Claude Code hook templates.
|
|
4
|
+
|
|
5
|
+
Use them when you want Claude to reinforce two behaviors on `UserPromptSubmit`:
|
|
6
|
+
|
|
7
|
+
- honor explicit `/workflow`, `@agent`, or exact skill selections before rerouting
|
|
8
|
+
- escalate to repo-first, official-first research when freshness or public comparison matters
|
|
9
|
+
|
|
10
|
+
Files:
|
|
11
|
+
|
|
12
|
+
- `settings.snippet.json` — example hook configuration to copy into `.claude/settings.json` or `.claude/settings.local.json`
|
|
13
|
+
- `route-research-guard.mjs` — hook script that reads the submitted prompt and emits a targeted `systemMessage` reminder
|
|
14
|
+
|
|
15
|
+
The template is intentionally non-destructive. It does not block prompts by default; it adds context for Claude before prompt processing.
|
package/workflows/workflows/agent-environment-setup/platforms/claude/hooks/route-research-guard.mjs
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const buffers = [];
|
|
4
|
+
for await (const chunk of process.stdin) buffers.push(chunk);
|
|
5
|
+
const raw = Buffer.concat(buffers).toString("utf8");
|
|
6
|
+
let prompt = "";
|
|
7
|
+
try {
|
|
8
|
+
const parsed = JSON.parse(raw || "{}");
|
|
9
|
+
prompt = String(parsed.prompt || parsed.userPrompt || parsed.message || "");
|
|
10
|
+
} catch {
|
|
11
|
+
prompt = "";
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const normalized = prompt.toLowerCase();
|
|
15
|
+
const reminders = [];
|
|
16
|
+
|
|
17
|
+
if (/(^|\s)(\/[-a-z0-9]+|@[a-z0-9_-]+)/i.test(prompt)) {
|
|
18
|
+
reminders.push(
|
|
19
|
+
"Explicit route detected. Honor the named workflow or agent directly unless it is invalid."
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
if (/(^|[^a-z0-9-])(deep-research|stitch|skill-creator|frontend-design|api-design|database-design)([^a-z0-9-]|$)/i.test(normalized)) {
|
|
24
|
+
reminders.push(
|
|
25
|
+
"Named skill detected. Run skill_validate on the exact skill ID first and skip route_resolve when it validates."
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if (/(research|latest|compare|comparison|verify|official docs|reddit|community)/i.test(normalized)) {
|
|
30
|
+
reminders.push(
|
|
31
|
+
"Research trigger detected. Inspect the repo first, use official docs as primary evidence, and treat Reddit/community sources as labeled secondary evidence."
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const payload = reminders.length > 0
|
|
36
|
+
? { continue: true, systemMessage: reminders.join(" ") }
|
|
37
|
+
: { continue: true };
|
|
38
|
+
|
|
39
|
+
process.stdout.write(JSON.stringify(payload));
|
|
@@ -27,6 +27,7 @@ If any check fails, restart your reasoning.
|
|
|
27
27
|
| Workflows | `.claude/workflows` |
|
|
28
28
|
| Agents | `.claude/agents` |
|
|
29
29
|
| Skills | `.claude/skills` |
|
|
30
|
+
| Hook templates | `.claude/hooks` |
|
|
30
31
|
| Scoped rules | `.claude/rules/*.md` |
|
|
31
32
|
| Project rules | `CLAUDE.md` |
|
|
32
33
|
| Global rules | `~/.claude/CLAUDE.md` |
|
|
@@ -43,7 +44,7 @@ Execute this tree top-to-bottom. Stop at the **first match**. Never skip levels.
|
|
|
43
44
|
├─ [TRIVIAL] Single-step, obvious, reversible?
|
|
44
45
|
│ → Execute directly. No routing. Stop.
|
|
45
46
|
│
|
|
46
|
-
├─ [EXPLICIT] User named a workflow, command, or
|
|
47
|
+
├─ [EXPLICIT] User named a workflow, command, @agent, or exact skill?
|
|
47
48
|
│ → Honor that route exactly. Stop.
|
|
48
49
|
│
|
|
49
50
|
├─ [SINGLE-DOMAIN] Multi-step but contained in one specialty?
|
|
@@ -63,6 +64,7 @@ Execute this tree top-to-bottom. Stop at the **first match**. Never skip levels.
|
|
|
63
64
|
**Hard rules:**
|
|
64
65
|
|
|
65
66
|
- Never pre-load skills before route resolution.
|
|
67
|
+
- If the user names an exact skill ID, run `skill_validate` on that ID before `route_resolve`.
|
|
66
68
|
- Never delegate to a subagent when direct execution suffices.
|
|
67
69
|
- Never chain more than one `skill_search` per request.
|
|
68
70
|
- Treat this file as **durable project memory** — not a per-task playbook.
|
|
@@ -284,6 +286,7 @@ ORCHESTRATE(task):
|
|
|
284
286
|
- Path-scoped rules: `.claude/rules/*.md` with `paths:` frontmatter for targeted guidance.
|
|
285
287
|
- Global rules (`~/.claude/CLAUDE.md`) apply to all projects — keep them broad.
|
|
286
288
|
- Skills with `context: fork` run as isolated subagents. `$ARGUMENTS` enables dynamic parameterization.
|
|
289
|
+
- Optional hook templates in `.claude/hooks/` can reinforce explicit-route honoring and research escalation at `UserPromptSubmit`.
|
|
287
290
|
|
|
288
291
|
---
|
|
289
292
|
|
|
@@ -367,6 +370,7 @@ Use this matrix to match incoming tasks to the correct skill and primary agent.
|
|
|
367
370
|
| docker-compose-dev | DevOps | Docker Compose local dev environments | @devops-engineer |
|
|
368
371
|
| kubernetes-deploy | DevOps | K8s manifests, Helm charts, deployment | @devops-engineer |
|
|
369
372
|
| observability | DevOps | Logging, metrics, tracing, alerting | @devops-engineer |
|
|
373
|
+
| deep-research | Research | Latest docs, public comparisons, external verification | @researcher |
|
|
370
374
|
| llm-eval | AI/ML | LLM evaluation, benchmarking, evals | @researcher |
|
|
371
375
|
| rag-patterns | AI/ML | RAG architecture, embeddings, retrieval | @researcher |
|
|
372
376
|
| prompt-engineering | AI/ML | Prompt design, few-shot, chain-of-thought | @researcher |
|
|
@@ -414,12 +418,17 @@ Selection policy:
|
|
|
414
418
|
Keep MCP context lazy and exact. Skills are supporting context, not the route layer.
|
|
415
419
|
|
|
416
420
|
1. Never begin with `skill_search`. Inspect the repo/task locally first.
|
|
417
|
-
2.
|
|
418
|
-
3.
|
|
419
|
-
4.
|
|
420
|
-
5.
|
|
421
|
-
6.
|
|
422
|
-
7.
|
|
423
|
-
8.
|
|
421
|
+
2. If the user already named `/workflow`, `@agent`, or an exact skill ID, honor it directly. For exact skills, run `skill_validate` first and skip `route_resolve` when valid.
|
|
422
|
+
3. Resolve only free-text workflow/agent intent with `route_resolve` before loading non-explicit skills.
|
|
423
|
+
4. If the route is still unresolved and local grounding leaves the domain unclear, use one narrow `skill_search`.
|
|
424
|
+
5. Always run `skill_validate` on the exact selected ID before `skill_get`.
|
|
425
|
+
6. Call `skill_get` with `includeReferences:false` by default.
|
|
426
|
+
7. Load at most one sidecar markdown file at a time with `skill_get_reference`.
|
|
427
|
+
8. Do not auto-prime every specialist with a skill. Load only what the task clearly needs.
|
|
428
|
+
9. For research: repo/local evidence first, official docs next, Reddit/community only as labeled secondary evidence.
|
|
429
|
+
10. Escalate to research only when freshness matters, public comparison matters, or the user explicitly asks to research/verify.
|
|
430
|
+
11. For non-trivial work, read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist.
|
|
431
|
+
12. If those docs declare architecture or design-system rules, follow them unless the current spec or task explicitly changes them.
|
|
432
|
+
13. Use upstream MCP servers such as `postman`, `stitch`, or `playwright` for real cloud/browser actions when available.
|
|
424
433
|
|
|
425
434
|
<!-- cbx:mcp:auto:end -->
|
package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/SKILL.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deep-research
|
|
3
|
+
description: Use when investigating latest vendor behavior, comparing tools or platforms, verifying claims beyond the repo, or gathering external evidence before implementation.
|
|
4
|
+
allowed-tools: Read Grep Glob Bash
|
|
5
|
+
context: fork
|
|
6
|
+
agent: researcher
|
|
7
|
+
user-invocable: true
|
|
8
|
+
argument-hint: "Topic, vendor capability, or public comparison to research"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Deep Research
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
|
|
15
|
+
Run a disciplined research pass before implementation when the repo alone is not enough. This skill keeps research evidence-driven: inspect the local codebase first, escalate to official docs when freshness or public comparison matters, then use labeled community evidence only when it adds practical context.
|
|
16
|
+
|
|
17
|
+
## When to Use
|
|
18
|
+
|
|
19
|
+
- Verifying latest SDK, CLI, API, or platform behavior
|
|
20
|
+
- Comparing tools, frameworks, hosted services, or implementation approaches
|
|
21
|
+
- Checking whether public docs and the local repo disagree
|
|
22
|
+
- Gathering external evidence before planning a migration or new capability
|
|
23
|
+
- Producing a structured research brief that hands off cleanly into implementation
|
|
24
|
+
|
|
25
|
+
## Instructions
|
|
26
|
+
|
|
27
|
+
1. **Define the research question before collecting sources** because vague research sprawls quickly. Restate the target topic, freshness requirement, comparison axis, and what decision the findings need to support.
|
|
28
|
+
|
|
29
|
+
2. **Inspect the repo first** because many questions are already answerable from local code, configs, tests, docs, or generated assets. Do not browse externally until the local evidence is exhausted or clearly insufficient.
|
|
30
|
+
|
|
31
|
+
3. **Decide whether external research is actually required** because not every task needs web evidence. Escalate only when freshness matters, public comparison matters, or the user explicitly asks to research or verify.
|
|
32
|
+
|
|
33
|
+
4. **Follow the source ladder strictly** because evidence quality matters. Use official docs, upstream repositories, standards, and maintainer material as primary sources before looking at blogs, issue threads, or Reddit.
|
|
34
|
+
|
|
35
|
+
5. **Capture concrete source details** because research without provenance is hard to trust. Record exact links, relevant dates, versions, and any repo files that support or contradict the external evidence.
|
|
36
|
+
|
|
37
|
+
6. **Cross-check important claims across more than one source when possible** because public docs, repos, and community advice can drift. If sources disagree, say so explicitly instead of smoothing over the conflict.
|
|
38
|
+
|
|
39
|
+
7. **Use Reddit and other community sources only as labeled secondary evidence** because they can surface practical gotchas but are not authoritative. Treat them as implementation color, not final truth.
|
|
40
|
+
|
|
41
|
+
8. **Separate verified facts from inference** because downstream planning depends on confidence. Mark what is directly supported by repo evidence or official sources versus what you infer from patterns or secondary signals.
|
|
42
|
+
|
|
43
|
+
9. **Keep the output decision-oriented** because the goal is not to dump links. Tie each finding back to the implementation, workflow, agent, or skill decision it affects.
|
|
44
|
+
|
|
45
|
+
10. **Recommend the next route explicitly** because research is usually a handoff, not the end of the task. Name the next workflow, agent, or exact skill that should continue the work.
|
|
46
|
+
|
|
47
|
+
11. **State the remaining gaps and risks** because incomplete research is still useful when the uncertainty is visible. Call out what you could not verify, what may have changed recently, and what assumptions remain.
|
|
48
|
+
|
|
49
|
+
12. **Avoid over-quoting and over-collecting** because research quality comes from synthesis, not volume. Prefer concise summaries with high-signal citations over long pasted excerpts.
|
|
50
|
+
|
|
51
|
+
13. **When the task turns into implementation, stop researching and hand off** because mixing discovery and execution usually creates drift. Deliver the research brief first, then route into the correct workflow or specialist.
|
|
52
|
+
|
|
53
|
+
## Output Format
|
|
54
|
+
|
|
55
|
+
Deliver:
|
|
56
|
+
|
|
57
|
+
1. **Research question** — topic, freshness requirement, and decision to support
|
|
58
|
+
2. **Verified facts** — repo evidence and primary-source findings
|
|
59
|
+
3. **Secondary/community evidence** — labeled lower-trust supporting signals
|
|
60
|
+
4. **Gaps / unknowns** — unresolved questions or contradictory evidence
|
|
61
|
+
5. **Recommended next route** — direct execution, workflow, agent, or exact skill to use next
|
|
62
|
+
|
|
63
|
+
## References
|
|
64
|
+
|
|
65
|
+
Load only the file needed for the current question.
|
|
66
|
+
|
|
67
|
+
| File | Load when |
|
|
68
|
+
| --- | --- |
|
|
69
|
+
| `references/source-ladder.md` | Need the repo-first and source-priority policy for official docs versus community evidence. |
|
|
70
|
+
| `references/research-output.md` | Need the structured output format, evidence labeling rules, or handoff pattern. |
|
|
71
|
+
| `references/comparison-checklist.md` | Comparing vendors, frameworks, or tools and need a concrete evaluation frame. |
|
|
72
|
+
|
|
73
|
+
## Examples
|
|
74
|
+
|
|
75
|
+
Use these when the task shape already matches.
|
|
76
|
+
|
|
77
|
+
| File | Use when |
|
|
78
|
+
| --- | --- |
|
|
79
|
+
| `examples/01-latest-docs-check.md` | Verifying a latest capability or doc claim before implementation. |
|
|
80
|
+
| `examples/02-ecosystem-comparison.md` | Comparing multiple tools or platforms with official-first sourcing. |
|
|
81
|
+
| `examples/03-research-to-implementation-handoff.md` | Turning research findings into a concrete next workflow or specialist handoff. |
|
|
82
|
+
|
|
83
|
+
## Claude Research Flow
|
|
84
|
+
|
|
85
|
+
- Use `$ARGUMENTS` as the research topic when this skill is invoked directly.
|
|
86
|
+
- Prefer official docs, upstream repos, and maintainer material before blog posts or Reddit threads.
|
|
87
|
+
- If Claude hook templates are installed, let them reinforce repo-first inspection and research escalation, but keep the final research output aligned with this skill's evidence contract.
|
|
88
|
+
|
|
89
|
+
## Claude Platform Notes
|
|
90
|
+
|
|
91
|
+
- Use `$ARGUMENTS` to access user-provided arguments passed when the skill is invoked.
|
|
92
|
+
- Reference skill-local files with `${CLAUDE_SKILL_DIR}/references/<file>` for portable paths.
|
|
93
|
+
- When `context: fork` is set, the skill runs in an isolated subagent context; the `agent` field names the fork target.
|
|
94
|
+
- MCP skill tools (`skill_search`, `skill_get`, `skill_validate`, `skill_get_reference`) are available for dynamic skill discovery and loading.
|
|
95
|
+
- Use `allowed-tools` in frontmatter to restrict tool access for security-sensitive skills.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Deep Research Eval Assertions
|
|
2
|
+
|
|
3
|
+
## Eval 1: Latest Capability Verification
|
|
4
|
+
|
|
5
|
+
1. **repo-first** — Starts by checking repo or local evidence before jumping to web claims.
|
|
6
|
+
2. **official-first** — Uses official docs or upstream sources as the primary evidence for the capability.
|
|
7
|
+
3. **secondary-labeled** — If community sources are mentioned, labels them as secondary evidence instead of presenting them as authoritative.
|
|
8
|
+
4. **gaps-called-out** — Identifies unresolved uncertainty or missing confirmation.
|
|
9
|
+
5. **next-route** — Ends with a concrete recommended workflow, agent, or skill to use next.
|
|
10
|
+
|
|
11
|
+
## Eval 2: Tool Comparison
|
|
12
|
+
|
|
13
|
+
1. **comparison-frame** — Defines the comparison axes instead of producing vague preferences.
|
|
14
|
+
2. **repo-impact** — Connects the comparison back to the current repo or implementation constraints.
|
|
15
|
+
3. **fact-vs-inference** — Separates verified facts from inference or interpretation.
|
|
16
|
+
4. **decision-oriented** — Produces a recommendation or explicit defer condition.
|
|
17
|
+
5. **no-research-sprawl** — Keeps the output concise and structured rather than dumping raw links.
|