@bonesofspring/ai-rules 0.2.18 → 0.2.19
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 +45 -0
- package/README.md +5 -3
- package/bin/cli.js +111 -4
- package/package.json +6 -3
- package/presets/_shared/README.md +1 -1
- 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/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/mcp-usage.md +84 -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/ci-investigator.md +8 -0
- package/presets/claude/android-kotlin/agents/debugger.md +8 -0
- package/presets/claude/android-kotlin/agents/feature-developer.md +23 -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 +17 -0
- package/presets/claude/android-kotlin/agents/task-router.md +6 -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/debug-investigation/SKILL.md +8 -0
- 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/ci-investigator.md +8 -0
- package/presets/claude/go/agents/debugger.md +8 -0
- package/presets/claude/go/agents/feature-developer.md +23 -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 +17 -0
- package/presets/claude/go/agents/task-router.md +6 -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 +1 -0
- package/presets/claude/go/skills/debug-investigation/SKILL.md +8 -0
- 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/ci-investigator.md +10 -11
- package/presets/claude/ios-swift/agents/debugger.md +10 -11
- package/presets/claude/ios-swift/agents/feature-developer.md +23 -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 +17 -0
- package/presets/claude/ios-swift/agents/task-router.md +6 -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 +1 -1
- package/presets/claude/ios-swift/skills/debug-investigation/SKILL.md +9 -1
- 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/ci-investigator.md +8 -0
- package/presets/claude/java/agents/debugger.md +8 -0
- package/presets/claude/java/agents/feature-developer.md +23 -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 +17 -0
- package/presets/claude/java/agents/task-router.md +6 -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 +1 -0
- package/presets/claude/java/skills/debug-investigation/SKILL.md +8 -0
- 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/feature-developer.md +23 -0
- package/presets/claude/mcp-ts/agents/solution-architect.md +5 -0
- package/presets/claude/mcp-ts/agents/task-analyst.md +17 -0
- package/presets/claude/mcp-ts/agents/task-router.md +6 -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 +1 -0
- package/presets/claude/mcp-ts/skills/debug-investigation/SKILL.md +7 -0
- 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/ci-investigator.md +8 -0
- package/presets/claude/next/agents/debugger.md +12 -0
- package/presets/claude/next/agents/feature-developer.md +25 -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 +17 -0
- package/presets/claude/next/agents/task-router.md +6 -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 +1 -1
- package/presets/claude/next/skills/debug-investigation/SKILL.md +13 -1
- 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/ci-investigator.md +8 -0
- package/presets/claude/nuxt/agents/debugger.md +12 -0
- package/presets/claude/nuxt/agents/feature-developer.md +25 -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 +17 -0
- package/presets/claude/nuxt/agents/task-router.md +10 -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 +1 -1
- package/presets/claude/nuxt/skills/debug-investigation/SKILL.md +13 -1
- 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/ci-investigator.md +8 -0
- package/presets/claude/php-hexagonal/agents/debugger.md +8 -0
- package/presets/claude/php-hexagonal/agents/feature-developer.md +23 -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 +17 -0
- package/presets/claude/php-hexagonal/agents/task-router.md +6 -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 +1 -0
- package/presets/claude/php-hexagonal/skills/debug-investigation/SKILL.md +8 -0
- 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/ci-investigator.md +8 -0
- package/presets/claude/php-laravel/agents/debugger.md +8 -0
- package/presets/claude/php-laravel/agents/feature-developer.md +23 -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 +17 -0
- package/presets/claude/php-laravel/agents/task-router.md +6 -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 +1 -0
- package/presets/claude/php-laravel/skills/debug-investigation/SKILL.md +8 -0
- 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/ci-investigator.md +8 -0
- package/presets/claude/svelte/agents/debugger.md +12 -0
- package/presets/claude/svelte/agents/feature-developer.md +25 -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 +17 -0
- package/presets/claude/svelte/agents/task-router.md +6 -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 +1 -1
- package/presets/claude/svelte/skills/debug-investigation/SKILL.md +13 -1
- 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/ci-investigator.md +8 -0
- package/presets/cursor/android-kotlin/agents/debugger.md +8 -0
- package/presets/cursor/android-kotlin/agents/feature-developer.md +23 -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 +17 -0
- package/presets/cursor/android-kotlin/agents/task-router.md +6 -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/debug-investigation/SKILL.md +8 -0
- 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/ci-investigator.md +8 -0
- package/presets/cursor/go/agents/debugger.md +8 -0
- package/presets/cursor/go/agents/feature-developer.md +23 -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 +17 -0
- package/presets/cursor/go/agents/task-router.md +6 -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 +1 -0
- package/presets/cursor/go/skills/debug-investigation/SKILL.md +8 -0
- 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/ci-investigator.md +10 -11
- package/presets/cursor/ios-swift/agents/debugger.md +10 -11
- package/presets/cursor/ios-swift/agents/feature-developer.md +23 -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 +17 -0
- package/presets/cursor/ios-swift/agents/task-router.md +6 -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 +1 -1
- package/presets/cursor/ios-swift/skills/debug-investigation/SKILL.md +9 -1
- 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/ci-investigator.md +8 -0
- package/presets/cursor/java/agents/debugger.md +8 -0
- package/presets/cursor/java/agents/feature-developer.md +23 -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 +17 -0
- package/presets/cursor/java/agents/task-router.md +6 -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 +1 -0
- package/presets/cursor/java/skills/debug-investigation/SKILL.md +8 -0
- 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/feature-developer.md +23 -0
- package/presets/cursor/mcp-ts/agents/solution-architect.md +5 -0
- package/presets/cursor/mcp-ts/agents/task-analyst.md +17 -0
- package/presets/cursor/mcp-ts/agents/task-router.md +6 -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 +1 -0
- package/presets/cursor/mcp-ts/skills/debug-investigation/SKILL.md +7 -0
- 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/ci-investigator.md +8 -0
- package/presets/cursor/next/agents/debugger.md +12 -0
- package/presets/cursor/next/agents/feature-developer.md +25 -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 +17 -0
- package/presets/cursor/next/agents/task-router.md +6 -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 +1 -1
- package/presets/cursor/next/skills/debug-investigation/SKILL.md +13 -1
- 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/ci-investigator.md +8 -0
- package/presets/cursor/nuxt/agents/debugger.md +12 -0
- package/presets/cursor/nuxt/agents/feature-developer.md +25 -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 +17 -0
- package/presets/cursor/nuxt/agents/task-router.md +6 -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 +1 -1
- package/presets/cursor/nuxt/skills/debug-investigation/SKILL.md +13 -1
- 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/ci-investigator.md +8 -0
- package/presets/cursor/php-hexagonal/agents/debugger.md +8 -0
- package/presets/cursor/php-hexagonal/agents/feature-developer.md +23 -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 +17 -0
- package/presets/cursor/php-hexagonal/agents/task-router.md +6 -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 +1 -0
- package/presets/cursor/php-hexagonal/skills/debug-investigation/SKILL.md +8 -0
- 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/ci-investigator.md +8 -0
- package/presets/cursor/php-laravel/agents/debugger.md +8 -0
- package/presets/cursor/php-laravel/agents/feature-developer.md +23 -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 +17 -0
- package/presets/cursor/php-laravel/agents/task-router.md +6 -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 +1 -0
- package/presets/cursor/php-laravel/skills/debug-investigation/SKILL.md +8 -0
- 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/ci-investigator.md +8 -0
- package/presets/cursor/svelte/agents/debugger.md +12 -0
- package/presets/cursor/svelte/agents/feature-developer.md +25 -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 +17 -0
- package/presets/cursor/svelte/agents/task-router.md +6 -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 +1 -1
- package/presets/cursor/svelte/skills/debug-investigation/SKILL.md +13 -1
- 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 +148 -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
|
@@ -72,4 +72,14 @@ When you generate tests:
|
|
|
72
72
|
});
|
|
73
73
|
});
|
|
74
74
|
```
|
|
75
|
-
</example-generation>
|
|
75
|
+
</example-generation>
|
|
76
|
+
|
|
77
|
+
## MCP usage
|
|
78
|
+
|
|
79
|
+
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.
|
|
80
|
+
|
|
81
|
+
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`.
|
|
82
|
+
|
|
83
|
+
## Completion
|
|
84
|
+
|
|
85
|
+
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`.
|
|
@@ -58,4 +58,11 @@ Key principles:
|
|
|
58
58
|
so that it is skipped during the execution. Add a comment before the failing step explaining what is happening instead
|
|
59
59
|
of the expected behavior.
|
|
60
60
|
- Do not ask user questions, you are not interactive tool, do the most reasonable thing possible to pass the test.
|
|
61
|
-
- Never wait for networkidle or use other discouraged or deprecated apis
|
|
61
|
+
- Never wait for networkidle or use other discouraged or deprecated apis
|
|
62
|
+
|
|
63
|
+
## MCP usage
|
|
64
|
+
|
|
65
|
+
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.
|
|
66
|
+
|
|
67
|
+
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`.
|
|
68
|
+
|
|
@@ -52,6 +52,12 @@ Write `.claude/team/tasks/<slug>/architecture.md`:
|
|
|
52
52
|
- Flag when decomposition should change — list suggested updates for analyst/developer.
|
|
53
53
|
- Do **not** write production code or tests.
|
|
54
54
|
|
|
55
|
+
|
|
56
|
+
## MCP usage
|
|
57
|
+
|
|
58
|
+
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.
|
|
59
|
+
|
|
60
|
+
|
|
55
61
|
## Artifact contract
|
|
56
62
|
|
|
57
63
|
- **Authoritative inputs:** read `.claude/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.
|
|
@@ -107,6 +107,15 @@ Do not invoke the developer or any implementation subagent.
|
|
|
107
107
|
|
|
108
108
|
**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.
|
|
109
109
|
|
|
110
|
+
|
|
111
|
+
**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`.
|
|
112
|
+
|
|
113
|
+
**`none`:** skip INDEX row requirement and author mode; do not invent a dummy INDEX.
|
|
114
|
+
|
|
115
|
+
**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 `.claude/team/tasks/<slug>/.memlog.md` (append-only; do not mutate `status.json`).
|
|
116
|
+
|
|
117
|
+
**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.
|
|
118
|
+
|
|
110
119
|
### Brief sections (when author mode or INDEX exists)
|
|
111
120
|
|
|
112
121
|
Add to `brief.md`:
|
|
@@ -137,6 +146,14 @@ Write `.claude/team/tasks/<slug>/ux-design.md` with the headings in rule `ux-des
|
|
|
137
146
|
|
|
138
147
|
When produced, append `ux-design.md` to this step's **`analysis`** `authoritativePaths` / `evidencePaths`. No new manifest producer row.
|
|
139
148
|
|
|
149
|
+
|
|
150
|
+
## MCP usage
|
|
151
|
+
|
|
152
|
+
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.
|
|
153
|
+
|
|
154
|
+
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.
|
|
155
|
+
|
|
156
|
+
|
|
140
157
|
## Artifact contract
|
|
141
158
|
|
|
142
159
|
- **Authoritative inputs:** read `.claude/team/tasks/<slug>/artifact-manifest.json` first; consume `pipeline.json`, the manifest routing entry, user-approved decisions, and any authoritative architecture/approval entries.
|
|
@@ -113,6 +113,7 @@ Claude Code mapping when orchestrator invokes Agent tool: `cheap` → `haiku` (o
|
|
|
113
113
|
| Intent | Default humanGates |
|
|
114
114
|
|--------|-------------------|
|
|
115
115
|
| `feature`, `refactor`, `test-only`, `a11y` | `["after:task-analyst"]` |
|
|
116
|
+
| `spec-gen` | `["after:task-analyst"]` |
|
|
116
117
|
| `migration` | `["after:migration-specialist"]` |
|
|
117
118
|
| `docs-only` | `["after:task-analyst"]` |
|
|
118
119
|
| `unit-only` | `["after:unit-test-planner"]` when new plan; `[]` for healer |
|
|
@@ -148,6 +149,11 @@ Detect and set routing reasons when the user asks to **generate / bootstrap prod
|
|
|
148
149
|
|
|
149
150
|
Do **not** add a dedicated `spec-author` agent. Do not require solution-architect for routine spec authoring.
|
|
150
151
|
|
|
152
|
+
|
|
153
|
+
**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.
|
|
154
|
+
|
|
155
|
+
Do **not** add a pipeline step for `spec-discovery`. Instruct analyst to load that skill only when the user/AC asks research-before-spec.
|
|
156
|
+
|
|
151
157
|
## Runtime initialization
|
|
152
158
|
|
|
153
159
|
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.
|
|
@@ -3,50 +3,21 @@ name: feature-continue
|
|
|
3
3
|
description: Legacy alias for /task-continue that resumes a feature pipeline after human approval or pause.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Feature continue —
|
|
6
|
+
# Feature continue — legacy alias
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
> **Prefer:** `/task-continue <slug>` — same behavior, respects `pipeline.json`.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Continue after a human gate. Full logic — in **`task-continue.md`**.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## Short form
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
1. Read `pipeline.json` (if present) and `status.json`.
|
|
15
|
+
2. Clear `awaitingHumanGate`; determine the next step from `pipelineIndex`.
|
|
16
|
+
3. Invoke the subagent for `currentAgent`.
|
|
17
|
+
4. The hook continues the chain when `autoChain: true`.
|
|
15
18
|
|
|
16
|
-
|
|
17
|
-
2. If `pipeline.json` exists, delegate behavior to `/task-continue <slug>`.
|
|
18
|
-
3. If there is no `pipeline.json`, read `status.json`. Continue only if:
|
|
19
|
-
- `phase` is `analysis` and `state` is `awaiting_approval` (user explicitly approved via this command), **or**
|
|
20
|
-
- `phase` is `development`/`review`/`testing` and work should resume.
|
|
19
|
+
See `task-continue.md` for details and the handoff table.
|
|
21
20
|
|
|
22
|
-
##
|
|
21
|
+
## Product specs (docs/specs)
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
```json
|
|
26
|
-
{
|
|
27
|
-
"slug": "<slug>",
|
|
28
|
-
"phase": "development",
|
|
29
|
-
"state": "approved",
|
|
30
|
-
"updatedAt": "<ISO8601>"
|
|
31
|
-
}
|
|
32
|
-
```
|
|
33
|
-
Then immediately set `"state": "in_progress"` before calling the developer.
|
|
34
|
-
|
|
35
|
-
2. Write `.claude/team/active-task.json` → `{ "slug": "<slug>" }`.
|
|
36
|
-
|
|
37
|
-
3. Call subagent **feature-developer** with context:
|
|
38
|
-
- paths to `brief.md`, `decomposition.md`, `status.json`;
|
|
39
|
-
- instruction to follow `rules/architecture/feature-delivery-workflow.md`.
|
|
40
|
-
- if `docs/specs/INDEX.md` exists: load **`product-specs`** and honor **Related specs** from `brief.md` (soft-fail on miss; never invent behavior).
|
|
41
|
-
|
|
42
|
-
4. After the developer finishes, continue review → QA per `rules/tooling-and-review/agent-team-orchestrator.md`.
|
|
43
|
-
|
|
44
|
-
## If review returned changes_requested
|
|
45
|
-
|
|
46
|
-
- Set `phase` back to `development`, `state` to `in_progress`.
|
|
47
|
-
- Call **feature-developer** again with the reviewer’s change list.
|
|
48
|
-
|
|
49
|
-
## Do not
|
|
50
|
-
|
|
51
|
-
- Skip the human gate without an explicit `/feature-continue`.
|
|
52
|
-
- Combine developer and reviewer roles in one subagent call.
|
|
23
|
+
When the next agent is **feature-developer** (or other implementer): if `docs/specs/INDEX.md` exists, instruct them to load **`product-specs`** and honor **Related specs** from `brief.md` (behavior SoT). Soft-fail on miss; never invent product behavior. No-op if INDEX is absent.
|
|
@@ -14,7 +14,7 @@ Routes intent **`spec-gen`** (or bootstrap) → **task-analyst** in **author mod
|
|
|
14
14
|
3. Ensure `.claude/team/tasks/<slug>/` exists (Write artifacts; not Shell mkdir).
|
|
15
15
|
4. Write `.claude/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-test": {
|
|
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
|
"type": "http",
|
|
@@ -9,14 +9,14 @@ In Claude Code all `.md` files under `rules/` are **discovered recursively**. Bo
|
|
|
9
9
|
| **SoT** | `presets/cursor/next/rules/*.mdc` — edit here first |
|
|
10
10
|
| **Derive** | Claude topic `.md` = body + `paths:` (from Cursor `globs:` / requestable triggers) |
|
|
11
11
|
| **Drop** | Cursor-only keys (`alwaysApply`); keep short `description` |
|
|
12
|
-
| **Checklist** | change Cursor → update Claude twin **same PR** (**FAIL** if missing —
|
|
12
|
+
| **Checklist** | change Cursor → update Claude twin **same PR** (**FAIL** if missing — all 10 installable stacks; see `preset-twin-sync` / build-verifier) |
|
|
13
13
|
| **Shared core** | `presets/_shared/core/**` — see `<!-- shared-core: … -->` markers; taxonomy in `_shared/README.md` |
|
|
14
14
|
|
|
15
15
|
## Loading strategy
|
|
16
16
|
|
|
17
17
|
- **Session start (no `paths:`):** exactly **3** — `next-app-core`, `package-manager`, `code-quality`
|
|
18
|
-
- **On-demand (`paths:` or via commands):** `post-change-lint` (**must after code edits**), `agent-team-intake`, `agent-team-orchestrator`, `code-review-mr`, `security-next`, architecture, imports, UI, tests, feature-delivery-workflow, `design-guidance`, `anti-sycophancy-discipline`, `react-next-anti-hallucination`, reference-features, next-app-router, react-a11y-coding, `technical-retro`, `mockup-review`, `ux-design`, **preset-*** meta (paths on `packages/ai-rules/presets/**`)
|
|
19
|
-
- **Skills:** long workflows (`feature-delivery`, `code-review`, …)
|
|
18
|
+
- **On-demand (`paths:` or via commands):** `post-change-lint` (**must after code edits**), `agent-team-intake`, `agent-team-orchestrator`, `code-review-mr`, `security-next`, architecture, imports, UI, tests, feature-delivery-workflow, `design-guidance`, `mcp-usage`, `anti-sycophancy-discipline`, `react-next-anti-hallucination`, reference-features, next-app-router, react-a11y-coding, `technical-retro`, `mockup-review`, `ux-design`, **preset-*** meta (paths on `packages/ai-rules/presets/**`)
|
|
19
|
+
- **Skills:** long workflows (`feature-delivery`, `spec-authoring`, `spec-discovery`, `code-review`, …)
|
|
20
20
|
|
|
21
21
|
### UI edit bundle (consolidated paths)
|
|
22
22
|
|
|
@@ -41,6 +41,7 @@ When editing `app/src/ui/**/*.tsx`, a **reduced** set loads:
|
|
|
41
41
|
| `anti-sycophancy-discipline.mdc` | `tooling-and-review/anti-sycophancy-discipline.md` |
|
|
42
42
|
| `react-next-anti-hallucination.mdc` | `anti-hallucination/react-next-anti-hallucination.md` |
|
|
43
43
|
| `design-guidance.mdc` | `tooling-and-review/design-guidance.md` |
|
|
44
|
+
| `mcp-usage.mdc` | `tooling-and-review/mcp-usage.md` |
|
|
44
45
|
| `next-app-router.mdc` | `stack/next-app-router.md` |
|
|
45
46
|
| `arrow-functions.mdc` | `stack/arrow-functions.md` |
|
|
46
47
|
| `types-jsdoc.mdc` | `stack/types-jsdoc.md` |
|
|
@@ -86,6 +87,7 @@ When editing `app/src/ui/**/*.tsx`, a **reduced** set loads:
|
|
|
86
87
|
| `quality/code-quality-and-refactoring.md` | `code-quality-and-refactoring.mdc` / `code-quality.md` | + Stack notes (ESLint/CSS) |
|
|
87
88
|
| `quality/anti-sycophancy-discipline.md` | `anti-sycophancy-discipline.mdc` / `anti-sycophancy-discipline.md` | requestable full VERIFY/discipline set |
|
|
88
89
|
| `quality/design-guidance.md` | `design-guidance.mdc` / `design-guidance.md` | requestable smells/GoF |
|
|
90
|
+
| `quality/mcp-usage.md` | `mcp-usage.mdc` / `mcp-usage.md` | requestable Context7 + overlay MCP |
|
|
89
91
|
| `agent-team/agent-team-orchestrator.md` | `agent-team-orchestrator.mdc` | Roles in Stack notes |
|
|
90
92
|
| `agent-team/agent-team-intake.md` | `agent-team-intake.mdc` | thin alias |
|
|
91
93
|
| `architecture/feature-delivery-workflow.md` | `feature-delivery-workflow.mdc` | Next layer checklist in Stack notes |
|
|
@@ -25,7 +25,7 @@ Typical feature with backend data and shared state. Layer details — `architect
|
|
|
25
25
|
6. **UI** — `@/types`, no DTOs (`ui-and-accessibility/react-ui.md`, `architecture/architecture-boundaries-ui.md`, `ui-and-accessibility/no-props-spread.md`).
|
|
26
26
|
7. **Mocks** — `app/src/mocks/**`; register in `handlers.ts` (see below).
|
|
27
27
|
8. **Tests** — unit (`testing/tests-unit.md`); e2e (`testing/tests-e2e-structure.md`, `testing/playwright-agents.md`).
|
|
28
|
-
9. **Completion** — **`tooling-and-review/post-change-lint.md`**.
|
|
28
|
+
9. **Completion** — **`tooling-and-review/post-change-lint.md`**. 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.
|
|
29
29
|
|
|
30
30
|
## Data flow
|
|
31
31
|
|
|
@@ -71,6 +71,7 @@ flowchart LR
|
|
|
71
71
|
- `{...props}` — `ui-and-accessibility/no-props-spread.md`.
|
|
72
72
|
- **Ubiquitous language:** Domain/type names reflect the feature’s subject domain — do not mix transport/framework terms into the domain without need.
|
|
73
73
|
- Load `design-guidance` (rule stem) when assessing structure, smells, or pattern fit.
|
|
74
|
+
- 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`.
|
|
74
75
|
|
|
75
76
|
## Matrix: zone → rules
|
|
76
77
|
|
|
@@ -9,6 +9,8 @@ paths:
|
|
|
9
9
|
|
|
10
10
|
Load when **Generate** or **Bootstrap** is requested (`/spec-start`, router `spec-gen`, brief AC, or analyst author mode). Discovery-only work stays on **`product-specs`**.
|
|
11
11
|
|
|
12
|
+
**Optional prefix:** when the user or AC asks **research-before-spec**, load skill **`spec-discovery`** first (subset of methods; **claim-ledger** mandatory). Not the default `/task` consume path and not a new pipeline step.
|
|
13
|
+
|
|
12
14
|
## Modes
|
|
13
15
|
|
|
14
16
|
1. **Consume** — default; never invent INDEX/specs (see `product-specs`).
|
|
@@ -82,7 +84,7 @@ Compliant = valid frontmatter + all required headings present (non-empty prose o
|
|
|
82
84
|
|
|
83
85
|
## Templates & assets
|
|
84
86
|
|
|
85
|
-
**Package SoT:** `packages/ai-rules/presets/_shared/assets/docs-specs/` (`INDEX.md` stub, `_templates/page.md`, `_templates/feature.md`;
|
|
87
|
+
**Package SoT:** `packages/ai-rules/presets/_shared/assets/docs-specs/` (`INDEX.md` stub, `_templates/page.md`, `_templates/feature.md`; `schemas/frontmatter-v1.schema.json` is a documentation artifact — the checker does not evaluate it).
|
|
86
88
|
|
|
87
89
|
**CLI `init`:** when consumer `docs/specs/` is **absent**, copy INDEX stub + `_templates/*` (idempotent; **never overwrite** existing INDEX). When the tree already exists, skip seed entirely.
|
|
88
90
|
|
|
@@ -92,7 +94,7 @@ Compliant = valid frontmatter + all required headings present (non-empty prose o
|
|
|
92
94
|
|
|
93
95
|
| Role | Responsibility |
|
|
94
96
|
|------|----------------|
|
|
95
|
-
| **task-analyst** | Primary author (Generate + Bootstrap); INDEX bootstrap; brief **Related specs** + **Spec gaps / generation requested**; loads this stem + skill `spec-authoring` |
|
|
97
|
+
| **task-analyst** | Primary author (Generate + Bootstrap); INDEX bootstrap; brief **Related specs** + **Spec gaps / generation requested**; loads this stem + skill `spec-authoring`; optional skill `spec-discovery` when research-before-spec |
|
|
96
98
|
| **tech-writer** | Post-delivery sync where present; never invent product behavior without AC/code source |
|
|
97
99
|
| **feature-developer** | Consumes approved specs as SoT; mechanical INDEX/frontmatter fixes only on renames |
|
|
98
100
|
| **mcp-ts** | No tech-writer — author + post-sync via **task-analyst** only |
|
|
@@ -111,8 +113,8 @@ Block handoff via `open_questions` until fixed:
|
|
|
111
113
|
|
|
112
114
|
- `product-specs` — discovery / consume
|
|
113
115
|
- Skill `spec-authoring` — procedural checklist
|
|
114
|
-
-
|
|
115
|
-
|
|
116
|
+
- Skill `spec-discovery` — opt-in research-before-spec (not default)
|
|
117
|
+
- Optional consumer script `scripts/check-product-specs.sh` (ships in the npm package; WARN default; `--strict` FAIL). Bash checks INDEX links, required frontmatter keys, and body headings — it does **not** evaluate `frontmatter-v1.schema.json`
|
|
116
118
|
|
|
117
119
|
## Stack notes
|
|
118
120
|
|
|
@@ -11,6 +11,8 @@ Product page/feature **behavior** specs live under the consumer repo `docs/specs
|
|
|
11
11
|
|
|
12
12
|
**Authoring** (Generate / Bootstrap modes, INDEX/frontmatter v1, body checklist, greenfield, conflict precedence) → load **`product-specs-authoring`** when generation is requested (`/spec-start`, brief AC, or router `spec-gen`).
|
|
13
13
|
|
|
14
|
+
**Pipeline `specMode`:** `consume` (this stem) · `generate` (authoring stem) · `none` (spike/research — skip INDEX row requirement; do not invent a dummy INDEX). Primary field: `brief.md` `## Spec mode`; optional `pipeline.json` `specMode`.
|
|
15
|
+
|
|
14
16
|
## Modes (summary)
|
|
15
17
|
|
|
16
18
|
| Mode | When | Behavior |
|
|
@@ -18,19 +20,21 @@ Product page/feature **behavior** specs live under the consumer repo `docs/specs
|
|
|
18
20
|
| **Consume** (default) | INDEX exists or globs hit `docs/specs/**` without generate intent | Discover via INDEX; soft-fail on miss; **never invent** INDEX/specs |
|
|
19
21
|
| **Generate** | Explicit generate intent / AC / `/spec-start` with existing tree | Create/update page/feature specs + INDEX from stated sources |
|
|
20
22
|
| **Bootstrap** | Explicit bootstrap / `/spec-start` when tree absent | Create INDEX + templates + first domain spec |
|
|
23
|
+
| **None** (`specMode: none`) | Spike / research / preset-only | Skip INDEX requirement and author mode; no dummy INDEX row |
|
|
21
24
|
|
|
22
25
|
Greenfield: agents may create INDEX/specs **only** on explicit intent, AC, or `/spec-start`. Missing INDEX alone does **not** authorize inventing the tree.
|
|
23
26
|
|
|
24
27
|
## Presence policy
|
|
25
28
|
|
|
29
|
+
- If `specMode` is **`none`** → do **not** require an INDEX row; continue from brief/AC. Do not invent INDEX.
|
|
26
30
|
- If `docs/specs/INDEX.md` is **missing** → the tree is **optional** (greenfield OK for *consume*). Continue with code/brief discovery; do not invent an INDEX solely because this stem loaded.
|
|
27
|
-
- If INDEX **exists** → it is the **required discovery path** for work that touches a listed page, feature, route, or alias.
|
|
31
|
+
- If INDEX **exists** and `specMode` is not `none` → it is the **required discovery path** for work that touches a listed page, feature, route, or alias.
|
|
28
32
|
|
|
29
33
|
## Discovery algorithm
|
|
30
34
|
|
|
31
|
-
1. Always start at `docs/specs/INDEX.md` when present.
|
|
35
|
+
1. Always start at `docs/specs/INDEX.md` when present (skip when `specMode: none`).
|
|
32
36
|
2. Resolve the entry by: route, stable `id`, PageName / alias, or domain folder.
|
|
33
|
-
3. Read the linked page spec
|
|
37
|
+
3. Read the **linked page** spec and, when INDEX or page Related links it, the optional domain `feature.md`. Do **not** dump the whole `docs/specs/**` tree into the prompt — locator = those linked files.
|
|
34
38
|
|
|
35
39
|
## Miss policy (INDEX present, row or file missing)
|
|
36
40
|
|
|
@@ -52,10 +56,10 @@ Same-changeset INDEX updates, frontmatter v1, required body headings, templates,
|
|
|
52
56
|
## Related
|
|
53
57
|
|
|
54
58
|
- `product-specs-authoring` — generation modes, contracts, self-check.
|
|
59
|
+
- Skill `spec-discovery` — opt-in research-before-spec (author mode only; not default consume).
|
|
55
60
|
- `reference-features` — code structure mirror (how to layout files), not product behavior.
|
|
56
61
|
- Consumer `.ai/context/**` when present — review/domain glossary; cross-link, do not replace.
|
|
57
62
|
|
|
58
|
-
|
|
59
63
|
## Stack notes
|
|
60
64
|
|
|
61
65
|
- `routes`: app URL paths. `ui` / `store`: presentation + RTK/store paths (e.g. `app/src/ui/pages/...`). `e2e`: Playwright paths under `app/__tests__/e2e/**` (or repo equivalent).
|
|
@@ -75,4 +75,9 @@ it('returns empty list when guest', () => {})
|
|
|
75
75
|
|
|
76
76
|
## Correct
|
|
77
77
|
|
|
78
|
+
```ts
|
|
79
|
+
it('Возвращает пустой список. Пользователь не авторизован', () => {})
|
|
80
|
+
```
|
|
81
|
+
<!-- i18n-keep: E5 -->
|
|
82
|
+
|
|
78
83
|
- `it('Возвращает пустой список. Пользователь не авторизован', () => {})` <!-- i18n-keep: E5 -->
|
|
@@ -22,6 +22,7 @@ Work request without `/task` — see **`tooling-and-review/agent-team-intake.md`
|
|
|
22
22
|
| `/task-continue <slug>` | After human gate or pause |
|
|
23
23
|
| `/feature-start <desc>` | Legacy: analyst-only start (no router) |
|
|
24
24
|
| `/feature-continue <slug>` | Alias of task-continue |
|
|
25
|
+
| `/spec-start [desc]` | Generate/bootstrap `docs/specs` — router intent `spec-gen` → analyst author mode → human gate |
|
|
25
26
|
| `/technical-retro [slug]` | Retro with agent team block |
|
|
26
27
|
|
|
27
28
|
## Roles
|
|
@@ -29,7 +30,7 @@ Work request without `/task` — see **`tooling-and-review/agent-team-intake.md`
|
|
|
29
30
|
| Agent | May edit production code | Typical intent |
|
|
30
31
|
|-------|--------------------------|----------------|
|
|
31
32
|
| `task-router` | no | Every `/task` — writes `pipeline.json` |
|
|
32
|
-
| `task-analyst` | no | feature, refactor, test-only, a11y, docs-only, migration, ux-design |
|
|
33
|
+
| `task-analyst` | no | feature, refactor, test-only, a11y, docs-only, migration, ux-design, spec-gen |
|
|
33
34
|
| `solution-architect` | no | spike, complex cross-layer feature |
|
|
34
35
|
| `migration-specialist` | no | migration — phased upgrade plan |
|
|
35
36
|
| `api-contract-reviewer` | no | new/changed backend API contracts |
|
|
@@ -10,7 +10,7 @@ paths:
|
|
|
10
10
|
|
|
11
11
|
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`.
|
|
12
12
|
|
|
13
|
-
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.
|
|
13
|
+
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.
|
|
14
14
|
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.
|
|
15
15
|
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.
|
|
16
16
|
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.
|
|
@@ -32,7 +32,7 @@ description: Maintain and improve code quality and architecture
|
|
|
32
32
|
|
|
33
33
|
Essentials below. Full procedural set (~17 rules) → load **`anti-sycophancy-discipline`**.
|
|
34
34
|
|
|
35
|
-
- Unverifiable third-party API → mark `// VERIFY: lib.symbol @ version` (or stack equivalent); never invent signatures.
|
|
35
|
+
- 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.
|
|
36
36
|
- Before "is this correct?" — ≥3 failure modes (empty, boundary, concurrency/state) or name what you could not check.
|
|
37
37
|
- Refactor without tests → propose characterization test; if declined, label `UNTESTED`.
|
|
38
38
|
- Comments = WHY only when non-obvious; ban self-referential "added for issue Y".
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: When to call shipped Context7 and local overlay MCP — detect presence, use if the task fits, degrade.
|
|
3
|
+
paths:
|
|
4
|
+
- app/src/**/*.{ts,tsx}
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<!-- shared-core: quality/mcp-usage.md -->
|
|
8
|
+
|
|
9
|
+
# MCP usage
|
|
10
|
+
|
|
11
|
+
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.
|
|
12
|
+
|
|
13
|
+
Does not replace Figma mockup-review (that checklist stays on `mockup-review`). Does not add pipeline agents or required handoff stems.
|
|
14
|
+
|
|
15
|
+
## Presence (runtime catalog is SoT)
|
|
16
|
+
|
|
17
|
+
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).
|
|
18
|
+
2. Treat `error`, `needsAuth`, and `loading` as **unavailable**. Authenticate only when this task needs that server.
|
|
19
|
+
3. **Discover tool schemas before calling.** Never invent tool names or arguments from memory.
|
|
20
|
+
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.
|
|
21
|
+
5. If two servers expose the same product (plugin + project entry), use the **ready** one; do not call both.
|
|
22
|
+
|
|
23
|
+
## Classes
|
|
24
|
+
|
|
25
|
+
| Class | Who adds it | Policy |
|
|
26
|
+
|-------|-------------|--------|
|
|
27
|
+
| **Shipped** | Preset `mcp.json` | Assume it should be there; call when the task fits; degrade if down (do not block unless noted below) |
|
|
28
|
+
| **Local overlay** | Consumer project or user MCP | Use only when present **and** the task fits. Never a required pipeline step |
|
|
29
|
+
|
|
30
|
+
Shipped in every preset: **Context7** (library docs). Other shipped servers are stack-specific — see adapter **Stack notes**.
|
|
31
|
+
|
|
32
|
+
## Context7 (shipped)
|
|
33
|
+
|
|
34
|
+
**When to call** (after lockfile / manifest + sibling files still do not confirm the symbol):
|
|
35
|
+
|
|
36
|
+
- Third-party API that would otherwise get `// VERIFY: lib.symbol @ version`
|
|
37
|
+
- Version-sensitive framework or SDK APIs
|
|
38
|
+
- Migrations / major upgrades
|
|
39
|
+
- Library is in the lockfile but the signature is unclear
|
|
40
|
+
|
|
41
|
+
**When not to call:** repo public API; a sibling file already imports the symbol; a trivial call already in this module.
|
|
42
|
+
|
|
43
|
+
**Flow:**
|
|
44
|
+
|
|
45
|
+
1. Discover server `context7`.
|
|
46
|
+
2. Resolve a library id, then query docs (read the live schema; typical names `resolve-library-id` then `query-docs`).
|
|
47
|
+
3. Put the **installed major** from the project manifest into the query.
|
|
48
|
+
4. Cap: **≤3 doc queries per question**.
|
|
49
|
+
5. Source priority: lockfile / sibling code **>** Context7 **>** training data. If docs disagree with the installed major, keep the installed API.
|
|
50
|
+
6. If Context7 is down: `// VERIFY` (or stack equivalent) and say MCP was unavailable. **Do not block** the task.
|
|
51
|
+
|
|
52
|
+
## Local overlay protocol
|
|
53
|
+
|
|
54
|
+
If a matching server is ready and a **task signal** fires → discover and use. Otherwise continue from files / native tools (`gh`, repo docs, source).
|
|
55
|
+
|
|
56
|
+
Absence of an overlay is **not** `BLOCKED` unless the user required that MCP as source of truth.
|
|
57
|
+
|
|
58
|
+
### Observability (Sentry, Datadog, similar)
|
|
59
|
+
|
|
60
|
+
**Signal:** production error, event/trace id, APM / latency, pasted dashboard or issue URL.
|
|
61
|
+
|
|
62
|
+
Use the **first ready** observability MCP. Do not invent metrics or stack traces. Do not require two observability servers.
|
|
63
|
+
|
|
64
|
+
### Tickets (Linear, Jira, Notion, similar)
|
|
65
|
+
|
|
66
|
+
**Signal:** ticket/page URL in the prompt or brief, or an explicit “pull from \<tracker\>”.
|
|
67
|
+
|
|
68
|
+
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.
|
|
69
|
+
|
|
70
|
+
### Component-library overlay
|
|
71
|
+
|
|
72
|
+
**Signal:** UI component public API, stories, controls, or explicit component-docs MCP.
|
|
73
|
+
|
|
74
|
+
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.
|
|
75
|
+
|
|
76
|
+
Usual aliases and runtime needs live in frontend **Stack notes**. Do not ship this server in preset `mcp.json`.
|
|
77
|
+
|
|
78
|
+
### GitHub MCP
|
|
79
|
+
|
|
80
|
+
Native `gh` / git remain SoT for PRs and checks. A GitHub MCP may be used when present; do not require it.
|
|
81
|
+
|
|
82
|
+
## Figma
|
|
83
|
+
|
|
84
|
+
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.
|
|
85
|
+
|
|
86
|
+
## Forbidden
|
|
87
|
+
|
|
88
|
+
- Secrets in `mcp.json` / `.mcp.json`
|
|
89
|
+
- New pipeline agents or required handoffs for overlay MCP
|
|
90
|
+
- Treating overlay absence as blocked (except user-required SoT)
|
|
91
|
+
- Tracker/admin write tools without an explicit ask
|
|
92
|
+
- Calling overlay MCP “just in case” on unrelated tasks
|
|
93
|
+
|
|
94
|
+
## Stack notes
|
|
95
|
+
|
|
96
|
+
- Pipeline **`mockup-reviewer`** is the only agent that reads Figma for mockup review. See `mockup-review`.
|
|
97
|
+
- Shipped besides Context7: browser automation MCP (`playwright` / `playwright-test` / `user-playwright`) and `chrome-devtools`.
|
|
98
|
+
- **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.
|
|
99
|
+
- **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.
|
|
100
|
+
- `init` **merges** `mcpServers`: preset keys update; extra local servers are kept. User-level MCP is never touched.
|
|
101
|
+
- 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
|
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
| Skill | When to use |
|
|
6
6
|
|-------|-------------|
|
|
7
7
|
| `feature-delivery` | End-to-end feature work across types, API, store, UI, tests |
|
|
8
|
+
| `spec-authoring` | Author or bootstrap docs/specs (INDEX, page/feature templates); `/spec-start` / analyst author mode |
|
|
9
|
+
| `spec-discovery` | Opt-in research-before-spec in analyst author mode (claim ledger; not default `/task` consume) |
|
|
8
10
|
| `mockup-review` | Figma mockup review: DS, coverage, viewports (standalone or embedded) |
|
|
9
11
|
| `ux-design` | Behavioral UX synthesis/review via task-analyst (standalone or embedded; no Figma MCP) |
|
|
10
12
|
| `code-review` | MR/diff review using project architecture and test standards |
|
|
@@ -25,6 +25,14 @@ Write `ci-report.md` under the task slug folder:
|
|
|
25
25
|
- Fix applied (or handoff to feature-developer)
|
|
26
26
|
- Validation commands and results
|
|
27
27
|
|
|
28
|
+
|
|
29
|
+
## MCP usage
|
|
30
|
+
|
|
31
|
+
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.
|
|
32
|
+
|
|
33
|
+
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.
|
|
34
|
+
|
|
35
|
+
|
|
28
36
|
## Handoff Rules
|
|
29
37
|
|
|
30
38
|
- Config-only or one-line fixes → fix in place, re-run check.
|
|
@@ -31,7 +31,7 @@ Lead with findings ordered by severity. Required shape (also in `code-review-mr`
|
|
|
31
31
|
- End with a verdict line: **`Safe to merge | needs changes | reject`**.
|
|
32
32
|
- If there are no findings, say so and call out remaining test or validation risk.
|
|
33
33
|
|
|
34
|
-
For agent team tasks, write `.claude/team/tasks/<slug>/review.md` and
|
|
34
|
+
For agent team tasks, write `.claude/team/tasks/<slug>/review.md` and upsert the owned terminal receipt (`completed` or `changes_requested`); do not mutate `status.json`.
|
|
35
35
|
|
|
36
36
|
## Design guidance
|
|
37
37
|
|
|
@@ -25,7 +25,19 @@ For agent team tasks, write `.claude/team/tasks/<slug>/debug-report.md` with:
|
|
|
25
25
|
- Regression coverage.
|
|
26
26
|
- Remaining risk.
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
Agent team: upsert the owned terminal receipt in `artifact-manifest.json`; do not mutate `status.json`.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## MCP usage
|
|
32
|
+
|
|
33
|
+
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.
|
|
34
|
+
|
|
35
|
+
If Chrome DevTools MCP is ready and the app is running, use it for console, network, and runtime evidence.
|
|
36
|
+
|
|
37
|
+
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.
|
|
38
|
+
|
|
39
|
+
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.
|
|
40
|
+
|
|
29
41
|
|
|
30
42
|
## Design guidance
|
|
31
43
|
|
|
@@ -20,7 +20,15 @@ Implement only the current AC / decomposition task. Clarify ambiguity before cod
|
|
|
20
20
|
|
|
21
21
|
## Handoff
|
|
22
22
|
|
|
23
|
-
Summarize by layer, validation results, and known gaps. Agent team:
|
|
23
|
+
Summarize by layer, validation results, and known gaps. Agent team: upsert the owned terminal receipt in `artifact-manifest.json`; do not mutate `status.json`.
|
|
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
|
+
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.
|
|
31
|
+
|
|
24
32
|
|
|
25
33
|
## Design guidance
|
|
26
34
|
|