@bonesofspring/ai-rules 0.2.18 → 0.2.20
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/CHANGELOG.md +59 -0
- package/README.md +5 -3
- package/bin/cli.js +111 -4
- package/package.json +6 -3
- package/presets/_shared/README.md +3 -3
- package/presets/_shared/assets/docs-specs/schemas/frontmatter-v1.schema.json +1 -1
- package/presets/_shared/core/agent-team/agent-artifact-contracts.md +38 -0
- package/presets/_shared/core/agent-team/agent-team-orchestrator.md +1 -0
- package/presets/_shared/core/agent-team/task-classification.md +21 -0
- package/presets/_shared/core/architecture/feature-delivery-workflow.md +2 -1
- package/presets/_shared/core/architecture/product-specs-authoring.md +6 -3
- package/presets/_shared/core/architecture/product-specs.md +8 -3
- package/presets/_shared/core/meta/preset-no-cross-stack-leakage.md +1 -0
- package/presets/_shared/core/quality/anti-sycophancy-discipline.md +1 -1
- package/presets/_shared/core/quality/code-quality-and-refactoring.md +1 -1
- package/presets/_shared/core/quality/debug-investigation.md +24 -0
- package/presets/_shared/core/quality/mcp-usage.md +84 -0
- package/presets/_shared/core/quality/verification-before-completion.md +25 -0
- package/presets/_shared/core/review/receiving-code-review.md +24 -0
- package/presets/claude/android-kotlin/MCP.md +20 -1
- package/presets/claude/android-kotlin/agents/accessibility-reviewer.md +6 -0
- package/presets/claude/android-kotlin/agents/build-verifier.md +6 -0
- package/presets/claude/android-kotlin/agents/ci-investigator.md +9 -0
- package/presets/claude/android-kotlin/agents/code-reviewer.md +2 -0
- package/presets/claude/android-kotlin/agents/debugger.md +13 -0
- package/presets/claude/android-kotlin/agents/feature-developer.md +30 -0
- package/presets/claude/android-kotlin/agents/migration-specialist.md +6 -0
- package/presets/claude/android-kotlin/agents/performance-auditor.md +6 -0
- package/presets/claude/android-kotlin/agents/solution-architect.md +6 -0
- package/presets/claude/android-kotlin/agents/task-analyst.md +27 -0
- package/presets/claude/android-kotlin/agents/task-router.md +20 -0
- package/presets/claude/android-kotlin/commands/spec-start.md +1 -1
- package/presets/claude/android-kotlin/mcp.json +1 -1
- package/presets/claude/android-kotlin/rules/README.md +1 -0
- package/presets/claude/android-kotlin/rules/architecture/feature-delivery.md +3 -1
- package/presets/claude/android-kotlin/rules/architecture/product-specs-authoring.md +6 -4
- package/presets/claude/android-kotlin/rules/architecture/product-specs.md +8 -4
- package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +2 -1
- package/presets/claude/android-kotlin/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
- package/presets/claude/android-kotlin/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/android-kotlin/rules/tooling-and-review/mcp-usage.md +100 -0
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-no-cross-stack-leakage.md +2 -0
- package/presets/claude/android-kotlin/skills/README.md +2 -0
- package/presets/claude/android-kotlin/skills/ci-investigation/SKILL.md +8 -0
- package/presets/claude/android-kotlin/skills/code-review/SKILL.md +6 -0
- package/presets/claude/android-kotlin/skills/debug-investigation/SKILL.md +40 -4
- package/presets/claude/android-kotlin/skills/feature-delivery/SKILL.md +6 -0
- package/presets/claude/android-kotlin/skills/spec-discovery/SKILL.md +58 -0
- package/presets/claude/android-kotlin/team/README.md +8 -0
- package/presets/claude/android-kotlin/team/fixtures/feature-full.json +1 -0
- package/presets/claude/android-kotlin/team/fixtures/memlog.example.md +9 -0
- package/presets/claude/go/MCP.md +22 -1
- package/presets/claude/go/agents/build-verifier.md +6 -0
- package/presets/claude/go/agents/ci-investigator.md +9 -0
- package/presets/claude/go/agents/code-reviewer.md +2 -0
- package/presets/claude/go/agents/debugger.md +15 -0
- package/presets/claude/go/agents/feature-developer.md +30 -0
- package/presets/claude/go/agents/migration-specialist.md +6 -0
- package/presets/claude/go/agents/performance-auditor.md +6 -0
- package/presets/claude/go/agents/solution-architect.md +6 -0
- package/presets/claude/go/agents/task-analyst.md +27 -0
- package/presets/claude/go/agents/task-router.md +20 -0
- package/presets/claude/go/commands/feature-continue.md +11 -40
- package/presets/claude/go/commands/spec-start.md +1 -1
- package/presets/claude/go/mcp.json +1 -1
- package/presets/claude/go/rules/README.md +2 -1
- package/presets/claude/go/rules/architecture/feature-delivery.md +2 -1
- package/presets/claude/go/rules/architecture/product-specs-authoring.md +6 -4
- package/presets/claude/go/rules/architecture/product-specs.md +8 -4
- package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/go/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
- package/presets/claude/go/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/go/rules/tooling-and-review/mcp-usage.md +99 -0
- package/presets/claude/go/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -0
- package/presets/claude/go/skills/README.md +1 -1
- package/presets/claude/go/skills/ci-investigation/SKILL.md +7 -0
- package/presets/claude/go/skills/code-review/SKILL.md +7 -0
- package/presets/claude/go/skills/debug-investigation/SKILL.md +38 -2
- package/presets/claude/go/skills/feature-delivery/SKILL.md +7 -1
- package/presets/claude/go/skills/spec-discovery/SKILL.md +58 -0
- package/presets/claude/go/team/README.md +8 -0
- package/presets/claude/go/team/fixtures/feature-full.json +46 -10
- package/presets/claude/go/team/fixtures/memlog.example.md +9 -0
- package/presets/claude/ios-swift/MCP.md +20 -1
- package/presets/claude/ios-swift/agents/accessibility-reviewer.md +7 -10
- package/presets/claude/ios-swift/agents/api-contract-reviewer.md +2 -11
- package/presets/claude/ios-swift/agents/build-verifier.md +6 -0
- package/presets/claude/ios-swift/agents/ci-investigator.md +11 -11
- package/presets/claude/ios-swift/agents/code-reviewer.md +2 -0
- package/presets/claude/ios-swift/agents/debugger.md +15 -11
- package/presets/claude/ios-swift/agents/feature-developer.md +30 -0
- package/presets/claude/ios-swift/agents/migration-specialist.md +8 -11
- package/presets/claude/ios-swift/agents/performance-auditor.md +8 -11
- package/presets/claude/ios-swift/agents/qa-tester.md +2 -11
- package/presets/claude/ios-swift/agents/security-reviewer.md +2 -11
- package/presets/claude/ios-swift/agents/solution-architect.md +6 -0
- package/presets/claude/ios-swift/agents/task-analyst.md +27 -0
- package/presets/claude/ios-swift/agents/task-router.md +20 -0
- package/presets/claude/ios-swift/agents/unit-test-generator.md +2 -11
- package/presets/claude/ios-swift/agents/unit-test-healer.md +2 -11
- package/presets/claude/ios-swift/agents/unit-test-planner.md +2 -11
- package/presets/claude/ios-swift/agents/xcuitest-test-generator.md +1 -11
- package/presets/claude/ios-swift/agents/xcuitest-test-healer.md +1 -11
- package/presets/claude/ios-swift/agents/xcuitest-test-planner.md +1 -13
- package/presets/claude/ios-swift/commands/spec-start.md +1 -1
- package/presets/claude/ios-swift/mcp.json +1 -1
- package/presets/claude/ios-swift/rules/README.md +3 -1
- package/presets/claude/ios-swift/rules/architecture/feature-delivery.md +2 -1
- package/presets/claude/ios-swift/rules/architecture/product-specs-authoring.md +6 -4
- package/presets/claude/ios-swift/rules/architecture/product-specs.md +8 -4
- package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +2 -1
- package/presets/claude/ios-swift/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
- package/presets/claude/ios-swift/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/ios-swift/rules/tooling-and-review/mcp-usage.md +100 -0
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -0
- package/presets/claude/ios-swift/skills/README.md +2 -0
- package/presets/claude/ios-swift/skills/ci-investigation/SKILL.md +8 -0
- package/presets/claude/ios-swift/skills/code-review/SKILL.md +7 -1
- package/presets/claude/ios-swift/skills/debug-investigation/SKILL.md +41 -5
- package/presets/claude/ios-swift/skills/feature-delivery/SKILL.md +7 -1
- package/presets/claude/ios-swift/skills/spec-discovery/SKILL.md +58 -0
- package/presets/claude/ios-swift/team/README.md +8 -0
- package/presets/claude/ios-swift/team/fixtures/feature-full.json +39 -9
- package/presets/claude/ios-swift/team/fixtures/memlog.example.md +9 -0
- package/presets/claude/java/CLAUDE.md +1 -1
- package/presets/claude/java/MCP.md +21 -0
- package/presets/claude/java/agents/build-verifier.md +6 -0
- package/presets/claude/java/agents/ci-investigator.md +9 -0
- package/presets/claude/java/agents/code-reviewer.md +2 -0
- package/presets/claude/java/agents/debugger.md +15 -0
- package/presets/claude/java/agents/feature-developer.md +30 -0
- package/presets/claude/java/agents/migration-specialist.md +6 -0
- package/presets/claude/java/agents/performance-auditor.md +6 -0
- package/presets/claude/java/agents/solution-architect.md +6 -0
- package/presets/claude/java/agents/task-analyst.md +27 -0
- package/presets/claude/java/agents/task-router.md +20 -0
- package/presets/claude/java/commands/feature-continue.md +11 -40
- package/presets/claude/java/commands/spec-start.md +1 -1
- package/presets/claude/java/mcp.json +1 -1
- package/presets/claude/java/rules/README.md +1 -0
- package/presets/claude/java/rules/architecture/feature-delivery.md +2 -1
- package/presets/claude/java/rules/architecture/product-specs-authoring.md +6 -4
- package/presets/claude/java/rules/architecture/product-specs.md +8 -4
- package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/java/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
- package/presets/claude/java/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/java/rules/tooling-and-review/mcp-usage.md +98 -0
- package/presets/claude/java/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -0
- package/presets/claude/java/skills/README.md +1 -1
- package/presets/claude/java/skills/ci-investigation/SKILL.md +7 -0
- package/presets/claude/java/skills/code-review/SKILL.md +7 -0
- package/presets/claude/java/skills/debug-investigation/SKILL.md +38 -2
- package/presets/claude/java/skills/feature-delivery/SKILL.md +7 -1
- package/presets/claude/java/skills/spec-discovery/SKILL.md +58 -0
- package/presets/claude/java/team/README.md +8 -0
- package/presets/claude/java/team/fixtures/feature-full.json +46 -10
- package/presets/claude/java/team/fixtures/memlog.example.md +9 -0
- package/presets/claude/mcp-ts/MCP.md +20 -1
- package/presets/claude/mcp-ts/agents/build-verifier.md +6 -0
- package/presets/claude/mcp-ts/agents/feature-developer.md +30 -0
- package/presets/claude/mcp-ts/agents/solution-architect.md +5 -0
- package/presets/claude/mcp-ts/agents/task-analyst.md +27 -0
- package/presets/claude/mcp-ts/agents/task-router.md +20 -0
- package/presets/claude/mcp-ts/commands/spec-start.md +1 -1
- package/presets/claude/mcp-ts/mcp.json +1 -1
- package/presets/claude/mcp-ts/rules/README.md +1 -0
- package/presets/claude/mcp-ts/rules/architecture/feature-delivery.md +3 -1
- package/presets/claude/mcp-ts/rules/architecture/product-specs-authoring.md +6 -4
- package/presets/claude/mcp-ts/rules/architecture/product-specs.md +8 -4
- package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/mcp-ts/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
- package/presets/claude/mcp-ts/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/mcp-ts/rules/tooling-and-review/mcp-usage.md +99 -0
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -0
- package/presets/claude/mcp-ts/skills/README.md +2 -0
- package/presets/claude/mcp-ts/skills/code-review/SKILL.md +7 -0
- package/presets/claude/mcp-ts/skills/debug-investigation/SKILL.md +36 -1
- package/presets/claude/mcp-ts/skills/feature-delivery/SKILL.md +7 -1
- package/presets/claude/mcp-ts/skills/spec-discovery/SKILL.md +58 -0
- package/presets/claude/mcp-ts/team/README.md +7 -0
- package/presets/claude/mcp-ts/team/fixtures/feature-full.json +5 -2
- package/presets/claude/mcp-ts/team/fixtures/memlog.example.md +9 -0
- package/presets/claude/next/MCP.md +22 -0
- package/presets/claude/next/agents/accessibility-reviewer.md +8 -0
- package/presets/claude/next/agents/build-verifier.md +6 -0
- package/presets/claude/next/agents/ci-investigator.md +9 -0
- package/presets/claude/next/agents/code-reviewer.md +2 -0
- package/presets/claude/next/agents/debugger.md +17 -0
- package/presets/claude/next/agents/feature-developer.md +32 -0
- package/presets/claude/next/agents/migration-specialist.md +6 -0
- package/presets/claude/next/agents/performance-auditor.md +8 -0
- package/presets/claude/next/agents/playwright-test-generator.md +11 -1
- package/presets/claude/next/agents/playwright-test-healer.md +8 -1
- package/presets/claude/next/agents/solution-architect.md +6 -0
- package/presets/claude/next/agents/task-analyst.md +28 -1
- package/presets/claude/next/agents/task-router.md +20 -0
- package/presets/claude/next/commands/feature-continue.md +11 -40
- package/presets/claude/next/commands/spec-start.md +1 -1
- package/presets/claude/next/mcp.json +3 -3
- package/presets/claude/next/rules/README.md +5 -3
- package/presets/claude/next/rules/architecture/feature-delivery-workflow.md +2 -1
- package/presets/claude/next/rules/architecture/product-specs-authoring.md +6 -4
- package/presets/claude/next/rules/architecture/product-specs.md +8 -4
- package/presets/claude/next/rules/testing/tests-unit.md +5 -0
- package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +2 -1
- package/presets/claude/next/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
- package/presets/claude/next/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/next/rules/tooling-and-review/mcp-usage.md +101 -0
- package/presets/claude/next/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -0
- package/presets/claude/next/skills/README.md +2 -0
- package/presets/claude/next/skills/ci-investigation/SKILL.md +8 -0
- package/presets/claude/next/skills/code-review/SKILL.md +7 -1
- package/presets/claude/next/skills/debug-investigation/SKILL.md +39 -12
- package/presets/claude/next/skills/feature-delivery/SKILL.md +9 -1
- package/presets/claude/next/skills/spec-discovery/SKILL.md +58 -0
- package/presets/claude/next/team/README.md +11 -0
- package/presets/claude/next/team/fixtures/feature-full.json +43 -9
- package/presets/claude/next/team/fixtures/memlog.example.md +9 -0
- package/presets/claude/nuxt/MCP.md +22 -0
- package/presets/claude/nuxt/agents/accessibility-reviewer.md +8 -0
- package/presets/claude/nuxt/agents/build-verifier.md +6 -0
- package/presets/claude/nuxt/agents/ci-investigator.md +9 -0
- package/presets/claude/nuxt/agents/code-reviewer.md +2 -0
- package/presets/claude/nuxt/agents/debugger.md +17 -0
- package/presets/claude/nuxt/agents/feature-developer.md +32 -0
- package/presets/claude/nuxt/agents/migration-specialist.md +6 -0
- package/presets/claude/nuxt/agents/performance-auditor.md +8 -0
- package/presets/claude/nuxt/agents/playwright-test-generator.md +11 -1
- package/presets/claude/nuxt/agents/playwright-test-healer.md +8 -1
- package/presets/claude/nuxt/agents/solution-architect.md +6 -0
- package/presets/claude/nuxt/agents/task-analyst.md +28 -1
- package/presets/claude/nuxt/agents/task-router.md +24 -4
- package/presets/claude/nuxt/commands/spec-start.md +1 -1
- package/presets/claude/nuxt/mcp.json +3 -3
- package/presets/claude/nuxt/rules/README.md +2 -0
- package/presets/claude/nuxt/rules/architecture/feature-delivery-workflow.md +2 -1
- package/presets/claude/nuxt/rules/architecture/product-specs-authoring.md +6 -4
- package/presets/claude/nuxt/rules/architecture/product-specs.md +8 -4
- package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +2 -1
- package/presets/claude/nuxt/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
- package/presets/claude/nuxt/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/nuxt/rules/tooling-and-review/mcp-usage.md +106 -0
- package/presets/claude/nuxt/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -0
- package/presets/claude/nuxt/skills/README.md +2 -0
- package/presets/claude/nuxt/skills/ci-investigation/SKILL.md +8 -0
- package/presets/claude/nuxt/skills/code-review/SKILL.md +7 -1
- package/presets/claude/nuxt/skills/debug-investigation/SKILL.md +41 -12
- package/presets/claude/nuxt/skills/feature-delivery/SKILL.md +9 -1
- package/presets/claude/nuxt/skills/spec-discovery/SKILL.md +58 -0
- package/presets/claude/nuxt/team/README.md +11 -0
- package/presets/claude/nuxt/team/fixtures/feature-full.json +43 -9
- package/presets/claude/nuxt/team/fixtures/memlog.example.md +9 -0
- package/presets/claude/php-hexagonal/CLAUDE.md +1 -1
- package/presets/claude/php-hexagonal/MCP.md +20 -1
- package/presets/claude/php-hexagonal/agents/build-verifier.md +6 -0
- package/presets/claude/php-hexagonal/agents/ci-investigator.md +9 -0
- package/presets/claude/php-hexagonal/agents/code-reviewer.md +2 -0
- package/presets/claude/php-hexagonal/agents/debugger.md +15 -0
- package/presets/claude/php-hexagonal/agents/feature-developer.md +30 -0
- package/presets/claude/php-hexagonal/agents/migration-specialist.md +6 -0
- package/presets/claude/php-hexagonal/agents/performance-auditor.md +6 -0
- package/presets/claude/php-hexagonal/agents/solution-architect.md +6 -0
- package/presets/claude/php-hexagonal/agents/task-analyst.md +27 -0
- package/presets/claude/php-hexagonal/agents/task-router.md +20 -0
- package/presets/claude/php-hexagonal/commands/feature-continue.md +11 -40
- package/presets/claude/php-hexagonal/commands/spec-start.md +1 -1
- package/presets/claude/php-hexagonal/mcp.json +1 -1
- package/presets/claude/php-hexagonal/rules/README.md +1 -0
- package/presets/claude/php-hexagonal/rules/architecture/feature-delivery.md +2 -1
- package/presets/claude/php-hexagonal/rules/architecture/product-specs-authoring.md +6 -4
- package/presets/claude/php-hexagonal/rules/architecture/product-specs.md +8 -4
- package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/php-hexagonal/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
- package/presets/claude/php-hexagonal/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/php-hexagonal/rules/tooling-and-review/mcp-usage.md +98 -0
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -0
- package/presets/claude/php-hexagonal/skills/README.md +1 -1
- package/presets/claude/php-hexagonal/skills/ci-investigation/SKILL.md +7 -0
- package/presets/claude/php-hexagonal/skills/code-review/SKILL.md +7 -0
- package/presets/claude/php-hexagonal/skills/debug-investigation/SKILL.md +38 -2
- package/presets/claude/php-hexagonal/skills/feature-delivery/SKILL.md +7 -1
- package/presets/claude/php-hexagonal/skills/spec-discovery/SKILL.md +58 -0
- package/presets/claude/php-hexagonal/team/README.md +8 -0
- package/presets/claude/php-hexagonal/team/fixtures/feature-full.json +46 -10
- package/presets/claude/php-hexagonal/team/fixtures/memlog.example.md +9 -0
- package/presets/claude/php-laravel/MCP.md +21 -0
- package/presets/claude/php-laravel/agents/build-verifier.md +6 -0
- package/presets/claude/php-laravel/agents/ci-investigator.md +9 -0
- package/presets/claude/php-laravel/agents/code-reviewer.md +2 -0
- package/presets/claude/php-laravel/agents/debugger.md +15 -0
- package/presets/claude/php-laravel/agents/feature-developer.md +30 -0
- package/presets/claude/php-laravel/agents/migration-specialist.md +6 -0
- package/presets/claude/php-laravel/agents/performance-auditor.md +6 -0
- package/presets/claude/php-laravel/agents/solution-architect.md +6 -0
- package/presets/claude/php-laravel/agents/task-analyst.md +27 -0
- package/presets/claude/php-laravel/agents/task-router.md +20 -0
- package/presets/claude/php-laravel/commands/feature-continue.md +11 -40
- package/presets/claude/php-laravel/commands/spec-start.md +1 -1
- package/presets/claude/php-laravel/mcp.json +1 -1
- package/presets/claude/php-laravel/rules/README.md +1 -0
- package/presets/claude/php-laravel/rules/architecture/feature-delivery.md +3 -1
- package/presets/claude/php-laravel/rules/architecture/product-specs-authoring.md +6 -4
- package/presets/claude/php-laravel/rules/architecture/product-specs.md +8 -4
- package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
- package/presets/claude/php-laravel/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/php-laravel/rules/tooling-and-review/mcp-usage.md +98 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -0
- package/presets/claude/php-laravel/skills/README.md +1 -1
- package/presets/claude/php-laravel/skills/ci-investigation/SKILL.md +7 -0
- package/presets/claude/php-laravel/skills/code-review/SKILL.md +7 -0
- package/presets/claude/php-laravel/skills/debug-investigation/SKILL.md +38 -2
- package/presets/claude/php-laravel/skills/feature-delivery/SKILL.md +7 -1
- package/presets/claude/php-laravel/skills/spec-discovery/SKILL.md +58 -0
- package/presets/claude/php-laravel/team/README.md +7 -0
- package/presets/claude/php-laravel/team/fixtures/feature-full.json +38 -9
- package/presets/claude/php-laravel/team/fixtures/memlog.example.md +9 -0
- package/presets/claude/svelte/MCP.md +22 -0
- package/presets/claude/svelte/agents/accessibility-reviewer.md +8 -0
- package/presets/claude/svelte/agents/build-verifier.md +6 -0
- package/presets/claude/svelte/agents/ci-investigator.md +9 -0
- package/presets/claude/svelte/agents/code-reviewer.md +2 -0
- package/presets/claude/svelte/agents/debugger.md +17 -0
- package/presets/claude/svelte/agents/feature-developer.md +32 -0
- package/presets/claude/svelte/agents/migration-specialist.md +6 -0
- package/presets/claude/svelte/agents/performance-auditor.md +8 -0
- package/presets/claude/svelte/agents/playwright-test-generator.md +11 -1
- package/presets/claude/svelte/agents/playwright-test-healer.md +8 -1
- package/presets/claude/svelte/agents/solution-architect.md +6 -0
- package/presets/claude/svelte/agents/task-analyst.md +28 -1
- package/presets/claude/svelte/agents/task-router.md +20 -0
- package/presets/claude/svelte/commands/spec-start.md +1 -1
- package/presets/claude/svelte/mcp.json +3 -3
- package/presets/claude/svelte/rules/README.md +2 -0
- package/presets/claude/svelte/rules/architecture/feature-delivery-workflow.md +2 -1
- package/presets/claude/svelte/rules/architecture/product-specs-authoring.md +6 -4
- package/presets/claude/svelte/rules/architecture/product-specs.md +8 -4
- package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +2 -1
- package/presets/claude/svelte/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
- package/presets/claude/svelte/rules/tooling-and-review/code-quality.md +1 -1
- package/presets/claude/svelte/rules/tooling-and-review/mcp-usage.md +101 -0
- package/presets/claude/svelte/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -0
- package/presets/claude/svelte/skills/README.md +2 -0
- package/presets/claude/svelte/skills/ci-investigation/SKILL.md +8 -0
- package/presets/claude/svelte/skills/code-review/SKILL.md +7 -1
- package/presets/claude/svelte/skills/debug-investigation/SKILL.md +41 -12
- package/presets/claude/svelte/skills/feature-delivery/SKILL.md +9 -1
- package/presets/claude/svelte/skills/spec-discovery/SKILL.md +58 -0
- package/presets/claude/svelte/team/README.md +11 -0
- package/presets/claude/svelte/team/fixtures/feature-full.json +43 -9
- package/presets/claude/svelte/team/fixtures/memlog.example.md +9 -0
- package/presets/cursor/android-kotlin/MCP.md +20 -1
- package/presets/cursor/android-kotlin/agents/accessibility-reviewer.md +6 -0
- package/presets/cursor/android-kotlin/agents/build-verifier.md +6 -0
- package/presets/cursor/android-kotlin/agents/ci-investigator.md +9 -0
- package/presets/cursor/android-kotlin/agents/code-reviewer.md +2 -0
- package/presets/cursor/android-kotlin/agents/debugger.md +13 -0
- package/presets/cursor/android-kotlin/agents/feature-developer.md +30 -0
- package/presets/cursor/android-kotlin/agents/migration-specialist.md +6 -0
- package/presets/cursor/android-kotlin/agents/performance-auditor.md +6 -0
- package/presets/cursor/android-kotlin/agents/solution-architect.md +6 -0
- package/presets/cursor/android-kotlin/agents/task-analyst.md +27 -0
- package/presets/cursor/android-kotlin/agents/task-router.md +20 -0
- package/presets/cursor/android-kotlin/commands/spec-start.md +1 -1
- package/presets/cursor/android-kotlin/mcp.json +1 -1
- package/presets/cursor/android-kotlin/rules/README.md +2 -0
- package/presets/cursor/android-kotlin/rules/agent-team-orchestrator.mdc +2 -1
- package/presets/cursor/android-kotlin/rules/anti-sycophancy-discipline.mdc +1 -1
- package/presets/cursor/android-kotlin/rules/code-quality-and-refactoring.mdc +1 -1
- package/presets/cursor/android-kotlin/rules/feature-delivery-workflow.mdc +3 -1
- package/presets/cursor/android-kotlin/rules/mcp-usage.mdc +99 -0
- package/presets/cursor/android-kotlin/rules/preset-no-cross-stack-leakage.mdc +3 -1
- package/presets/cursor/android-kotlin/rules/product-specs-authoring.mdc +6 -4
- package/presets/cursor/android-kotlin/rules/product-specs.mdc +8 -4
- package/presets/cursor/android-kotlin/skills/README.md +2 -0
- package/presets/cursor/android-kotlin/skills/ci-investigation/SKILL.md +8 -0
- package/presets/cursor/android-kotlin/skills/code-review/SKILL.md +6 -0
- package/presets/cursor/android-kotlin/skills/debug-investigation/SKILL.md +40 -4
- package/presets/cursor/android-kotlin/skills/feature-delivery/SKILL.md +6 -0
- package/presets/cursor/android-kotlin/skills/spec-discovery/SKILL.md +58 -0
- package/presets/cursor/android-kotlin/team/README.md +8 -0
- package/presets/cursor/android-kotlin/team/fixtures/feature-full.json +1 -0
- package/presets/cursor/android-kotlin/team/fixtures/memlog.example.md +9 -0
- package/presets/cursor/go/MCP.md +22 -1
- package/presets/cursor/go/agents/build-verifier.md +6 -0
- package/presets/cursor/go/agents/ci-investigator.md +9 -0
- package/presets/cursor/go/agents/code-reviewer.md +2 -0
- package/presets/cursor/go/agents/debugger.md +15 -0
- package/presets/cursor/go/agents/feature-developer.md +30 -0
- package/presets/cursor/go/agents/migration-specialist.md +6 -0
- package/presets/cursor/go/agents/performance-auditor.md +6 -0
- package/presets/cursor/go/agents/solution-architect.md +6 -0
- package/presets/cursor/go/agents/task-analyst.md +27 -0
- package/presets/cursor/go/agents/task-router.md +20 -0
- package/presets/cursor/go/commands/spec-start.md +1 -1
- package/presets/cursor/go/mcp.json +1 -1
- package/presets/cursor/go/rules/README.md +2 -1
- package/presets/cursor/go/rules/agent-team-orchestrator.mdc +1 -0
- package/presets/cursor/go/rules/anti-sycophancy-discipline.mdc +1 -1
- package/presets/cursor/go/rules/code-quality-and-refactoring.mdc +1 -1
- package/presets/cursor/go/rules/feature-delivery-workflow.mdc +2 -1
- package/presets/cursor/go/rules/mcp-usage.mdc +98 -0
- package/presets/cursor/go/rules/preset-no-cross-stack-leakage.mdc +1 -0
- package/presets/cursor/go/rules/product-specs-authoring.mdc +6 -4
- package/presets/cursor/go/rules/product-specs.mdc +8 -4
- package/presets/cursor/go/skills/README.md +1 -1
- package/presets/cursor/go/skills/ci-investigation/SKILL.md +7 -0
- package/presets/cursor/go/skills/code-review/SKILL.md +7 -0
- package/presets/cursor/go/skills/debug-investigation/SKILL.md +38 -2
- package/presets/cursor/go/skills/feature-delivery/SKILL.md +7 -1
- package/presets/cursor/go/skills/spec-discovery/SKILL.md +58 -0
- package/presets/cursor/go/team/README.md +8 -0
- package/presets/cursor/go/team/fixtures/feature-full.json +46 -10
- package/presets/cursor/go/team/fixtures/memlog.example.md +9 -0
- package/presets/cursor/ios-swift/MCP.md +20 -1
- package/presets/cursor/ios-swift/agents/accessibility-reviewer.md +7 -10
- package/presets/cursor/ios-swift/agents/api-contract-reviewer.md +2 -11
- package/presets/cursor/ios-swift/agents/build-verifier.md +6 -0
- package/presets/cursor/ios-swift/agents/ci-investigator.md +11 -11
- package/presets/cursor/ios-swift/agents/code-reviewer.md +2 -0
- package/presets/cursor/ios-swift/agents/debugger.md +15 -11
- package/presets/cursor/ios-swift/agents/feature-developer.md +30 -0
- package/presets/cursor/ios-swift/agents/migration-specialist.md +8 -11
- package/presets/cursor/ios-swift/agents/performance-auditor.md +8 -11
- package/presets/cursor/ios-swift/agents/qa-tester.md +2 -11
- package/presets/cursor/ios-swift/agents/security-reviewer.md +2 -11
- package/presets/cursor/ios-swift/agents/solution-architect.md +6 -0
- package/presets/cursor/ios-swift/agents/task-analyst.md +27 -0
- package/presets/cursor/ios-swift/agents/task-router.md +20 -0
- package/presets/cursor/ios-swift/agents/unit-test-generator.md +2 -11
- package/presets/cursor/ios-swift/agents/unit-test-healer.md +2 -11
- package/presets/cursor/ios-swift/agents/unit-test-planner.md +2 -11
- package/presets/cursor/ios-swift/agents/xcuitest-test-generator.md +1 -11
- package/presets/cursor/ios-swift/agents/xcuitest-test-healer.md +1 -11
- package/presets/cursor/ios-swift/agents/xcuitest-test-planner.md +1 -13
- package/presets/cursor/ios-swift/commands/spec-start.md +1 -1
- package/presets/cursor/ios-swift/mcp.json +1 -1
- package/presets/cursor/ios-swift/rules/README.md +2 -0
- package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +2 -1
- package/presets/cursor/ios-swift/rules/anti-sycophancy-discipline.mdc +1 -1
- package/presets/cursor/ios-swift/rules/code-quality-and-refactoring.mdc +1 -1
- package/presets/cursor/ios-swift/rules/feature-delivery-workflow.mdc +2 -1
- package/presets/cursor/ios-swift/rules/mcp-usage.mdc +99 -0
- package/presets/cursor/ios-swift/rules/preset-no-cross-stack-leakage.mdc +1 -0
- package/presets/cursor/ios-swift/rules/product-specs-authoring.mdc +6 -4
- package/presets/cursor/ios-swift/rules/product-specs.mdc +8 -4
- package/presets/cursor/ios-swift/skills/README.md +2 -0
- package/presets/cursor/ios-swift/skills/ci-investigation/SKILL.md +8 -0
- package/presets/cursor/ios-swift/skills/code-review/SKILL.md +7 -1
- package/presets/cursor/ios-swift/skills/debug-investigation/SKILL.md +41 -5
- package/presets/cursor/ios-swift/skills/feature-delivery/SKILL.md +7 -1
- package/presets/cursor/ios-swift/skills/spec-discovery/SKILL.md +58 -0
- package/presets/cursor/ios-swift/team/README.md +8 -0
- package/presets/cursor/ios-swift/team/fixtures/feature-full.json +39 -9
- package/presets/cursor/ios-swift/team/fixtures/memlog.example.md +9 -0
- package/presets/cursor/java/AGENTS.md +1 -1
- package/presets/cursor/java/MCP.md +20 -1
- package/presets/cursor/java/agents/build-verifier.md +6 -0
- package/presets/cursor/java/agents/ci-investigator.md +9 -0
- package/presets/cursor/java/agents/code-reviewer.md +2 -0
- package/presets/cursor/java/agents/debugger.md +15 -0
- package/presets/cursor/java/agents/feature-developer.md +30 -0
- package/presets/cursor/java/agents/migration-specialist.md +6 -0
- package/presets/cursor/java/agents/performance-auditor.md +6 -0
- package/presets/cursor/java/agents/solution-architect.md +6 -0
- package/presets/cursor/java/agents/task-analyst.md +27 -0
- package/presets/cursor/java/agents/task-router.md +20 -0
- package/presets/cursor/java/commands/spec-start.md +1 -1
- package/presets/cursor/java/mcp.json +1 -1
- package/presets/cursor/java/rules/README.md +2 -1
- package/presets/cursor/java/rules/agent-team-orchestrator.mdc +1 -0
- package/presets/cursor/java/rules/anti-sycophancy-discipline.mdc +1 -1
- package/presets/cursor/java/rules/code-quality-and-refactoring.mdc +1 -1
- package/presets/cursor/java/rules/feature-delivery-workflow.mdc +2 -1
- package/presets/cursor/java/rules/mcp-usage.mdc +97 -0
- package/presets/cursor/java/rules/preset-no-cross-stack-leakage.mdc +1 -0
- package/presets/cursor/java/rules/product-specs-authoring.mdc +6 -4
- package/presets/cursor/java/rules/product-specs.mdc +8 -4
- package/presets/cursor/java/skills/README.md +1 -1
- package/presets/cursor/java/skills/ci-investigation/SKILL.md +7 -0
- package/presets/cursor/java/skills/code-review/SKILL.md +7 -0
- package/presets/cursor/java/skills/debug-investigation/SKILL.md +38 -2
- package/presets/cursor/java/skills/feature-delivery/SKILL.md +7 -1
- package/presets/cursor/java/skills/spec-discovery/SKILL.md +58 -0
- package/presets/cursor/java/team/README.md +8 -0
- package/presets/cursor/java/team/fixtures/feature-full.json +46 -10
- package/presets/cursor/java/team/fixtures/memlog.example.md +9 -0
- package/presets/cursor/mcp-ts/MCP.md +20 -1
- package/presets/cursor/mcp-ts/agents/build-verifier.md +6 -0
- package/presets/cursor/mcp-ts/agents/feature-developer.md +30 -0
- package/presets/cursor/mcp-ts/agents/solution-architect.md +5 -0
- package/presets/cursor/mcp-ts/agents/task-analyst.md +27 -0
- package/presets/cursor/mcp-ts/agents/task-router.md +20 -0
- package/presets/cursor/mcp-ts/commands/spec-start.md +1 -1
- package/presets/cursor/mcp-ts/mcp.json +1 -1
- package/presets/cursor/mcp-ts/rules/README.md +3 -2
- package/presets/cursor/mcp-ts/rules/agent-team-orchestrator.mdc +1 -0
- package/presets/cursor/mcp-ts/rules/anti-sycophancy-discipline.mdc +1 -1
- package/presets/cursor/mcp-ts/rules/code-quality-and-refactoring.mdc +1 -1
- package/presets/cursor/mcp-ts/rules/feature-delivery-workflow.mdc +2 -1
- package/presets/cursor/mcp-ts/rules/mcp-usage.mdc +98 -0
- package/presets/cursor/mcp-ts/rules/preset-no-cross-stack-leakage.mdc +1 -0
- package/presets/cursor/mcp-ts/rules/product-specs-authoring.mdc +6 -4
- package/presets/cursor/mcp-ts/rules/product-specs.mdc +8 -4
- package/presets/cursor/mcp-ts/skills/README.md +2 -0
- package/presets/cursor/mcp-ts/skills/code-review/SKILL.md +7 -0
- package/presets/cursor/mcp-ts/skills/debug-investigation/SKILL.md +36 -1
- package/presets/cursor/mcp-ts/skills/feature-delivery/SKILL.md +7 -1
- package/presets/cursor/mcp-ts/skills/spec-discovery/SKILL.md +58 -0
- package/presets/cursor/mcp-ts/team/README.md +7 -0
- package/presets/cursor/mcp-ts/team/fixtures/feature-full.json +5 -2
- package/presets/cursor/mcp-ts/team/fixtures/memlog.example.md +9 -0
- package/presets/cursor/next/MCP.md +21 -1
- package/presets/cursor/next/agents/accessibility-reviewer.md +8 -0
- package/presets/cursor/next/agents/build-verifier.md +6 -0
- package/presets/cursor/next/agents/ci-investigator.md +9 -0
- package/presets/cursor/next/agents/code-reviewer.md +2 -0
- package/presets/cursor/next/agents/debugger.md +17 -0
- package/presets/cursor/next/agents/feature-developer.md +32 -0
- package/presets/cursor/next/agents/migration-specialist.md +6 -0
- package/presets/cursor/next/agents/performance-auditor.md +8 -0
- package/presets/cursor/next/agents/playwright-test-generator.md +9 -1
- package/presets/cursor/next/agents/playwright-test-healer.md +9 -1
- package/presets/cursor/next/agents/playwright-test-planner.md +1 -1
- package/presets/cursor/next/agents/solution-architect.md +6 -0
- package/presets/cursor/next/agents/task-analyst.md +28 -1
- package/presets/cursor/next/agents/task-router.md +20 -0
- package/presets/cursor/next/commands/spec-start.md +1 -1
- package/presets/cursor/next/mcp.json +3 -3
- package/presets/cursor/next/rules/README.md +3 -2
- package/presets/cursor/next/rules/agent-team-orchestrator.mdc +2 -1
- package/presets/cursor/next/rules/anti-sycophancy-discipline.mdc +1 -1
- package/presets/cursor/next/rules/code-quality-and-refactoring.mdc +1 -1
- package/presets/cursor/next/rules/feature-delivery-workflow.mdc +2 -1
- package/presets/cursor/next/rules/mcp-usage.mdc +100 -0
- package/presets/cursor/next/rules/preset-no-cross-stack-leakage.mdc +1 -0
- package/presets/cursor/next/rules/product-specs-authoring.mdc +6 -4
- package/presets/cursor/next/rules/product-specs.mdc +8 -4
- package/presets/cursor/next/rules/tests-unit.mdc +5 -0
- package/presets/cursor/next/skills/README.md +2 -0
- package/presets/cursor/next/skills/ci-investigation/SKILL.md +8 -0
- package/presets/cursor/next/skills/code-review/SKILL.md +7 -1
- package/presets/cursor/next/skills/debug-investigation/SKILL.md +39 -12
- package/presets/cursor/next/skills/feature-delivery/SKILL.md +9 -1
- package/presets/cursor/next/skills/spec-discovery/SKILL.md +58 -0
- package/presets/cursor/next/team/README.md +11 -0
- package/presets/cursor/next/team/fixtures/feature-full.json +1 -0
- package/presets/cursor/next/team/fixtures/memlog.example.md +9 -0
- package/presets/cursor/nuxt/MCP.md +21 -1
- package/presets/cursor/nuxt/agents/accessibility-reviewer.md +8 -0
- package/presets/cursor/nuxt/agents/build-verifier.md +6 -0
- package/presets/cursor/nuxt/agents/ci-investigator.md +9 -0
- package/presets/cursor/nuxt/agents/code-reviewer.md +2 -0
- package/presets/cursor/nuxt/agents/debugger.md +17 -0
- package/presets/cursor/nuxt/agents/feature-developer.md +32 -0
- package/presets/cursor/nuxt/agents/migration-specialist.md +6 -0
- package/presets/cursor/nuxt/agents/performance-auditor.md +8 -0
- package/presets/cursor/nuxt/agents/playwright-test-generator.md +9 -1
- package/presets/cursor/nuxt/agents/playwright-test-healer.md +9 -1
- package/presets/cursor/nuxt/agents/playwright-test-planner.md +1 -1
- package/presets/cursor/nuxt/agents/solution-architect.md +6 -0
- package/presets/cursor/nuxt/agents/task-analyst.md +28 -1
- package/presets/cursor/nuxt/agents/task-router.md +20 -0
- package/presets/cursor/nuxt/commands/spec-start.md +1 -1
- package/presets/cursor/nuxt/mcp.json +3 -3
- package/presets/cursor/nuxt/rules/README.md +2 -1
- package/presets/cursor/nuxt/rules/agent-team-orchestrator.mdc +2 -1
- package/presets/cursor/nuxt/rules/anti-sycophancy-discipline.mdc +1 -1
- package/presets/cursor/nuxt/rules/code-quality-and-refactoring.mdc +1 -1
- package/presets/cursor/nuxt/rules/feature-delivery-workflow.mdc +2 -1
- package/presets/cursor/nuxt/rules/mcp-usage.mdc +100 -0
- package/presets/cursor/nuxt/rules/preset-no-cross-stack-leakage.mdc +1 -0
- package/presets/cursor/nuxt/rules/product-specs-authoring.mdc +6 -4
- package/presets/cursor/nuxt/rules/product-specs.mdc +8 -4
- package/presets/cursor/nuxt/skills/README.md +2 -0
- package/presets/cursor/nuxt/skills/ci-investigation/SKILL.md +8 -0
- package/presets/cursor/nuxt/skills/code-review/SKILL.md +7 -1
- package/presets/cursor/nuxt/skills/debug-investigation/SKILL.md +41 -12
- package/presets/cursor/nuxt/skills/feature-delivery/SKILL.md +9 -1
- package/presets/cursor/nuxt/skills/spec-discovery/SKILL.md +58 -0
- package/presets/cursor/nuxt/team/README.md +11 -0
- package/presets/cursor/nuxt/team/fixtures/feature-full.json +43 -9
- package/presets/cursor/nuxt/team/fixtures/memlog.example.md +9 -0
- package/presets/cursor/php-hexagonal/AGENTS.md +1 -1
- package/presets/cursor/php-hexagonal/MCP.md +20 -1
- package/presets/cursor/php-hexagonal/agents/build-verifier.md +6 -0
- package/presets/cursor/php-hexagonal/agents/ci-investigator.md +9 -0
- package/presets/cursor/php-hexagonal/agents/code-reviewer.md +2 -0
- package/presets/cursor/php-hexagonal/agents/debugger.md +15 -0
- package/presets/cursor/php-hexagonal/agents/feature-developer.md +30 -0
- package/presets/cursor/php-hexagonal/agents/migration-specialist.md +6 -0
- package/presets/cursor/php-hexagonal/agents/performance-auditor.md +6 -0
- package/presets/cursor/php-hexagonal/agents/solution-architect.md +6 -0
- package/presets/cursor/php-hexagonal/agents/task-analyst.md +27 -0
- package/presets/cursor/php-hexagonal/agents/task-router.md +20 -0
- package/presets/cursor/php-hexagonal/commands/spec-start.md +1 -1
- package/presets/cursor/php-hexagonal/mcp.json +1 -1
- package/presets/cursor/php-hexagonal/rules/README.md +2 -1
- package/presets/cursor/php-hexagonal/rules/agent-team-orchestrator.mdc +1 -0
- package/presets/cursor/php-hexagonal/rules/anti-sycophancy-discipline.mdc +1 -1
- package/presets/cursor/php-hexagonal/rules/code-quality-and-refactoring.mdc +1 -1
- package/presets/cursor/php-hexagonal/rules/feature-delivery-workflow.mdc +2 -1
- package/presets/cursor/php-hexagonal/rules/mcp-usage.mdc +97 -0
- package/presets/cursor/php-hexagonal/rules/preset-no-cross-stack-leakage.mdc +1 -0
- package/presets/cursor/php-hexagonal/rules/product-specs-authoring.mdc +6 -4
- package/presets/cursor/php-hexagonal/rules/product-specs.mdc +8 -4
- package/presets/cursor/php-hexagonal/skills/README.md +1 -1
- package/presets/cursor/php-hexagonal/skills/ci-investigation/SKILL.md +7 -0
- package/presets/cursor/php-hexagonal/skills/code-review/SKILL.md +7 -0
- package/presets/cursor/php-hexagonal/skills/debug-investigation/SKILL.md +38 -2
- package/presets/cursor/php-hexagonal/skills/feature-delivery/SKILL.md +7 -1
- package/presets/cursor/php-hexagonal/skills/spec-discovery/SKILL.md +58 -0
- package/presets/cursor/php-hexagonal/team/README.md +8 -0
- package/presets/cursor/php-hexagonal/team/fixtures/feature-full.json +46 -10
- package/presets/cursor/php-hexagonal/team/fixtures/memlog.example.md +9 -0
- package/presets/cursor/php-laravel/AGENTS.md +1 -1
- package/presets/cursor/php-laravel/MCP.md +21 -0
- package/presets/cursor/php-laravel/agents/build-verifier.md +6 -0
- package/presets/cursor/php-laravel/agents/ci-investigator.md +9 -0
- package/presets/cursor/php-laravel/agents/code-reviewer.md +2 -0
- package/presets/cursor/php-laravel/agents/debugger.md +15 -0
- package/presets/cursor/php-laravel/agents/feature-developer.md +30 -0
- package/presets/cursor/php-laravel/agents/migration-specialist.md +6 -0
- package/presets/cursor/php-laravel/agents/performance-auditor.md +6 -0
- package/presets/cursor/php-laravel/agents/solution-architect.md +6 -0
- package/presets/cursor/php-laravel/agents/task-analyst.md +27 -0
- package/presets/cursor/php-laravel/agents/task-router.md +20 -0
- package/presets/cursor/php-laravel/commands/spec-start.md +1 -1
- package/presets/cursor/php-laravel/mcp.json +1 -1
- package/presets/cursor/php-laravel/rules/README.md +2 -1
- package/presets/cursor/php-laravel/rules/agent-team-orchestrator.mdc +1 -0
- package/presets/cursor/php-laravel/rules/anti-sycophancy-discipline.mdc +1 -1
- package/presets/cursor/php-laravel/rules/code-quality-and-refactoring.mdc +1 -1
- package/presets/cursor/php-laravel/rules/feature-delivery-workflow.mdc +2 -1
- package/presets/cursor/php-laravel/rules/mcp-usage.mdc +97 -0
- package/presets/cursor/php-laravel/rules/preset-no-cross-stack-leakage.mdc +1 -0
- package/presets/cursor/php-laravel/rules/product-specs-authoring.mdc +6 -4
- package/presets/cursor/php-laravel/rules/product-specs.mdc +8 -4
- package/presets/cursor/php-laravel/skills/README.md +1 -1
- package/presets/cursor/php-laravel/skills/ci-investigation/SKILL.md +7 -0
- package/presets/cursor/php-laravel/skills/code-review/SKILL.md +7 -0
- package/presets/cursor/php-laravel/skills/debug-investigation/SKILL.md +38 -2
- package/presets/cursor/php-laravel/skills/feature-delivery/SKILL.md +7 -1
- package/presets/cursor/php-laravel/skills/spec-discovery/SKILL.md +58 -0
- package/presets/cursor/php-laravel/team/README.md +7 -0
- package/presets/cursor/php-laravel/team/fixtures/feature-full.json +38 -9
- package/presets/cursor/php-laravel/team/fixtures/memlog.example.md +9 -0
- package/presets/cursor/svelte/MCP.md +21 -1
- package/presets/cursor/svelte/agents/accessibility-reviewer.md +8 -0
- package/presets/cursor/svelte/agents/build-verifier.md +6 -0
- package/presets/cursor/svelte/agents/ci-investigator.md +9 -0
- package/presets/cursor/svelte/agents/code-reviewer.md +2 -0
- package/presets/cursor/svelte/agents/debugger.md +17 -0
- package/presets/cursor/svelte/agents/feature-developer.md +32 -0
- package/presets/cursor/svelte/agents/migration-specialist.md +6 -0
- package/presets/cursor/svelte/agents/performance-auditor.md +8 -0
- package/presets/cursor/svelte/agents/playwright-test-generator.md +9 -1
- package/presets/cursor/svelte/agents/playwright-test-healer.md +9 -1
- package/presets/cursor/svelte/agents/playwright-test-planner.md +1 -1
- package/presets/cursor/svelte/agents/solution-architect.md +6 -0
- package/presets/cursor/svelte/agents/task-analyst.md +28 -1
- package/presets/cursor/svelte/agents/task-router.md +20 -0
- package/presets/cursor/svelte/commands/spec-start.md +1 -1
- package/presets/cursor/svelte/mcp.json +3 -3
- package/presets/cursor/svelte/rules/README.md +2 -1
- package/presets/cursor/svelte/rules/agent-team-orchestrator.mdc +2 -1
- package/presets/cursor/svelte/rules/anti-sycophancy-discipline.mdc +1 -1
- package/presets/cursor/svelte/rules/code-quality-and-refactoring.mdc +1 -1
- package/presets/cursor/svelte/rules/feature-delivery-workflow.mdc +2 -1
- package/presets/cursor/svelte/rules/mcp-usage.mdc +100 -0
- package/presets/cursor/svelte/rules/preset-no-cross-stack-leakage.mdc +1 -0
- package/presets/cursor/svelte/rules/product-specs-authoring.mdc +6 -4
- package/presets/cursor/svelte/rules/product-specs.mdc +8 -4
- package/presets/cursor/svelte/skills/README.md +2 -0
- package/presets/cursor/svelte/skills/ci-investigation/SKILL.md +8 -0
- package/presets/cursor/svelte/skills/code-review/SKILL.md +7 -1
- package/presets/cursor/svelte/skills/debug-investigation/SKILL.md +41 -12
- package/presets/cursor/svelte/skills/feature-delivery/SKILL.md +9 -1
- package/presets/cursor/svelte/skills/spec-discovery/SKILL.md +58 -0
- package/presets/cursor/svelte/team/README.md +11 -0
- package/presets/cursor/svelte/team/fixtures/feature-full.json +43 -9
- package/presets/cursor/svelte/team/fixtures/memlog.example.md +9 -0
- package/scripts/aggregate-agent-task-metrics.mjs +212 -0
- package/scripts/check-hook-only-lifecycle.sh +46 -0
- package/scripts/check-preset-i18n.sh +61 -0
- package/scripts/check-preset-leakage.sh +450 -0
- package/scripts/check-preset-structure.sh +70 -0
- package/scripts/check-preset-token-budget.sh +139 -0
- package/scripts/check-preset-twin-map.sh +122 -0
- package/scripts/check-product-specs.sh +90 -0
- package/scripts/check-rule-eval.mjs +149 -0
- package/scripts/check-shared-core-drift.sh +154 -0
- package/scripts/close-agent-task-human-gate.mjs +61 -0
- package/scripts/sync-dogfood-cursor.sh +70 -0
- package/scripts/sync-shared-core-embeds.sh +114 -0
- package/scripts/test-agent-task-metrics-hooks.mjs +895 -0
- package/scripts/test-cli-mcp-merge.mjs +137 -0
|
@@ -27,6 +27,7 @@ Artifact directory for the Cursor “agent team” pipeline.
|
|
|
27
27
|
unit-test-plan.md
|
|
28
28
|
documentation.md
|
|
29
29
|
review.md
|
|
30
|
+
.memlog.md # append-only agent notes (optional)
|
|
30
31
|
```
|
|
31
32
|
|
|
32
33
|
## pipeline.json schema
|
|
@@ -35,6 +36,7 @@ Artifact directory for the Cursor “agent team” pipeline.
|
|
|
35
36
|
{
|
|
36
37
|
"slug": "order-history-date-filter",
|
|
37
38
|
"intent": "feature",
|
|
39
|
+
"specMode": "consume",
|
|
38
40
|
"summary": "Add date filter to Order History",
|
|
39
41
|
"steps": [
|
|
40
42
|
{ "agent": "task-analyst", "label": "Clarify and decompose" },
|
|
@@ -59,6 +61,8 @@ Artifact directory for the Cursor “agent team” pipeline.
|
|
|
59
61
|
| `skipIf` | `debugger.fixed` \| `ci-investigator.resolved` |
|
|
60
62
|
| `parallel` | Invoke all `agent` values in one parent turn |
|
|
61
63
|
|
|
64
|
+
Optional top-level **`specMode`:** `consume` | `generate` | `none` (router echo; `brief.md` `## Spec mode` wins).
|
|
65
|
+
|
|
62
66
|
## status.json (pipeline mode)
|
|
63
67
|
|
|
64
68
|
```json
|
|
@@ -112,6 +116,13 @@ Bootstrap `<slug>/` by **writing** `pipeline.json` (Write tool). Runtime/hook ow
|
|
|
112
116
|
|
|
113
117
|
Commit task artifacts if you want them to survive `ai-rules clean cursor`. Or copy finished tasks to `docs/agent-workflow/tasks/<slug>/`.
|
|
114
118
|
|
|
119
|
+
|
|
120
|
+
## specMode, applyReadiness, memlog
|
|
121
|
+
|
|
122
|
+
- **`specMode`:** `consume` | `generate` | `none` — primary in `brief.md` `## Spec mode`; optional top-level `pipeline.json` `specMode`. `none` skips INDEX/author mode (spike/research).
|
|
123
|
+
- **`applyReadiness`:** YAML frontmatter on developer `implementation.md`; JSON-shaped `{ "state": "blocked"|"ready"|"all_done", "contextFiles": [] }` on the analyst receipt (analyst may emit `blocked` pre-gate). See `agent-artifact-contracts`.
|
|
124
|
+
- **Memlog:** `.cursor/team/tasks/<slug>/.memlog.md` (Claude: `.claude/team/tasks/<slug>/.memlog.md`) — append-only, agent-written; `/task-continue` may read. Hook does not parse it. Example: `fixtures/memlog.example.md`.
|
|
125
|
+
|
|
115
126
|
## Artifact manifest and receipts
|
|
116
127
|
|
|
117
128
|
Each slug stores one context index at `.cursor/team/tasks/<slug>/artifact-manifest.json`. Schema v1 is defined by shared core `agent-team/agent-artifact-contracts.md`: every entry declares its producer, status, authoritative paths, acceptance-criteria IDs, decomposition task IDs, timestamps, and a terminal completion receipt.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Memlog example
|
|
2
|
+
|
|
3
|
+
Append-only. Agents write; `/task-continue` may read. The hook does not parse this file.
|
|
4
|
+
|
|
5
|
+
## 2026-08-13
|
|
6
|
+
|
|
7
|
+
- `decision`: specMode=generate; research-before-spec requested
|
|
8
|
+
- `claim`: empty-cart copy lives in CartEmpty.tsx (code-archaeology, inferred)
|
|
9
|
+
- `assumption`: no guest checkout in v1
|
|
@@ -13,4 +13,24 @@ Copied to `.cursor/mcp.json` on `ai-rules init cursor --preset nuxt`.
|
|
|
13
13
|
|
|
14
14
|
Do not put secrets in the file. Optional: `CONTEXT7_API_KEY` in the environment — higher Context7 rate limits. Figma — OAuth on first connect (do not write the token into the config).
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
## Agent usage
|
|
18
|
+
|
|
19
|
+
Load requestable rule `mcp-usage`. The **session MCP catalog** is source of truth (this file and `mcp.json` are hints). Discover tool schemas before calling; never invent them.
|
|
20
|
+
|
|
21
|
+
**Context7 (shipped):** query docs when a third-party API is not confirmed by lockfile + sibling files. Use the installed major. Cap ≤3 doc queries per question. If Context7 is down, mark `// VERIFY` and continue — do not block.
|
|
22
|
+
|
|
23
|
+
## Local overlay (not shipped)
|
|
24
|
+
|
|
25
|
+
`init` **merges** `mcpServers`: preset keys are updated; extra local servers are kept. User-level MCP is never touched. Prefer user-level MCP if you do not want overlay servers in the project file.
|
|
26
|
+
|
|
27
|
+
Use an overlay only when it is **ready** (`serverStatus` not `error` / `needsAuth` / `loading`) **and** the task fits. Absence is not a blocker unless the user required that MCP as source of truth.
|
|
28
|
+
|
|
29
|
+
| Kind | Typical aliases | When |
|
|
30
|
+
|------|-----------------|------|
|
|
31
|
+
| Observability | `sentry`, `datadog`, `plugin-datadog-*` | production error, event/trace id, APM |
|
|
32
|
+
| Tickets | `linear`, `jira`, `notion`, `plugin-notion-*` | ticket/page URL; read-only; task-folder artifacts remain SoT |
|
|
33
|
+
| GitHub MCP | `github` | optional; native `gh` remains SoT for PRs and checks |
|
|
34
|
+
| Storybook | `storybook`, `user-storybook`, `plugin-storybook`, `storybook-mcp-addon` | component docs/stories/controls; needs Storybook running; not shipped |
|
|
35
|
+
|
|
36
|
+
**Browser split (this preset):** Playwright MCP → e2e agents and selectors. Chrome DevTools MCP → `debugger` / `performance-auditor` against a running app. Not interchangeable.
|
|
@@ -48,6 +48,14 @@ PASS | PASS_WITH_NOTES | FAIL
|
|
|
48
48
|
|-----------|--------|-------|
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
+
|
|
52
|
+
## MCP usage
|
|
53
|
+
|
|
54
|
+
Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
|
|
55
|
+
|
|
56
|
+
Shipped browser split: Playwright MCP for e2e specs/selectors; Chrome DevTools MCP for live-app debug and performance (app must be running). Storybook MCP if present and the work is component docs/stories.
|
|
57
|
+
|
|
58
|
+
|
|
51
59
|
## Artifact contract
|
|
52
60
|
|
|
53
61
|
- **Authoritative inputs:** read `.cursor/team/tasks/<slug>/artifact-manifest.json` first; consume handoff `artifactInputIds` when supplied, otherwise consume the manifest entries for brief/decomposition, implementation or UI diff scope, and prior review artifacts when present.
|
|
@@ -26,6 +26,12 @@ Use **`package-manager.mdc`** for the repo package manager.
|
|
|
26
26
|
|
|
27
27
|
Prefer **`lint`** (= js + css + typecheck) before handoff on large changes.
|
|
28
28
|
|
|
29
|
+
## Verification before completion
|
|
30
|
+
|
|
31
|
+
<!-- shared-core: quality/verification-before-completion.md -->
|
|
32
|
+
|
|
33
|
+
Before writing `validation-report.md` or claiming PASS: IDENTIFY the commands, RUN them, READ exit codes, VERIFY they match the verdict, THEN claim. Do not mark PASS from memory of a prior developer run.
|
|
34
|
+
|
|
29
35
|
## Preset-structure validation (when scope is preset / packages/ai-rules)
|
|
30
36
|
|
|
31
37
|
When validating **preset packaging** changes (paths under `packages/ai-rules/presets/**`, or `scope: preset-structure-validation` / `preset-artifacts-only`), run these checks. Skip app lint if there are **no** `app/**` changes.
|
|
@@ -47,6 +47,14 @@ Commands run and results.
|
|
|
47
47
|
- If the fix requires feature work beyond CI scope → document in `ci-report.md` and emit owned receipt outcome `completed`; orchestrator/hook may invoke `feature-developer`.
|
|
48
48
|
- If only investigation was requested → stop after report without code changes.
|
|
49
49
|
|
|
50
|
+
|
|
51
|
+
## MCP usage
|
|
52
|
+
|
|
53
|
+
Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
|
|
54
|
+
|
|
55
|
+
If a Sentry/Datadog (or similar) MCP is ready and the task is a production error, event, or trace, use it. Do not invent telemetry.
|
|
56
|
+
|
|
57
|
+
|
|
50
58
|
## Artifact contract
|
|
51
59
|
|
|
52
60
|
- **Authoritative inputs:** read `.cursor/team/tasks/<slug>/artifact-manifest.json` first; consume handoff `artifactInputIds` when supplied, otherwise consume the manifest entries for brief/decomposition when present, failing check context, and prior validation/debug artifacts.
|
|
@@ -59,3 +67,4 @@ Provide summary: failed check, root cause, files changed, validation commands ru
|
|
|
59
67
|
## Anti-sycophancy discipline
|
|
60
68
|
|
|
61
69
|
- When writing or changing code, load / follow rule `anti-sycophancy-discipline`.
|
|
70
|
+
- When acting on review feedback (`changes_requested` / human comments): verify each item against the codebase before implementing; no performative agreement.
|
|
@@ -15,6 +15,8 @@ You are a senior code reviewer. You may write only review artifacts under `.curs
|
|
|
15
15
|
|
|
16
16
|
Apply the **`code-review` skill** and **`code-review-mr.mdc`** checklist.
|
|
17
17
|
|
|
18
|
+
You **issue** reviews. Implementers acting on your findings must verify each item against the codebase and must not perform agreement. Do not require gratitude in replies.
|
|
19
|
+
|
|
18
20
|
## Tests gate
|
|
19
21
|
|
|
20
22
|
- If diff changes mappers, Pinia actions/getters, or domain logic **without** new/updated `*.spec.ts` → **REQUEST_CHANGES** unless task scope explicitly excludes tests.
|
|
@@ -46,6 +46,22 @@ fixApplied: false
|
|
|
46
46
|
|
|
47
47
|
5. If fix is trivial and clearly scoped, you **may** apply the minimal fix and set `fixApplied: true` in the report. Otherwise leave implementation to **feature-developer** with `fixApplied: false`.
|
|
48
48
|
|
|
49
|
+
|
|
50
|
+
## 3-fix architecture gate
|
|
51
|
+
|
|
52
|
+
After **three** unsuccessful fix attempts (or the same symptom returning twice): STOP. Do not attempt fix #4. Escalate architecture with the human or `solution-architect`. Follow skill `debug-investigation`. Before `fixApplied: true`, re-run the failing check.
|
|
53
|
+
|
|
54
|
+
## MCP usage
|
|
55
|
+
|
|
56
|
+
Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
|
|
57
|
+
|
|
58
|
+
If Chrome DevTools MCP is ready and the app is running, use it for console, network, and runtime evidence.
|
|
59
|
+
|
|
60
|
+
Shipped browser split: Playwright MCP for e2e specs/selectors; Chrome DevTools MCP for live-app debug and performance (app must be running). Storybook MCP if present and the work is component docs/stories.
|
|
61
|
+
|
|
62
|
+
If a Sentry/Datadog (or similar) MCP is ready and the task is a production error, event, or trace, use it. Do not invent telemetry.
|
|
63
|
+
|
|
64
|
+
|
|
49
65
|
## Artifact contract
|
|
50
66
|
|
|
51
67
|
- **Authoritative inputs:** read `.cursor/team/tasks/<slug>/artifact-manifest.json` first; consume handoff `artifactInputIds` when supplied, otherwise consume the manifest entries for brief/decomposition when present, failing evidence, and related prior artifacts.
|
|
@@ -64,3 +80,4 @@ Do not perform formal code review or write e2e plans — those are separate agen
|
|
|
64
80
|
## Anti-sycophancy discipline
|
|
65
81
|
|
|
66
82
|
- When writing or changing code, load / follow rule `anti-sycophancy-discipline`.
|
|
83
|
+
- When acting on review feedback (`changes_requested` / human comments): verify each item against the codebase before implementing; no performative agreement.
|
|
@@ -47,6 +47,13 @@ Do not perform formal code review — that is the code-reviewer subagent's job.
|
|
|
47
47
|
## Anti-sycophancy discipline
|
|
48
48
|
|
|
49
49
|
- When writing or changing code, load / follow rule `anti-sycophancy-discipline`.
|
|
50
|
+
- When acting on review feedback (`changes_requested` / human comments): verify each item against the codebase before implementing; no performative agreement.
|
|
51
|
+
|
|
52
|
+
## Verification before completion
|
|
53
|
+
|
|
54
|
+
<!-- shared-core: quality/verification-before-completion.md -->
|
|
55
|
+
|
|
56
|
+
Before handoff, IDENTIFY→RUN→READ→VERIFY the scoped checks for this WP, THEN claim. Do not say the work is done without that evidence in the same turn. Full-project lint is `build-verifier`.
|
|
50
57
|
|
|
51
58
|
## Anti-hallucination (Vue / Nuxt / Pinia)
|
|
52
59
|
|
|
@@ -65,6 +72,31 @@ When work touches a page/feature/route/alias: if `docs/specs/INDEX.md` exists (o
|
|
|
65
72
|
Mechanical INDEX/frontmatter fixes only when implementation renames routes/ids. Substantive behavior edits → hand back to task-analyst (or tech-writer where present). If INDEX is absent and generation was not approved, treat specs as optional (greenfield).
|
|
66
73
|
|
|
67
74
|
|
|
75
|
+
**specMode `none`:** do not require INDEX; implement from brief/AC only.
|
|
76
|
+
|
|
77
|
+
**applyReadiness:** YAML frontmatter on `implementation.md`:
|
|
78
|
+
|
|
79
|
+
```yaml
|
|
80
|
+
applyReadiness:
|
|
81
|
+
state: ready # blocked | ready | all_done
|
|
82
|
+
contextFiles: []
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
`blocked` if human gate pending, required spec missing, required UX `INCOMPLETE`, or incomplete WP deps. `ready` when the current WP may be implemented. `all_done` on the final receipt when mechanical spec sync is done.
|
|
86
|
+
|
|
87
|
+
**Code Map + Suggested Review Order:** when this WP spans **>1 layer or module**, add to `implementation.md` a Code Map (3–8 annotated paths) and Suggested Review Order lines `concern | path:line | ≤15 words`. Omit for single-file / single-layer WPs.
|
|
88
|
+
|
|
89
|
+
**Memlog:** append implementation decisions to `.cursor/team/tasks/<slug>/.memlog.md` (append-only).
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
## MCP usage
|
|
94
|
+
|
|
95
|
+
Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
|
|
96
|
+
|
|
97
|
+
Shipped browser split: Playwright MCP for e2e specs/selectors; Chrome DevTools MCP for live-app debug and performance (app must be running). Storybook MCP if present and the work is component docs/stories.
|
|
98
|
+
|
|
99
|
+
|
|
68
100
|
## Artifact contract
|
|
69
101
|
|
|
70
102
|
- **Authoritative inputs:** read `.cursor/team/tasks/<slug>/artifact-manifest.json` first; consume handoff `artifactInputIds` when supplied, otherwise consume the manifest entries for `brief.md`, `decomposition.md`, current scope, and applicable prior findings.
|
|
@@ -54,6 +54,12 @@ Temporary adapters, feature flags, dual-write if needed.
|
|
|
54
54
|
- Map every phase to concrete decomposition tasks for `feature-developer`.
|
|
55
55
|
- Do not implement code — planning only.
|
|
56
56
|
|
|
57
|
+
|
|
58
|
+
## MCP usage
|
|
59
|
+
|
|
60
|
+
Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
|
|
61
|
+
|
|
62
|
+
|
|
57
63
|
## Artifact contract
|
|
58
64
|
|
|
59
65
|
- **Authoritative inputs:** read `.cursor/team/tasks/<slug>/artifact-manifest.json` first; consume handoff `artifactInputIds` when supplied, otherwise consume the manifest entries for brief/decomposition and stack/version context from the repo.
|
|
@@ -51,6 +51,14 @@ Bundle chunks, Lighthouse hints, or measured timings.
|
|
|
51
51
|
Ordered list for feature-developer if fixes are requested.
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
|
|
55
|
+
## MCP usage
|
|
56
|
+
|
|
57
|
+
Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
|
|
58
|
+
|
|
59
|
+
If Chrome DevTools MCP is ready and the app is running, use it for console/network/traces. Do not treat that as an e2e substitute.
|
|
60
|
+
|
|
61
|
+
|
|
54
62
|
## Artifact contract
|
|
55
63
|
|
|
56
64
|
- **Authoritative inputs:** read `.cursor/team/tasks/<slug>/artifact-manifest.json` first; consume handoff `artifactInputIds` when supplied, otherwise consume the manifest entries for brief when present and the scoped git diff / routes under audit.
|
|
@@ -22,6 +22,14 @@ You generate Playwright tests from project test plans.
|
|
|
22
22
|
5. **Use `playwright` MCP** when available (`browser_navigate`, `browser_snapshot`, generator tools; may appear as `user-playwright` if installed globally) to verify selectors before finalizing specs.
|
|
23
23
|
6. Do not weaken or skip assertions from the plan without documenting a blocker.
|
|
24
24
|
|
|
25
|
+
|
|
26
|
+
## MCP usage
|
|
27
|
+
|
|
28
|
+
Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
|
|
29
|
+
|
|
30
|
+
Use Playwright MCP when available for selector checks and failure reproduction. Chrome DevTools is for `debugger` / `performance-auditor`, not this e2e loop. Storybook MCP if present may inform component docs — do not replace `*.cases.md`.
|
|
31
|
+
|
|
32
|
+
|
|
25
33
|
## Completion
|
|
26
34
|
|
|
27
|
-
Run the affected spec if feasible. Report files changed, tests run, failures, and gaps. For agent team tasks,
|
|
35
|
+
Run the affected spec if feasible. Report files changed, tests run, failures, and gaps. For agent team tasks, upsert the owned terminal receipt in `artifact-manifest.json`; do not mutate `status.json`.
|
|
@@ -22,6 +22,14 @@ You debug and fix failing Playwright e2e tests.
|
|
|
22
22
|
5. Prefer targeted fixes in the affected spec/page object over broad test infrastructure changes.
|
|
23
23
|
6. Re-run the affected spec when feasible.
|
|
24
24
|
|
|
25
|
+
|
|
26
|
+
## MCP usage
|
|
27
|
+
|
|
28
|
+
Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
|
|
29
|
+
|
|
30
|
+
Use Playwright MCP when available for selector checks and failure reproduction. Chrome DevTools is for `debugger` / `performance-auditor`, not this e2e loop. Storybook MCP if present may inform component docs — do not replace `*.cases.md`.
|
|
31
|
+
|
|
32
|
+
|
|
25
33
|
## Completion
|
|
26
34
|
|
|
27
|
-
Report root cause, files changed, validation result, and remaining flakiness risk. For agent team tasks,
|
|
35
|
+
Report root cause, files changed, validation result, and remaining flakiness risk. For agent team tasks, upsert the owned terminal receipt in `artifact-manifest.json`; do not mutate `status.json`.
|
|
@@ -25,4 +25,4 @@ Follow **`playwright-agents.mdc`**, **`tests-e2e-structure.mdc`**, and the **`pl
|
|
|
25
25
|
|
|
26
26
|
## Output
|
|
27
27
|
|
|
28
|
-
Write or update the relevant `*.cases.md` file. If this is part of an agent team task, summarize changed plans and
|
|
28
|
+
Write or update the relevant `*.cases.md` file. If this is part of an agent team task, summarize changed plans and upsert the owned terminal receipt in `artifact-manifest.json`; do not mutate `status.json`.
|
|
@@ -53,6 +53,12 @@ Write `.cursor/team/tasks/<slug>/architecture.md`:
|
|
|
53
53
|
- Flag when decomposition should change — list suggested updates for analyst/developer.
|
|
54
54
|
- Do **not** write production code or tests.
|
|
55
55
|
|
|
56
|
+
|
|
57
|
+
## MCP usage
|
|
58
|
+
|
|
59
|
+
Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
|
|
60
|
+
|
|
61
|
+
|
|
56
62
|
## Artifact contract
|
|
57
63
|
|
|
58
64
|
- **Authoritative inputs:** read `.cursor/team/tasks/<slug>/artifact-manifest.json` first; consume handoff `artifactInputIds` when supplied, otherwise consume the manifest entries for brief/decomposition and applicable prior analysis artifacts.
|
|
@@ -9,10 +9,20 @@ You are a senior business/technical analyst for a Nuxt 3 frontend team.
|
|
|
9
9
|
|
|
10
10
|
Your job is to reach **Definition of Ready (DoR)** before any implementation starts. You may write only `.cursor/team/**` artifacts. You do **not** write production code or modify application source files.
|
|
11
11
|
|
|
12
|
+
## Classify first
|
|
13
|
+
|
|
14
|
+
<!-- shared-core: agent-team/task-classification.md -->
|
|
15
|
+
|
|
16
|
+
Before decomposing, name the class: **spike** / **bounded** / **architectural**. Maps to existing pipeline profiles — do not invent a second orchestrator.
|
|
17
|
+
|
|
18
|
+
- **Spike** — research DoR; no implement tasks.
|
|
19
|
+
- **Bounded** — few tasks, only layers actually touched; do not pad types/api/store/ui.
|
|
20
|
+
- **Architectural** — full layer table; architect when boundaries are unclear.
|
|
21
|
+
|
|
12
22
|
## Clarification cycle (must)
|
|
13
23
|
|
|
14
24
|
1. Rephrase the task in your own words (goal, user value, boundaries).
|
|
15
|
-
2. Ask
|
|
25
|
+
2. Ask questions — **prefer one** unblocking question; **never more than 3** per iteration.
|
|
16
26
|
3. List explicit **assumptions** when information is missing.
|
|
17
27
|
4. Do **not** decompose until acceptance criteria are **testable and unambiguous**.
|
|
18
28
|
5. If critical unknowns remain, mark them in `open_questions` and ask the user before finalizing.
|
|
@@ -108,6 +118,15 @@ Do not invoke the developer or any implementation subagent.
|
|
|
108
118
|
|
|
109
119
|
**Author mode (Generate / Bootstrap):** When the user runs `/spec-start`, router intent is `spec-gen` / bootstrap, or brief/AC requests generation: load **`product-specs`** + **`product-specs-authoring`** and skill **`spec-authoring`**. You are the **primary author** (INDEX bootstrap included). Follow frontmatter v1 + required headings; update INDEX in the **same change set**; default `status: draft`. Block handoff via `open_questions` until the authoring self-check passes.
|
|
110
120
|
|
|
121
|
+
|
|
122
|
+
**Spec mode:** Write `## Spec mode` in `brief.md` with exactly one of `consume` | `generate` | `none`. Infer if unset: spike/research/preset-only → `none`; `/spec-start` or router `spec-gen` → `generate`; otherwise `consume`. Router may echo `specMode` on `pipeline.json`.
|
|
123
|
+
|
|
124
|
+
**`none`:** skip INDEX row requirement and author mode; do not invent a dummy INDEX.
|
|
125
|
+
|
|
126
|
+
**Research-before-spec (opt-in):** load skill **`spec-discovery`** only when the user/AC asks research before authoring (not default consume `/task`). Run a **subset** of methods; **`claim-ledger` is mandatory** whenever the skill loads. Append chronological notes to `.cursor/team/tasks/<slug>/.memlog.md` (append-only; do not mutate `status.json`).
|
|
127
|
+
|
|
128
|
+
**applyReadiness (author blocked):** if specs are drafted but the human gate has not passed, or a required named spec is missing, emit `applyReadiness: { "state": "blocked", "contextFiles": ["…"] }` on the analysis receipt. Do not invoke feature-developer.
|
|
129
|
+
|
|
111
130
|
### Brief sections (when author mode or INDEX exists)
|
|
112
131
|
|
|
113
132
|
Add to `brief.md`:
|
|
@@ -138,6 +157,14 @@ Write `.cursor/team/tasks/<slug>/ux-design.md` with the headings in rule `ux-des
|
|
|
138
157
|
|
|
139
158
|
When produced, append `ux-design.md` to this step's **`analysis`** `authoritativePaths` / `evidencePaths`. No new manifest producer row.
|
|
140
159
|
|
|
160
|
+
|
|
161
|
+
## MCP usage
|
|
162
|
+
|
|
163
|
+
Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
|
|
164
|
+
|
|
165
|
+
If the prompt/brief has a tracker URL (Linear/Jira/Notion/…) and that MCP is ready, pull AC **read-only**. Task-folder artifacts remain SoT.
|
|
166
|
+
|
|
167
|
+
|
|
141
168
|
## Artifact contract
|
|
142
169
|
|
|
143
170
|
- **Authoritative inputs:** read `.cursor/team/tasks/<slug>/artifact-manifest.json` first; consume `pipeline.json`, the manifest routing entry, user-approved decisions, and any authoritative architecture/approval entries.
|
|
@@ -46,6 +46,20 @@ Set optional top-level `"profile": "full" | "standard" | "light"` in `pipeline.j
|
|
|
46
46
|
|
|
47
47
|
**Light signals:** one file, one layer, explicit AC in prompt, no architectural risk. **Never skip `build-verifier`** after developer when `app/**` changed. **Skip `code-reviewer`** in light only for non-prod preset/docs tasks — for `app/src` changes prefer standard.
|
|
48
48
|
|
|
49
|
+
## Task class (spike / bounded / architectural)
|
|
50
|
+
|
|
51
|
+
<!-- shared-core: agent-team/task-classification.md -->
|
|
52
|
+
|
|
53
|
+
Name the class in `routingReasons`. Maps to profiles already in this file — do not add a parallel step table.
|
|
54
|
+
|
|
55
|
+
| Class | Use existing |
|
|
56
|
+
|-------|----------------|
|
|
57
|
+
| Spike | intent `spike` |
|
|
58
|
+
| Bounded | `profile: light` (or skip analyst when AC is complete) |
|
|
59
|
+
| Architectural | `profile: full` + `solution-architect` when boundaries unclear |
|
|
60
|
+
|
|
61
|
+
SoT: `agent-team/task-classification` (shared-core marker above; do not invent a second pipeline).
|
|
62
|
+
|
|
49
63
|
**Light by intent:**
|
|
50
64
|
|
|
51
65
|
| intent | light steps |
|
|
@@ -114,6 +128,7 @@ Cursor mapping when orchestrator invokes Task: `cheap` → pass `model: "fast"`
|
|
|
114
128
|
| Intent | Default humanGates |
|
|
115
129
|
|--------|-------------------|
|
|
116
130
|
| `feature`, `refactor`, `test-only`, `a11y` | `["after:task-analyst"]` |
|
|
131
|
+
| `spec-gen` | `["after:task-analyst"]` |
|
|
117
132
|
| `migration` | `["after:migration-specialist"]` |
|
|
118
133
|
| `docs-only` | `["after:task-analyst"]` |
|
|
119
134
|
| `unit-only` | `["after:unit-test-planner"]` when new plan; `[]` for healer |
|
|
@@ -149,6 +164,11 @@ Detect and set routing reasons when the user asks to **generate / bootstrap prod
|
|
|
149
164
|
|
|
150
165
|
Do **not** add a dedicated `spec-author` agent. Do not require solution-architect for routine spec authoring.
|
|
151
166
|
|
|
167
|
+
|
|
168
|
+
**specMode (optional `pipeline.json` field):** `none` for spike/research; `generate` for `spec-gen` / `/spec-start`; `consume` default when INDEX exists. Echo top-level `specMode`. Brief `## Spec mode` wins on conflict.
|
|
169
|
+
|
|
170
|
+
Do **not** add a pipeline step for `spec-discovery`. Instruct analyst to load that skill only when the user/AC asks research-before-spec.
|
|
171
|
+
|
|
152
172
|
## Runtime initialization
|
|
153
173
|
|
|
154
174
|
Return the routing receipt to the orchestrator. The orchestration runtime/hook exclusively initializes and updates `status.json`, `metrics.json`, attempt identities, and gate lifecycle; the router does not write those shared runtime files.
|
|
@@ -14,7 +14,7 @@ Routes intent **`spec-gen`** (or bootstrap) → **task-analyst** in **author mod
|
|
|
14
14
|
3. Ensure `.cursor/team/tasks/<slug>/` exists (Write artifacts; not Shell mkdir).
|
|
15
15
|
4. Write `.cursor/team/active-task.json` → `{ "slug": "<slug>" }`.
|
|
16
16
|
5. Write minimal `pipeline.json`: task-analyst → (optional stop) → feature-developer only if user asked implement-after. **No separate spec-author agent.**
|
|
17
|
-
6. Invoke **task-analyst** with: author mode; load **`product-specs`** + **`product-specs-authoring`** + skill **`spec-authoring`**; Bootstrap if `docs/specs/` absent, else Generate.
|
|
17
|
+
6. Invoke **task-analyst** with: author mode; load **`product-specs`** + **`product-specs-authoring`** + skill **`spec-authoring`**; Bootstrap if `docs/specs/` absent, else Generate. Optional: if arguments/AC ask research-before-spec, also load skill **`spec-discovery`** (not default).
|
|
18
18
|
7. Wait for analyst. **Do not** invoke feature-developer until human gate passes.
|
|
19
19
|
|
|
20
20
|
## Human gate
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"mcpServers": {
|
|
3
3
|
"context7": {
|
|
4
4
|
"command": "npx",
|
|
5
|
-
"args": ["-y", "@upstash/context7-mcp"]
|
|
5
|
+
"args": ["-y", "@upstash/context7-mcp@4.0.2"]
|
|
6
6
|
},
|
|
7
7
|
"playwright": {
|
|
8
8
|
"command": "npx",
|
|
9
|
-
"args": ["-y", "@playwright/mcp@
|
|
9
|
+
"args": ["-y", "@playwright/mcp@0.0.79"]
|
|
10
10
|
},
|
|
11
11
|
"chrome-devtools": {
|
|
12
12
|
"command": "npx",
|
|
13
|
-
"args": ["-y", "chrome-devtools-mcp@
|
|
13
|
+
"args": ["-y", "chrome-devtools-mcp@1.7.0"]
|
|
14
14
|
},
|
|
15
15
|
"figma": {
|
|
16
16
|
"url": "https://mcp.figma.com/mcp"
|
|
@@ -21,7 +21,7 @@ Special Cursor Rule format:
|
|
|
21
21
|
|
|
22
22
|
- **`alwaysApply: true`** (Cursor) / **without `paths:`** (Claude) — base invariants only (**3**):
|
|
23
23
|
- `nuxt-app-core`, `package-manager`, `code-quality-and-refactoring`
|
|
24
|
-
- **On-demand / requestable** — `post-change-lint` (**required after code edits**, not always-on), `agent-team-intake` (via orchestrator/commands), `agent-team-orchestrator`, architecture, imports, UI, tests, feature-delivery-workflow, `design-guidance`, `anti-sycophancy-discipline`, `vue-nuxt-anti-hallucination`, reference-features, product-specs, product-specs-authoring, nuxt-pages-routing, `security-nuxt`, vue-a11y-coding, `technical-retro`, `mockup-review`, `ux-design`
|
|
24
|
+
- **On-demand / requestable** — `post-change-lint` (**required after code edits**, not always-on), `agent-team-intake` (via orchestrator/commands), `agent-team-orchestrator`, architecture, imports, UI, tests, feature-delivery-workflow, `design-guidance`, `mcp-usage`, `anti-sycophancy-discipline`, `vue-nuxt-anti-hallucination`, reference-features, product-specs, product-specs-authoring, nuxt-pages-routing, `security-nuxt`, vue-a11y-coding, `technical-retro`, `mockup-review`, `ux-design`
|
|
25
25
|
- **Preset author meta** (globs `packages/ai-rules/presets/**`, never alwaysApply): `preset-layering`, `preset-twin-sync`, `preset-token-budget`, `preset-pr-checklist`, `preset-no-cross-stack-leakage`
|
|
26
26
|
- **Skills** — long procedures (`feature-delivery`, `code-review`, …)
|
|
27
27
|
|
|
@@ -34,6 +34,7 @@ SoT prose: `packages/ai-rules/presets/_shared/core/**` (see `_shared/README.md`)
|
|
|
34
34
|
| `quality/code-quality-and-refactoring.md` | `code-quality-and-refactoring.mdc` | Stack notes: ESLint/stylelint, CSS tokens |
|
|
35
35
|
| `quality/anti-sycophancy-discipline.md` | `anti-sycophancy-discipline.mdc` | requestable full VERIFY/discipline set; globs `**/*.{ts,tsx}` |
|
|
36
36
|
| `quality/design-guidance.md` | `design-guidance.mdc` | requestable smells/GoF; globs `**/*.{ts,tsx}` |
|
|
37
|
+
| `quality/mcp-usage.md` | `mcp-usage.mdc` | requestable Context7 + overlay MCP |
|
|
37
38
|
| `agent-team/agent-team-orchestrator.md` | `agent-team-orchestrator.mdc` | Roles (Playwright trio); preset PR pointer |
|
|
38
39
|
| `agent-team/agent-team-intake.md` | `agent-team-intake.mdc` | thin |
|
|
39
40
|
| `architecture/feature-delivery-workflow.md` | `feature-delivery-workflow.mdc` | Nuxt layer checklist |
|
|
@@ -19,6 +19,7 @@ Work request without `/task` — see **`agent-team-intake.mdc`** (when to sugges
|
|
|
19
19
|
| `/task-continue <slug>` | After human gate or pause |
|
|
20
20
|
| `/feature-start <desc>` | Legacy: analyst-only start (no router) |
|
|
21
21
|
| `/feature-continue <slug>` | Alias of task-continue |
|
|
22
|
+
| `/spec-start [desc]` | Generate/bootstrap `docs/specs` — router intent `spec-gen` → analyst author mode → human gate |
|
|
22
23
|
| `/technical-retro [slug]` | Retro with agent team block |
|
|
23
24
|
|
|
24
25
|
## Stack notes
|
|
@@ -28,7 +29,7 @@ Work request without `/task` — see **`agent-team-intake.mdc`** (when to sugges
|
|
|
28
29
|
| Agent | App / prod writes | Typical intent |
|
|
29
30
|
|-------|-------------------|----------------|
|
|
30
31
|
| `task-router` | no (team only) | Every `/task` — writes `pipeline.json` |
|
|
31
|
-
| `task-analyst` | no (team only) | feature, refactor, test-only, a11y, docs-only, migration, ux-design |
|
|
32
|
+
| `task-analyst` | no (team only) | feature, refactor, test-only, a11y, docs-only, migration, ux-design, spec-gen |
|
|
32
33
|
| `solution-architect` | no (team only) | spike, complex cross-layer feature |
|
|
33
34
|
| `migration-specialist` | no (team only) | migration — phased upgrade plan |
|
|
34
35
|
| `api-contract-reviewer` | no (team only) | new/changed backend API contracts |
|
|
@@ -11,7 +11,7 @@ alwaysApply: false
|
|
|
11
11
|
|
|
12
12
|
Procedural rules for code generation and review. Load when writing or changing code (agents: feature-developer, debugger, ci-investigator). Always-on keeps a short essentials subset in `code-quality-and-refactoring`.
|
|
13
13
|
|
|
14
|
-
1. **Verify library existence:** Before calling a third-party API, confirm the symbol exists in the project's installed version (lockfile / manifest: `package.json`, `go.mod`, `Podfile.lock`, `pom.xml`, `Cargo.toml`, or equivalent). If you cannot verify, mark `// VERIFY: lib.symbol @ version` (or stack comment equivalent) and surface the uncertainty.
|
|
14
|
+
1. **Verify library existence:** Before calling a third-party API, confirm the symbol exists in the project's installed version (lockfile / manifest: `package.json`, `go.mod`, `Podfile.lock`, `pom.xml`, `Cargo.toml`, or equivalent). If that is not enough and Context7 MCP is available, load **`mcp-usage`** and query docs for the **installed major**. If you still cannot verify, mark `// VERIFY: lib.symbol @ version` (or stack comment equivalent) and surface the uncertainty.
|
|
15
15
|
2. **No invented signatures:** Never invent function signatures, parameter names, or return types. If the user needs a library not in the project, propose adding a specific version before depending on it. Silent stubs are worse than refusal.
|
|
16
16
|
3. **Enumerate edge cases before validating:** When asked "is this correct?" or "does this work?", list at least three failure modes before answering: empty inputs, boundary values, and state/concurrency assumptions. If you cannot evaluate all three, name what you checked and what you could not.
|
|
17
17
|
4. **Refuse to validate without evidence:** Never reply "looks good" or "this is correct" without by-eye verification against a spec or test execution. If no spec exists, ask for one or refuse to validate.
|
|
@@ -33,7 +33,7 @@ alwaysApply: true
|
|
|
33
33
|
|
|
34
34
|
Essentials below. Full procedural set (~17 rules) → load **`anti-sycophancy-discipline`**.
|
|
35
35
|
|
|
36
|
-
- Unverifiable third-party API → mark `// VERIFY: lib.symbol @ version` (or stack equivalent); never invent signatures.
|
|
36
|
+
- Unverifiable third-party API → if Context7 is up, load **`mcp-usage`** and query the installed major; else mark `// VERIFY: lib.symbol @ version` (or stack equivalent); never invent signatures.
|
|
37
37
|
- Before "is this correct?" — ≥3 failure modes (empty, boundary, concurrency/state) or name what you could not check.
|
|
38
38
|
- Refactor without tests → propose characterization test; if declined, label `UNTESTED`.
|
|
39
39
|
- Comments = WHY only when non-obvious; ban self-referential "added for issue Y".
|
|
@@ -23,7 +23,7 @@ Typical feature with backend data and shared state. Layer details — `architect
|
|
|
23
23
|
6. **UI** — types from `@/types`, no DTOs (`vue-ui.mdc`, `architecture-boundaries-ui.mdc`, `no-v-bind-spread.mdc`).
|
|
24
24
|
7. **Mocks** — per repo layout; register in `mocks/handlers.ts` (see below).
|
|
25
25
|
8. **Tests** — unit for mappers (`tests-unit.mdc`); e2e from `*.cases.md` (`tests-e2e-structure.mdc`, `playwright-agents.mdc`).
|
|
26
|
-
9. **Completion** — **`post-change-lint.mdc`**: `lint:js` + `lint:css` + `typecheck`; package manager — `package-manager.mdc`.
|
|
26
|
+
9. **Completion** — **`post-change-lint.mdc`**: `lint:js` + `lint:css` + `typecheck`; package manager — `package-manager.mdc`. When the current WP spans **more than one** layer or module, `implementation.md` includes a **Code Map** (3–8 annotated paths) and **Suggested Review Order** (`concern | path:line | ≤15 word note`). Omit both for a single-file or single-layer WP.
|
|
27
27
|
|
|
28
28
|
## Data flow (orientation)
|
|
29
29
|
|
|
@@ -70,6 +70,7 @@ flowchart LR
|
|
|
70
70
|
- RTK / Redux (`createSlice`, `createAsyncThunk`, `stores/slices/**` as the canon).
|
|
71
71
|
- **Ubiquitous language:** Domain/type names reflect the feature’s subject domain — do not mix transport/framework terms into the domain without need.
|
|
72
72
|
- Load `design-guidance` (rule stem) when assessing structure, smells, or pattern fit.
|
|
73
|
+
- Do not mutate pipeline `status.json` / `metrics.json`; the orchestration hook is the single writer. Skills upsert the owned terminal receipt in `artifact-manifest.json`.
|
|
73
74
|
|
|
74
75
|
## Matrix: zone → rules
|
|
75
76
|
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: When to call shipped Context7 and local overlay MCP — detect presence, use if the task fits, degrade.
|
|
3
|
+
alwaysApply: false
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- shared-core: quality/mcp-usage.md -->
|
|
7
|
+
|
|
8
|
+
# MCP usage
|
|
9
|
+
|
|
10
|
+
Requestable protocol for **shipped** and **local-overlay** MCP servers. Agents load this stem via one-liner wiring — do not copy tool schemas into prompts; discover them at runtime.
|
|
11
|
+
|
|
12
|
+
Does not replace Figma mockup-review (that checklist stays on `mockup-review`). Does not add pipeline agents or required handoff stems.
|
|
13
|
+
|
|
14
|
+
## Presence (runtime catalog is SoT)
|
|
15
|
+
|
|
16
|
+
1. Inspect the **session MCP catalog** (server names + `serverStatus`). Project `mcp.json` / `.mcp.json` is a hint, not proof the server is up (user-level and plugin servers never appear there).
|
|
17
|
+
2. Treat `error`, `needsAuth`, and `loading` as **unavailable**. Authenticate only when this task needs that server.
|
|
18
|
+
3. **Discover tool schemas before calling.** Never invent tool names or arguments from memory.
|
|
19
|
+
4. Match overlay servers by **documented aliases** or exact catalog ids. Prefer a ready `plugin-*` id over an unknown similarly named server; if several match, ask rather than guessing.
|
|
20
|
+
5. If two servers expose the same product (plugin + project entry), use the **ready** one; do not call both.
|
|
21
|
+
|
|
22
|
+
## Classes
|
|
23
|
+
|
|
24
|
+
| Class | Who adds it | Policy |
|
|
25
|
+
|-------|-------------|--------|
|
|
26
|
+
| **Shipped** | Preset `mcp.json` | Assume it should be there; call when the task fits; degrade if down (do not block unless noted below) |
|
|
27
|
+
| **Local overlay** | Consumer project or user MCP | Use only when present **and** the task fits. Never a required pipeline step |
|
|
28
|
+
|
|
29
|
+
Shipped in every preset: **Context7** (library docs). Other shipped servers are stack-specific — see adapter **Stack notes**.
|
|
30
|
+
|
|
31
|
+
## Context7 (shipped)
|
|
32
|
+
|
|
33
|
+
**When to call** (after lockfile / manifest + sibling files still do not confirm the symbol):
|
|
34
|
+
|
|
35
|
+
- Third-party API that would otherwise get `// VERIFY: lib.symbol @ version`
|
|
36
|
+
- Version-sensitive framework or SDK APIs
|
|
37
|
+
- Migrations / major upgrades
|
|
38
|
+
- Library is in the lockfile but the signature is unclear
|
|
39
|
+
|
|
40
|
+
**When not to call:** repo public API; a sibling file already imports the symbol; a trivial call already in this module.
|
|
41
|
+
|
|
42
|
+
**Flow:**
|
|
43
|
+
|
|
44
|
+
1. Discover server `context7`.
|
|
45
|
+
2. Resolve a library id, then query docs (read the live schema; typical names `resolve-library-id` then `query-docs`).
|
|
46
|
+
3. Put the **installed major** from the project manifest into the query.
|
|
47
|
+
4. Cap: **≤3 doc queries per question**.
|
|
48
|
+
5. Source priority: lockfile / sibling code **>** Context7 **>** training data. If docs disagree with the installed major, keep the installed API.
|
|
49
|
+
6. If Context7 is down: `// VERIFY` (or stack equivalent) and say MCP was unavailable. **Do not block** the task.
|
|
50
|
+
|
|
51
|
+
## Local overlay protocol
|
|
52
|
+
|
|
53
|
+
If a matching server is ready and a **task signal** fires → discover and use. Otherwise continue from files / native tools (`gh`, repo docs, source).
|
|
54
|
+
|
|
55
|
+
Absence of an overlay is **not** `BLOCKED` unless the user required that MCP as source of truth.
|
|
56
|
+
|
|
57
|
+
### Observability (Sentry, Datadog, similar)
|
|
58
|
+
|
|
59
|
+
**Signal:** production error, event/trace id, APM / latency, pasted dashboard or issue URL.
|
|
60
|
+
|
|
61
|
+
Use the **first ready** observability MCP. Do not invent metrics or stack traces. Do not require two observability servers.
|
|
62
|
+
|
|
63
|
+
### Tickets (Linear, Jira, Notion, similar)
|
|
64
|
+
|
|
65
|
+
**Signal:** ticket/page URL in the prompt or brief, or an explicit “pull from \<tracker\>”.
|
|
66
|
+
|
|
67
|
+
Read-only by default. Task-folder artifacts (`brief.md`, `decomposition.md`) remain SoT — do not replace them with a tracker page. Write back to the tracker **only** if the user asked.
|
|
68
|
+
|
|
69
|
+
### Component-library overlay
|
|
70
|
+
|
|
71
|
+
**Signal:** UI component public API, stories, controls, or explicit component-docs MCP.
|
|
72
|
+
|
|
73
|
+
If such a server is ready, use it for documented props/variants instead of inventing them. If it is down, read story/source files. **Block** only when the user required that MCP as SoT.
|
|
74
|
+
|
|
75
|
+
Usual aliases and runtime needs live in frontend **Stack notes**. Do not ship this server in preset `mcp.json`.
|
|
76
|
+
|
|
77
|
+
### GitHub MCP
|
|
78
|
+
|
|
79
|
+
Native `gh` / git remain SoT for PRs and checks. A GitHub MCP may be used when present; do not require it.
|
|
80
|
+
|
|
81
|
+
## Figma
|
|
82
|
+
|
|
83
|
+
Policy is stack-class-specific — see adapter **Stack notes**. If a Figma **plugin** and a project `figma` server are both present, use the ready one and do not duplicate calls.
|
|
84
|
+
|
|
85
|
+
## Forbidden
|
|
86
|
+
|
|
87
|
+
- Secrets in `mcp.json` / `.mcp.json`
|
|
88
|
+
- New pipeline agents or required handoffs for overlay MCP
|
|
89
|
+
- Treating overlay absence as blocked (except user-required SoT)
|
|
90
|
+
- Tracker/admin write tools without an explicit ask
|
|
91
|
+
- Calling overlay MCP “just in case” on unrelated tasks
|
|
92
|
+
|
|
93
|
+
## Stack notes
|
|
94
|
+
|
|
95
|
+
- Pipeline **`mockup-reviewer`** is the only agent that reads Figma for mockup review. See `mockup-review`.
|
|
96
|
+
- Shipped besides Context7: browser automation MCP (`playwright` / `playwright-test` / `user-playwright`) and `chrome-devtools`.
|
|
97
|
+
- **Split:** Playwright MCP → e2e agents (planner/generator/healer), selector checks, spec reproduction. Chrome DevTools MCP → `debugger` / `performance-auditor` against a **running app** (console, network, traces). Not a substitute for e2e.
|
|
98
|
+
- **Storybook overlay** (not shipped): aliases `storybook`, `user-storybook`, `plugin-storybook`, `storybook-mcp-addon`. Needs Storybook running (often `http://localhost:6006/mcp`). Discover docs/dev/testing toolsets. If down, read story/source files. Block only if the user required Storybook MCP as SoT.
|
|
99
|
+
- `init` **merges** `mcpServers`: preset keys update; extra local servers are kept. User-level MCP is never touched.
|
|
100
|
+
- If a Figma plugin is already connected, do not also require the project `figma` server.
|
|
@@ -23,6 +23,7 @@ Ban leakage of stack-specific names, paths, and handoff stems across presets.
|
|
|
23
23
|
- `go` / `java` / `php-hexagonal` / `php-laravel` / `mcp-ts` must not ship Playwright, XCUITest, Android instrumentation agents, Next lint recipes, or `xcodebuild`/`SwiftLint` as required handoffs.
|
|
24
24
|
- `mcp-ts` must not ship Go tool commands (`go test`, `go vet`, `golangci-lint`) or `integration-test-*` agents as required delivery gates.
|
|
25
25
|
- Shared core must not embed stack paths (`app/src/**`, `Features/**`, `playwright`, `xcodebuild`).
|
|
26
|
+
- Storybook / Chrome DevTools MCP must **not** be required handoffs or agent stems (`storybook-reviewer`) on backend or mobile stacks. Frontend overlay mentions in `MCP.md` / `mcp-usage` Stack notes are OK.
|
|
26
27
|
|
|
27
28
|
## Forbidden in ios-swift hooks/agents (FAIL)
|
|
28
29
|
|