@bonesofspring/ai-rules 0.2.27 → 0.2.28
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 +5 -0
- package/bin/cli.js +13 -2
- package/bin/lib/seed-ai-local-team.js +43 -5
- package/bin/opencode-install.js +58 -0
- package/docs/OPENCODE-COMPATIBILITY.md +1 -1
- package/docs/OPENCODE.md +15 -5
- package/package.json +2 -1
- package/presets/claude/android-kotlin/CLAUDE.md +12 -0
- package/presets/claude/android-kotlin/agents/accessibility-reviewer.md +15 -0
- package/presets/claude/android-kotlin/agents/api-contract-reviewer.md +16 -1
- package/presets/claude/android-kotlin/agents/build-verifier.md +17 -0
- package/presets/claude/android-kotlin/agents/ci-investigator.md +25 -0
- package/presets/claude/android-kotlin/agents/code-reviewer.md +16 -0
- package/presets/claude/android-kotlin/agents/codebase-analyzer.md +15 -0
- package/presets/claude/android-kotlin/agents/debugger.md +25 -0
- package/presets/claude/android-kotlin/agents/feature-developer.md +25 -0
- package/presets/claude/android-kotlin/agents/instrumentation-test-generator.md +16 -0
- package/presets/claude/android-kotlin/agents/instrumentation-test-healer.md +16 -0
- package/presets/claude/android-kotlin/agents/instrumentation-test-planner.md +16 -0
- package/presets/claude/android-kotlin/agents/migration-specialist.md +15 -0
- package/presets/claude/android-kotlin/agents/mockup-reviewer.md +15 -0
- package/presets/claude/android-kotlin/agents/openspec-author.md +15 -0
- package/presets/claude/android-kotlin/agents/performance-auditor.md +15 -0
- package/presets/claude/android-kotlin/agents/qa-tester.md +17 -0
- package/presets/claude/android-kotlin/agents/security-reviewer.md +15 -0
- package/presets/claude/android-kotlin/agents/solution-architect.md +15 -0
- package/presets/claude/android-kotlin/agents/task-analyst.md +15 -0
- package/presets/claude/android-kotlin/agents/task-router.md +15 -0
- package/presets/claude/android-kotlin/agents/tech-writer.md +15 -1
- package/presets/claude/android-kotlin/agents/unit-test-generator.md +16 -0
- package/presets/claude/android-kotlin/agents/unit-test-healer.md +16 -0
- package/presets/claude/android-kotlin/agents/unit-test-planner.md +16 -0
- package/presets/claude/android-kotlin/settings.json +10 -0
- package/presets/claude/go/CLAUDE.md +12 -0
- package/presets/claude/go/agents/api-contract-reviewer.md +17 -0
- package/presets/claude/go/agents/build-verifier.md +17 -0
- package/presets/claude/go/agents/ci-investigator.md +29 -0
- package/presets/claude/go/agents/code-reviewer.md +16 -0
- package/presets/claude/go/agents/codebase-analyzer.md +15 -0
- package/presets/claude/go/agents/debugger.md +29 -0
- package/presets/claude/go/agents/feature-developer.md +29 -0
- package/presets/claude/go/agents/integration-test-generator.md +17 -0
- package/presets/claude/go/agents/integration-test-healer.md +17 -0
- package/presets/claude/go/agents/integration-test-planner.md +17 -0
- package/presets/claude/go/agents/migration-specialist.md +15 -0
- package/presets/claude/go/agents/openspec-author.md +15 -0
- package/presets/claude/go/agents/performance-auditor.md +15 -0
- package/presets/claude/go/agents/qa-tester.md +18 -0
- package/presets/claude/go/agents/security-reviewer.md +15 -0
- package/presets/claude/go/agents/solution-architect.md +15 -0
- package/presets/claude/go/agents/task-analyst.md +15 -0
- package/presets/claude/go/agents/task-router.md +15 -0
- package/presets/claude/go/agents/tech-writer.md +15 -1
- package/presets/claude/go/agents/unit-test-generator.md +16 -0
- package/presets/claude/go/agents/unit-test-healer.md +16 -0
- package/presets/claude/go/agents/unit-test-planner.md +16 -0
- package/presets/claude/go/settings.json +10 -0
- package/presets/claude/ios-swift/CLAUDE.md +12 -0
- package/presets/claude/ios-swift/agents/accessibility-reviewer.md +15 -0
- package/presets/claude/ios-swift/agents/api-contract-reviewer.md +16 -0
- package/presets/claude/ios-swift/agents/build-verifier.md +17 -0
- package/presets/claude/ios-swift/agents/ci-investigator.md +24 -0
- package/presets/claude/ios-swift/agents/code-reviewer.md +16 -0
- package/presets/claude/ios-swift/agents/codebase-analyzer.md +15 -0
- package/presets/claude/ios-swift/agents/debugger.md +24 -0
- package/presets/claude/ios-swift/agents/feature-developer.md +24 -0
- package/presets/claude/ios-swift/agents/migration-specialist.md +15 -0
- package/presets/claude/ios-swift/agents/mockup-reviewer.md +15 -0
- package/presets/claude/ios-swift/agents/openspec-author.md +15 -0
- package/presets/claude/ios-swift/agents/performance-auditor.md +15 -0
- package/presets/claude/ios-swift/agents/qa-tester.md +17 -0
- package/presets/claude/ios-swift/agents/security-reviewer.md +15 -0
- package/presets/claude/ios-swift/agents/solution-architect.md +15 -0
- package/presets/claude/ios-swift/agents/task-analyst.md +15 -0
- package/presets/claude/ios-swift/agents/task-router.md +15 -0
- package/presets/claude/ios-swift/agents/tech-writer.md +15 -1
- package/presets/claude/ios-swift/agents/unit-test-generator.md +16 -0
- package/presets/claude/ios-swift/agents/unit-test-healer.md +16 -0
- package/presets/claude/ios-swift/agents/unit-test-planner.md +16 -0
- package/presets/claude/ios-swift/agents/xcuitest-test-generator.md +16 -0
- package/presets/claude/ios-swift/agents/xcuitest-test-healer.md +16 -0
- package/presets/claude/ios-swift/agents/xcuitest-test-planner.md +16 -0
- package/presets/claude/ios-swift/settings.json +10 -0
- package/presets/claude/java/CLAUDE.md +12 -0
- package/presets/claude/java/agents/api-contract-reviewer.md +17 -0
- package/presets/claude/java/agents/build-verifier.md +17 -0
- package/presets/claude/java/agents/ci-investigator.md +29 -0
- package/presets/claude/java/agents/code-reviewer.md +16 -0
- package/presets/claude/java/agents/codebase-analyzer.md +15 -0
- package/presets/claude/java/agents/debugger.md +29 -0
- package/presets/claude/java/agents/feature-developer.md +29 -0
- package/presets/claude/java/agents/integration-test-generator.md +17 -0
- package/presets/claude/java/agents/integration-test-healer.md +17 -0
- package/presets/claude/java/agents/integration-test-planner.md +17 -0
- package/presets/claude/java/agents/migration-specialist.md +15 -0
- package/presets/claude/java/agents/openspec-author.md +15 -0
- package/presets/claude/java/agents/performance-auditor.md +15 -0
- package/presets/claude/java/agents/qa-tester.md +18 -0
- package/presets/claude/java/agents/security-reviewer.md +15 -0
- package/presets/claude/java/agents/solution-architect.md +15 -0
- package/presets/claude/java/agents/task-analyst.md +15 -0
- package/presets/claude/java/agents/task-router.md +15 -0
- package/presets/claude/java/agents/tech-writer.md +15 -1
- package/presets/claude/java/agents/unit-test-generator.md +16 -0
- package/presets/claude/java/agents/unit-test-healer.md +16 -0
- package/presets/claude/java/agents/unit-test-planner.md +16 -0
- package/presets/claude/java/settings.json +10 -0
- package/presets/claude/mcp-ts/CLAUDE.md +12 -0
- package/presets/claude/mcp-ts/agents/build-verifier.md +17 -0
- package/presets/claude/mcp-ts/agents/feature-developer.md +22 -0
- package/presets/claude/mcp-ts/agents/security-reviewer.md +15 -0
- package/presets/claude/mcp-ts/agents/solution-architect.md +15 -1
- package/presets/claude/mcp-ts/agents/task-analyst.md +15 -0
- package/presets/claude/mcp-ts/agents/task-router.md +15 -0
- package/presets/claude/mcp-ts/settings.json +10 -0
- package/presets/claude/next/CLAUDE.md +12 -0
- package/presets/claude/next/agents/accessibility-reviewer.md +17 -0
- package/presets/claude/next/agents/api-contract-reviewer.md +19 -0
- package/presets/claude/next/agents/build-verifier.md +17 -0
- package/presets/claude/next/agents/ci-investigator.md +34 -0
- package/presets/claude/next/agents/code-reviewer.md +18 -0
- package/presets/claude/next/agents/codebase-analyzer.md +17 -0
- package/presets/claude/next/agents/debugger.md +34 -0
- package/presets/claude/next/agents/feature-developer.md +34 -0
- package/presets/claude/next/agents/migration-specialist.md +17 -0
- package/presets/claude/next/agents/mockup-reviewer.md +17 -0
- package/presets/claude/next/agents/openspec-author.md +17 -0
- package/presets/claude/next/agents/performance-auditor.md +17 -0
- package/presets/claude/next/agents/playwright-test-generator.md +19 -0
- package/presets/claude/next/agents/playwright-test-healer.md +19 -1
- package/presets/claude/next/agents/playwright-test-planner.md +20 -1
- package/presets/claude/next/agents/qa-tester.md +20 -0
- package/presets/claude/next/agents/security-reviewer.md +17 -0
- package/presets/claude/next/agents/solution-architect.md +17 -0
- package/presets/claude/next/agents/task-analyst.md +17 -0
- package/presets/claude/next/agents/task-router.md +17 -0
- package/presets/claude/next/agents/tech-writer.md +17 -0
- package/presets/claude/next/agents/unit-test-generator.md +18 -0
- package/presets/claude/next/agents/unit-test-healer.md +18 -0
- package/presets/claude/next/agents/unit-test-planner.md +18 -0
- package/presets/claude/next/settings.json +16 -0
- package/presets/claude/nuxt/CLAUDE.md +12 -0
- package/presets/claude/nuxt/agents/accessibility-reviewer.md +17 -0
- package/presets/claude/nuxt/agents/api-contract-reviewer.md +19 -0
- package/presets/claude/nuxt/agents/build-verifier.md +17 -0
- package/presets/claude/nuxt/agents/ci-investigator.md +34 -0
- package/presets/claude/nuxt/agents/code-reviewer.md +18 -0
- package/presets/claude/nuxt/agents/codebase-analyzer.md +17 -0
- package/presets/claude/nuxt/agents/debugger.md +34 -0
- package/presets/claude/nuxt/agents/feature-developer.md +34 -0
- package/presets/claude/nuxt/agents/migration-specialist.md +17 -0
- package/presets/claude/nuxt/agents/mockup-reviewer.md +17 -0
- package/presets/claude/nuxt/agents/openspec-author.md +17 -0
- package/presets/claude/nuxt/agents/performance-auditor.md +17 -0
- package/presets/claude/nuxt/agents/playwright-test-generator.md +19 -0
- package/presets/claude/nuxt/agents/playwright-test-healer.md +19 -1
- package/presets/claude/nuxt/agents/playwright-test-planner.md +20 -1
- package/presets/claude/nuxt/agents/qa-tester.md +20 -0
- package/presets/claude/nuxt/agents/security-reviewer.md +17 -0
- package/presets/claude/nuxt/agents/solution-architect.md +17 -0
- package/presets/claude/nuxt/agents/task-analyst.md +17 -0
- package/presets/claude/nuxt/agents/task-router.md +17 -0
- package/presets/claude/nuxt/agents/tech-writer.md +17 -0
- package/presets/claude/nuxt/agents/unit-test-generator.md +18 -0
- package/presets/claude/nuxt/agents/unit-test-healer.md +18 -0
- package/presets/claude/nuxt/agents/unit-test-planner.md +18 -0
- package/presets/claude/nuxt/settings.json +16 -0
- package/presets/claude/php-hexagonal/CLAUDE.md +12 -0
- package/presets/claude/php-hexagonal/agents/api-contract-reviewer.md +17 -0
- package/presets/claude/php-hexagonal/agents/build-verifier.md +17 -0
- package/presets/claude/php-hexagonal/agents/ci-investigator.md +29 -0
- package/presets/claude/php-hexagonal/agents/code-reviewer.md +16 -0
- package/presets/claude/php-hexagonal/agents/codebase-analyzer.md +15 -0
- package/presets/claude/php-hexagonal/agents/debugger.md +29 -0
- package/presets/claude/php-hexagonal/agents/feature-developer.md +29 -0
- package/presets/claude/php-hexagonal/agents/integration-test-generator.md +17 -0
- package/presets/claude/php-hexagonal/agents/integration-test-healer.md +17 -0
- package/presets/claude/php-hexagonal/agents/integration-test-planner.md +17 -0
- package/presets/claude/php-hexagonal/agents/migration-specialist.md +15 -0
- package/presets/claude/php-hexagonal/agents/openspec-author.md +15 -0
- package/presets/claude/php-hexagonal/agents/performance-auditor.md +15 -0
- package/presets/claude/php-hexagonal/agents/qa-tester.md +18 -0
- package/presets/claude/php-hexagonal/agents/security-reviewer.md +15 -0
- package/presets/claude/php-hexagonal/agents/solution-architect.md +15 -0
- package/presets/claude/php-hexagonal/agents/task-analyst.md +15 -0
- package/presets/claude/php-hexagonal/agents/task-router.md +15 -0
- package/presets/claude/php-hexagonal/agents/tech-writer.md +15 -1
- package/presets/claude/php-hexagonal/agents/unit-test-generator.md +16 -0
- package/presets/claude/php-hexagonal/agents/unit-test-healer.md +16 -0
- package/presets/claude/php-hexagonal/agents/unit-test-planner.md +16 -0
- package/presets/claude/php-hexagonal/settings.json +10 -0
- package/presets/claude/php-laravel/CLAUDE.md +12 -0
- package/presets/claude/php-laravel/agents/api-contract-reviewer.md +18 -0
- package/presets/claude/php-laravel/agents/build-verifier.md +17 -0
- package/presets/claude/php-laravel/agents/ci-investigator.md +29 -0
- package/presets/claude/php-laravel/agents/code-reviewer.md +16 -0
- package/presets/claude/php-laravel/agents/codebase-analyzer.md +15 -0
- package/presets/claude/php-laravel/agents/debugger.md +29 -0
- package/presets/claude/php-laravel/agents/feature-developer.md +29 -0
- package/presets/claude/php-laravel/agents/integration-test-generator.md +17 -0
- package/presets/claude/php-laravel/agents/integration-test-healer.md +17 -0
- package/presets/claude/php-laravel/agents/integration-test-planner.md +17 -0
- package/presets/claude/php-laravel/agents/migration-specialist.md +15 -0
- package/presets/claude/php-laravel/agents/openspec-author.md +15 -0
- package/presets/claude/php-laravel/agents/performance-auditor.md +15 -0
- package/presets/claude/php-laravel/agents/qa-tester.md +18 -0
- package/presets/claude/php-laravel/agents/security-reviewer.md +15 -0
- package/presets/claude/php-laravel/agents/solution-architect.md +15 -0
- package/presets/claude/php-laravel/agents/task-analyst.md +15 -0
- package/presets/claude/php-laravel/agents/task-router.md +15 -0
- package/presets/claude/php-laravel/agents/tech-writer.md +15 -1
- package/presets/claude/php-laravel/agents/unit-test-generator.md +16 -0
- package/presets/claude/php-laravel/agents/unit-test-healer.md +16 -0
- package/presets/claude/php-laravel/agents/unit-test-planner.md +16 -0
- package/presets/claude/php-laravel/settings.json +10 -0
- package/presets/claude/svelte/CLAUDE.md +12 -0
- package/presets/claude/svelte/agents/accessibility-reviewer.md +17 -0
- package/presets/claude/svelte/agents/api-contract-reviewer.md +19 -0
- package/presets/claude/svelte/agents/build-verifier.md +17 -0
- package/presets/claude/svelte/agents/ci-investigator.md +34 -0
- package/presets/claude/svelte/agents/code-reviewer.md +18 -0
- package/presets/claude/svelte/agents/codebase-analyzer.md +17 -0
- package/presets/claude/svelte/agents/debugger.md +34 -0
- package/presets/claude/svelte/agents/feature-developer.md +34 -0
- package/presets/claude/svelte/agents/migration-specialist.md +17 -0
- package/presets/claude/svelte/agents/mockup-reviewer.md +17 -0
- package/presets/claude/svelte/agents/openspec-author.md +17 -0
- package/presets/claude/svelte/agents/performance-auditor.md +17 -0
- package/presets/claude/svelte/agents/playwright-test-generator.md +19 -0
- package/presets/claude/svelte/agents/playwright-test-healer.md +19 -1
- package/presets/claude/svelte/agents/playwright-test-planner.md +20 -1
- package/presets/claude/svelte/agents/qa-tester.md +20 -0
- package/presets/claude/svelte/agents/security-reviewer.md +17 -0
- package/presets/claude/svelte/agents/solution-architect.md +17 -0
- package/presets/claude/svelte/agents/task-analyst.md +17 -0
- package/presets/claude/svelte/agents/task-router.md +17 -0
- package/presets/claude/svelte/agents/tech-writer.md +17 -0
- package/presets/claude/svelte/agents/unit-test-generator.md +18 -0
- package/presets/claude/svelte/agents/unit-test-healer.md +18 -0
- package/presets/claude/svelte/agents/unit-test-planner.md +18 -0
- package/presets/claude/svelte/settings.json +16 -0
- package/presets/cursor/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +38 -0
- package/presets/cursor/next/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/cursor/next/ai-local/rules-library/mcp-required-for-ui-layout.md +41 -0
- package/presets/cursor/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/cursor/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/cursor/next/ai-local/rules-library/router-pages.md +23 -0
- package/presets/cursor/next/ai-local/rules-library/single-source-copy-constants.md +16 -0
- package/presets/mavis/android-kotlin/MAVIS.md +13 -0
- package/presets/mavis/android-kotlin/agents/accessibility-reviewer.md +15 -0
- package/presets/mavis/android-kotlin/agents/api-contract-reviewer.md +16 -0
- package/presets/mavis/android-kotlin/agents/build-verifier.md +17 -0
- package/presets/mavis/android-kotlin/agents/ci-investigator.md +25 -0
- package/presets/mavis/android-kotlin/agents/code-reviewer.md +16 -0
- package/presets/mavis/android-kotlin/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/android-kotlin/agents/debugger.md +25 -0
- package/presets/mavis/android-kotlin/agents/feature-developer.md +25 -0
- package/presets/mavis/android-kotlin/agents/instrumentation-test-generator.md +16 -0
- package/presets/mavis/android-kotlin/agents/instrumentation-test-healer.md +16 -0
- package/presets/mavis/android-kotlin/agents/instrumentation-test-planner.md +16 -0
- package/presets/mavis/android-kotlin/agents/migration-specialist.md +15 -0
- package/presets/mavis/android-kotlin/agents/mockup-reviewer.md +15 -0
- package/presets/mavis/android-kotlin/agents/openspec-author.md +15 -0
- package/presets/mavis/android-kotlin/agents/performance-auditor.md +15 -0
- package/presets/mavis/android-kotlin/agents/qa-tester.md +17 -0
- package/presets/mavis/android-kotlin/agents/security-reviewer.md +15 -0
- package/presets/mavis/android-kotlin/agents/solution-architect.md +15 -0
- package/presets/mavis/android-kotlin/agents/task-analyst.md +15 -0
- package/presets/mavis/android-kotlin/agents/task-router.md +15 -0
- package/presets/mavis/android-kotlin/agents/tech-writer.md +15 -0
- package/presets/mavis/android-kotlin/agents/unit-test-generator.md +16 -0
- package/presets/mavis/android-kotlin/agents/unit-test-healer.md +16 -0
- package/presets/mavis/android-kotlin/agents/unit-test-planner.md +16 -0
- package/presets/mavis/go/MAVIS.md +13 -0
- package/presets/mavis/go/agents/api-contract-reviewer.md +17 -0
- package/presets/mavis/go/agents/build-verifier.md +17 -0
- package/presets/mavis/go/agents/ci-investigator.md +29 -0
- package/presets/mavis/go/agents/code-reviewer.md +16 -0
- package/presets/mavis/go/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/go/agents/debugger.md +29 -0
- package/presets/mavis/go/agents/feature-developer.md +29 -0
- package/presets/mavis/go/agents/integration-test-generator.md +17 -0
- package/presets/mavis/go/agents/integration-test-healer.md +17 -0
- package/presets/mavis/go/agents/integration-test-planner.md +17 -0
- package/presets/mavis/go/agents/migration-specialist.md +15 -0
- package/presets/mavis/go/agents/openspec-author.md +15 -0
- package/presets/mavis/go/agents/performance-auditor.md +15 -0
- package/presets/mavis/go/agents/qa-tester.md +18 -0
- package/presets/mavis/go/agents/security-reviewer.md +15 -0
- package/presets/mavis/go/agents/solution-architect.md +15 -0
- package/presets/mavis/go/agents/task-analyst.md +15 -0
- package/presets/mavis/go/agents/task-router.md +15 -0
- package/presets/mavis/go/agents/tech-writer.md +15 -0
- package/presets/mavis/go/agents/unit-test-generator.md +16 -0
- package/presets/mavis/go/agents/unit-test-healer.md +16 -0
- package/presets/mavis/go/agents/unit-test-planner.md +16 -0
- package/presets/mavis/ios-swift/MAVIS.md +13 -0
- package/presets/mavis/ios-swift/agents/accessibility-reviewer.md +15 -0
- package/presets/mavis/ios-swift/agents/api-contract-reviewer.md +16 -0
- package/presets/mavis/ios-swift/agents/build-verifier.md +17 -0
- package/presets/mavis/ios-swift/agents/ci-investigator.md +24 -0
- package/presets/mavis/ios-swift/agents/code-reviewer.md +16 -0
- package/presets/mavis/ios-swift/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/ios-swift/agents/debugger.md +24 -0
- package/presets/mavis/ios-swift/agents/feature-developer.md +24 -0
- package/presets/mavis/ios-swift/agents/migration-specialist.md +15 -0
- package/presets/mavis/ios-swift/agents/mockup-reviewer.md +15 -0
- package/presets/mavis/ios-swift/agents/openspec-author.md +15 -0
- package/presets/mavis/ios-swift/agents/performance-auditor.md +15 -0
- package/presets/mavis/ios-swift/agents/qa-tester.md +17 -0
- package/presets/mavis/ios-swift/agents/security-reviewer.md +15 -0
- package/presets/mavis/ios-swift/agents/solution-architect.md +15 -0
- package/presets/mavis/ios-swift/agents/task-analyst.md +15 -0
- package/presets/mavis/ios-swift/agents/task-router.md +15 -0
- package/presets/mavis/ios-swift/agents/tech-writer.md +15 -0
- package/presets/mavis/ios-swift/agents/unit-test-generator.md +16 -0
- package/presets/mavis/ios-swift/agents/unit-test-healer.md +16 -0
- package/presets/mavis/ios-swift/agents/unit-test-planner.md +16 -0
- package/presets/mavis/ios-swift/agents/xcuitest-test-generator.md +16 -0
- package/presets/mavis/ios-swift/agents/xcuitest-test-healer.md +16 -0
- package/presets/mavis/ios-swift/agents/xcuitest-test-planner.md +16 -0
- package/presets/mavis/java/MAVIS.md +13 -0
- package/presets/mavis/java/agents/api-contract-reviewer.md +17 -0
- package/presets/mavis/java/agents/build-verifier.md +17 -0
- package/presets/mavis/java/agents/ci-investigator.md +29 -0
- package/presets/mavis/java/agents/code-reviewer.md +16 -0
- package/presets/mavis/java/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/java/agents/debugger.md +29 -0
- package/presets/mavis/java/agents/feature-developer.md +29 -0
- package/presets/mavis/java/agents/integration-test-generator.md +17 -0
- package/presets/mavis/java/agents/integration-test-healer.md +17 -0
- package/presets/mavis/java/agents/integration-test-planner.md +17 -0
- package/presets/mavis/java/agents/migration-specialist.md +15 -0
- package/presets/mavis/java/agents/openspec-author.md +15 -0
- package/presets/mavis/java/agents/performance-auditor.md +15 -0
- package/presets/mavis/java/agents/qa-tester.md +18 -0
- package/presets/mavis/java/agents/security-reviewer.md +15 -0
- package/presets/mavis/java/agents/solution-architect.md +15 -0
- package/presets/mavis/java/agents/task-analyst.md +15 -0
- package/presets/mavis/java/agents/task-router.md +15 -0
- package/presets/mavis/java/agents/tech-writer.md +15 -0
- package/presets/mavis/java/agents/unit-test-generator.md +16 -0
- package/presets/mavis/java/agents/unit-test-healer.md +16 -0
- package/presets/mavis/java/agents/unit-test-planner.md +16 -0
- package/presets/mavis/mcp-ts/MAVIS.md +13 -0
- package/presets/mavis/mcp-ts/agents/build-verifier.md +17 -0
- package/presets/mavis/mcp-ts/agents/feature-developer.md +22 -0
- package/presets/mavis/mcp-ts/agents/security-reviewer.md +15 -0
- package/presets/mavis/mcp-ts/agents/solution-architect.md +15 -0
- package/presets/mavis/mcp-ts/agents/task-analyst.md +15 -0
- package/presets/mavis/mcp-ts/agents/task-router.md +15 -0
- package/presets/mavis/next/MAVIS.md +13 -0
- package/presets/mavis/next/adapter-map.json +57 -1
- package/presets/mavis/next/agents/accessibility-reviewer.md +17 -0
- package/presets/mavis/next/agents/api-contract-reviewer.md +19 -0
- package/presets/mavis/next/agents/build-verifier.md +17 -0
- package/presets/mavis/next/agents/ci-investigator.md +34 -0
- package/presets/mavis/next/agents/code-reviewer.md +18 -0
- package/presets/mavis/next/agents/codebase-analyzer.md +17 -0
- package/presets/mavis/next/agents/debugger.md +34 -0
- package/presets/mavis/next/agents/feature-developer.md +34 -0
- package/presets/mavis/next/agents/migration-specialist.md +17 -0
- package/presets/mavis/next/agents/mockup-reviewer.md +17 -0
- package/presets/mavis/next/agents/openspec-author.md +17 -0
- package/presets/mavis/next/agents/performance-auditor.md +17 -0
- package/presets/mavis/next/agents/playwright-test-generator.md +19 -0
- package/presets/mavis/next/agents/playwright-test-healer.md +19 -0
- package/presets/mavis/next/agents/playwright-test-planner.md +19 -0
- package/presets/mavis/next/agents/qa-tester.md +20 -0
- package/presets/mavis/next/agents/security-reviewer.md +17 -0
- package/presets/mavis/next/agents/solution-architect.md +17 -0
- package/presets/mavis/next/agents/task-analyst.md +17 -0
- package/presets/mavis/next/agents/task-router.md +17 -0
- package/presets/mavis/next/agents/tech-writer.md +17 -0
- package/presets/mavis/next/agents/unit-test-generator.md +18 -0
- package/presets/mavis/next/agents/unit-test-healer.md +18 -0
- package/presets/mavis/next/agents/unit-test-planner.md +18 -0
- package/presets/mavis/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +38 -0
- package/presets/mavis/next/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/mavis/next/ai-local/rules-library/mcp-required-for-ui-layout.md +41 -0
- package/presets/mavis/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/mavis/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/mavis/next/ai-local/rules-library/router-pages.md +23 -0
- package/presets/mavis/next/ai-local/rules-library/single-source-copy-constants.md +16 -0
- package/presets/mavis/nuxt/MAVIS.md +13 -0
- package/presets/mavis/nuxt/agents/accessibility-reviewer.md +17 -0
- package/presets/mavis/nuxt/agents/api-contract-reviewer.md +19 -0
- package/presets/mavis/nuxt/agents/build-verifier.md +17 -0
- package/presets/mavis/nuxt/agents/ci-investigator.md +34 -0
- package/presets/mavis/nuxt/agents/code-reviewer.md +18 -0
- package/presets/mavis/nuxt/agents/codebase-analyzer.md +17 -0
- package/presets/mavis/nuxt/agents/debugger.md +34 -0
- package/presets/mavis/nuxt/agents/feature-developer.md +34 -0
- package/presets/mavis/nuxt/agents/migration-specialist.md +17 -0
- package/presets/mavis/nuxt/agents/mockup-reviewer.md +17 -0
- package/presets/mavis/nuxt/agents/openspec-author.md +17 -0
- package/presets/mavis/nuxt/agents/performance-auditor.md +17 -0
- package/presets/mavis/nuxt/agents/playwright-test-generator.md +19 -0
- package/presets/mavis/nuxt/agents/playwright-test-healer.md +19 -0
- package/presets/mavis/nuxt/agents/playwright-test-planner.md +19 -0
- package/presets/mavis/nuxt/agents/qa-tester.md +20 -0
- package/presets/mavis/nuxt/agents/security-reviewer.md +17 -0
- package/presets/mavis/nuxt/agents/solution-architect.md +17 -0
- package/presets/mavis/nuxt/agents/task-analyst.md +17 -0
- package/presets/mavis/nuxt/agents/task-router.md +17 -0
- package/presets/mavis/nuxt/agents/tech-writer.md +17 -0
- package/presets/mavis/nuxt/agents/unit-test-generator.md +18 -0
- package/presets/mavis/nuxt/agents/unit-test-healer.md +18 -0
- package/presets/mavis/nuxt/agents/unit-test-planner.md +18 -0
- package/presets/mavis/php-hexagonal/MAVIS.md +13 -0
- package/presets/mavis/php-hexagonal/agents/api-contract-reviewer.md +17 -0
- package/presets/mavis/php-hexagonal/agents/build-verifier.md +17 -0
- package/presets/mavis/php-hexagonal/agents/ci-investigator.md +29 -0
- package/presets/mavis/php-hexagonal/agents/code-reviewer.md +16 -0
- package/presets/mavis/php-hexagonal/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/php-hexagonal/agents/debugger.md +29 -0
- package/presets/mavis/php-hexagonal/agents/feature-developer.md +29 -0
- package/presets/mavis/php-hexagonal/agents/integration-test-generator.md +17 -0
- package/presets/mavis/php-hexagonal/agents/integration-test-healer.md +17 -0
- package/presets/mavis/php-hexagonal/agents/integration-test-planner.md +17 -0
- package/presets/mavis/php-hexagonal/agents/migration-specialist.md +15 -0
- package/presets/mavis/php-hexagonal/agents/openspec-author.md +15 -0
- package/presets/mavis/php-hexagonal/agents/performance-auditor.md +15 -0
- package/presets/mavis/php-hexagonal/agents/qa-tester.md +18 -0
- package/presets/mavis/php-hexagonal/agents/security-reviewer.md +15 -0
- package/presets/mavis/php-hexagonal/agents/solution-architect.md +15 -0
- package/presets/mavis/php-hexagonal/agents/task-analyst.md +15 -0
- package/presets/mavis/php-hexagonal/agents/task-router.md +15 -0
- package/presets/mavis/php-hexagonal/agents/tech-writer.md +15 -0
- package/presets/mavis/php-hexagonal/agents/unit-test-generator.md +16 -0
- package/presets/mavis/php-hexagonal/agents/unit-test-healer.md +16 -0
- package/presets/mavis/php-hexagonal/agents/unit-test-planner.md +16 -0
- package/presets/mavis/php-laravel/MAVIS.md +13 -0
- package/presets/mavis/php-laravel/agents/api-contract-reviewer.md +18 -0
- package/presets/mavis/php-laravel/agents/build-verifier.md +17 -0
- package/presets/mavis/php-laravel/agents/ci-investigator.md +29 -0
- package/presets/mavis/php-laravel/agents/code-reviewer.md +16 -0
- package/presets/mavis/php-laravel/agents/codebase-analyzer.md +15 -0
- package/presets/mavis/php-laravel/agents/debugger.md +29 -0
- package/presets/mavis/php-laravel/agents/feature-developer.md +29 -0
- package/presets/mavis/php-laravel/agents/integration-test-generator.md +17 -0
- package/presets/mavis/php-laravel/agents/integration-test-healer.md +17 -0
- package/presets/mavis/php-laravel/agents/integration-test-planner.md +17 -0
- package/presets/mavis/php-laravel/agents/migration-specialist.md +15 -0
- package/presets/mavis/php-laravel/agents/openspec-author.md +15 -0
- package/presets/mavis/php-laravel/agents/performance-auditor.md +15 -0
- package/presets/mavis/php-laravel/agents/qa-tester.md +18 -0
- package/presets/mavis/php-laravel/agents/security-reviewer.md +15 -0
- package/presets/mavis/php-laravel/agents/solution-architect.md +15 -0
- package/presets/mavis/php-laravel/agents/task-analyst.md +15 -0
- package/presets/mavis/php-laravel/agents/task-router.md +15 -0
- package/presets/mavis/php-laravel/agents/tech-writer.md +15 -0
- package/presets/mavis/php-laravel/agents/unit-test-generator.md +16 -0
- package/presets/mavis/php-laravel/agents/unit-test-healer.md +16 -0
- package/presets/mavis/php-laravel/agents/unit-test-planner.md +16 -0
- package/presets/mavis/svelte/MAVIS.md +13 -0
- package/presets/mavis/svelte/agents/accessibility-reviewer.md +17 -0
- package/presets/mavis/svelte/agents/api-contract-reviewer.md +19 -0
- package/presets/mavis/svelte/agents/build-verifier.md +17 -0
- package/presets/mavis/svelte/agents/ci-investigator.md +34 -0
- package/presets/mavis/svelte/agents/code-reviewer.md +18 -0
- package/presets/mavis/svelte/agents/codebase-analyzer.md +17 -0
- package/presets/mavis/svelte/agents/debugger.md +34 -0
- package/presets/mavis/svelte/agents/feature-developer.md +34 -0
- package/presets/mavis/svelte/agents/migration-specialist.md +17 -0
- package/presets/mavis/svelte/agents/mockup-reviewer.md +17 -0
- package/presets/mavis/svelte/agents/openspec-author.md +17 -0
- package/presets/mavis/svelte/agents/performance-auditor.md +17 -0
- package/presets/mavis/svelte/agents/playwright-test-generator.md +19 -0
- package/presets/mavis/svelte/agents/playwright-test-healer.md +19 -0
- package/presets/mavis/svelte/agents/playwright-test-planner.md +19 -0
- package/presets/mavis/svelte/agents/qa-tester.md +20 -0
- package/presets/mavis/svelte/agents/security-reviewer.md +17 -0
- package/presets/mavis/svelte/agents/solution-architect.md +17 -0
- package/presets/mavis/svelte/agents/task-analyst.md +17 -0
- package/presets/mavis/svelte/agents/task-router.md +17 -0
- package/presets/mavis/svelte/agents/tech-writer.md +17 -0
- package/presets/mavis/svelte/agents/unit-test-generator.md +18 -0
- package/presets/mavis/svelte/agents/unit-test-healer.md +18 -0
- package/presets/mavis/svelte/agents/unit-test-planner.md +18 -0
- package/presets/opencode/android-kotlin/OPENCODE.md +15 -1
- package/presets/opencode/android-kotlin/adapter-map.json +1 -1
- package/presets/opencode/android-kotlin/agents/accessibility-reviewer.md +15 -0
- package/presets/opencode/android-kotlin/agents/api-contract-reviewer.md +16 -0
- package/presets/opencode/android-kotlin/agents/build-verifier.md +17 -0
- package/presets/opencode/android-kotlin/agents/ci-investigator.md +25 -0
- package/presets/opencode/android-kotlin/agents/code-reviewer.md +16 -0
- package/presets/opencode/android-kotlin/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/android-kotlin/agents/debugger.md +25 -0
- package/presets/opencode/android-kotlin/agents/feature-developer.md +25 -0
- package/presets/opencode/android-kotlin/agents/instrumentation-test-generator.md +16 -0
- package/presets/opencode/android-kotlin/agents/instrumentation-test-healer.md +16 -0
- package/presets/opencode/android-kotlin/agents/instrumentation-test-planner.md +16 -0
- package/presets/opencode/android-kotlin/agents/migration-specialist.md +15 -0
- package/presets/opencode/android-kotlin/agents/mockup-reviewer.md +15 -0
- package/presets/opencode/android-kotlin/agents/openspec-author.md +15 -0
- package/presets/opencode/android-kotlin/agents/performance-auditor.md +15 -0
- package/presets/opencode/android-kotlin/agents/qa-tester.md +17 -0
- package/presets/opencode/android-kotlin/agents/security-reviewer.md +15 -0
- package/presets/opencode/android-kotlin/agents/solution-architect.md +15 -0
- package/presets/opencode/android-kotlin/agents/task-analyst.md +15 -0
- package/presets/opencode/android-kotlin/agents/task-router.md +15 -0
- package/presets/opencode/android-kotlin/agents/tech-writer.md +15 -0
- package/presets/opencode/android-kotlin/agents/unit-test-generator.md +16 -0
- package/presets/opencode/android-kotlin/agents/unit-test-healer.md +16 -0
- package/presets/opencode/android-kotlin/agents/unit-test-planner.md +16 -0
- package/presets/opencode/android-kotlin/opencode.json +14 -0
- package/presets/opencode/android-kotlin/rules/README.md +7 -2
- package/presets/opencode/go/OPENCODE.md +15 -1
- package/presets/opencode/go/adapter-map.json +1 -1
- package/presets/opencode/go/agents/api-contract-reviewer.md +17 -0
- package/presets/opencode/go/agents/build-verifier.md +17 -0
- package/presets/opencode/go/agents/ci-investigator.md +29 -0
- package/presets/opencode/go/agents/code-reviewer.md +16 -0
- package/presets/opencode/go/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/go/agents/debugger.md +29 -0
- package/presets/opencode/go/agents/feature-developer.md +29 -0
- package/presets/opencode/go/agents/integration-test-generator.md +17 -0
- package/presets/opencode/go/agents/integration-test-healer.md +17 -0
- package/presets/opencode/go/agents/integration-test-planner.md +17 -0
- package/presets/opencode/go/agents/migration-specialist.md +15 -0
- package/presets/opencode/go/agents/openspec-author.md +15 -0
- package/presets/opencode/go/agents/performance-auditor.md +15 -0
- package/presets/opencode/go/agents/qa-tester.md +18 -0
- package/presets/opencode/go/agents/security-reviewer.md +15 -0
- package/presets/opencode/go/agents/solution-architect.md +15 -0
- package/presets/opencode/go/agents/task-analyst.md +15 -0
- package/presets/opencode/go/agents/task-router.md +15 -0
- package/presets/opencode/go/agents/tech-writer.md +15 -0
- package/presets/opencode/go/agents/unit-test-generator.md +16 -0
- package/presets/opencode/go/agents/unit-test-healer.md +16 -0
- package/presets/opencode/go/agents/unit-test-planner.md +16 -0
- package/presets/opencode/go/opencode.json +14 -0
- package/presets/opencode/go/rules/README.md +7 -2
- package/presets/opencode/ios-swift/OPENCODE.md +15 -1
- package/presets/opencode/ios-swift/adapter-map.json +1 -1
- package/presets/opencode/ios-swift/agents/accessibility-reviewer.md +15 -0
- package/presets/opencode/ios-swift/agents/api-contract-reviewer.md +16 -0
- package/presets/opencode/ios-swift/agents/build-verifier.md +17 -0
- package/presets/opencode/ios-swift/agents/ci-investigator.md +24 -0
- package/presets/opencode/ios-swift/agents/code-reviewer.md +16 -0
- package/presets/opencode/ios-swift/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/ios-swift/agents/debugger.md +24 -0
- package/presets/opencode/ios-swift/agents/feature-developer.md +24 -0
- package/presets/opencode/ios-swift/agents/migration-specialist.md +15 -0
- package/presets/opencode/ios-swift/agents/mockup-reviewer.md +15 -0
- package/presets/opencode/ios-swift/agents/openspec-author.md +15 -0
- package/presets/opencode/ios-swift/agents/performance-auditor.md +15 -0
- package/presets/opencode/ios-swift/agents/qa-tester.md +17 -0
- package/presets/opencode/ios-swift/agents/security-reviewer.md +15 -0
- package/presets/opencode/ios-swift/agents/solution-architect.md +15 -0
- package/presets/opencode/ios-swift/agents/task-analyst.md +15 -0
- package/presets/opencode/ios-swift/agents/task-router.md +15 -0
- package/presets/opencode/ios-swift/agents/tech-writer.md +15 -0
- package/presets/opencode/ios-swift/agents/unit-test-generator.md +16 -0
- package/presets/opencode/ios-swift/agents/unit-test-healer.md +16 -0
- package/presets/opencode/ios-swift/agents/unit-test-planner.md +16 -0
- package/presets/opencode/ios-swift/agents/xcuitest-test-generator.md +16 -0
- package/presets/opencode/ios-swift/agents/xcuitest-test-healer.md +16 -0
- package/presets/opencode/ios-swift/agents/xcuitest-test-planner.md +16 -0
- package/presets/opencode/ios-swift/opencode.json +14 -0
- package/presets/opencode/ios-swift/rules/README.md +7 -2
- package/presets/opencode/java/OPENCODE.md +15 -1
- package/presets/opencode/java/adapter-map.json +1 -1
- package/presets/opencode/java/agents/api-contract-reviewer.md +17 -0
- package/presets/opencode/java/agents/build-verifier.md +17 -0
- package/presets/opencode/java/agents/ci-investigator.md +29 -0
- package/presets/opencode/java/agents/code-reviewer.md +16 -0
- package/presets/opencode/java/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/java/agents/debugger.md +29 -0
- package/presets/opencode/java/agents/feature-developer.md +29 -0
- package/presets/opencode/java/agents/integration-test-generator.md +17 -0
- package/presets/opencode/java/agents/integration-test-healer.md +17 -0
- package/presets/opencode/java/agents/integration-test-planner.md +17 -0
- package/presets/opencode/java/agents/migration-specialist.md +15 -0
- package/presets/opencode/java/agents/openspec-author.md +15 -0
- package/presets/opencode/java/agents/performance-auditor.md +15 -0
- package/presets/opencode/java/agents/qa-tester.md +18 -0
- package/presets/opencode/java/agents/security-reviewer.md +15 -0
- package/presets/opencode/java/agents/solution-architect.md +15 -0
- package/presets/opencode/java/agents/task-analyst.md +15 -0
- package/presets/opencode/java/agents/task-router.md +15 -0
- package/presets/opencode/java/agents/tech-writer.md +15 -0
- package/presets/opencode/java/agents/unit-test-generator.md +16 -0
- package/presets/opencode/java/agents/unit-test-healer.md +16 -0
- package/presets/opencode/java/agents/unit-test-planner.md +16 -0
- package/presets/opencode/java/opencode.json +14 -0
- package/presets/opencode/java/rules/README.md +7 -2
- package/presets/opencode/mcp-ts/OPENCODE.md +15 -1
- package/presets/opencode/mcp-ts/adapter-map.json +1 -1
- package/presets/opencode/mcp-ts/agents/build-verifier.md +17 -0
- package/presets/opencode/mcp-ts/agents/feature-developer.md +22 -0
- package/presets/opencode/mcp-ts/agents/security-reviewer.md +15 -0
- package/presets/opencode/mcp-ts/agents/solution-architect.md +15 -0
- package/presets/opencode/mcp-ts/agents/task-analyst.md +15 -0
- package/presets/opencode/mcp-ts/agents/task-router.md +15 -0
- package/presets/opencode/mcp-ts/opencode.json +14 -0
- package/presets/opencode/mcp-ts/rules/README.md +7 -2
- package/presets/opencode/next/OPENCODE.md +15 -1
- package/presets/opencode/next/adapter-map.json +58 -2
- package/presets/opencode/next/agents/accessibility-reviewer.md +17 -0
- package/presets/opencode/next/agents/api-contract-reviewer.md +19 -0
- package/presets/opencode/next/agents/build-verifier.md +17 -0
- package/presets/opencode/next/agents/ci-investigator.md +34 -0
- package/presets/opencode/next/agents/code-reviewer.md +18 -0
- package/presets/opencode/next/agents/codebase-analyzer.md +17 -0
- package/presets/opencode/next/agents/debugger.md +34 -0
- package/presets/opencode/next/agents/feature-developer.md +34 -0
- package/presets/opencode/next/agents/migration-specialist.md +17 -0
- package/presets/opencode/next/agents/mockup-reviewer.md +17 -0
- package/presets/opencode/next/agents/openspec-author.md +17 -0
- package/presets/opencode/next/agents/performance-auditor.md +17 -0
- package/presets/opencode/next/agents/playwright-test-generator.md +19 -0
- package/presets/opencode/next/agents/playwright-test-healer.md +19 -0
- package/presets/opencode/next/agents/playwright-test-planner.md +19 -0
- package/presets/opencode/next/agents/qa-tester.md +20 -0
- package/presets/opencode/next/agents/security-reviewer.md +17 -0
- package/presets/opencode/next/agents/solution-architect.md +17 -0
- package/presets/opencode/next/agents/task-analyst.md +17 -0
- package/presets/opencode/next/agents/task-router.md +17 -0
- package/presets/opencode/next/agents/tech-writer.md +17 -0
- package/presets/opencode/next/agents/unit-test-generator.md +18 -0
- package/presets/opencode/next/agents/unit-test-healer.md +18 -0
- package/presets/opencode/next/agents/unit-test-planner.md +18 -0
- package/presets/opencode/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +38 -0
- package/presets/opencode/next/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/opencode/next/ai-local/rules-library/mcp-required-for-ui-layout.md +41 -0
- package/presets/opencode/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/opencode/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/opencode/next/ai-local/rules-library/router-pages.md +23 -0
- package/presets/opencode/next/ai-local/rules-library/single-source-copy-constants.md +16 -0
- package/presets/opencode/next/opencode.json +19 -0
- package/presets/opencode/next/rules/README.md +7 -2
- package/presets/opencode/nuxt/OPENCODE.md +15 -1
- package/presets/opencode/nuxt/adapter-map.json +1 -1
- package/presets/opencode/nuxt/agents/accessibility-reviewer.md +17 -0
- package/presets/opencode/nuxt/agents/api-contract-reviewer.md +19 -0
- package/presets/opencode/nuxt/agents/build-verifier.md +17 -0
- package/presets/opencode/nuxt/agents/ci-investigator.md +34 -0
- package/presets/opencode/nuxt/agents/code-reviewer.md +18 -0
- package/presets/opencode/nuxt/agents/codebase-analyzer.md +17 -0
- package/presets/opencode/nuxt/agents/debugger.md +34 -0
- package/presets/opencode/nuxt/agents/feature-developer.md +34 -0
- package/presets/opencode/nuxt/agents/migration-specialist.md +17 -0
- package/presets/opencode/nuxt/agents/mockup-reviewer.md +17 -0
- package/presets/opencode/nuxt/agents/openspec-author.md +17 -0
- package/presets/opencode/nuxt/agents/performance-auditor.md +17 -0
- package/presets/opencode/nuxt/agents/playwright-test-generator.md +19 -0
- package/presets/opencode/nuxt/agents/playwright-test-healer.md +19 -0
- package/presets/opencode/nuxt/agents/playwright-test-planner.md +19 -0
- package/presets/opencode/nuxt/agents/qa-tester.md +20 -0
- package/presets/opencode/nuxt/agents/security-reviewer.md +17 -0
- package/presets/opencode/nuxt/agents/solution-architect.md +17 -0
- package/presets/opencode/nuxt/agents/task-analyst.md +17 -0
- package/presets/opencode/nuxt/agents/task-router.md +17 -0
- package/presets/opencode/nuxt/agents/tech-writer.md +17 -0
- package/presets/opencode/nuxt/agents/unit-test-generator.md +18 -0
- package/presets/opencode/nuxt/agents/unit-test-healer.md +18 -0
- package/presets/opencode/nuxt/agents/unit-test-planner.md +18 -0
- package/presets/opencode/nuxt/opencode.json +19 -0
- package/presets/opencode/nuxt/rules/README.md +7 -2
- package/presets/opencode/php-hexagonal/OPENCODE.md +15 -1
- package/presets/opencode/php-hexagonal/adapter-map.json +1 -1
- package/presets/opencode/php-hexagonal/agents/api-contract-reviewer.md +17 -0
- package/presets/opencode/php-hexagonal/agents/build-verifier.md +17 -0
- package/presets/opencode/php-hexagonal/agents/ci-investigator.md +29 -0
- package/presets/opencode/php-hexagonal/agents/code-reviewer.md +16 -0
- package/presets/opencode/php-hexagonal/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/php-hexagonal/agents/debugger.md +29 -0
- package/presets/opencode/php-hexagonal/agents/feature-developer.md +29 -0
- package/presets/opencode/php-hexagonal/agents/integration-test-generator.md +17 -0
- package/presets/opencode/php-hexagonal/agents/integration-test-healer.md +17 -0
- package/presets/opencode/php-hexagonal/agents/integration-test-planner.md +17 -0
- package/presets/opencode/php-hexagonal/agents/migration-specialist.md +15 -0
- package/presets/opencode/php-hexagonal/agents/openspec-author.md +15 -0
- package/presets/opencode/php-hexagonal/agents/performance-auditor.md +15 -0
- package/presets/opencode/php-hexagonal/agents/qa-tester.md +18 -0
- package/presets/opencode/php-hexagonal/agents/security-reviewer.md +15 -0
- package/presets/opencode/php-hexagonal/agents/solution-architect.md +15 -0
- package/presets/opencode/php-hexagonal/agents/task-analyst.md +15 -0
- package/presets/opencode/php-hexagonal/agents/task-router.md +15 -0
- package/presets/opencode/php-hexagonal/agents/tech-writer.md +15 -0
- package/presets/opencode/php-hexagonal/agents/unit-test-generator.md +16 -0
- package/presets/opencode/php-hexagonal/agents/unit-test-healer.md +16 -0
- package/presets/opencode/php-hexagonal/agents/unit-test-planner.md +16 -0
- package/presets/opencode/php-hexagonal/opencode.json +14 -0
- package/presets/opencode/php-hexagonal/rules/README.md +7 -2
- package/presets/opencode/php-laravel/OPENCODE.md +15 -1
- package/presets/opencode/php-laravel/adapter-map.json +1 -1
- package/presets/opencode/php-laravel/agents/api-contract-reviewer.md +18 -0
- package/presets/opencode/php-laravel/agents/build-verifier.md +17 -0
- package/presets/opencode/php-laravel/agents/ci-investigator.md +29 -0
- package/presets/opencode/php-laravel/agents/code-reviewer.md +16 -0
- package/presets/opencode/php-laravel/agents/codebase-analyzer.md +15 -0
- package/presets/opencode/php-laravel/agents/debugger.md +29 -0
- package/presets/opencode/php-laravel/agents/feature-developer.md +29 -0
- package/presets/opencode/php-laravel/agents/integration-test-generator.md +17 -0
- package/presets/opencode/php-laravel/agents/integration-test-healer.md +17 -0
- package/presets/opencode/php-laravel/agents/integration-test-planner.md +17 -0
- package/presets/opencode/php-laravel/agents/migration-specialist.md +15 -0
- package/presets/opencode/php-laravel/agents/openspec-author.md +15 -0
- package/presets/opencode/php-laravel/agents/performance-auditor.md +15 -0
- package/presets/opencode/php-laravel/agents/qa-tester.md +18 -0
- package/presets/opencode/php-laravel/agents/security-reviewer.md +15 -0
- package/presets/opencode/php-laravel/agents/solution-architect.md +15 -0
- package/presets/opencode/php-laravel/agents/task-analyst.md +15 -0
- package/presets/opencode/php-laravel/agents/task-router.md +15 -0
- package/presets/opencode/php-laravel/agents/tech-writer.md +15 -0
- package/presets/opencode/php-laravel/agents/unit-test-generator.md +16 -0
- package/presets/opencode/php-laravel/agents/unit-test-healer.md +16 -0
- package/presets/opencode/php-laravel/agents/unit-test-planner.md +16 -0
- package/presets/opencode/php-laravel/opencode.json +14 -0
- package/presets/opencode/php-laravel/rules/README.md +7 -2
- package/presets/opencode/svelte/OPENCODE.md +15 -1
- package/presets/opencode/svelte/adapter-map.json +1 -1
- package/presets/opencode/svelte/agents/accessibility-reviewer.md +17 -0
- package/presets/opencode/svelte/agents/api-contract-reviewer.md +19 -0
- package/presets/opencode/svelte/agents/build-verifier.md +17 -0
- package/presets/opencode/svelte/agents/ci-investigator.md +34 -0
- package/presets/opencode/svelte/agents/code-reviewer.md +18 -0
- package/presets/opencode/svelte/agents/codebase-analyzer.md +17 -0
- package/presets/opencode/svelte/agents/debugger.md +34 -0
- package/presets/opencode/svelte/agents/feature-developer.md +34 -0
- package/presets/opencode/svelte/agents/migration-specialist.md +17 -0
- package/presets/opencode/svelte/agents/mockup-reviewer.md +17 -0
- package/presets/opencode/svelte/agents/openspec-author.md +17 -0
- package/presets/opencode/svelte/agents/performance-auditor.md +17 -0
- package/presets/opencode/svelte/agents/playwright-test-generator.md +19 -0
- package/presets/opencode/svelte/agents/playwright-test-healer.md +19 -0
- package/presets/opencode/svelte/agents/playwright-test-planner.md +19 -0
- package/presets/opencode/svelte/agents/qa-tester.md +20 -0
- package/presets/opencode/svelte/agents/security-reviewer.md +17 -0
- package/presets/opencode/svelte/agents/solution-architect.md +17 -0
- package/presets/opencode/svelte/agents/task-analyst.md +17 -0
- package/presets/opencode/svelte/agents/task-router.md +17 -0
- package/presets/opencode/svelte/agents/tech-writer.md +17 -0
- package/presets/opencode/svelte/agents/unit-test-generator.md +18 -0
- package/presets/opencode/svelte/agents/unit-test-healer.md +18 -0
- package/presets/opencode/svelte/agents/unit-test-planner.md +18 -0
- package/presets/opencode/svelte/opencode.json +19 -0
- package/presets/opencode/svelte/rules/README.md +7 -2
- package/scripts/check-claude-agent-blocks.mjs +82 -0
- package/scripts/check-preset-structure.sh +9 -0
- package/scripts/fixtures/cli-golden/claude/next.json +26 -25
- package/scripts/fixtures/cli-golden/cursor/next.json +7 -0
- package/scripts/fixtures/cli-golden/mavis/android-kotlin.json +25 -25
- package/scripts/fixtures/cli-golden/mavis/go.json +23 -23
- package/scripts/fixtures/cli-golden/mavis/ios-swift.json +25 -25
- package/scripts/fixtures/cli-golden/mavis/java.json +23 -23
- package/scripts/fixtures/cli-golden/mavis/mcp-ts.json +7 -7
- package/scripts/fixtures/cli-golden/mavis/next.json +32 -25
- package/scripts/fixtures/cli-golden/mavis/nuxt.json +25 -25
- package/scripts/fixtures/cli-golden/mavis/php-hexagonal.json +23 -23
- package/scripts/fixtures/cli-golden/mavis/php-laravel.json +23 -23
- package/scripts/fixtures/cli-golden/mavis/svelte.json +25 -25
- package/scripts/fixtures/cli-golden/opencode/android-kotlin.json +27 -27
- package/scripts/fixtures/cli-golden/opencode/go.json +25 -25
- package/scripts/fixtures/cli-golden/opencode/ios-swift.json +27 -27
- package/scripts/fixtures/cli-golden/opencode/java.json +25 -25
- package/scripts/fixtures/cli-golden/opencode/mcp-ts.json +9 -9
- package/scripts/fixtures/cli-golden/opencode/next.json +34 -27
- package/scripts/fixtures/cli-golden/opencode/nuxt.json +27 -27
- package/scripts/fixtures/cli-golden/opencode/php-hexagonal.json +25 -25
- package/scripts/fixtures/cli-golden/opencode/php-laravel.json +25 -25
- package/scripts/fixtures/cli-golden/opencode/svelte.json +27 -27
- package/scripts/inject-claude-agent-rules-block.mjs +83 -0
- package/scripts/lib/generate-adapter-common.mjs +182 -0
- package/scripts/lib/generate-mavis-adapter.mjs +45 -9
- package/scripts/lib/generate-opencode-adapter.mjs +68 -11
- package/scripts/lib/stack-platform-profiles.mjs +321 -1
- package/scripts/sync-claude-harness-wiring.mjs +56 -0
- package/scripts/sync-claude-settings.mjs +56 -0
- package/scripts/test-cli-mcp-merge.mjs +54 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
### OpenCode re-init picks up preset rules; Claude ships `settings.json`
|
|
6
|
+
|
|
7
|
+
- `init opencode` merges `opencode.json` by **unioning** preset `instructions` paths and **filling missing** `permission.bash` keys. Consumer extra paths and same-key overrides stay, including on re-init. An empty `instructions` array no longer blocks the preset list.
|
|
8
|
+
- Claude presets now include `presets/claude/<stack>/settings.json` (harness `permissions.deny` / `ask`). `init claude` copies it to `.claude/settings.json` and overwrites that file on re-init.
|
|
9
|
+
|
|
5
10
|
### Over-abstraction guardrails + aligned always-on budget
|
|
6
11
|
|
|
7
12
|
- **Shared core** `quality/code-quality-and-refactoring` gains an **Over-abstraction guardrails** section: no unnecessary constants, no invented one-off utilities (Rule of Three), decompose over conditionals. Propagated to all 10 stacks (Cursor + Claude; Mavis / OpenCode regenerated).
|
package/bin/cli.js
CHANGED
|
@@ -73,7 +73,7 @@ Notes:
|
|
|
73
73
|
on shipped keys are preserved unless the preset defines them. Invalid / non-object JSON is
|
|
74
74
|
copied to a timestamped *.bak.* then replaced with the preset file. JSONC is not supported).
|
|
75
75
|
Cursor init copies rules, commands, agents, hooks, skills, hooks.json, BUGBOT.md, AGENTS.md → .cursor/AGENTS.md, MCP.md, mcp.json → .cursor/mcp.json.
|
|
76
|
-
Claude init copies rules, commands, skills, agents, hooks, CLAUDE.md, MCP.md, and mcp.json → .mcp.json (project root).
|
|
76
|
+
Claude init copies rules, commands, skills, agents, hooks, CLAUDE.md, settings.json (harness-level denials), MCP.md, and mcp.json → .mcp.json (project root).
|
|
77
77
|
All init targets seed .ai.local/team/ (shared pipeline artifacts; never overwritten task slugs; not removed by clean)
|
|
78
78
|
and .ai.local/conventions.md (living gotchas; seeded from the preset template only when absent, never overwritten).
|
|
79
79
|
Because .ai.local/team/ is shared, ANY init consolidates every legacy .cursor|.claude|.mavis|.opencode/team/ into it,
|
|
@@ -505,7 +505,7 @@ function readInstallManifest(cwd, toolRoot) {
|
|
|
505
505
|
/** Markers that mean a tool install is still present (directory leftovers do not count). */
|
|
506
506
|
const TOOL_INSTALL_MARKERS = {
|
|
507
507
|
'.cursor': ['.cursor/AGENTS.md', '.cursor/hooks.json', '.cursor/rules'],
|
|
508
|
-
'.claude': ['.claude/CLAUDE.md', '.claude/rules'],
|
|
508
|
+
'.claude': ['.claude/CLAUDE.md', '.claude/rules', '.claude/settings.json'],
|
|
509
509
|
'.mavis': ['.mavis/.ai-rules-install.json', '.mavis/AGENTS.md'],
|
|
510
510
|
'.opencode': ['.opencode/.ai-rules-install.json', '.opencode/AGENTS.md'],
|
|
511
511
|
};
|
|
@@ -781,6 +781,17 @@ function cmdInit(tool, preset, cwdOption) {
|
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
783
|
|
|
784
|
+
if (tool === 'claude') {
|
|
785
|
+
const settingsFrom = path.join(base, 'settings.json');
|
|
786
|
+
if (fs.existsSync(settingsFrom)) {
|
|
787
|
+
const destAbs = path.join(toolRootAbs, 'settings.json');
|
|
788
|
+
fs.copyFileSync(settingsFrom, destAbs);
|
|
789
|
+
createdPaths.add(destAbs);
|
|
790
|
+
console.log(`Copied settings.json → ${toolRoot}/settings.json`);
|
|
791
|
+
copiedSteps++;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
|
|
784
795
|
if (cfg.mcpJsonSrc && cfg.mcpJsonDest) {
|
|
785
796
|
const mcpFrom = path.join(base, cfg.mcpJsonSrc);
|
|
786
797
|
if (fs.existsSync(mcpFrom)) {
|
|
@@ -255,6 +255,43 @@ function seedConventions(presetTeamSrc, cwd) {
|
|
|
255
255
|
return true;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
+
/**
|
|
259
|
+
* Seed `.ai.local/rules-library/` from `presets/<opt>/<stack>/ai-local/rules-library/`.
|
|
260
|
+
* Opt-in discipline rules the consumer enables by moving a file into
|
|
261
|
+
* `.ai.local/rules/` (consumer-owned; never overwritten).
|
|
262
|
+
*
|
|
263
|
+
* Refuses symlinks anywhere along the source path so `rmSync` and copy
|
|
264
|
+
* can't escape the install scope.
|
|
265
|
+
*/
|
|
266
|
+
function seedAiLocalRules(presetTeamSrc, cwd) {
|
|
267
|
+
if (!presetTeamSrc) {
|
|
268
|
+
return false;
|
|
269
|
+
}
|
|
270
|
+
const libraryDir = path.join(path.dirname(presetTeamSrc), 'ai-local', 'rules-library');
|
|
271
|
+
if (!fs.existsSync(libraryDir) || !fs.statSync(libraryDir).isDirectory()) {
|
|
272
|
+
return false;
|
|
273
|
+
}
|
|
274
|
+
const destDir = path.join(cwd, '.ai.local', 'rules-library');
|
|
275
|
+
assertSafeDest(cwd, destDir, '.ai.local/rules-library');
|
|
276
|
+
let copied = 0;
|
|
277
|
+
let skipped = 0;
|
|
278
|
+
for (const entry of fs.readdirSync(libraryDir)) {
|
|
279
|
+
if (!entry.endsWith('.md')) continue;
|
|
280
|
+
const src = path.join(libraryDir, entry);
|
|
281
|
+
const dest = path.join(destDir, entry);
|
|
282
|
+
if (fs.existsSync(dest)) {
|
|
283
|
+
skipped += 1;
|
|
284
|
+
continue;
|
|
285
|
+
}
|
|
286
|
+
copyFile(src, dest);
|
|
287
|
+
copied += 1;
|
|
288
|
+
}
|
|
289
|
+
if (copied > 0) {
|
|
290
|
+
console.log(`Seeded .ai.local/rules-library/ (${copied} rules; ${skipped} already present)`);
|
|
291
|
+
}
|
|
292
|
+
return copied > 0;
|
|
293
|
+
}
|
|
294
|
+
|
|
258
295
|
/**
|
|
259
296
|
* Resolve a legacy `.<tool>/team` directory, refusing symlinks and anything whose
|
|
260
297
|
* real path escapes the resolved `cwd`. `rmSync` through a link would delete the
|
|
@@ -392,7 +429,7 @@ function migrateLegacyTeams(cwd, dest) {
|
|
|
392
429
|
|
|
393
430
|
/**
|
|
394
431
|
* @param {{ cwd: string, presetTeamSrc?: string }} options
|
|
395
|
-
* @returns {{ created: boolean, migrated: boolean, refreshed: boolean, conventionsSeeded: boolean }}
|
|
432
|
+
* @returns {{ created: boolean, migrated: boolean, refreshed: boolean, conventionsSeeded: boolean, rulesLibrarySeeded: boolean }}
|
|
396
433
|
*/
|
|
397
434
|
function seedAiLocalTeam({ cwd, presetTeamSrc }) {
|
|
398
435
|
const dest = destTeamRoot(cwd);
|
|
@@ -408,13 +445,14 @@ function seedAiLocalTeam({ cwd, presetTeamSrc }) {
|
|
|
408
445
|
|
|
409
446
|
if (!destExisted && !hadLegacy && (!presetTeamSrc || !fs.existsSync(presetTeamSrc))) {
|
|
410
447
|
console.log('Skipped .ai.local/team seed (preset team/ missing)');
|
|
411
|
-
return { created: false, migrated: false, refreshed: false, conventionsSeeded: false };
|
|
448
|
+
return { created: false, migrated: false, refreshed: false, conventionsSeeded: false, rulesLibrarySeeded: false };
|
|
412
449
|
}
|
|
413
450
|
|
|
414
451
|
fs.mkdirSync(dest, { recursive: true });
|
|
415
452
|
const migrated = migrateLegacyTeams(cwd, dest);
|
|
416
453
|
copyTemplates(presetTeamSrc, dest);
|
|
417
454
|
const conventionsSeeded = seedConventions(presetTeamSrc, cwd);
|
|
455
|
+
const rulesLibrarySeeded = seedAiLocalRules(presetTeamSrc, cwd);
|
|
418
456
|
|
|
419
457
|
if (migrated) {
|
|
420
458
|
console.log('Migrated legacy .{tool}/team → .ai.local/team');
|
|
@@ -422,7 +460,7 @@ function seedAiLocalTeam({ cwd, presetTeamSrc }) {
|
|
|
422
460
|
|
|
423
461
|
if (!destExisted && !hadLegacy) {
|
|
424
462
|
console.log('Seeded .ai.local/team/');
|
|
425
|
-
return { created: true, migrated: false, refreshed: false, conventionsSeeded };
|
|
463
|
+
return { created: true, migrated: false, refreshed: false, conventionsSeeded, rulesLibrarySeeded };
|
|
426
464
|
}
|
|
427
465
|
|
|
428
466
|
if (destHasSlugs || destExisted) {
|
|
@@ -431,10 +469,10 @@ function seedAiLocalTeam({ cwd, presetTeamSrc }) {
|
|
|
431
469
|
? 'Refreshed .ai.local/team templates (tasks preserved)'
|
|
432
470
|
: 'Refreshed .ai.local/team (no consumer task slugs)',
|
|
433
471
|
);
|
|
434
|
-
return { created: false, migrated, refreshed: true, conventionsSeeded };
|
|
472
|
+
return { created: false, migrated, refreshed: true, conventionsSeeded, rulesLibrarySeeded };
|
|
435
473
|
}
|
|
436
474
|
|
|
437
|
-
return { created: false, migrated, refreshed: false, conventionsSeeded };
|
|
475
|
+
return { created: false, migrated, refreshed: false, conventionsSeeded, rulesLibrarySeeded };
|
|
438
476
|
}
|
|
439
477
|
|
|
440
478
|
module.exports = { seedAiLocalTeam, destTeamRoot };
|
package/bin/opencode-install.js
CHANGED
|
@@ -190,6 +190,57 @@ function mergeServerEntry(existingEntry, presetEntry) {
|
|
|
190
190
|
return merged;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
+
function stringList(value) {
|
|
194
|
+
return Array.isArray(value) ? value.filter((item) => typeof item === 'string') : [];
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function mergeInstructionList(existingInstructions, presetInstructions) {
|
|
198
|
+
const presetList = stringList(presetInstructions);
|
|
199
|
+
if (existingInstructions == null) {
|
|
200
|
+
return presetList.length > 0 ? presetList : undefined;
|
|
201
|
+
}
|
|
202
|
+
if (!Array.isArray(existingInstructions)) {
|
|
203
|
+
return existingInstructions;
|
|
204
|
+
}
|
|
205
|
+
const merged = [];
|
|
206
|
+
const seen = new Set();
|
|
207
|
+
for (const item of existingInstructions) {
|
|
208
|
+
if (typeof item === 'string') {
|
|
209
|
+
if (seen.has(item)) continue;
|
|
210
|
+
seen.add(item);
|
|
211
|
+
}
|
|
212
|
+
merged.push(item);
|
|
213
|
+
}
|
|
214
|
+
for (const item of presetList) {
|
|
215
|
+
if (seen.has(item)) continue;
|
|
216
|
+
seen.add(item);
|
|
217
|
+
merged.push(item);
|
|
218
|
+
}
|
|
219
|
+
return merged;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
function mergePermission(existingPermission, presetPermission) {
|
|
223
|
+
const presetPerm = isPlainObject(presetPermission) ? presetPermission : null;
|
|
224
|
+
const presetBash = presetPerm && isPlainObject(presetPerm.bash) ? presetPerm.bash : null;
|
|
225
|
+
if (existingPermission == null) {
|
|
226
|
+
if (!presetPerm) return undefined;
|
|
227
|
+
return presetBash ? { ...presetPerm, bash: { ...presetBash } } : { ...presetPerm };
|
|
228
|
+
}
|
|
229
|
+
if (!isPlainObject(existingPermission) || !presetBash) {
|
|
230
|
+
return existingPermission;
|
|
231
|
+
}
|
|
232
|
+
const merged = { ...existingPermission };
|
|
233
|
+
if (merged.bash == null) {
|
|
234
|
+
merged.bash = { ...presetBash };
|
|
235
|
+
return merged;
|
|
236
|
+
}
|
|
237
|
+
if (!isPlainObject(merged.bash)) {
|
|
238
|
+
return merged;
|
|
239
|
+
}
|
|
240
|
+
merged.bash = { ...presetBash, ...merged.bash };
|
|
241
|
+
return merged;
|
|
242
|
+
}
|
|
243
|
+
|
|
193
244
|
function mergeOpencodeConfig(presetObj, existingObj) {
|
|
194
245
|
const preset = isPlainObject(presetObj) ? presetObj : {};
|
|
195
246
|
const existing = isPlainObject(existingObj) ? existingObj : {};
|
|
@@ -207,6 +258,13 @@ function mergeOpencodeConfig(presetObj, existingObj) {
|
|
|
207
258
|
merged.$schema = preset.$schema;
|
|
208
259
|
}
|
|
209
260
|
merged.mcp = mergedMcp;
|
|
261
|
+
// Re-init re-asserts preset instruction paths and missing bash keys so an
|
|
262
|
+
// upgrade is picked up. Consumer extras and same-key bash overrides stay.
|
|
263
|
+
// A non-array `instructions` or non-object `permission` is left untouched.
|
|
264
|
+
const instructions = mergeInstructionList(merged.instructions, preset.instructions);
|
|
265
|
+
if (instructions !== undefined) merged.instructions = instructions;
|
|
266
|
+
const permission = mergePermission(merged.permission, preset.permission);
|
|
267
|
+
if (permission !== undefined) merged.permission = permission;
|
|
210
268
|
return { merged, extrasKept, existingServersInvalid };
|
|
211
269
|
}
|
|
212
270
|
|
|
@@ -39,7 +39,7 @@ Allowed status values are `confirmed`, `partial`, `unknown`, and `no-equivalent`
|
|
|
39
39
|
| Slash commands | `confirmed` | opencode.ai/docs/commands | `.opencode/commands/<name>.md` | Native `/task` |
|
|
40
40
|
| Plugin / skill / MCP combo | `confirmed` | skills + mcp docs | MCP inflates context | Gate unused servers in operator config |
|
|
41
41
|
| Native Team lifecycle | `partial` | file pipeline is ai-rules SoT | No native team runtime | Hook owns `status.json` / `metrics.json` |
|
|
42
|
-
| `opencode.json` `instructions` globs | `unknown` | V1 docs load globs; V2 may not resolve |
|
|
42
|
+
| `opencode.json` `instructions` globs | `unknown` | V1 docs load globs; V2 may not resolve | Compact hedge for parent + per-agent "Rules to load" block is V2-safe | `AGENTS.md` + explicit Read (authoritative for subagents) |
|
|
43
43
|
|
|
44
44
|
## What we do not claim
|
|
45
45
|
|
package/docs/OPENCODE.md
CHANGED
|
@@ -23,7 +23,7 @@ What lands:
|
|
|
23
23
|
| `OPENCODE.md` | `.opencode/AGENTS.md` (OpenCode load map) |
|
|
24
24
|
| `rules/`, `agents/`, `skills/`, `commands/`, `hooks/` | `.opencode/<dir>/` |
|
|
25
25
|
| `team/` | `.ai.local/team/` (shared pipeline artifacts; not `.opencode/team/`) |
|
|
26
|
-
| `opencode.json` | `./opencode.json` (merge `mcp`
|
|
26
|
+
| `opencode.json` | `./opencode.json` (merge `mcp`; union preset `instructions`; fill missing `permission.bash` keys) |
|
|
27
27
|
|
|
28
28
|
Remove only what this install owns:
|
|
29
29
|
|
|
@@ -31,7 +31,7 @@ Remove only what this install owns:
|
|
|
31
31
|
npx @bonesofspring/ai-rules clean opencode
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
`clean opencode` is **manifest-owned**: unchanged hashes are removed; files you edited stay. Without a valid `.opencode/.ai-rules-install.json`, clean is fail-safe (nothing removed). Extra keys in `opencode.json` (models,
|
|
34
|
+
`clean opencode` is **manifest-owned**: unchanged hashes are removed; files you edited stay. Without a valid `.opencode/.ai-rules-install.json`, clean is fail-safe (nothing removed). Extra keys in `opencode.json` (models, user MCP servers, extra instruction paths) are preserved. Re-init still unions preset instruction paths and fills bash keys the file does not already set.
|
|
35
35
|
|
|
36
36
|
The CLI **never** writes `~/.config/opencode/**`.
|
|
37
37
|
|
|
@@ -39,13 +39,23 @@ Quad-install with Cursor, Claude, or Mavis: `init multi --preset next` copies th
|
|
|
39
39
|
|
|
40
40
|
## How to load
|
|
41
41
|
|
|
42
|
-
OpenCode has **no** `.mdc` `alwaysApply` / `globs` engine.
|
|
42
|
+
OpenCode has **no** `.mdc` `alwaysApply` / `globs` engine. The preset uses three mechanisms:
|
|
43
|
+
|
|
44
|
+
| Mechanism | Role | V2-safe? |
|
|
45
|
+
|-----------|------|----------|
|
|
46
|
+
| Root `AGENTS.md` + `.opencode/AGENTS.md` | Always-on core (essential rules + entry maps) for the **parent** | yes |
|
|
47
|
+
| `opencode.json` `instructions` | Compact hedge (`alwaysOn` paths + `.opencode/AGENTS.md`) for the **parent**; re-init unions preset paths into the consumer list | V1 yes, V2 uncertain (kept narrow) |
|
|
48
|
+
| `## Rules to load (subagent context)` block in every `.opencode/agents/*.md` | Authoritative for **subagents** (`Task`/`@name`); alwaysOn + stack zone rules filtered to existing stems | yes |
|
|
49
|
+
|
|
50
|
+
`bin/opencode-install.js` `mergeOpencodeConfig` on re-init **unions** preset `instructions` paths into the existing list and **fills missing** `permission.bash` keys. Extra consumer paths and same-key bash overrides stay. An empty `instructions: []` receives the preset paths. A non-array `instructions` value is left as-is.
|
|
43
51
|
|
|
44
52
|
| Kind | How it loads |
|
|
45
53
|
|------|----------------|
|
|
46
|
-
| Essential rules | Root `AGENTS.md`
|
|
54
|
+
| Essential rules | Root `AGENTS.md` + `.opencode/AGENTS.md` list four paths — **Read immediately** |
|
|
47
55
|
| Other rules | Lazy `Read` of `.opencode/rules/<stem>.md` when the task matches |
|
|
48
|
-
| Agents | Native `.opencode/agents/*.md` (`@name` / Task). `mode: subagent
|
|
56
|
+
| Agents | Native `.opencode/agents/*.md` (`@name` / Task). `mode: subagent`. Each ships the **rules-to-load block** so subagents see the always-on + zone set |
|
|
57
|
+
| MCP | `opencode.json` `mcp` — preset ships context7 / playwright / chrome-devtools / figma; merge keeps extras |
|
|
58
|
+
| Harness enforcement | `opencode.json` `permission.bash` — universal `git commit/push deny` + JS-stack `npm/npx/pnpm/bun ask` + `npx jest* deny` |
|
|
49
59
|
| Skills | Native `.opencode/skills/<name>/SKILL.md` (`skill` tool) |
|
|
50
60
|
| Commands | Native `/task`, `/task-continue`, `/technical-retro`, `/spec-start` |
|
|
51
61
|
| MCP | `opencode.json` → `mcp` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bonesofspring/ai-rules",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.28",
|
|
4
4
|
"description": "Presets of Cursor, Claude, Mavis, and OpenCode rules/commands for Revy Ross personal use",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Revy Ross",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
],
|
|
32
32
|
"scripts": {
|
|
33
33
|
"check:preset-structure": "bash scripts/check-preset-structure.sh",
|
|
34
|
+
"check:claude-agent-blocks": "node scripts/check-claude-agent-blocks.mjs",
|
|
34
35
|
"check:preset-twin-map": "bash scripts/check-preset-twin-map.sh",
|
|
35
36
|
"check:preset-token-budget": "bash scripts/check-preset-token-budget.sh",
|
|
36
37
|
"check:preset-leakage": "bash scripts/check-preset-leakage.sh",
|
|
@@ -36,3 +36,15 @@ npx @bonesofspring/ai-rules init claude --preset android-kotlin
|
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Copies `CLAUDE.md`, `rules/**`, `commands/**`, `agents/**`, `skills/**`, `hooks/**`, `MCP.md` into `.claude/`; seeds `.ai.local/team/` from `team/` (slugs preserved), plus `mcp.json` → **`.mcp.json`** and `REPO_AGENTS.md` → root **`AGENTS.md`**. Skill: `write-adr` (on-demand).
|
|
39
|
+
|
|
40
|
+
## Harness wiring
|
|
41
|
+
|
|
42
|
+
- **Subagent rules** are re-declared inside every `.claude/agents/*.md` via
|
|
43
|
+
the `## Rules to load (subagent context)` block (always-on + zone rules
|
|
44
|
+
filtered to stems that exist for this stack, using the nested
|
|
45
|
+
`.claude/rules/<topic>/<stem>.md` paths). Claude Code subagents inherit
|
|
46
|
+
no parent context, so this block is the authoritative mechanism.
|
|
47
|
+
- `.claude/settings.json` ships harness-level denials (universal
|
|
48
|
+
`git commit/push deny`; JS stacks also `npx jest* deny` and `npm/npx/pnpm/bun`
|
|
49
|
+
ask). Re-init overwrites the file (consumer can edit afterwards); mirror
|
|
50
|
+
with root `AGENTS.md` if you change the harness.
|
|
@@ -5,6 +5,21 @@ readonly: false
|
|
|
5
5
|
model: inherit
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Rules to load (subagent context)
|
|
9
|
+
|
|
10
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
11
|
+
|
|
12
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
13
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
14
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
15
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
16
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
17
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
18
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
19
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
20
|
+
|
|
21
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
22
|
+
|
|
8
23
|
You are an accessibility reviewer for an **Android Kotlin / Jetpack Compose** (and View system where present) frontend.
|
|
9
24
|
|
|
10
25
|
## Inputs
|
|
@@ -5,6 +5,22 @@ readonly: false
|
|
|
5
5
|
model: inherit
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Rules to load (subagent context)
|
|
9
|
+
|
|
10
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
11
|
+
|
|
12
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
13
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
14
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
15
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
16
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
17
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
18
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
19
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
20
|
+
- `.claude/rules/api-and-data/networking.md`
|
|
21
|
+
|
|
22
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
23
|
+
|
|
8
24
|
You are an API contract reviewer for a layered **Android Kotlin** Feature module (`features/<name>/{api,impl}` — Domain / Data / Presentation).
|
|
9
25
|
|
|
10
26
|
## Inputs
|
|
@@ -67,4 +83,3 @@ Write the owned terminal receipt described under **Artifact contract**.
|
|
|
67
83
|
If **MISALIGNED**, emit receipt outcome `changes_requested` when blocking implementation.
|
|
68
84
|
|
|
69
85
|
Do not modify production code.
|
|
70
|
-
|
|
@@ -5,6 +5,23 @@ readonly: false
|
|
|
5
5
|
model: fast
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Rules to load (subagent context)
|
|
9
|
+
|
|
10
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
11
|
+
|
|
12
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
13
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
14
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
15
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
16
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
17
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
18
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
19
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
20
|
+
- `.claude/rules/tooling-and-review/gradle-tooling.md`
|
|
21
|
+
- `.claude/rules/tooling-and-review/post-change-build.md`
|
|
22
|
+
|
|
23
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
24
|
+
|
|
8
25
|
You **validate** Android/Kotlin implementation quality — do not edit production code or tests.
|
|
9
26
|
|
|
10
27
|
**SSOT for full validation:** use `tooling-and-review/gradle-tooling.md` + `tooling-and-review/post-change-build.md`. Run compile / configured lint / unit tests at CI parity even if the developer ran scoped checks.
|
|
@@ -5,6 +5,31 @@ readonly: false
|
|
|
5
5
|
model: inherit
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Rules to load (subagent context)
|
|
9
|
+
|
|
10
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
11
|
+
|
|
12
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
13
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
14
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
15
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
16
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
17
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
18
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
19
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
20
|
+
- `.claude/rules/ui-and-accessibility/compose.md`
|
|
21
|
+
- `.claude/rules/stack/kotlin-conventions.md`
|
|
22
|
+
- `.claude/rules/ui-and-accessibility/viewmodels.md`
|
|
23
|
+
- `.claude/rules/ui-and-accessibility/navigation.md`
|
|
24
|
+
- `.claude/rules/api-and-data/persistence.md`
|
|
25
|
+
- `.claude/rules/architecture/module-public-api.md`
|
|
26
|
+
- `.claude/rules/architecture/di-dagger-feature-holders.md`
|
|
27
|
+
- `.claude/rules/api-and-data/networking.md`
|
|
28
|
+
- `.claude/rules/tooling-and-review/gradle-tooling.md`
|
|
29
|
+
- `.claude/rules/tooling-and-review/post-change-build.md`
|
|
30
|
+
|
|
31
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
32
|
+
|
|
8
33
|
You are a CI failure investigator for an **Android Kotlin** project (Android Studio / AGP Cloud, GitHub Actions Android, or similar).
|
|
9
34
|
|
|
10
35
|
Use the **`ci-investigation` skill** for the investigation loop.
|
|
@@ -5,6 +5,22 @@ readonly: false
|
|
|
5
5
|
model: fast
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Rules to load (subagent context)
|
|
9
|
+
|
|
10
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
11
|
+
|
|
12
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
13
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
14
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
15
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
16
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
17
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
18
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
19
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
20
|
+
- `.claude/rules/tooling-and-review/code-review.md`
|
|
21
|
+
|
|
22
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
23
|
+
|
|
8
24
|
You are a senior Android / Kotlin / Jetpack Compose code reviewer. You may write only review artifacts under `.ai.local/team/**` and terminal receipts; do not modify production code.
|
|
9
25
|
|
|
10
26
|
## Inputs
|
|
@@ -5,6 +5,21 @@ readonly: false
|
|
|
5
5
|
model: fast
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Rules to load (subagent context)
|
|
9
|
+
|
|
10
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
11
|
+
|
|
12
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
13
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
14
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
15
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
16
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
17
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
18
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
19
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
20
|
+
|
|
21
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
22
|
+
|
|
8
23
|
You are a specialist at understanding HOW this Android codebase works. Document implementation details with precise `path:line` references.
|
|
9
24
|
|
|
10
25
|
## CRITICAL — explain as-is only
|
|
@@ -5,6 +5,31 @@ readonly: false
|
|
|
5
5
|
model: inherit
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Rules to load (subagent context)
|
|
9
|
+
|
|
10
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
11
|
+
|
|
12
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
13
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
14
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
15
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
16
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
17
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
18
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
19
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
20
|
+
- `.claude/rules/ui-and-accessibility/compose.md`
|
|
21
|
+
- `.claude/rules/stack/kotlin-conventions.md`
|
|
22
|
+
- `.claude/rules/ui-and-accessibility/viewmodels.md`
|
|
23
|
+
- `.claude/rules/ui-and-accessibility/navigation.md`
|
|
24
|
+
- `.claude/rules/api-and-data/persistence.md`
|
|
25
|
+
- `.claude/rules/architecture/module-public-api.md`
|
|
26
|
+
- `.claude/rules/architecture/di-dagger-feature-holders.md`
|
|
27
|
+
- `.claude/rules/api-and-data/networking.md`
|
|
28
|
+
- `.claude/rules/tooling-and-review/gradle-tooling.md`
|
|
29
|
+
- `.claude/rules/tooling-and-review/post-change-build.md`
|
|
30
|
+
|
|
31
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
32
|
+
|
|
8
33
|
You are an expert debugger for an **Android Kotlin/Jetpack Compose** app. Use the **`debug-investigation` skill** for the investigation loop.
|
|
9
34
|
|
|
10
35
|
## Inputs
|
|
@@ -5,6 +5,31 @@ readonly: false
|
|
|
5
5
|
model: inherit
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Rules to load (subagent context)
|
|
9
|
+
|
|
10
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
11
|
+
|
|
12
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
13
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
14
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
15
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
16
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
17
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
18
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
19
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
20
|
+
- `.claude/rules/ui-and-accessibility/compose.md`
|
|
21
|
+
- `.claude/rules/stack/kotlin-conventions.md`
|
|
22
|
+
- `.claude/rules/ui-and-accessibility/viewmodels.md`
|
|
23
|
+
- `.claude/rules/ui-and-accessibility/navigation.md`
|
|
24
|
+
- `.claude/rules/api-and-data/persistence.md`
|
|
25
|
+
- `.claude/rules/architecture/module-public-api.md`
|
|
26
|
+
- `.claude/rules/architecture/di-dagger-feature-holders.md`
|
|
27
|
+
- `.claude/rules/api-and-data/networking.md`
|
|
28
|
+
- `.claude/rules/tooling-and-review/gradle-tooling.md`
|
|
29
|
+
- `.claude/rules/tooling-and-review/post-change-build.md`
|
|
30
|
+
|
|
31
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
32
|
+
|
|
8
33
|
You are a senior Android developer (Jetpack Compose-first, Gradle modules as in repo) with strict layer boundaries.
|
|
9
34
|
|
|
10
35
|
## Before coding
|
|
@@ -3,6 +3,22 @@ name: instrumentation-test-generator
|
|
|
3
3
|
description: Instrumentation UI test generator. Generate/update instrumentation tests from plans. Uses skill instrumentation-ui-e2e. Tests only — no production feature code.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
## Rules to load (subagent context)
|
|
7
|
+
|
|
8
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
9
|
+
|
|
10
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
11
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
12
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
13
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
14
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
15
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
16
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
17
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
18
|
+
- `.claude/rules/testing/ui.md`
|
|
19
|
+
|
|
20
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
21
|
+
|
|
6
22
|
You own **Android instrumentation UI tests** (generator).
|
|
7
23
|
|
|
8
24
|
## Rules
|
|
@@ -3,6 +3,22 @@ name: instrumentation-test-healer
|
|
|
3
3
|
description: Instrumentation UI test healer. Fix failing/flaky instrumentation tests while preserving plan assertions. Uses skill instrumentation-ui-e2e. Tests only — no production feature code.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
## Rules to load (subagent context)
|
|
7
|
+
|
|
8
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
9
|
+
|
|
10
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
11
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
12
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
13
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
14
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
15
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
16
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
17
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
18
|
+
- `.claude/rules/testing/ui.md`
|
|
19
|
+
|
|
20
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
21
|
+
|
|
6
22
|
You own **Android instrumentation UI tests** (healer).
|
|
7
23
|
|
|
8
24
|
## Rules
|
|
@@ -3,6 +3,22 @@ name: instrumentation-test-planner
|
|
|
3
3
|
description: Instrumentation UI test planner. Create/update Android instrumentation plans (`androidTest` / `*.cases.md` if used). Uses skill instrumentation-ui-e2e. Tests only — no production feature code.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
## Rules to load (subagent context)
|
|
7
|
+
|
|
8
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
9
|
+
|
|
10
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
11
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
12
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
13
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
14
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
15
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
16
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
17
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
18
|
+
- `.claude/rules/testing/ui.md`
|
|
19
|
+
|
|
20
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
21
|
+
|
|
6
22
|
You own **Android instrumentation UI tests** (planner).
|
|
7
23
|
|
|
8
24
|
## Rules
|
|
@@ -5,6 +5,21 @@ readonly: false
|
|
|
5
5
|
model: opus
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Rules to load (subagent context)
|
|
9
|
+
|
|
10
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
11
|
+
|
|
12
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
13
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
14
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
15
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
16
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
17
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
18
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
19
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
20
|
+
|
|
21
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
22
|
+
|
|
8
23
|
You are a migration specialist for an **Android Kotlin** codebase with Feature-module layer boundaries.
|
|
9
24
|
|
|
10
25
|
## Inputs
|
|
@@ -4,6 +4,21 @@ description: Figma mockup review specialist. Audits design-system usage, tokens,
|
|
|
4
4
|
model: opus
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## Rules to load (subagent context)
|
|
8
|
+
|
|
9
|
+
This subagent does **not** inherit the parent session context or `CLAUDE.md`. Read these rules explicitly before acting:
|
|
10
|
+
|
|
11
|
+
- `.claude/rules/stack/android-app-core.md`
|
|
12
|
+
- `.claude/rules/architecture/boundaries.md` — layer boundaries and allowed imports
|
|
13
|
+
- `.claude/rules/tooling-and-review/code-quality.md`
|
|
14
|
+
- `.claude/rules/tooling-and-review/ai-local-overlay.md`
|
|
15
|
+
- `.claude/rules/architecture/feature-delivery.md` — layer order, mockup gate, ux-design gate
|
|
16
|
+
- `.claude/rules/architecture/reference-features.md` — analog files first
|
|
17
|
+
- `.claude/rules/tooling-and-review/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
|
|
18
|
+
- `.claude/rules/tooling-and-review/mcp-usage.md` — when verifying third-party APIs (Context7)
|
|
19
|
+
|
|
20
|
+
Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
|
|
21
|
+
|
|
7
22
|
You are a Figma mockup reviewer for an Android Kotlin / Jetpack Compose frontend.
|
|
8
23
|
|
|
9
24
|
You write **only** `.ai.local/team/tasks/<slug>/mockup-review.md` (and the owned manifest receipt). Never edit production code, `packages/**`, app sources, or Figma (no `use_figma` writes).
|