@cubis/foundry 0.3.77 → 0.3.79
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 +1355 -46
- package/dist/cli/core.js.map +1 -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 +1689 -75
- package/workflows/skills/generated/skill-audit.json +11 -2
- package/workflows/skills/generated/skill-catalog.json +38 -4
- package/workflows/skills/skills_index.json +34 -0
- package/workflows/skills/spec-driven-delivery/SKILL.md +63 -0
- package/workflows/workflows/agent-environment-setup/generated/route-manifest.json +117 -4
- package/workflows/workflows/agent-environment-setup/manifest.json +21 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/accessibility.toml +10 -5
- 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 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/create.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/database.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/debug.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/devops.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/implement-track.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/migrate.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/mobile.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/onboard.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/orchestrate.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/plan.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/refactor.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/release.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/review.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/security.toml +10 -5
- 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 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/vercel.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/rules/GEMINI.md +3 -1
- 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 +87 -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 +1 -0
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/orchestrate.md +6 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/plan.md +12 -2
- 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/rules/CLAUDE.md +3 -1
- package/workflows/workflows/agent-environment-setup/platforms/claude/skills/skills_index.json +34 -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 +85 -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 +1 -0
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/orchestrate.md +6 -1
- package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/plan.md +12 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +3 -1
- 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 +87 -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 +2 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/orchestrate.md +7 -2
- package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/plan.md +13 -3
- 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/prompts/workflow-accessibility.prompt.md +9 -4
- 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 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-create.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-database.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-debug.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-devops.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-implement-track.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-migrate.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-mobile.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-onboard.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-orchestrate.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-plan.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-refactor.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-release.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-review.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-security.prompt.md +9 -4
- 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 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-vercel.prompt.md +9 -4
- package/workflows/workflows/agent-environment-setup/platforms/copilot/rules/copilot-instructions.md +3 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/skills_index.json +34 -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 +85 -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 +1 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/orchestrate.md +6 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/plan.md +12 -2
- 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 -5
- 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 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/create.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/database.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/debug.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/devops.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/implement-track.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/migrate.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/mobile.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/onboard.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/orchestrate.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/plan.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/refactor.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/release.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/review.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/security.toml +10 -5
- 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 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/vercel.toml +10 -5
- package/workflows/workflows/agent-environment-setup/platforms/gemini/rules/GEMINI.md +3 -1
- 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 +87 -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 +1 -0
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/orchestrate.md +6 -1
- package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/plan.md +12 -2
- 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 +8 -8
- 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 +8 -8
- package/workflows/workflows/agent-environment-setup/shared/agents/researcher.md +8 -8
- package/workflows/workflows/agent-environment-setup/shared/agents/security-auditor.md +2 -2
- package/workflows/workflows/agent-environment-setup/shared/rules/STEERING.md +13 -0
- package/workflows/workflows/agent-environment-setup/shared/rules/overrides/codex.md +3 -3
- package/workflows/workflows/agent-environment-setup/shared/workflows/architecture.md +85 -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 +17 -7
- 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
|
@@ -20,12 +20,14 @@ 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
|
|
|
26
|
-
- Primary skills: `
|
|
27
|
-
- Supporting skills (optional): `database-
|
|
28
|
-
- Start with `
|
|
28
|
+
- Primary skills: `system-design`, `api-design`
|
|
29
|
+
- Supporting skills (optional): `database-design`, `typescript-pro`, `javascript-pro`, `python-pro`, `golang-pro`, `react-expert`, `nextjs-developer`
|
|
30
|
+
- Start with `system-design` for milestone planning. Load domain-specific skills per milestone based on implementation needs.
|
|
29
31
|
|
|
30
32
|
## Workflow steps
|
|
31
33
|
|
|
@@ -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
|
|
@@ -49,8 +51,8 @@ Use this for large-scale implementation work that spans multiple sessions or mil
|
|
|
49
51
|
IMPLEMENT_TRACK_WORKFLOW_RESULT:
|
|
50
52
|
primary_agent: orchestrator
|
|
51
53
|
supporting_agents: [<milestone-agents>]
|
|
52
|
-
primary_skills: [
|
|
53
|
-
supporting_skills: [database-
|
|
54
|
+
primary_skills: [system-design, api-design]
|
|
55
|
+
supporting_skills: [database-design?, typescript-pro?, javascript-pro?, python-pro?, golang-pro?, react-expert?, nextjs-developer?]
|
|
54
56
|
milestones:
|
|
55
57
|
- id: <milestone-id>
|
|
56
58
|
description: <string>
|
|
@@ -59,5 +61,9 @@ IMPLEMENT_TRACK_WORKFLOW_RESULT:
|
|
|
59
61
|
validation_evidence: <string>
|
|
60
62
|
overall_progress: <percentage>
|
|
61
63
|
scope_changes: [<string>] | []
|
|
64
|
+
spec_id: <string> | null
|
|
65
|
+
spec_root: docs/specs/<spec-id> | null
|
|
66
|
+
traceability_status: complete | partial | blocked
|
|
67
|
+
doc_impact: none | tech | rules | both
|
|
62
68
|
follow_up_items: [<string>] | []
|
|
63
69
|
```
|
|
@@ -28,12 +28,13 @@ 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
|
|
|
34
|
-
- Primary skills: `legacy-modernizer`, `
|
|
35
|
+
- Primary skills: `legacy-modernizer`, `system-design`
|
|
35
36
|
- Supporting skills (optional): `static-analysis`, `testing-patterns`, `typescript-pro`, `javascript-pro`, `python-pro`, `golang-pro`
|
|
36
|
-
- Start with `legacy-modernizer` for migration methodology and `
|
|
37
|
+
- Start with `legacy-modernizer` for migration methodology and `system-design` for system impact. Add `static-analysis` for automated codemod or compatibility analysis.
|
|
37
38
|
|
|
38
39
|
## Workflow steps
|
|
39
40
|
|
|
@@ -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
|
|
|
@@ -58,7 +60,7 @@ Use this for technology migrations, framework upgrades, dependency updates, or m
|
|
|
58
60
|
MIGRATE_WORKFLOW_RESULT:
|
|
59
61
|
primary_agent: code-archaeologist
|
|
60
62
|
supporting_agents: [backend-specialist?, frontend-specialist?, test-engineer?, validator?]
|
|
61
|
-
primary_skills: [legacy-modernizer,
|
|
63
|
+
primary_skills: [legacy-modernizer, system-design]
|
|
62
64
|
supporting_skills: [static-analysis?, testing-patterns?]
|
|
63
65
|
migration:
|
|
64
66
|
from: <string>
|
|
@@ -69,5 +71,6 @@ MIGRATE_WORKFLOW_RESULT:
|
|
|
69
71
|
verification:
|
|
70
72
|
tests_passed: true | false
|
|
71
73
|
performance_impact: <string>
|
|
74
|
+
doc_impact: none | tech | rules | both
|
|
72
75
|
follow_up_items: [<string>] | []
|
|
73
76
|
```
|
|
@@ -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,5 +64,6 @@ 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
|
```
|
|
@@ -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: `deep-research`, `
|
|
34
|
-
- Supporting skills (optional): `legacy-modernizer`, `database-
|
|
35
|
-
- Start with `deep-research` for systematic exploration and `
|
|
34
|
+
- Primary skills: `deep-research`, `system-design`
|
|
35
|
+
- Supporting skills (optional): `legacy-modernizer`, `database-design`, `typescript-pro`, `javascript-pro`, `python-pro`
|
|
36
|
+
- Start with `deep-research` for systematic exploration and `system-design` for architecture mapping. Add `legacy-modernizer` 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,8 +56,8 @@ 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: [deep-research,
|
|
59
|
-
supporting_skills: [legacy-modernizer?, database-
|
|
59
|
+
primary_skills: [deep-research, system-design]
|
|
60
|
+
supporting_skills: [legacy-modernizer?, database-design?]
|
|
60
61
|
project_overview:
|
|
61
62
|
purpose: <string>
|
|
62
63
|
tech_stack: [<string>]
|
|
@@ -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
|
-
- Primary skills: `
|
|
27
|
-
- Supporting skills (optional): `database-
|
|
28
|
-
- Start with `
|
|
27
|
+
- Primary skills: `system-design`, `api-design`
|
|
28
|
+
- Supporting skills (optional): `database-design`, `deep-research`, `mcp-server-builder`, `openai-docs`, `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
|
|
|
@@ -49,8 +51,10 @@ Use this when a task spans multiple domains (backend + frontend, security + infr
|
|
|
49
51
|
ORCHESTRATE_WORKFLOW_RESULT:
|
|
50
52
|
primary_agent: orchestrator
|
|
51
53
|
supporting_agents: [<specialist-agents-used>]
|
|
52
|
-
primary_skills: [
|
|
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,12 +31,14 @@ 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
|
-
- Primary skills: `
|
|
39
|
-
- Supporting skills (optional): `database-
|
|
40
|
-
- Start with `
|
|
39
|
+
- Primary skills: `system-design`, `api-design`
|
|
40
|
+
- Supporting skills (optional): `database-design`, `deep-research`, `mcp-server-builder`, `openai-docs`, `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
|
|
|
@@ -46,7 +47,8 @@ Use this when starting a new feature, project, or significant change that needs
|
|
|
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
|
|
|
@@ -61,8 +63,10 @@ Use this when starting a new feature, project, or significant change that needs
|
|
|
61
63
|
PLAN_WORKFLOW_RESULT:
|
|
62
64
|
primary_agent: project-planner
|
|
63
65
|
supporting_agents: [orchestrator?, backend-specialist?, frontend-specialist?, database-architect?]
|
|
64
|
-
primary_skills: [
|
|
65
|
-
supporting_skills: [database-
|
|
66
|
+
primary_skills: [system-design, api-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,5 +78,11 @@ 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
|
```
|
|
@@ -20,11 +20,12 @@ 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
|
|
|
26
27
|
- Primary skills: `static-analysis`, `legacy-modernizer`
|
|
27
|
-
- Supporting skills (optional): `testing-patterns`, `
|
|
28
|
+
- Supporting skills (optional): `testing-patterns`, `system-design`, `typescript-pro`, `javascript-pro`, `python-pro`, `golang-pro`
|
|
28
29
|
- Start with `static-analysis` for automated code quality assessment. Add `legacy-modernizer` for modernization patterns. Add `testing-patterns` when refactoring needs test coverage to proceed safely.
|
|
29
30
|
|
|
30
31
|
## Workflow steps
|
|
@@ -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
|
|
|
@@ -49,7 +51,7 @@ REFACTOR_WORKFLOW_RESULT:
|
|
|
49
51
|
primary_agent: code-archaeologist
|
|
50
52
|
supporting_agents: [backend-specialist?, frontend-specialist?, test-engineer?, validator?]
|
|
51
53
|
primary_skills: [static-analysis, legacy-modernizer]
|
|
52
|
-
supporting_skills: [testing-patterns?,
|
|
54
|
+
supporting_skills: [testing-patterns?, system-design?]
|
|
53
55
|
refactoring_summary:
|
|
54
56
|
targets: [<string>]
|
|
55
57
|
changes_applied: [<string>]
|
|
@@ -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,5 +63,6 @@ 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
|
```
|
|
@@ -25,7 +25,7 @@ Use this for security audits, vulnerability assessments, threat modeling, or sec
|
|
|
25
25
|
## Skill Routing
|
|
26
26
|
|
|
27
27
|
- Primary skills: `security-engineer`, `auth-architect`
|
|
28
|
-
- Supporting skills (optional): `vulnerability-scanner`, `static-analysis`, `api-
|
|
28
|
+
- Supporting skills (optional): `vulnerability-scanner`, `static-analysis`, `api-design`, `graphql-architect`, `typescript-pro`, `javascript-pro`, `python-pro`, `golang-pro`, `rust-pro`
|
|
29
29
|
- Start with `security-engineer` for OWASP methodology and threat modeling. Add `auth-architect` for authentication/authorization review. Add `vulnerability-scanner` for dependency scanning and CVE triage.
|
|
30
30
|
|
|
31
31
|
## Workflow steps
|
|
@@ -51,7 +51,7 @@ SECURITY_WORKFLOW_RESULT:
|
|
|
51
51
|
primary_agent: security-auditor
|
|
52
52
|
supporting_agents: [penetration-tester?, backend-specialist?, frontend-specialist?, validator?]
|
|
53
53
|
primary_skills: [security-engineer, auth-architect]
|
|
54
|
-
supporting_skills: [vulnerability-scanner?, static-analysis?, api-
|
|
54
|
+
supporting_skills: [vulnerability-scanner?, static-analysis?, api-design?]
|
|
55
55
|
threat_model:
|
|
56
56
|
assets: [<string>]
|
|
57
57
|
threats: [<string>]
|
|
@@ -0,0 +1,79 @@
|
|
|
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: `@project-planner`
|
|
26
|
+
- Traceability and requirements support: `@researcher`
|
|
27
|
+
- Cross-domain coordination: `@orchestrator`
|
|
28
|
+
- Documentation and structure support: `@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 `PRODUCT.md`, `ARCHITECTURE.md`, `ENGINEERING_RULES.md`, `TECH.md`, or `ROADMAP.md`.
|
|
42
|
+
5. Identify the next execution route and hand off without replanning the same work.
|
|
43
|
+
|
|
44
|
+
## Context notes
|
|
45
|
+
|
|
46
|
+
- Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist because they define the accepted product direction, 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
|
+
```
|