@bonesofspring/ai-rules 0.2.52 → 0.2.55
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 +67 -0
- package/README.md +45 -16
- package/bin/cli.js +599 -69
- package/bin/lib/engine-scripts.js +10 -0
- package/bin/lib/mcp/clients.js +205 -0
- package/bin/lib/mcp/credentials.js +310 -0
- package/bin/lib/mcp/doctor.js +396 -0
- package/bin/lib/mcp/prompt.js +115 -0
- package/bin/lib/mcp/registry.js +171 -0
- package/bin/lib/mcp/run.js +125 -0
- package/bin/lib/merged-config.js +68 -2
- package/bin/lib/seed-ai-local-team.js +6 -1
- package/bin/lib/tool-installs.js +28 -0
- package/bin/opencode-install.js +18 -0
- package/bin/zcode-install.js +479 -0
- package/docs/MAVIS.md +3 -3
- package/docs/MCP-SETUP.md +62 -0
- package/docs/OPENCODE-COMPATIBILITY.md +1 -1
- package/docs/OPENCODE.md +3 -3
- package/docs/PRESET-CONTRIBUTION.md +25 -11
- package/docs/TEAM-DB.md +188 -0
- package/docs/ZCODE-COMPATIBILITY.md +143 -0
- package/docs/ZCODE.md +50 -0
- package/docs/openapi/team-db.v1.json +5085 -0
- package/mcp/gitlab.mjs +123 -0
- package/mcp/lib/envfile.mjs +126 -0
- package/mcp/lib/yandex.mjs +384 -0
- package/mcp/yandex-mcp-proxy.mjs +155 -0
- package/mcp/yandex-token-refresh.mjs +65 -0
- package/package.json +23 -3
- package/presets/_shared/ai-local/scripts/manifest.mjs +99 -0
- package/presets/_shared/ai-local/scripts/team-db-api.mjs +1275 -0
- package/presets/_shared/ai-local/scripts/team-db-dashboard.mjs +1067 -0
- package/presets/_shared/ai-local/scripts/team-db-openapi.mjs +1301 -0
- package/presets/_shared/ai-local/scripts/team-db-project.mjs +1590 -0
- package/presets/_shared/ai-local/scripts/team-db-schema.mjs +831 -0
- package/presets/_shared/ai-local/scripts/team-db.mjs +297 -0
- package/presets/_shared/core/agent-team/agent-artifact-contracts.md +1 -1
- package/presets/_shared/core/meta/preset-pr-checklist.md +1 -1
- package/presets/_shared/core/meta/preset-twin-sync.md +2 -2
- package/presets/_shared/hooks/chain-team-phases.sh.tmpl +109 -0
- package/presets/claude/android-kotlin/REPO_AGENTS.md +15 -8
- package/presets/claude/android-kotlin/commands/README.md +1 -0
- package/presets/claude/android-kotlin/commands/migrate-tasks.md +41 -0
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +109 -0
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-pr-checklist.md +1 -1
- package/presets/claude/android-kotlin/rules/tooling-and-review/preset-twin-sync.md +2 -2
- package/presets/claude/android-kotlin/team/README.md +14 -2
- package/presets/claude/go/REPO_AGENTS.md +15 -8
- package/presets/claude/go/commands/README.md +1 -0
- package/presets/claude/go/commands/migrate-tasks.md +41 -0
- package/presets/claude/go/hooks/chain-team-phases.sh +109 -0
- package/presets/claude/go/rules/README.md +1 -1
- package/presets/claude/go/rules/tooling-and-review/preset-pr-checklist.md +1 -1
- package/presets/claude/go/rules/tooling-and-review/preset-twin-sync.md +2 -2
- package/presets/claude/go/team/README.md +14 -2
- package/presets/claude/ios-swift/REPO_AGENTS.md +15 -8
- package/presets/claude/ios-swift/commands/README.md +1 -0
- package/presets/claude/ios-swift/commands/migrate-tasks.md +41 -0
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +109 -0
- package/presets/claude/ios-swift/rules/README.md +1 -1
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-pr-checklist.md +1 -1
- package/presets/claude/ios-swift/rules/tooling-and-review/preset-twin-sync.md +2 -2
- package/presets/claude/ios-swift/team/README.md +14 -2
- package/presets/claude/java/REPO_AGENTS.md +15 -8
- package/presets/claude/java/commands/README.md +1 -0
- package/presets/claude/java/commands/migrate-tasks.md +41 -0
- package/presets/claude/java/hooks/chain-team-phases.sh +109 -0
- package/presets/claude/java/rules/tooling-and-review/preset-pr-checklist.md +1 -1
- package/presets/claude/java/rules/tooling-and-review/preset-twin-sync.md +2 -2
- package/presets/claude/java/team/README.md +14 -2
- package/presets/claude/mcp-ts/REPO_AGENTS.md +15 -8
- package/presets/claude/mcp-ts/commands/README.md +1 -0
- package/presets/claude/mcp-ts/commands/migrate-tasks.md +41 -0
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +109 -0
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-pr-checklist.md +1 -1
- package/presets/claude/mcp-ts/rules/tooling-and-review/preset-twin-sync.md +2 -2
- package/presets/claude/mcp-ts/team/README.md +14 -2
- package/presets/claude/mol/CLAUDE.md +53 -0
- package/presets/claude/mol/MCP.md +38 -0
- package/presets/claude/mol/README.md +9 -0
- package/presets/claude/mol/REPO_AGENTS.md +107 -0
- package/presets/claude/mol/agents/README.md +97 -0
- package/presets/claude/mol/agents/accessibility-reviewer.md +86 -0
- package/presets/claude/mol/agents/api-contract-reviewer.md +81 -0
- package/presets/claude/mol/agents/build-verifier.md +111 -0
- package/presets/claude/mol/agents/ci-investigator.md +91 -0
- package/presets/claude/mol/agents/code-reviewer.md +133 -0
- package/presets/claude/mol/agents/codebase-analyzer.md +45 -0
- package/presets/claude/mol/agents/debugger.md +122 -0
- package/presets/claude/mol/agents/feature-developer.md +147 -0
- package/presets/claude/mol/agents/migration-specialist.md +91 -0
- package/presets/claude/mol/agents/mockup-reviewer.md +125 -0
- package/presets/claude/mol/agents/openspec-author.md +207 -0
- package/presets/claude/mol/agents/performance-auditor.md +92 -0
- package/presets/claude/mol/agents/playwright-test-generator.md +52 -0
- package/presets/claude/mol/agents/playwright-test-healer.md +53 -0
- package/presets/claude/mol/agents/playwright-test-planner.md +45 -0
- package/presets/claude/mol/agents/qa-tester.md +76 -0
- package/presets/claude/mol/agents/security-reviewer.md +83 -0
- package/presets/claude/mol/agents/solution-architect.md +93 -0
- package/presets/claude/mol/agents/task-analyst.md +249 -0
- package/presets/claude/mol/agents/task-router.md +261 -0
- package/presets/claude/mol/agents/tech-writer.md +82 -0
- package/presets/claude/mol/agents/unit-test-generator.md +55 -0
- package/presets/claude/mol/agents/unit-test-healer.md +56 -0
- package/presets/claude/mol/agents/unit-test-planner.md +78 -0
- package/presets/claude/mol/ai-local/conventions.md +49 -0
- package/presets/claude/mol/ai-local/rules/task-levels.md +40 -0
- package/presets/claude/mol/ai-local/rules-library/agent-artifacts-no-local-paths.md +71 -0
- package/presets/claude/mol/ai-local/rules-library/agent-pipeline-gates.md +19 -0
- package/presets/claude/mol/ai-local/rules-library/analytics-events.md +18 -0
- package/presets/claude/mol/ai-local/rules-library/api-contract-source.md +14 -0
- package/presets/claude/mol/ai-local/rules-library/artifact-lifecycle.md +17 -0
- package/presets/claude/mol/ai-local/rules-library/code-style.md +68 -0
- package/presets/claude/mol/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/claude/mol/ai-local/rules-library/component-child-decomposition.md +81 -0
- package/presets/claude/mol/ai-local/rules-library/feature-flags-experiments.md +15 -0
- package/presets/claude/mol/ai-local/rules-library/mcp-required-for-ui-layout.md +45 -0
- package/presets/claude/mol/ai-local/rules-library/no-react-fc.md +46 -0
- package/presets/claude/mol/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/claude/mol/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/claude/mol/ai-local/rules-library/pwa-service-worker.md +15 -0
- package/presets/claude/mol/ai-local/rules-library/qa-test-cases.md +14 -0
- package/presets/claude/mol/ai-local/rules-library/router-pages.md +25 -0
- package/presets/claude/mol/ai-local/rules-library/single-source-copy-constants.md +18 -0
- package/presets/claude/mol/ai-local/rules-library/storybook-catalog-structure.md +62 -0
- package/presets/claude/mol/ai-local/rules-library/storybook-cleanup-temp-screenshots.md +40 -0
- package/presets/claude/mol/ai-local/rules-library/storybook-csf-authoring.md +100 -0
- package/presets/claude/mol/ai-local/rules-library/storybook-dev-compare-figma.md +71 -0
- package/presets/claude/mol/ai-local/rules-library/storybook-keep-tests-current.md +75 -0
- package/presets/claude/mol/ai-local/rules-library/storybook-modals.md +64 -0
- package/presets/claude/mol/ai-local/rules-library/storybook-no-app-node-modules.md +40 -0
- package/presets/claude/mol/ai-local/rules-library/storybook-ui-quality-gate.md +38 -0
- package/presets/claude/mol/ai-local/rules-library/ui-change-review-gate.md +15 -0
- package/presets/claude/mol/commands/README.md +56 -0
- package/presets/claude/mol/commands/migrate-tasks.md +41 -0
- package/presets/claude/mol/commands/spec-start.md +29 -0
- package/presets/claude/mol/commands/task-continue.md +72 -0
- package/presets/claude/mol/commands/task-evil.md +84 -0
- package/presets/claude/mol/commands/task.md +72 -0
- package/presets/claude/mol/commands/technical-retro.md +93 -0
- package/presets/claude/mol/commands/update.md +40 -0
- package/presets/claude/mol/hooks/chain-team-phases.sh +2783 -0
- package/presets/claude/mol/hooks/check-preset-update.mjs +232 -0
- package/presets/claude/mol/hooks/list-ai-local.mjs +299 -0
- package/presets/claude/mol/mcp.json +20 -0
- package/presets/claude/mol/rules/README.md +87 -0
- package/presets/claude/mol/rules/architecture/feature-delivery-workflow.md +149 -0
- package/presets/claude/mol/rules/architecture/mol-state.md +30 -0
- package/presets/claude/mol/rules/architecture/mol-theming.md +30 -0
- package/presets/claude/mol/rules/architecture/product-specs-authoring.md +124 -0
- package/presets/claude/mol/rules/architecture/product-specs.md +67 -0
- package/presets/claude/mol/rules/architecture/reference-features.md +87 -0
- package/presets/claude/mol/rules/stack/mol-app-core.md +34 -0
- package/presets/claude/mol/rules/stack/mol-components.md +36 -0
- package/presets/claude/mol/rules/stack/mol-reactivity.md +26 -0
- package/presets/claude/mol/rules/stack/mol-view-tree.md +32 -0
- package/presets/claude/mol/rules/stack/package-manager.md +12 -0
- package/presets/claude/mol/rules/testing/mol-build.md +29 -0
- package/presets/claude/mol/rules/testing/mol-testing.md +36 -0
- package/presets/claude/mol/rules/tooling-and-review/agent-team-intake.md +19 -0
- package/presets/claude/mol/rules/tooling-and-review/agent-team-orchestrator.md +287 -0
- package/presets/claude/mol/rules/tooling-and-review/ai-local-overlay.md +23 -0
- package/presets/claude/mol/rules/tooling-and-review/anti-hallucination-contract.md +42 -0
- package/presets/claude/mol/rules/tooling-and-review/anti-sycophancy-discipline.md +28 -0
- package/presets/claude/mol/rules/tooling-and-review/code-quality.md +80 -0
- package/presets/claude/mol/rules/tooling-and-review/code-review-mr.md +100 -0
- package/presets/claude/mol/rules/tooling-and-review/design-guidance.md +109 -0
- package/presets/claude/mol/rules/tooling-and-review/interactive-questions.md +34 -0
- package/presets/claude/mol/rules/tooling-and-review/language-policy.md +59 -0
- package/presets/claude/mol/rules/tooling-and-review/mcp-usage.md +101 -0
- package/presets/claude/mol/rules/tooling-and-review/preset-goals.md +39 -0
- package/presets/claude/mol/rules/tooling-and-review/preset-layering.md +35 -0
- package/presets/claude/mol/rules/tooling-and-review/preset-no-cross-stack-leakage.md +97 -0
- package/presets/claude/mol/rules/tooling-and-review/preset-pr-checklist.md +53 -0
- package/presets/claude/mol/rules/tooling-and-review/preset-token-budget.md +46 -0
- package/presets/claude/mol/rules/tooling-and-review/preset-twin-sync.md +49 -0
- package/presets/claude/mol/rules/tooling-and-review/preset-writing-style.md +50 -0
- package/presets/claude/mol/rules/tooling-and-review/technical-retro.md +18 -0
- package/presets/claude/mol/settings.json +52 -0
- package/presets/claude/mol/skills/README.md +17 -0
- package/presets/claude/mol/skills/ci-investigation/SKILL.md +44 -0
- package/presets/claude/mol/skills/code-review/SKILL.md +55 -0
- package/presets/claude/mol/skills/debug-investigation/SKILL.md +59 -0
- package/presets/claude/mol/skills/feature-delivery/SKILL.md +39 -0
- package/presets/claude/mol/skills/spec-authoring/SKILL.md +26 -0
- package/presets/claude/mol/skills/spec-discovery/SKILL.md +58 -0
- package/presets/claude/mol/skills/technical-retro/SKILL.md +67 -0
- package/presets/claude/mol/skills/unit-testing/SKILL.md +33 -0
- package/presets/claude/mol/skills/write-adr/SKILL.md +41 -0
- package/presets/claude/mol/team/README.md +135 -0
- package/presets/claude/mol/team/fixtures/artifact-manifest.example.json +80 -0
- package/presets/claude/mol/team/fixtures/bugfix-standard.json +25 -0
- package/presets/claude/mol/team/fixtures/feature-full.json +29 -0
- package/presets/claude/mol/team/fixtures/feature-light.json +28 -0
- package/presets/claude/mol/team/fixtures/feature-parallel.json +84 -0
- package/presets/claude/mol/team/fixtures/feature-ui-standard.json +24 -0
- package/presets/claude/mol/team/fixtures/feature-with-figma-url.json +27 -0
- package/presets/claude/mol/team/fixtures/feature-with-ux-no-figma.json +26 -0
- package/presets/claude/mol/team/fixtures/memlog.example.md +9 -0
- package/presets/claude/mol/team/fixtures/metrics-scenarios/tasks/human-gate/metrics.json +69 -0
- package/presets/claude/mol/team/fixtures/metrics-scenarios/tasks/missing-ledger/status.json +5 -0
- package/presets/claude/mol/team/fixtures/metrics-scenarios/tasks/parallel-receipts/metrics.json +79 -0
- package/presets/claude/mol/team/fixtures/metrics-scenarios/tasks/serial-retry/metrics.json +124 -0
- package/presets/claude/mol/team/fixtures/metrics-scenarios/tasks/validation-failed/metrics.json +124 -0
- package/presets/claude/mol/team/fixtures/metrics.example.json +54 -0
- package/presets/claude/mol/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
- package/presets/claude/mol/team/fixtures/mockup-review-standalone.json +23 -0
- package/presets/claude/mol/team/fixtures/ux-design-standalone.json +24 -0
- package/presets/claude/mol/team/tasks/.gitkeep +0 -0
- package/presets/claude/next/REPO_AGENTS.md +16 -9
- package/presets/claude/next/agents/task-analyst.md +11 -0
- package/presets/claude/next/agents/task-router.md +11 -0
- package/presets/claude/next/commands/README.md +4 -0
- package/presets/claude/next/commands/migrate-tasks.md +41 -0
- package/presets/claude/next/commands/task-evil.md +88 -0
- package/presets/claude/next/hooks/chain-team-phases.sh +109 -0
- package/presets/claude/next/rules/README.md +1 -1
- package/presets/claude/next/rules/tooling-and-review/preset-pr-checklist.md +1 -1
- package/presets/claude/next/rules/tooling-and-review/preset-twin-sync.md +2 -2
- package/presets/claude/next/settings.json +1 -6
- package/presets/claude/next/team/README.md +14 -2
- package/presets/claude/nuxt/REPO_AGENTS.md +15 -8
- package/presets/claude/nuxt/commands/README.md +1 -0
- package/presets/claude/nuxt/commands/migrate-tasks.md +41 -0
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +109 -0
- package/presets/claude/nuxt/rules/tooling-and-review/preset-pr-checklist.md +1 -1
- package/presets/claude/nuxt/rules/tooling-and-review/preset-twin-sync.md +2 -2
- package/presets/claude/nuxt/settings.json +1 -6
- package/presets/claude/nuxt/team/README.md +14 -2
- package/presets/claude/php-hexagonal/REPO_AGENTS.md +15 -8
- package/presets/claude/php-hexagonal/commands/README.md +1 -0
- package/presets/claude/php-hexagonal/commands/migrate-tasks.md +41 -0
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +109 -0
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-pr-checklist.md +1 -1
- package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-twin-sync.md +2 -2
- package/presets/claude/php-hexagonal/team/README.md +14 -2
- package/presets/claude/php-laravel/REPO_AGENTS.md +15 -8
- package/presets/claude/php-laravel/commands/README.md +1 -0
- package/presets/claude/php-laravel/commands/migrate-tasks.md +41 -0
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +109 -0
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-pr-checklist.md +1 -1
- package/presets/claude/php-laravel/rules/tooling-and-review/preset-twin-sync.md +2 -2
- package/presets/claude/php-laravel/team/README.md +14 -2
- package/presets/claude/svelte/REPO_AGENTS.md +15 -8
- package/presets/claude/svelte/commands/README.md +1 -0
- package/presets/claude/svelte/commands/migrate-tasks.md +41 -0
- package/presets/claude/svelte/hooks/chain-team-phases.sh +109 -0
- package/presets/claude/svelte/rules/tooling-and-review/preset-pr-checklist.md +1 -1
- package/presets/claude/svelte/rules/tooling-and-review/preset-twin-sync.md +2 -2
- package/presets/claude/svelte/settings.json +1 -6
- package/presets/claude/svelte/team/README.md +14 -2
- package/presets/cursor/android-kotlin/REPO_AGENTS.md +15 -8
- package/presets/cursor/android-kotlin/commands/README.md +1 -0
- package/presets/cursor/android-kotlin/commands/migrate-tasks.md +41 -0
- package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +109 -0
- package/presets/cursor/android-kotlin/rules/preset-pr-checklist.mdc +1 -1
- package/presets/cursor/android-kotlin/rules/preset-twin-sync.mdc +2 -2
- package/presets/cursor/android-kotlin/team/README.md +14 -2
- package/presets/cursor/go/REPO_AGENTS.md +15 -8
- package/presets/cursor/go/commands/README.md +1 -0
- package/presets/cursor/go/commands/migrate-tasks.md +41 -0
- package/presets/cursor/go/hooks/chain-team-phases.sh +109 -0
- package/presets/cursor/go/rules/preset-pr-checklist.mdc +1 -1
- package/presets/cursor/go/rules/preset-twin-sync.mdc +2 -2
- package/presets/cursor/go/team/README.md +14 -2
- package/presets/cursor/ios-swift/REPO_AGENTS.md +15 -8
- package/presets/cursor/ios-swift/commands/README.md +1 -0
- package/presets/cursor/ios-swift/commands/migrate-tasks.md +41 -0
- package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +109 -0
- package/presets/cursor/ios-swift/rules/preset-pr-checklist.mdc +1 -1
- package/presets/cursor/ios-swift/rules/preset-twin-sync.mdc +2 -2
- package/presets/cursor/ios-swift/team/README.md +14 -2
- package/presets/cursor/java/REPO_AGENTS.md +15 -8
- package/presets/cursor/java/commands/README.md +1 -0
- package/presets/cursor/java/commands/migrate-tasks.md +41 -0
- package/presets/cursor/java/hooks/chain-team-phases.sh +109 -0
- package/presets/cursor/java/rules/preset-pr-checklist.mdc +1 -1
- package/presets/cursor/java/rules/preset-twin-sync.mdc +2 -2
- package/presets/cursor/java/team/README.md +14 -2
- package/presets/cursor/mcp-ts/REPO_AGENTS.md +15 -8
- package/presets/cursor/mcp-ts/commands/README.md +1 -0
- package/presets/cursor/mcp-ts/commands/migrate-tasks.md +41 -0
- package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +109 -0
- package/presets/cursor/mcp-ts/rules/preset-pr-checklist.mdc +1 -1
- package/presets/cursor/mcp-ts/rules/preset-twin-sync.mdc +2 -2
- package/presets/cursor/mcp-ts/team/README.md +14 -2
- package/presets/cursor/mol/AGENTS.md +40 -0
- package/presets/cursor/mol/BUGBOT.md +14 -0
- package/presets/cursor/mol/MCP.md +50 -0
- package/presets/cursor/mol/README.md +18 -0
- package/presets/cursor/mol/REPO_AGENTS.md +107 -0
- package/presets/cursor/mol/agents/README.md +97 -0
- package/presets/cursor/mol/agents/accessibility-reviewer.md +74 -0
- package/presets/cursor/mol/agents/api-contract-reviewer.md +69 -0
- package/presets/cursor/mol/agents/build-verifier.md +99 -0
- package/presets/cursor/mol/agents/ci-investigator.md +75 -0
- package/presets/cursor/mol/agents/code-reviewer.md +120 -0
- package/presets/cursor/mol/agents/codebase-analyzer.md +33 -0
- package/presets/cursor/mol/agents/debugger.md +106 -0
- package/presets/cursor/mol/agents/feature-developer.md +131 -0
- package/presets/cursor/mol/agents/migration-specialist.md +79 -0
- package/presets/cursor/mol/agents/mockup-reviewer.md +113 -0
- package/presets/cursor/mol/agents/openspec-author.md +195 -0
- package/presets/cursor/mol/agents/performance-auditor.md +80 -0
- package/presets/cursor/mol/agents/playwright-test-generator.md +40 -0
- package/presets/cursor/mol/agents/playwright-test-healer.md +41 -0
- package/presets/cursor/mol/agents/playwright-test-planner.md +33 -0
- package/presets/cursor/mol/agents/qa-tester.md +64 -0
- package/presets/cursor/mol/agents/security-reviewer.md +71 -0
- package/presets/cursor/mol/agents/solution-architect.md +81 -0
- package/presets/cursor/mol/agents/task-analyst.md +237 -0
- package/presets/cursor/mol/agents/task-router.md +249 -0
- package/presets/cursor/mol/agents/tech-writer.md +70 -0
- package/presets/cursor/mol/agents/unit-test-generator.md +43 -0
- package/presets/cursor/mol/agents/unit-test-healer.md +44 -0
- package/presets/cursor/mol/agents/unit-test-planner.md +66 -0
- package/presets/cursor/mol/ai-local/conventions.md +49 -0
- package/presets/cursor/mol/ai-local/rules/task-levels.md +40 -0
- package/presets/cursor/mol/ai-local/rules-library/agent-artifacts-no-local-paths.md +71 -0
- package/presets/cursor/mol/ai-local/rules-library/agent-pipeline-gates.md +19 -0
- package/presets/cursor/mol/ai-local/rules-library/analytics-events.md +18 -0
- package/presets/cursor/mol/ai-local/rules-library/api-contract-source.md +14 -0
- package/presets/cursor/mol/ai-local/rules-library/artifact-lifecycle.md +17 -0
- package/presets/cursor/mol/ai-local/rules-library/code-style.md +68 -0
- package/presets/cursor/mol/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/cursor/mol/ai-local/rules-library/component-child-decomposition.md +81 -0
- package/presets/cursor/mol/ai-local/rules-library/feature-flags-experiments.md +15 -0
- package/presets/cursor/mol/ai-local/rules-library/mcp-required-for-ui-layout.md +45 -0
- package/presets/cursor/mol/ai-local/rules-library/no-react-fc.md +46 -0
- package/presets/cursor/mol/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/cursor/mol/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/cursor/mol/ai-local/rules-library/pwa-service-worker.md +15 -0
- package/presets/cursor/mol/ai-local/rules-library/qa-test-cases.md +14 -0
- package/presets/cursor/mol/ai-local/rules-library/router-pages.md +25 -0
- package/presets/cursor/mol/ai-local/rules-library/single-source-copy-constants.md +18 -0
- package/presets/cursor/mol/ai-local/rules-library/storybook-catalog-structure.md +62 -0
- package/presets/cursor/mol/ai-local/rules-library/storybook-cleanup-temp-screenshots.md +40 -0
- package/presets/cursor/mol/ai-local/rules-library/storybook-csf-authoring.md +100 -0
- package/presets/cursor/mol/ai-local/rules-library/storybook-dev-compare-figma.md +71 -0
- package/presets/cursor/mol/ai-local/rules-library/storybook-keep-tests-current.md +75 -0
- package/presets/cursor/mol/ai-local/rules-library/storybook-modals.md +64 -0
- package/presets/cursor/mol/ai-local/rules-library/storybook-no-app-node-modules.md +40 -0
- package/presets/cursor/mol/ai-local/rules-library/storybook-ui-quality-gate.md +38 -0
- package/presets/cursor/mol/ai-local/rules-library/ui-change-review-gate.md +15 -0
- package/presets/cursor/mol/commands/README.md +56 -0
- package/presets/cursor/mol/commands/migrate-tasks.md +41 -0
- package/presets/cursor/mol/commands/spec-start.md +29 -0
- package/presets/cursor/mol/commands/task-continue.md +72 -0
- package/presets/cursor/mol/commands/task-evil.md +88 -0
- package/presets/cursor/mol/commands/task.md +76 -0
- package/presets/cursor/mol/commands/technical-retro.md +93 -0
- package/presets/cursor/mol/commands/update.md +40 -0
- package/presets/cursor/mol/hooks/README.md +14 -0
- package/presets/cursor/mol/hooks/chain-team-phases.sh +2765 -0
- package/presets/cursor/mol/hooks/check-preset-update.mjs +232 -0
- package/presets/cursor/mol/hooks/examples/README.md +18 -0
- package/presets/cursor/mol/hooks/examples/format-edited.example.sh +11 -0
- package/presets/cursor/mol/hooks/examples/secret-guard.example.sh +10 -0
- package/presets/cursor/mol/hooks/examples/test-on-save.example.sh +8 -0
- package/presets/cursor/mol/hooks/guard-shell-command.sh +77 -0
- package/presets/cursor/mol/hooks/list-ai-local.mjs +299 -0
- package/presets/cursor/mol/hooks.json +27 -0
- package/presets/cursor/mol/mcp.json +19 -0
- package/presets/cursor/mol/rules/README.md +71 -0
- package/presets/cursor/mol/rules/agent-team-intake.mdc +19 -0
- package/presets/cursor/mol/rules/agent-team-orchestrator.mdc +263 -0
- package/presets/cursor/mol/rules/ai-local-overlay.mdc +24 -0
- package/presets/cursor/mol/rules/anti-hallucination-contract.mdc +42 -0
- package/presets/cursor/mol/rules/anti-sycophancy-discipline.mdc +28 -0
- package/presets/cursor/mol/rules/code-quality-and-refactoring.mdc +81 -0
- package/presets/cursor/mol/rules/code-review-mr.mdc +100 -0
- package/presets/cursor/mol/rules/design-guidance.mdc +109 -0
- package/presets/cursor/mol/rules/feature-delivery-workflow.mdc +93 -0
- package/presets/cursor/mol/rules/interactive-questions.mdc +34 -0
- package/presets/cursor/mol/rules/language-policy.mdc +60 -0
- package/presets/cursor/mol/rules/mcp-usage.mdc +101 -0
- package/presets/cursor/mol/rules/mol-app-core.mdc +35 -0
- package/presets/cursor/mol/rules/mol-build.mdc +30 -0
- package/presets/cursor/mol/rules/mol-components.mdc +37 -0
- package/presets/cursor/mol/rules/mol-reactivity.mdc +27 -0
- package/presets/cursor/mol/rules/mol-state.mdc +31 -0
- package/presets/cursor/mol/rules/mol-testing.mdc +37 -0
- package/presets/cursor/mol/rules/mol-theming.mdc +31 -0
- package/presets/cursor/mol/rules/mol-view-tree.mdc +33 -0
- package/presets/cursor/mol/rules/package-manager.mdc +12 -0
- package/presets/cursor/mol/rules/preset-goals.mdc +40 -0
- package/presets/cursor/mol/rules/preset-layering.mdc +36 -0
- package/presets/cursor/mol/rules/preset-no-cross-stack-leakage.mdc +98 -0
- package/presets/cursor/mol/rules/preset-pr-checklist.mdc +54 -0
- package/presets/cursor/mol/rules/preset-token-budget.mdc +47 -0
- package/presets/cursor/mol/rules/preset-twin-sync.mdc +50 -0
- package/presets/cursor/mol/rules/preset-writing-style.mdc +51 -0
- package/presets/cursor/mol/rules/product-specs-authoring.mdc +125 -0
- package/presets/cursor/mol/rules/product-specs.mdc +68 -0
- package/presets/cursor/mol/rules/reference-features.mdc +45 -0
- package/presets/cursor/mol/rules/technical-retro.mdc +18 -0
- package/presets/cursor/mol/skills/README.md +17 -0
- package/presets/cursor/mol/skills/ci-investigation/SKILL.md +49 -0
- package/presets/cursor/mol/skills/code-review/SKILL.md +60 -0
- package/presets/cursor/mol/skills/debug-investigation/SKILL.md +63 -0
- package/presets/cursor/mol/skills/feature-delivery/SKILL.md +44 -0
- package/presets/cursor/mol/skills/spec-authoring/SKILL.md +31 -0
- package/presets/cursor/mol/skills/spec-discovery/SKILL.md +63 -0
- package/presets/cursor/mol/skills/technical-retro/SKILL.md +72 -0
- package/presets/cursor/mol/skills/unit-testing/SKILL.md +38 -0
- package/presets/cursor/mol/skills/write-adr/SKILL.md +46 -0
- package/presets/cursor/mol/team/README.md +135 -0
- package/presets/cursor/mol/team/fixtures/artifact-manifest.example.json +80 -0
- package/presets/cursor/mol/team/fixtures/bugfix-standard.json +25 -0
- package/presets/cursor/mol/team/fixtures/feature-full.json +29 -0
- package/presets/cursor/mol/team/fixtures/feature-light.json +28 -0
- package/presets/cursor/mol/team/fixtures/feature-parallel.json +84 -0
- package/presets/cursor/mol/team/fixtures/feature-ui-standard.json +24 -0
- package/presets/cursor/mol/team/fixtures/feature-with-figma-url.json +27 -0
- package/presets/cursor/mol/team/fixtures/feature-with-ux-no-figma.json +26 -0
- package/presets/cursor/mol/team/fixtures/memlog.example.md +9 -0
- package/presets/cursor/mol/team/fixtures/metrics-scenarios/tasks/human-gate/metrics.json +69 -0
- package/presets/cursor/mol/team/fixtures/metrics-scenarios/tasks/missing-ledger/status.json +5 -0
- package/presets/cursor/mol/team/fixtures/metrics-scenarios/tasks/parallel-receipts/metrics.json +79 -0
- package/presets/cursor/mol/team/fixtures/metrics-scenarios/tasks/serial-retry/metrics.json +124 -0
- package/presets/cursor/mol/team/fixtures/metrics-scenarios/tasks/validation-failed/metrics.json +124 -0
- package/presets/cursor/mol/team/fixtures/metrics.example.json +54 -0
- package/presets/cursor/mol/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
- package/presets/cursor/mol/team/fixtures/mockup-review-standalone.json +23 -0
- package/presets/cursor/mol/team/fixtures/ux-design-standalone.json +24 -0
- package/presets/cursor/mol/team/tasks/.gitkeep +0 -0
- package/presets/cursor/next/MCP.md +7 -0
- package/presets/cursor/next/REPO_AGENTS.md +16 -9
- package/presets/cursor/next/agents/task-analyst.md +11 -0
- package/presets/cursor/next/agents/task-router.md +11 -0
- package/presets/cursor/next/commands/README.md +6 -0
- package/presets/cursor/next/commands/migrate-tasks.md +41 -0
- package/presets/cursor/next/commands/task-evil.md +88 -0
- package/presets/cursor/next/hooks/chain-team-phases.sh +109 -0
- package/presets/cursor/next/rules/preset-pr-checklist.mdc +1 -1
- package/presets/cursor/next/rules/preset-twin-sync.mdc +2 -2
- package/presets/cursor/next/team/README.md +14 -2
- package/presets/cursor/nuxt/REPO_AGENTS.md +15 -8
- package/presets/cursor/nuxt/commands/README.md +1 -0
- package/presets/cursor/nuxt/commands/migrate-tasks.md +41 -0
- package/presets/cursor/nuxt/hooks/chain-team-phases.sh +109 -0
- package/presets/cursor/nuxt/rules/preset-pr-checklist.mdc +1 -1
- package/presets/cursor/nuxt/rules/preset-twin-sync.mdc +2 -2
- package/presets/cursor/nuxt/team/README.md +14 -2
- package/presets/cursor/php-hexagonal/REPO_AGENTS.md +15 -8
- package/presets/cursor/php-hexagonal/commands/README.md +1 -0
- package/presets/cursor/php-hexagonal/commands/migrate-tasks.md +41 -0
- package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +109 -0
- package/presets/cursor/php-hexagonal/rules/preset-pr-checklist.mdc +1 -1
- package/presets/cursor/php-hexagonal/rules/preset-twin-sync.mdc +2 -2
- package/presets/cursor/php-hexagonal/team/README.md +14 -2
- package/presets/cursor/php-laravel/REPO_AGENTS.md +15 -8
- package/presets/cursor/php-laravel/commands/README.md +1 -0
- package/presets/cursor/php-laravel/commands/migrate-tasks.md +41 -0
- package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +109 -0
- package/presets/cursor/php-laravel/rules/preset-pr-checklist.mdc +1 -1
- package/presets/cursor/php-laravel/rules/preset-twin-sync.mdc +2 -2
- package/presets/cursor/php-laravel/team/README.md +14 -2
- package/presets/cursor/svelte/REPO_AGENTS.md +15 -8
- package/presets/cursor/svelte/commands/README.md +1 -0
- package/presets/cursor/svelte/commands/migrate-tasks.md +41 -0
- package/presets/cursor/svelte/hooks/chain-team-phases.sh +109 -0
- package/presets/cursor/svelte/rules/preset-pr-checklist.mdc +1 -1
- package/presets/cursor/svelte/rules/preset-twin-sync.mdc +2 -2
- package/presets/cursor/svelte/team/README.md +14 -2
- package/presets/mavis/README.md +1 -1
- package/presets/mavis/android-kotlin/REPO_AGENTS.md +15 -8
- package/presets/mavis/android-kotlin/adapter-map.json +9 -1
- package/presets/mavis/android-kotlin/commands/README.md +1 -0
- package/presets/mavis/android-kotlin/commands/migrate-tasks.md +36 -0
- package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +109 -0
- package/presets/mavis/android-kotlin/rules/preset-pr-checklist.md +1 -1
- package/presets/mavis/android-kotlin/rules/preset-twin-sync.md +2 -2
- package/presets/mavis/android-kotlin/team/README.md +14 -2
- package/presets/mavis/go/REPO_AGENTS.md +15 -8
- package/presets/mavis/go/adapter-map.json +9 -1
- package/presets/mavis/go/commands/README.md +1 -0
- package/presets/mavis/go/commands/migrate-tasks.md +36 -0
- package/presets/mavis/go/hooks/chain-team-phases.sh +109 -0
- package/presets/mavis/go/rules/preset-pr-checklist.md +1 -1
- package/presets/mavis/go/rules/preset-twin-sync.md +2 -2
- package/presets/mavis/go/team/README.md +14 -2
- package/presets/mavis/ios-swift/REPO_AGENTS.md +15 -8
- package/presets/mavis/ios-swift/adapter-map.json +9 -1
- package/presets/mavis/ios-swift/commands/README.md +1 -0
- package/presets/mavis/ios-swift/commands/migrate-tasks.md +36 -0
- package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +109 -0
- package/presets/mavis/ios-swift/rules/preset-pr-checklist.md +1 -1
- package/presets/mavis/ios-swift/rules/preset-twin-sync.md +2 -2
- package/presets/mavis/ios-swift/team/README.md +14 -2
- package/presets/mavis/java/REPO_AGENTS.md +15 -8
- package/presets/mavis/java/adapter-map.json +9 -1
- package/presets/mavis/java/commands/README.md +1 -0
- package/presets/mavis/java/commands/migrate-tasks.md +36 -0
- package/presets/mavis/java/hooks/chain-team-phases.sh +109 -0
- package/presets/mavis/java/rules/preset-pr-checklist.md +1 -1
- package/presets/mavis/java/rules/preset-twin-sync.md +2 -2
- package/presets/mavis/java/team/README.md +14 -2
- package/presets/mavis/mcp-ts/REPO_AGENTS.md +15 -8
- package/presets/mavis/mcp-ts/adapter-map.json +9 -1
- package/presets/mavis/mcp-ts/commands/README.md +1 -0
- package/presets/mavis/mcp-ts/commands/migrate-tasks.md +36 -0
- package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +109 -0
- package/presets/mavis/mcp-ts/rules/preset-pr-checklist.md +1 -1
- package/presets/mavis/mcp-ts/rules/preset-twin-sync.md +2 -2
- package/presets/mavis/mcp-ts/team/README.md +14 -2
- package/presets/mavis/mol/MAVIS.md +94 -0
- package/presets/mavis/mol/MCP.md +50 -0
- package/presets/mavis/mol/README.md +16 -0
- package/presets/mavis/mol/REPO_AGENTS.md +107 -0
- package/presets/mavis/mol/adapter-map.json +1122 -0
- package/presets/mavis/mol/agents/README.md +96 -0
- package/presets/mavis/mol/agents/accessibility-reviewer.md +85 -0
- package/presets/mavis/mol/agents/api-contract-reviewer.md +80 -0
- package/presets/mavis/mol/agents/build-verifier.md +110 -0
- package/presets/mavis/mol/agents/ci-investigator.md +90 -0
- package/presets/mavis/mol/agents/code-reviewer.md +132 -0
- package/presets/mavis/mol/agents/codebase-analyzer.md +44 -0
- package/presets/mavis/mol/agents/debugger.md +121 -0
- package/presets/mavis/mol/agents/feature-developer.md +146 -0
- package/presets/mavis/mol/agents/migration-specialist.md +90 -0
- package/presets/mavis/mol/agents/mockup-reviewer.md +124 -0
- package/presets/mavis/mol/agents/openspec-author.md +206 -0
- package/presets/mavis/mol/agents/performance-auditor.md +91 -0
- package/presets/mavis/mol/agents/playwright-test-generator.md +51 -0
- package/presets/mavis/mol/agents/playwright-test-healer.md +52 -0
- package/presets/mavis/mol/agents/playwright-test-planner.md +44 -0
- package/presets/mavis/mol/agents/qa-tester.md +75 -0
- package/presets/mavis/mol/agents/security-reviewer.md +82 -0
- package/presets/mavis/mol/agents/solution-architect.md +92 -0
- package/presets/mavis/mol/agents/task-analyst.md +248 -0
- package/presets/mavis/mol/agents/task-router.md +260 -0
- package/presets/mavis/mol/agents/tech-writer.md +81 -0
- package/presets/mavis/mol/agents/unit-test-generator.md +54 -0
- package/presets/mavis/mol/agents/unit-test-healer.md +55 -0
- package/presets/mavis/mol/agents/unit-test-planner.md +77 -0
- package/presets/mavis/mol/ai-local/conventions.md +49 -0
- package/presets/mavis/mol/ai-local/rules/task-levels.md +40 -0
- package/presets/mavis/mol/ai-local/rules-library/agent-artifacts-no-local-paths.md +71 -0
- package/presets/mavis/mol/ai-local/rules-library/agent-pipeline-gates.md +19 -0
- package/presets/mavis/mol/ai-local/rules-library/analytics-events.md +18 -0
- package/presets/mavis/mol/ai-local/rules-library/api-contract-source.md +14 -0
- package/presets/mavis/mol/ai-local/rules-library/artifact-lifecycle.md +17 -0
- package/presets/mavis/mol/ai-local/rules-library/code-style.md +68 -0
- package/presets/mavis/mol/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/mavis/mol/ai-local/rules-library/component-child-decomposition.md +81 -0
- package/presets/mavis/mol/ai-local/rules-library/feature-flags-experiments.md +15 -0
- package/presets/mavis/mol/ai-local/rules-library/mcp-required-for-ui-layout.md +45 -0
- package/presets/mavis/mol/ai-local/rules-library/no-react-fc.md +46 -0
- package/presets/mavis/mol/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/mavis/mol/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/mavis/mol/ai-local/rules-library/pwa-service-worker.md +15 -0
- package/presets/mavis/mol/ai-local/rules-library/qa-test-cases.md +14 -0
- package/presets/mavis/mol/ai-local/rules-library/router-pages.md +25 -0
- package/presets/mavis/mol/ai-local/rules-library/single-source-copy-constants.md +18 -0
- package/presets/mavis/mol/ai-local/rules-library/storybook-catalog-structure.md +62 -0
- package/presets/mavis/mol/ai-local/rules-library/storybook-cleanup-temp-screenshots.md +40 -0
- package/presets/mavis/mol/ai-local/rules-library/storybook-csf-authoring.md +100 -0
- package/presets/mavis/mol/ai-local/rules-library/storybook-dev-compare-figma.md +71 -0
- package/presets/mavis/mol/ai-local/rules-library/storybook-keep-tests-current.md +75 -0
- package/presets/mavis/mol/ai-local/rules-library/storybook-modals.md +64 -0
- package/presets/mavis/mol/ai-local/rules-library/storybook-no-app-node-modules.md +40 -0
- package/presets/mavis/mol/ai-local/rules-library/storybook-ui-quality-gate.md +38 -0
- package/presets/mavis/mol/ai-local/rules-library/ui-change-review-gate.md +15 -0
- package/presets/mavis/mol/commands/README.md +56 -0
- package/presets/mavis/mol/commands/migrate-tasks.md +36 -0
- package/presets/mavis/mol/commands/spec-start.md +24 -0
- package/presets/mavis/mol/commands/task-continue.md +67 -0
- package/presets/mavis/mol/commands/task-evil.md +82 -0
- package/presets/mavis/mol/commands/task.md +71 -0
- package/presets/mavis/mol/commands/technical-retro.md +88 -0
- package/presets/mavis/mol/commands/update.md +35 -0
- package/presets/mavis/mol/hooks/README.md +27 -0
- package/presets/mavis/mol/hooks/chain-team-phases.sh +2765 -0
- package/presets/mavis/mol/hooks/check-preset-update.mjs +232 -0
- package/presets/mavis/mol/hooks/list-ai-local.mjs +299 -0
- package/presets/mavis/mol/mcp.json +19 -0
- package/presets/mavis/mol/rules/README.md +16 -0
- package/presets/mavis/mol/rules/agent-team-intake.md +14 -0
- package/presets/mavis/mol/rules/agent-team-orchestrator.md +282 -0
- package/presets/mavis/mol/rules/ai-local-overlay.md +18 -0
- package/presets/mavis/mol/rules/anti-hallucination-contract.md +37 -0
- package/presets/mavis/mol/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/mavis/mol/rules/code-quality-and-refactoring.md +76 -0
- package/presets/mavis/mol/rules/code-review-mr.md +95 -0
- package/presets/mavis/mol/rules/design-guidance.md +104 -0
- package/presets/mavis/mol/rules/feature-delivery-workflow.md +144 -0
- package/presets/mavis/mol/rules/interactive-questions.md +29 -0
- package/presets/mavis/mol/rules/language-policy.md +51 -0
- package/presets/mavis/mol/rules/mcp-usage.md +96 -0
- package/presets/mavis/mol/rules/mol-app-core.md +29 -0
- package/presets/mavis/mol/rules/mol-build.md +19 -0
- package/presets/mavis/mol/rules/mol-components.md +31 -0
- package/presets/mavis/mol/rules/mol-reactivity.md +21 -0
- package/presets/mavis/mol/rules/mol-state.md +22 -0
- package/presets/mavis/mol/rules/mol-testing.md +28 -0
- package/presets/mavis/mol/rules/mol-theming.md +22 -0
- package/presets/mavis/mol/rules/mol-view-tree.md +27 -0
- package/presets/mavis/mol/rules/package-manager.md +7 -0
- package/presets/mavis/mol/rules/preset-goals.md +31 -0
- package/presets/mavis/mol/rules/preset-layering.md +27 -0
- package/presets/mavis/mol/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/mavis/mol/rules/preset-pr-checklist.md +45 -0
- package/presets/mavis/mol/rules/preset-token-budget.md +38 -0
- package/presets/mavis/mol/rules/preset-twin-sync.md +41 -0
- package/presets/mavis/mol/rules/preset-writing-style.md +42 -0
- package/presets/mavis/mol/rules/product-specs-authoring.md +118 -0
- package/presets/mavis/mol/rules/product-specs.md +61 -0
- package/presets/mavis/mol/rules/reference-features.md +82 -0
- package/presets/mavis/mol/rules/technical-retro.md +13 -0
- package/presets/mavis/mol/skills/README.md +17 -0
- package/presets/mavis/mol/skills/ci-investigation/SKILL.md +44 -0
- package/presets/mavis/mol/skills/code-review/SKILL.md +55 -0
- package/presets/mavis/mol/skills/debug-investigation/SKILL.md +58 -0
- package/presets/mavis/mol/skills/feature-delivery/SKILL.md +39 -0
- package/presets/mavis/mol/skills/spec-authoring/SKILL.md +26 -0
- package/presets/mavis/mol/skills/spec-discovery/SKILL.md +58 -0
- package/presets/mavis/mol/skills/technical-retro/SKILL.md +67 -0
- package/presets/mavis/mol/skills/unit-testing/SKILL.md +33 -0
- package/presets/mavis/mol/skills/write-adr/SKILL.md +41 -0
- package/presets/mavis/mol/team/README.md +135 -0
- package/presets/mavis/mol/team/fixtures/artifact-manifest.example.json +80 -0
- package/presets/mavis/mol/team/fixtures/bugfix-standard.json +25 -0
- package/presets/mavis/mol/team/fixtures/feature-full.json +29 -0
- package/presets/mavis/mol/team/fixtures/feature-light.json +28 -0
- package/presets/mavis/mol/team/fixtures/feature-parallel.json +84 -0
- package/presets/mavis/mol/team/fixtures/feature-ui-standard.json +24 -0
- package/presets/mavis/mol/team/fixtures/feature-with-figma-url.json +27 -0
- package/presets/mavis/mol/team/fixtures/feature-with-ux-no-figma.json +26 -0
- package/presets/mavis/mol/team/fixtures/memlog.example.md +9 -0
- package/presets/mavis/mol/team/fixtures/metrics-scenarios/tasks/human-gate/metrics.json +69 -0
- package/presets/mavis/mol/team/fixtures/metrics-scenarios/tasks/missing-ledger/status.json +5 -0
- package/presets/mavis/mol/team/fixtures/metrics-scenarios/tasks/parallel-receipts/metrics.json +79 -0
- package/presets/mavis/mol/team/fixtures/metrics-scenarios/tasks/serial-retry/metrics.json +124 -0
- package/presets/mavis/mol/team/fixtures/metrics-scenarios/tasks/validation-failed/metrics.json +124 -0
- package/presets/mavis/mol/team/fixtures/metrics.example.json +54 -0
- package/presets/mavis/mol/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
- package/presets/mavis/mol/team/fixtures/mockup-review-standalone.json +23 -0
- package/presets/mavis/mol/team/fixtures/ux-design-standalone.json +24 -0
- package/presets/mavis/mol/team/tasks/.gitkeep +0 -0
- package/presets/mavis/next/MCP.md +7 -0
- package/presets/mavis/next/REPO_AGENTS.md +16 -9
- package/presets/mavis/next/adapter-map.json +18 -1
- package/presets/mavis/next/agents/task-analyst.md +11 -0
- package/presets/mavis/next/agents/task-router.md +11 -0
- package/presets/mavis/next/commands/README.md +6 -0
- package/presets/mavis/next/commands/migrate-tasks.md +36 -0
- package/presets/mavis/next/commands/task-evil.md +82 -0
- package/presets/mavis/next/hooks/chain-team-phases.sh +109 -0
- package/presets/mavis/next/rules/preset-pr-checklist.md +1 -1
- package/presets/mavis/next/rules/preset-twin-sync.md +2 -2
- package/presets/mavis/next/team/README.md +14 -2
- package/presets/mavis/nuxt/REPO_AGENTS.md +15 -8
- package/presets/mavis/nuxt/adapter-map.json +9 -1
- package/presets/mavis/nuxt/commands/README.md +1 -0
- package/presets/mavis/nuxt/commands/migrate-tasks.md +36 -0
- package/presets/mavis/nuxt/hooks/chain-team-phases.sh +109 -0
- package/presets/mavis/nuxt/rules/preset-pr-checklist.md +1 -1
- package/presets/mavis/nuxt/rules/preset-twin-sync.md +2 -2
- package/presets/mavis/nuxt/team/README.md +14 -2
- package/presets/mavis/php-hexagonal/REPO_AGENTS.md +15 -8
- package/presets/mavis/php-hexagonal/adapter-map.json +9 -1
- package/presets/mavis/php-hexagonal/commands/README.md +1 -0
- package/presets/mavis/php-hexagonal/commands/migrate-tasks.md +36 -0
- package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +109 -0
- package/presets/mavis/php-hexagonal/rules/preset-pr-checklist.md +1 -1
- package/presets/mavis/php-hexagonal/rules/preset-twin-sync.md +2 -2
- package/presets/mavis/php-hexagonal/team/README.md +14 -2
- package/presets/mavis/php-laravel/REPO_AGENTS.md +15 -8
- package/presets/mavis/php-laravel/adapter-map.json +9 -1
- package/presets/mavis/php-laravel/commands/README.md +1 -0
- package/presets/mavis/php-laravel/commands/migrate-tasks.md +36 -0
- package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +109 -0
- package/presets/mavis/php-laravel/rules/preset-pr-checklist.md +1 -1
- package/presets/mavis/php-laravel/rules/preset-twin-sync.md +2 -2
- package/presets/mavis/php-laravel/team/README.md +14 -2
- package/presets/mavis/platform-contract.json +2 -1
- package/presets/mavis/svelte/REPO_AGENTS.md +15 -8
- package/presets/mavis/svelte/adapter-map.json +9 -1
- package/presets/mavis/svelte/commands/README.md +1 -0
- package/presets/mavis/svelte/commands/migrate-tasks.md +36 -0
- package/presets/mavis/svelte/hooks/chain-team-phases.sh +109 -0
- package/presets/mavis/svelte/rules/preset-pr-checklist.md +1 -1
- package/presets/mavis/svelte/rules/preset-twin-sync.md +2 -2
- package/presets/mavis/svelte/team/README.md +14 -2
- package/presets/opencode/android-kotlin/REPO_AGENTS.md +15 -8
- package/presets/opencode/android-kotlin/adapter-map.json +9 -1
- package/presets/opencode/android-kotlin/commands/README.md +1 -0
- package/presets/opencode/android-kotlin/commands/migrate-tasks.md +44 -0
- package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +109 -0
- package/presets/opencode/android-kotlin/rules/preset-pr-checklist.md +1 -1
- package/presets/opencode/android-kotlin/rules/preset-twin-sync.md +2 -2
- package/presets/opencode/android-kotlin/team/README.md +14 -2
- package/presets/opencode/go/REPO_AGENTS.md +15 -8
- package/presets/opencode/go/adapter-map.json +9 -1
- package/presets/opencode/go/commands/README.md +1 -0
- package/presets/opencode/go/commands/migrate-tasks.md +44 -0
- package/presets/opencode/go/hooks/chain-team-phases.sh +109 -0
- package/presets/opencode/go/rules/preset-pr-checklist.md +1 -1
- package/presets/opencode/go/rules/preset-twin-sync.md +2 -2
- package/presets/opencode/go/team/README.md +14 -2
- package/presets/opencode/ios-swift/REPO_AGENTS.md +15 -8
- package/presets/opencode/ios-swift/adapter-map.json +9 -1
- package/presets/opencode/ios-swift/commands/README.md +1 -0
- package/presets/opencode/ios-swift/commands/migrate-tasks.md +44 -0
- package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +109 -0
- package/presets/opencode/ios-swift/rules/preset-pr-checklist.md +1 -1
- package/presets/opencode/ios-swift/rules/preset-twin-sync.md +2 -2
- package/presets/opencode/ios-swift/team/README.md +14 -2
- package/presets/opencode/java/REPO_AGENTS.md +15 -8
- package/presets/opencode/java/adapter-map.json +9 -1
- package/presets/opencode/java/commands/README.md +1 -0
- package/presets/opencode/java/commands/migrate-tasks.md +44 -0
- package/presets/opencode/java/hooks/chain-team-phases.sh +109 -0
- package/presets/opencode/java/rules/preset-pr-checklist.md +1 -1
- package/presets/opencode/java/rules/preset-twin-sync.md +2 -2
- package/presets/opencode/java/team/README.md +14 -2
- package/presets/opencode/mcp-ts/REPO_AGENTS.md +15 -8
- package/presets/opencode/mcp-ts/adapter-map.json +9 -1
- package/presets/opencode/mcp-ts/commands/README.md +1 -0
- package/presets/opencode/mcp-ts/commands/migrate-tasks.md +44 -0
- package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +109 -0
- package/presets/opencode/mcp-ts/rules/preset-pr-checklist.md +1 -1
- package/presets/opencode/mcp-ts/rules/preset-twin-sync.md +2 -2
- package/presets/opencode/mcp-ts/team/README.md +14 -2
- package/presets/opencode/mol/MCP.md +50 -0
- package/presets/opencode/mol/OPENCODE.md +99 -0
- package/presets/opencode/mol/README.md +17 -0
- package/presets/opencode/mol/REPO_AGENTS.md +107 -0
- package/presets/opencode/mol/adapter-map.json +1122 -0
- package/presets/opencode/mol/agents/README.md +97 -0
- package/presets/opencode/mol/agents/accessibility-reviewer.md +97 -0
- package/presets/opencode/mol/agents/api-contract-reviewer.md +92 -0
- package/presets/opencode/mol/agents/build-verifier.md +122 -0
- package/presets/opencode/mol/agents/ci-investigator.md +98 -0
- package/presets/opencode/mol/agents/code-reviewer.md +144 -0
- package/presets/opencode/mol/agents/codebase-analyzer.md +56 -0
- package/presets/opencode/mol/agents/debugger.md +129 -0
- package/presets/opencode/mol/agents/feature-developer.md +154 -0
- package/presets/opencode/mol/agents/migration-specialist.md +102 -0
- package/presets/opencode/mol/agents/mockup-reviewer.md +136 -0
- package/presets/opencode/mol/agents/openspec-author.md +219 -0
- package/presets/opencode/mol/agents/performance-auditor.md +103 -0
- package/presets/opencode/mol/agents/playwright-test-generator.md +59 -0
- package/presets/opencode/mol/agents/playwright-test-healer.md +60 -0
- package/presets/opencode/mol/agents/playwright-test-planner.md +56 -0
- package/presets/opencode/mol/agents/qa-tester.md +83 -0
- package/presets/opencode/mol/agents/security-reviewer.md +94 -0
- package/presets/opencode/mol/agents/solution-architect.md +104 -0
- package/presets/opencode/mol/agents/task-analyst.md +260 -0
- package/presets/opencode/mol/agents/task-router.md +272 -0
- package/presets/opencode/mol/agents/tech-writer.md +99 -0
- package/presets/opencode/mol/agents/unit-test-generator.md +62 -0
- package/presets/opencode/mol/agents/unit-test-healer.md +63 -0
- package/presets/opencode/mol/agents/unit-test-planner.md +89 -0
- package/presets/opencode/mol/ai-local/conventions.md +49 -0
- package/presets/opencode/mol/ai-local/rules/task-levels.md +40 -0
- package/presets/opencode/mol/ai-local/rules-library/agent-artifacts-no-local-paths.md +71 -0
- package/presets/opencode/mol/ai-local/rules-library/agent-pipeline-gates.md +19 -0
- package/presets/opencode/mol/ai-local/rules-library/analytics-events.md +18 -0
- package/presets/opencode/mol/ai-local/rules-library/api-contract-source.md +14 -0
- package/presets/opencode/mol/ai-local/rules-library/artifact-lifecycle.md +17 -0
- package/presets/opencode/mol/ai-local/rules-library/code-style.md +68 -0
- package/presets/opencode/mol/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/opencode/mol/ai-local/rules-library/component-child-decomposition.md +81 -0
- package/presets/opencode/mol/ai-local/rules-library/feature-flags-experiments.md +15 -0
- package/presets/opencode/mol/ai-local/rules-library/mcp-required-for-ui-layout.md +45 -0
- package/presets/opencode/mol/ai-local/rules-library/no-react-fc.md +46 -0
- package/presets/opencode/mol/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/opencode/mol/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/opencode/mol/ai-local/rules-library/pwa-service-worker.md +15 -0
- package/presets/opencode/mol/ai-local/rules-library/qa-test-cases.md +14 -0
- package/presets/opencode/mol/ai-local/rules-library/router-pages.md +25 -0
- package/presets/opencode/mol/ai-local/rules-library/single-source-copy-constants.md +18 -0
- package/presets/opencode/mol/ai-local/rules-library/storybook-catalog-structure.md +62 -0
- package/presets/opencode/mol/ai-local/rules-library/storybook-cleanup-temp-screenshots.md +40 -0
- package/presets/opencode/mol/ai-local/rules-library/storybook-csf-authoring.md +100 -0
- package/presets/opencode/mol/ai-local/rules-library/storybook-dev-compare-figma.md +71 -0
- package/presets/opencode/mol/ai-local/rules-library/storybook-keep-tests-current.md +75 -0
- package/presets/opencode/mol/ai-local/rules-library/storybook-modals.md +64 -0
- package/presets/opencode/mol/ai-local/rules-library/storybook-no-app-node-modules.md +40 -0
- package/presets/opencode/mol/ai-local/rules-library/storybook-ui-quality-gate.md +38 -0
- package/presets/opencode/mol/ai-local/rules-library/ui-change-review-gate.md +15 -0
- package/presets/opencode/mol/commands/README.md +56 -0
- package/presets/opencode/mol/commands/migrate-tasks.md +44 -0
- package/presets/opencode/mol/commands/spec-start.md +32 -0
- package/presets/opencode/mol/commands/task-continue.md +75 -0
- package/presets/opencode/mol/commands/task-evil.md +91 -0
- package/presets/opencode/mol/commands/task.md +79 -0
- package/presets/opencode/mol/commands/technical-retro.md +96 -0
- package/presets/opencode/mol/commands/update.md +43 -0
- package/presets/opencode/mol/hooks/README.md +27 -0
- package/presets/opencode/mol/hooks/chain-team-phases.sh +2765 -0
- package/presets/opencode/mol/hooks/check-preset-update.mjs +232 -0
- package/presets/opencode/mol/hooks/list-ai-local.mjs +299 -0
- package/presets/opencode/mol/opencode.json +78 -0
- package/presets/opencode/mol/rules/README.md +25 -0
- package/presets/opencode/mol/rules/agent-team-intake.md +14 -0
- package/presets/opencode/mol/rules/agent-team-orchestrator.md +282 -0
- package/presets/opencode/mol/rules/ai-local-overlay.md +18 -0
- package/presets/opencode/mol/rules/anti-hallucination-contract.md +37 -0
- package/presets/opencode/mol/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/opencode/mol/rules/code-quality-and-refactoring.md +76 -0
- package/presets/opencode/mol/rules/code-review-mr.md +95 -0
- package/presets/opencode/mol/rules/design-guidance.md +104 -0
- package/presets/opencode/mol/rules/feature-delivery-workflow.md +144 -0
- package/presets/opencode/mol/rules/interactive-questions.md +29 -0
- package/presets/opencode/mol/rules/language-policy.md +51 -0
- package/presets/opencode/mol/rules/mcp-usage.md +96 -0
- package/presets/opencode/mol/rules/mol-app-core.md +29 -0
- package/presets/opencode/mol/rules/mol-build.md +19 -0
- package/presets/opencode/mol/rules/mol-components.md +31 -0
- package/presets/opencode/mol/rules/mol-reactivity.md +21 -0
- package/presets/opencode/mol/rules/mol-state.md +22 -0
- package/presets/opencode/mol/rules/mol-testing.md +28 -0
- package/presets/opencode/mol/rules/mol-theming.md +22 -0
- package/presets/opencode/mol/rules/mol-view-tree.md +27 -0
- package/presets/opencode/mol/rules/package-manager.md +7 -0
- package/presets/opencode/mol/rules/preset-goals.md +31 -0
- package/presets/opencode/mol/rules/preset-layering.md +27 -0
- package/presets/opencode/mol/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/opencode/mol/rules/preset-pr-checklist.md +45 -0
- package/presets/opencode/mol/rules/preset-token-budget.md +38 -0
- package/presets/opencode/mol/rules/preset-twin-sync.md +41 -0
- package/presets/opencode/mol/rules/preset-writing-style.md +42 -0
- package/presets/opencode/mol/rules/product-specs-authoring.md +118 -0
- package/presets/opencode/mol/rules/product-specs.md +61 -0
- package/presets/opencode/mol/rules/reference-features.md +82 -0
- package/presets/opencode/mol/rules/technical-retro.md +13 -0
- package/presets/opencode/mol/skills/README.md +17 -0
- package/presets/opencode/mol/skills/ci-investigation/SKILL.md +49 -0
- package/presets/opencode/mol/skills/code-review/SKILL.md +60 -0
- package/presets/opencode/mol/skills/debug-investigation/SKILL.md +63 -0
- package/presets/opencode/mol/skills/feature-delivery/SKILL.md +44 -0
- package/presets/opencode/mol/skills/spec-authoring/SKILL.md +31 -0
- package/presets/opencode/mol/skills/spec-discovery/SKILL.md +63 -0
- package/presets/opencode/mol/skills/technical-retro/SKILL.md +72 -0
- package/presets/opencode/mol/skills/unit-testing/SKILL.md +38 -0
- package/presets/opencode/mol/skills/write-adr/SKILL.md +46 -0
- package/presets/opencode/mol/team/README.md +135 -0
- package/presets/opencode/mol/team/fixtures/artifact-manifest.example.json +80 -0
- package/presets/opencode/mol/team/fixtures/bugfix-standard.json +25 -0
- package/presets/opencode/mol/team/fixtures/feature-full.json +29 -0
- package/presets/opencode/mol/team/fixtures/feature-light.json +28 -0
- package/presets/opencode/mol/team/fixtures/feature-parallel.json +84 -0
- package/presets/opencode/mol/team/fixtures/feature-ui-standard.json +24 -0
- package/presets/opencode/mol/team/fixtures/feature-with-figma-url.json +27 -0
- package/presets/opencode/mol/team/fixtures/feature-with-ux-no-figma.json +26 -0
- package/presets/opencode/mol/team/fixtures/memlog.example.md +9 -0
- package/presets/opencode/mol/team/fixtures/metrics-scenarios/tasks/human-gate/metrics.json +69 -0
- package/presets/opencode/mol/team/fixtures/metrics-scenarios/tasks/missing-ledger/status.json +5 -0
- package/presets/opencode/mol/team/fixtures/metrics-scenarios/tasks/parallel-receipts/metrics.json +79 -0
- package/presets/opencode/mol/team/fixtures/metrics-scenarios/tasks/serial-retry/metrics.json +124 -0
- package/presets/opencode/mol/team/fixtures/metrics-scenarios/tasks/validation-failed/metrics.json +124 -0
- package/presets/opencode/mol/team/fixtures/metrics.example.json +54 -0
- package/presets/opencode/mol/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
- package/presets/opencode/mol/team/fixtures/mockup-review-standalone.json +23 -0
- package/presets/opencode/mol/team/fixtures/ux-design-standalone.json +24 -0
- package/presets/opencode/mol/team/tasks/.gitkeep +0 -0
- package/presets/opencode/next/MCP.md +7 -0
- package/presets/opencode/next/REPO_AGENTS.md +16 -9
- package/presets/opencode/next/adapter-map.json +18 -1
- package/presets/opencode/next/agents/task-analyst.md +11 -0
- package/presets/opencode/next/agents/task-router.md +11 -0
- package/presets/opencode/next/commands/README.md +6 -0
- package/presets/opencode/next/commands/migrate-tasks.md +44 -0
- package/presets/opencode/next/commands/task-evil.md +91 -0
- package/presets/opencode/next/hooks/chain-team-phases.sh +109 -0
- package/presets/opencode/next/opencode.json +26 -4
- package/presets/opencode/next/rules/preset-pr-checklist.md +1 -1
- package/presets/opencode/next/rules/preset-twin-sync.md +2 -2
- package/presets/opencode/next/team/README.md +14 -2
- package/presets/opencode/nuxt/REPO_AGENTS.md +15 -8
- package/presets/opencode/nuxt/adapter-map.json +9 -1
- package/presets/opencode/nuxt/commands/README.md +1 -0
- package/presets/opencode/nuxt/commands/migrate-tasks.md +44 -0
- package/presets/opencode/nuxt/hooks/chain-team-phases.sh +109 -0
- package/presets/opencode/nuxt/opencode.json +4 -4
- package/presets/opencode/nuxt/rules/preset-pr-checklist.md +1 -1
- package/presets/opencode/nuxt/rules/preset-twin-sync.md +2 -2
- package/presets/opencode/nuxt/team/README.md +14 -2
- package/presets/opencode/php-hexagonal/REPO_AGENTS.md +15 -8
- package/presets/opencode/php-hexagonal/adapter-map.json +9 -1
- package/presets/opencode/php-hexagonal/commands/README.md +1 -0
- package/presets/opencode/php-hexagonal/commands/migrate-tasks.md +44 -0
- package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +109 -0
- package/presets/opencode/php-hexagonal/rules/preset-pr-checklist.md +1 -1
- package/presets/opencode/php-hexagonal/rules/preset-twin-sync.md +2 -2
- package/presets/opencode/php-hexagonal/team/README.md +14 -2
- package/presets/opencode/php-laravel/REPO_AGENTS.md +15 -8
- package/presets/opencode/php-laravel/adapter-map.json +9 -1
- package/presets/opencode/php-laravel/commands/README.md +1 -0
- package/presets/opencode/php-laravel/commands/migrate-tasks.md +44 -0
- package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +109 -0
- package/presets/opencode/php-laravel/rules/preset-pr-checklist.md +1 -1
- package/presets/opencode/php-laravel/rules/preset-twin-sync.md +2 -2
- package/presets/opencode/php-laravel/team/README.md +14 -2
- package/presets/opencode/platform-contract.json +2 -1
- package/presets/opencode/svelte/REPO_AGENTS.md +15 -8
- package/presets/opencode/svelte/adapter-map.json +9 -1
- package/presets/opencode/svelte/commands/README.md +1 -0
- package/presets/opencode/svelte/commands/migrate-tasks.md +44 -0
- package/presets/opencode/svelte/hooks/chain-team-phases.sh +109 -0
- package/presets/opencode/svelte/opencode.json +4 -4
- package/presets/opencode/svelte/rules/preset-pr-checklist.md +1 -1
- package/presets/opencode/svelte/rules/preset-twin-sync.md +2 -2
- package/presets/opencode/svelte/team/README.md +14 -2
- package/presets/zcode/README.md +17 -0
- package/presets/zcode/android-kotlin/MCP.md +35 -0
- package/presets/zcode/android-kotlin/README.md +20 -0
- package/presets/zcode/android-kotlin/REPO_AGENTS.md +100 -0
- package/presets/zcode/android-kotlin/adapter-map.json +925 -0
- package/presets/zcode/android-kotlin/agents/README.md +68 -0
- package/presets/zcode/android-kotlin/agents/accessibility-reviewer.md +87 -0
- package/presets/zcode/android-kotlin/agents/api-contract-reviewer.md +92 -0
- package/presets/zcode/android-kotlin/agents/build-verifier.md +87 -0
- package/presets/zcode/android-kotlin/agents/ci-investigator.md +114 -0
- package/presets/zcode/android-kotlin/agents/code-reviewer.md +133 -0
- package/presets/zcode/android-kotlin/agents/codebase-analyzer.md +49 -0
- package/presets/zcode/android-kotlin/agents/debugger.md +136 -0
- package/presets/zcode/android-kotlin/agents/feature-developer.md +154 -0
- package/presets/zcode/android-kotlin/agents/instrumentation-test-generator.md +43 -0
- package/presets/zcode/android-kotlin/agents/instrumentation-test-healer.md +43 -0
- package/presets/zcode/android-kotlin/agents/instrumentation-test-planner.md +45 -0
- package/presets/zcode/android-kotlin/agents/migration-specialist.md +101 -0
- package/presets/zcode/android-kotlin/agents/mockup-reviewer.md +81 -0
- package/presets/zcode/android-kotlin/agents/openspec-author.md +185 -0
- package/presets/zcode/android-kotlin/agents/performance-auditor.md +94 -0
- package/presets/zcode/android-kotlin/agents/qa-tester.md +91 -0
- package/presets/zcode/android-kotlin/agents/security-reviewer.md +86 -0
- package/presets/zcode/android-kotlin/agents/solution-architect.md +48 -0
- package/presets/zcode/android-kotlin/agents/task-analyst.md +152 -0
- package/presets/zcode/android-kotlin/agents/task-router.md +190 -0
- package/presets/zcode/android-kotlin/agents/tech-writer.md +91 -0
- package/presets/zcode/android-kotlin/agents/unit-test-generator.md +77 -0
- package/presets/zcode/android-kotlin/agents/unit-test-healer.md +76 -0
- package/presets/zcode/android-kotlin/agents/unit-test-planner.md +89 -0
- package/presets/zcode/android-kotlin/ai-local/conventions.md +25 -0
- package/presets/zcode/android-kotlin/commands/README.md +51 -0
- package/presets/zcode/android-kotlin/commands/migrate-tasks.md +44 -0
- package/presets/zcode/android-kotlin/commands/spec-start.md +32 -0
- package/presets/zcode/android-kotlin/commands/task-continue.md +75 -0
- package/presets/zcode/android-kotlin/commands/task.md +76 -0
- package/presets/zcode/android-kotlin/commands/technical-retro.md +96 -0
- package/presets/zcode/android-kotlin/commands/update.md +43 -0
- package/presets/zcode/android-kotlin/hooks/README.md +31 -0
- package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +2768 -0
- package/presets/zcode/android-kotlin/hooks/check-preset-update.mjs +232 -0
- package/presets/zcode/android-kotlin/hooks/list-ai-local.mjs +299 -0
- package/presets/zcode/android-kotlin/mcp.json +11 -0
- package/presets/zcode/android-kotlin/rules/README.md +25 -0
- package/presets/zcode/android-kotlin/rules/agent-team-intake.md +14 -0
- package/presets/zcode/android-kotlin/rules/agent-team-orchestrator.md +282 -0
- package/presets/zcode/android-kotlin/rules/ai-local-overlay.md +18 -0
- package/presets/zcode/android-kotlin/rules/android-app-core.md +27 -0
- package/presets/zcode/android-kotlin/rules/anti-hallucination-contract.md +37 -0
- package/presets/zcode/android-kotlin/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/zcode/android-kotlin/rules/architecture-boundaries.md +23 -0
- package/presets/zcode/android-kotlin/rules/code-quality-and-refactoring.md +77 -0
- package/presets/zcode/android-kotlin/rules/code-review-mr.md +109 -0
- package/presets/zcode/android-kotlin/rules/compose-ui.md +25 -0
- package/presets/zcode/android-kotlin/rules/design-guidance.md +104 -0
- package/presets/zcode/android-kotlin/rules/di-dagger-feature-holders.md +26 -0
- package/presets/zcode/android-kotlin/rules/feature-delivery-workflow.md +43 -0
- package/presets/zcode/android-kotlin/rules/gradle-tooling.md +22 -0
- package/presets/zcode/android-kotlin/rules/interactive-questions.md +29 -0
- package/presets/zcode/android-kotlin/rules/kotlin-anti-hallucination.md +27 -0
- package/presets/zcode/android-kotlin/rules/kotlin-conventions.md +24 -0
- package/presets/zcode/android-kotlin/rules/language-policy.md +51 -0
- package/presets/zcode/android-kotlin/rules/mcp-usage.md +94 -0
- package/presets/zcode/android-kotlin/rules/mockup-review.md +171 -0
- package/presets/zcode/android-kotlin/rules/module-public-api.md +22 -0
- package/presets/zcode/android-kotlin/rules/navigation-feature-launcher.md +23 -0
- package/presets/zcode/android-kotlin/rules/networking-data.md +23 -0
- package/presets/zcode/android-kotlin/rules/persistence-data.md +22 -0
- package/presets/zcode/android-kotlin/rules/post-change-build.md +25 -0
- package/presets/zcode/android-kotlin/rules/preset-goals.md +31 -0
- package/presets/zcode/android-kotlin/rules/preset-layering.md +27 -0
- package/presets/zcode/android-kotlin/rules/preset-no-cross-stack-leakage.md +93 -0
- package/presets/zcode/android-kotlin/rules/preset-pr-checklist.md +45 -0
- package/presets/zcode/android-kotlin/rules/preset-token-budget.md +38 -0
- package/presets/zcode/android-kotlin/rules/preset-twin-sync.md +41 -0
- package/presets/zcode/android-kotlin/rules/preset-writing-style.md +42 -0
- package/presets/zcode/android-kotlin/rules/product-specs-authoring.md +118 -0
- package/presets/zcode/android-kotlin/rules/product-specs.md +61 -0
- package/presets/zcode/android-kotlin/rules/reference-features.md +22 -0
- package/presets/zcode/android-kotlin/rules/security-android.md +21 -0
- package/presets/zcode/android-kotlin/rules/state-and-viewmodels.md +21 -0
- package/presets/zcode/android-kotlin/rules/technical-retro.md +13 -0
- package/presets/zcode/android-kotlin/rules/tests-ui.md +22 -0
- package/presets/zcode/android-kotlin/rules/tests-unit.md +22 -0
- package/presets/zcode/android-kotlin/rules/ux-design.md +103 -0
- package/presets/zcode/android-kotlin/skills/README.md +18 -0
- package/presets/zcode/android-kotlin/skills/ci-investigation/SKILL.md +53 -0
- package/presets/zcode/android-kotlin/skills/code-review/SKILL.md +61 -0
- package/presets/zcode/android-kotlin/skills/debug-investigation/SKILL.md +72 -0
- package/presets/zcode/android-kotlin/skills/feature-delivery/SKILL.md +51 -0
- package/presets/zcode/android-kotlin/skills/instrumentation-ui-e2e/SKILL.md +23 -0
- package/presets/zcode/android-kotlin/skills/mockup-review/SKILL.md +34 -0
- package/presets/zcode/android-kotlin/skills/spec-authoring/SKILL.md +31 -0
- package/presets/zcode/android-kotlin/skills/spec-discovery/SKILL.md +63 -0
- package/presets/zcode/android-kotlin/skills/technical-retro/SKILL.md +72 -0
- package/presets/zcode/android-kotlin/skills/unit-testing/SKILL.md +38 -0
- package/presets/zcode/android-kotlin/skills/ux-design/SKILL.md +41 -0
- package/presets/zcode/android-kotlin/skills/write-adr/SKILL.md +46 -0
- package/presets/zcode/android-kotlin/team/README.md +123 -0
- package/presets/zcode/android-kotlin/team/fixtures/artifact-manifest.example.json +26 -0
- package/presets/zcode/android-kotlin/team/fixtures/bugfix-standard.json +47 -0
- package/presets/zcode/android-kotlin/team/fixtures/feature-full.json +98 -0
- package/presets/zcode/android-kotlin/team/fixtures/feature-light.json +38 -0
- package/presets/zcode/android-kotlin/team/fixtures/feature-with-figma-url.json +17 -0
- package/presets/zcode/android-kotlin/team/fixtures/feature-with-ux-no-figma.json +17 -0
- package/presets/zcode/android-kotlin/team/fixtures/memlog.example.md +9 -0
- package/presets/zcode/android-kotlin/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
- package/presets/zcode/android-kotlin/team/fixtures/mockup-review-standalone.json +14 -0
- package/presets/zcode/android-kotlin/team/fixtures/ux-design-standalone.json +15 -0
- package/presets/zcode/go/MCP.md +37 -0
- package/presets/zcode/go/README.md +20 -0
- package/presets/zcode/go/REPO_AGENTS.md +100 -0
- package/presets/zcode/go/adapter-map.json +864 -0
- package/presets/zcode/go/agents/README.md +55 -0
- package/presets/zcode/go/agents/api-contract-reviewer.md +47 -0
- package/presets/zcode/go/agents/build-verifier.md +72 -0
- package/presets/zcode/go/agents/ci-investigator.md +66 -0
- package/presets/zcode/go/agents/code-reviewer.md +128 -0
- package/presets/zcode/go/agents/codebase-analyzer.md +49 -0
- package/presets/zcode/go/agents/debugger.md +98 -0
- package/presets/zcode/go/agents/feature-developer.md +144 -0
- package/presets/zcode/go/agents/integration-test-generator.md +46 -0
- package/presets/zcode/go/agents/integration-test-healer.md +46 -0
- package/presets/zcode/go/agents/integration-test-planner.md +48 -0
- package/presets/zcode/go/agents/migration-specialist.md +59 -0
- package/presets/zcode/go/agents/openspec-author.md +185 -0
- package/presets/zcode/go/agents/performance-auditor.md +50 -0
- package/presets/zcode/go/agents/qa-tester.md +53 -0
- package/presets/zcode/go/agents/security-reviewer.md +42 -0
- package/presets/zcode/go/agents/solution-architect.md +56 -0
- package/presets/zcode/go/agents/task-analyst.md +131 -0
- package/presets/zcode/go/agents/task-router.md +179 -0
- package/presets/zcode/go/agents/tech-writer.md +45 -0
- package/presets/zcode/go/agents/unit-test-generator.md +44 -0
- package/presets/zcode/go/agents/unit-test-healer.md +36 -0
- package/presets/zcode/go/agents/unit-test-planner.md +51 -0
- package/presets/zcode/go/ai-local/conventions.md +29 -0
- package/presets/zcode/go/commands/README.md +54 -0
- package/presets/zcode/go/commands/migrate-tasks.md +44 -0
- package/presets/zcode/go/commands/spec-start.md +32 -0
- package/presets/zcode/go/commands/task-continue.md +73 -0
- package/presets/zcode/go/commands/task.md +74 -0
- package/presets/zcode/go/commands/technical-retro.md +96 -0
- package/presets/zcode/go/commands/update.md +43 -0
- package/presets/zcode/go/hooks/README.md +31 -0
- package/presets/zcode/go/hooks/chain-team-phases.sh +2763 -0
- package/presets/zcode/go/hooks/check-preset-update.mjs +232 -0
- package/presets/zcode/go/hooks/list-ai-local.mjs +299 -0
- package/presets/zcode/go/mcp.json +11 -0
- package/presets/zcode/go/rules/README.md +25 -0
- package/presets/zcode/go/rules/adapters-driven.md +25 -0
- package/presets/zcode/go/rules/adapters-driving.md +26 -0
- package/presets/zcode/go/rules/agent-team-intake.md +18 -0
- package/presets/zcode/go/rules/agent-team-orchestrator.md +282 -0
- package/presets/zcode/go/rules/ai-local-overlay.md +18 -0
- package/presets/zcode/go/rules/anti-hallucination-contract.md +37 -0
- package/presets/zcode/go/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/zcode/go/rules/api-grpc.md +20 -0
- package/presets/zcode/go/rules/api-http.md +25 -0
- package/presets/zcode/go/rules/application-usecases.md +26 -0
- package/presets/zcode/go/rules/architecture-boundaries.md +31 -0
- package/presets/zcode/go/rules/code-quality-and-refactoring.md +78 -0
- package/presets/zcode/go/rules/code-review-mr.md +77 -0
- package/presets/zcode/go/rules/composition-root.md +26 -0
- package/presets/zcode/go/rules/design-guidance.md +104 -0
- package/presets/zcode/go/rules/domain-layer.md +25 -0
- package/presets/zcode/go/rules/feature-delivery-workflow.md +59 -0
- package/presets/zcode/go/rules/go-anti-hallucination.md +27 -0
- package/presets/zcode/go/rules/go-app-core.md +31 -0
- package/presets/zcode/go/rules/go-conventions.md +46 -0
- package/presets/zcode/go/rules/go-tooling.md +28 -0
- package/presets/zcode/go/rules/interactive-questions.md +29 -0
- package/presets/zcode/go/rules/language-policy.md +51 -0
- package/presets/zcode/go/rules/mcp-usage.md +93 -0
- package/presets/zcode/go/rules/messaging-adapters.md +15 -0
- package/presets/zcode/go/rules/module-public-api.md +16 -0
- package/presets/zcode/go/rules/persistence-adapters.md +24 -0
- package/presets/zcode/go/rules/ports-interfaces.md +26 -0
- package/presets/zcode/go/rules/post-change-test.md +22 -0
- package/presets/zcode/go/rules/preset-goals.md +31 -0
- package/presets/zcode/go/rules/preset-layering.md +27 -0
- package/presets/zcode/go/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/zcode/go/rules/preset-pr-checklist.md +45 -0
- package/presets/zcode/go/rules/preset-token-budget.md +38 -0
- package/presets/zcode/go/rules/preset-twin-sync.md +41 -0
- package/presets/zcode/go/rules/preset-writing-style.md +42 -0
- package/presets/zcode/go/rules/product-specs-authoring.md +118 -0
- package/presets/zcode/go/rules/product-specs.md +62 -0
- package/presets/zcode/go/rules/reference-features.md +45 -0
- package/presets/zcode/go/rules/security-go.md +26 -0
- package/presets/zcode/go/rules/technical-retro.md +13 -0
- package/presets/zcode/go/rules/tests-e2e.md +13 -0
- package/presets/zcode/go/rules/tests-integration.md +22 -0
- package/presets/zcode/go/rules/tests-unit.md +18 -0
- package/presets/zcode/go/skills/README.md +5 -0
- package/presets/zcode/go/skills/ci-investigation/SKILL.md +24 -0
- package/presets/zcode/go/skills/code-review/SKILL.md +47 -0
- package/presets/zcode/go/skills/debug-investigation/SKILL.md +55 -0
- package/presets/zcode/go/skills/feature-delivery/SKILL.md +43 -0
- package/presets/zcode/go/skills/integration-testing/SKILL.md +21 -0
- package/presets/zcode/go/skills/spec-authoring/SKILL.md +31 -0
- package/presets/zcode/go/skills/spec-discovery/SKILL.md +63 -0
- package/presets/zcode/go/skills/technical-retro/SKILL.md +72 -0
- package/presets/zcode/go/skills/unit-testing/SKILL.md +20 -0
- package/presets/zcode/go/skills/write-adr/SKILL.md +46 -0
- package/presets/zcode/go/team/README.md +123 -0
- package/presets/zcode/go/team/fixtures/bugfix-standard.json +37 -0
- package/presets/zcode/go/team/fixtures/feature-full.json +61 -0
- package/presets/zcode/go/team/fixtures/feature-light.json +17 -0
- package/presets/zcode/go/team/fixtures/memlog.example.md +9 -0
- package/presets/zcode/ios-swift/MCP.md +35 -0
- package/presets/zcode/ios-swift/README.md +20 -0
- package/presets/zcode/ios-swift/REPO_AGENTS.md +98 -0
- package/presets/zcode/ios-swift/adapter-map.json +918 -0
- package/presets/zcode/ios-swift/agents/README.md +86 -0
- package/presets/zcode/ios-swift/agents/accessibility-reviewer.md +85 -0
- package/presets/zcode/ios-swift/agents/api-contract-reviewer.md +85 -0
- package/presets/zcode/ios-swift/agents/build-verifier.md +103 -0
- package/presets/zcode/ios-swift/agents/ci-investigator.md +107 -0
- package/presets/zcode/ios-swift/agents/code-reviewer.md +133 -0
- package/presets/zcode/ios-swift/agents/codebase-analyzer.md +49 -0
- package/presets/zcode/ios-swift/agents/debugger.md +129 -0
- package/presets/zcode/ios-swift/agents/feature-developer.md +153 -0
- package/presets/zcode/ios-swift/agents/migration-specialist.md +95 -0
- package/presets/zcode/ios-swift/agents/mockup-reviewer.md +81 -0
- package/presets/zcode/ios-swift/agents/openspec-author.md +185 -0
- package/presets/zcode/ios-swift/agents/performance-auditor.md +94 -0
- package/presets/zcode/ios-swift/agents/qa-tester.md +85 -0
- package/presets/zcode/ios-swift/agents/security-reviewer.md +81 -0
- package/presets/zcode/ios-swift/agents/solution-architect.md +48 -0
- package/presets/zcode/ios-swift/agents/task-analyst.md +152 -0
- package/presets/zcode/ios-swift/agents/task-router.md +190 -0
- package/presets/zcode/ios-swift/agents/tech-writer.md +75 -0
- package/presets/zcode/ios-swift/agents/unit-test-generator.md +71 -0
- package/presets/zcode/ios-swift/agents/unit-test-healer.md +70 -0
- package/presets/zcode/ios-swift/agents/unit-test-planner.md +83 -0
- package/presets/zcode/ios-swift/agents/xcuitest-test-generator.md +59 -0
- package/presets/zcode/ios-swift/agents/xcuitest-test-healer.md +59 -0
- package/presets/zcode/ios-swift/agents/xcuitest-test-planner.md +79 -0
- package/presets/zcode/ios-swift/ai-local/conventions.md +29 -0
- package/presets/zcode/ios-swift/commands/README.md +51 -0
- package/presets/zcode/ios-swift/commands/migrate-tasks.md +44 -0
- package/presets/zcode/ios-swift/commands/spec-start.md +32 -0
- package/presets/zcode/ios-swift/commands/task-continue.md +75 -0
- package/presets/zcode/ios-swift/commands/task.md +76 -0
- package/presets/zcode/ios-swift/commands/technical-retro.md +96 -0
- package/presets/zcode/ios-swift/commands/update.md +43 -0
- package/presets/zcode/ios-swift/hooks/README.md +31 -0
- package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +2768 -0
- package/presets/zcode/ios-swift/hooks/check-preset-update.mjs +232 -0
- package/presets/zcode/ios-swift/hooks/list-ai-local.mjs +299 -0
- package/presets/zcode/ios-swift/mcp.json +11 -0
- package/presets/zcode/ios-swift/rules/README.md +25 -0
- package/presets/zcode/ios-swift/rules/agent-team-intake.md +14 -0
- package/presets/zcode/ios-swift/rules/agent-team-orchestrator.md +282 -0
- package/presets/zcode/ios-swift/rules/ai-local-overlay.md +18 -0
- package/presets/zcode/ios-swift/rules/anti-hallucination-contract.md +37 -0
- package/presets/zcode/ios-swift/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/zcode/ios-swift/rules/architecture-boundaries.md +29 -0
- package/presets/zcode/ios-swift/rules/code-quality-and-refactoring.md +77 -0
- package/presets/zcode/ios-swift/rules/code-review-mr.md +109 -0
- package/presets/zcode/ios-swift/rules/design-guidance.md +104 -0
- package/presets/zcode/ios-swift/rules/feature-delivery-workflow.md +129 -0
- package/presets/zcode/ios-swift/rules/interactive-questions.md +29 -0
- package/presets/zcode/ios-swift/rules/ios-app-core.md +20 -0
- package/presets/zcode/ios-swift/rules/language-policy.md +51 -0
- package/presets/zcode/ios-swift/rules/mcp-usage.md +94 -0
- package/presets/zcode/ios-swift/rules/mockup-review.md +171 -0
- package/presets/zcode/ios-swift/rules/module-public-api.md +17 -0
- package/presets/zcode/ios-swift/rules/navigation-coordinators.md +18 -0
- package/presets/zcode/ios-swift/rules/networking-services.md +43 -0
- package/presets/zcode/ios-swift/rules/persistence-data.md +20 -0
- package/presets/zcode/ios-swift/rules/post-change-build.md +27 -0
- package/presets/zcode/ios-swift/rules/preset-goals.md +31 -0
- package/presets/zcode/ios-swift/rules/preset-layering.md +27 -0
- package/presets/zcode/ios-swift/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/zcode/ios-swift/rules/preset-pr-checklist.md +45 -0
- package/presets/zcode/ios-swift/rules/preset-token-budget.md +38 -0
- package/presets/zcode/ios-swift/rules/preset-twin-sync.md +41 -0
- package/presets/zcode/ios-swift/rules/preset-writing-style.md +42 -0
- package/presets/zcode/ios-swift/rules/product-specs-authoring.md +118 -0
- package/presets/zcode/ios-swift/rules/product-specs.md +61 -0
- package/presets/zcode/ios-swift/rules/reference-features.md +94 -0
- package/presets/zcode/ios-swift/rules/security-ios.md +24 -0
- package/presets/zcode/ios-swift/rules/state-and-viewmodels.md +37 -0
- package/presets/zcode/ios-swift/rules/swift-anti-hallucination.md +27 -0
- package/presets/zcode/ios-swift/rules/swift-conventions.md +55 -0
- package/presets/zcode/ios-swift/rules/swiftui-ui.md +70 -0
- package/presets/zcode/ios-swift/rules/technical-retro.md +13 -0
- package/presets/zcode/ios-swift/rules/tests-ui.md +37 -0
- package/presets/zcode/ios-swift/rules/tests-unit.md +35 -0
- package/presets/zcode/ios-swift/rules/ux-design.md +103 -0
- package/presets/zcode/ios-swift/rules/xcode-tooling.md +15 -0
- package/presets/zcode/ios-swift/skills/README.md +18 -0
- package/presets/zcode/ios-swift/skills/ci-investigation/SKILL.md +53 -0
- package/presets/zcode/ios-swift/skills/code-review/SKILL.md +61 -0
- package/presets/zcode/ios-swift/skills/debug-investigation/SKILL.md +72 -0
- package/presets/zcode/ios-swift/skills/feature-delivery/SKILL.md +51 -0
- package/presets/zcode/ios-swift/skills/mockup-review/SKILL.md +34 -0
- package/presets/zcode/ios-swift/skills/spec-authoring/SKILL.md +31 -0
- package/presets/zcode/ios-swift/skills/spec-discovery/SKILL.md +63 -0
- package/presets/zcode/ios-swift/skills/technical-retro/SKILL.md +72 -0
- package/presets/zcode/ios-swift/skills/unit-testing/SKILL.md +38 -0
- package/presets/zcode/ios-swift/skills/ux-design/SKILL.md +41 -0
- package/presets/zcode/ios-swift/skills/write-adr/SKILL.md +46 -0
- package/presets/zcode/ios-swift/skills/xcuitest-e2e/SKILL.md +39 -0
- package/presets/zcode/ios-swift/team/README.md +123 -0
- package/presets/zcode/ios-swift/team/fixtures/artifact-manifest.example.json +26 -0
- package/presets/zcode/ios-swift/team/fixtures/bugfix-standard.json +33 -0
- package/presets/zcode/ios-swift/team/fixtures/feature-full.json +61 -0
- package/presets/zcode/ios-swift/team/fixtures/feature-light.json +17 -0
- package/presets/zcode/ios-swift/team/fixtures/feature-with-figma-url.json +17 -0
- package/presets/zcode/ios-swift/team/fixtures/feature-with-ux-no-figma.json +17 -0
- package/presets/zcode/ios-swift/team/fixtures/memlog.example.md +9 -0
- package/presets/zcode/ios-swift/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
- package/presets/zcode/ios-swift/team/fixtures/mockup-review-standalone.json +14 -0
- package/presets/zcode/ios-swift/team/fixtures/ux-design-standalone.json +15 -0
- package/presets/zcode/java/MCP.md +34 -0
- package/presets/zcode/java/README.md +20 -0
- package/presets/zcode/java/REPO_AGENTS.md +98 -0
- package/presets/zcode/java/adapter-map.json +864 -0
- package/presets/zcode/java/agents/README.md +55 -0
- package/presets/zcode/java/agents/api-contract-reviewer.md +47 -0
- package/presets/zcode/java/agents/build-verifier.md +72 -0
- package/presets/zcode/java/agents/ci-investigator.md +66 -0
- package/presets/zcode/java/agents/code-reviewer.md +128 -0
- package/presets/zcode/java/agents/codebase-analyzer.md +49 -0
- package/presets/zcode/java/agents/debugger.md +98 -0
- package/presets/zcode/java/agents/feature-developer.md +144 -0
- package/presets/zcode/java/agents/integration-test-generator.md +46 -0
- package/presets/zcode/java/agents/integration-test-healer.md +46 -0
- package/presets/zcode/java/agents/integration-test-planner.md +48 -0
- package/presets/zcode/java/agents/migration-specialist.md +59 -0
- package/presets/zcode/java/agents/openspec-author.md +185 -0
- package/presets/zcode/java/agents/performance-auditor.md +50 -0
- package/presets/zcode/java/agents/qa-tester.md +53 -0
- package/presets/zcode/java/agents/security-reviewer.md +42 -0
- package/presets/zcode/java/agents/solution-architect.md +56 -0
- package/presets/zcode/java/agents/task-analyst.md +131 -0
- package/presets/zcode/java/agents/task-router.md +179 -0
- package/presets/zcode/java/agents/tech-writer.md +45 -0
- package/presets/zcode/java/agents/unit-test-generator.md +44 -0
- package/presets/zcode/java/agents/unit-test-healer.md +36 -0
- package/presets/zcode/java/agents/unit-test-planner.md +51 -0
- package/presets/zcode/java/ai-local/conventions.md +29 -0
- package/presets/zcode/java/commands/README.md +54 -0
- package/presets/zcode/java/commands/migrate-tasks.md +44 -0
- package/presets/zcode/java/commands/spec-start.md +32 -0
- package/presets/zcode/java/commands/task-continue.md +73 -0
- package/presets/zcode/java/commands/task.md +74 -0
- package/presets/zcode/java/commands/technical-retro.md +96 -0
- package/presets/zcode/java/commands/update.md +43 -0
- package/presets/zcode/java/hooks/README.md +31 -0
- package/presets/zcode/java/hooks/chain-team-phases.sh +2763 -0
- package/presets/zcode/java/hooks/check-preset-update.mjs +232 -0
- package/presets/zcode/java/hooks/list-ai-local.mjs +299 -0
- package/presets/zcode/java/mcp.json +11 -0
- package/presets/zcode/java/rules/README.md +25 -0
- package/presets/zcode/java/rules/adapters-driven.md +30 -0
- package/presets/zcode/java/rules/adapters-driving.md +30 -0
- package/presets/zcode/java/rules/agent-team-intake.md +18 -0
- package/presets/zcode/java/rules/agent-team-orchestrator.md +282 -0
- package/presets/zcode/java/rules/ai-local-overlay.md +18 -0
- package/presets/zcode/java/rules/anti-hallucination-contract.md +37 -0
- package/presets/zcode/java/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/zcode/java/rules/api-grpc.md +22 -0
- package/presets/zcode/java/rules/api-http.md +28 -0
- package/presets/zcode/java/rules/application-usecases.md +26 -0
- package/presets/zcode/java/rules/architecture-boundaries.md +31 -0
- package/presets/zcode/java/rules/code-quality-and-refactoring.md +78 -0
- package/presets/zcode/java/rules/code-review-mr.md +79 -0
- package/presets/zcode/java/rules/composition-root.md +25 -0
- package/presets/zcode/java/rules/design-guidance.md +105 -0
- package/presets/zcode/java/rules/domain-layer.md +32 -0
- package/presets/zcode/java/rules/feature-delivery-workflow.md +59 -0
- package/presets/zcode/java/rules/interactive-questions.md +29 -0
- package/presets/zcode/java/rules/java-anti-hallucination.md +27 -0
- package/presets/zcode/java/rules/java-app-core.md +32 -0
- package/presets/zcode/java/rules/java-conventions.md +48 -0
- package/presets/zcode/java/rules/java-tooling.md +24 -0
- package/presets/zcode/java/rules/language-policy.md +51 -0
- package/presets/zcode/java/rules/mcp-usage.md +92 -0
- package/presets/zcode/java/rules/messaging-adapters.md +23 -0
- package/presets/zcode/java/rules/module-public-api.md +23 -0
- package/presets/zcode/java/rules/persistence-adapters.md +25 -0
- package/presets/zcode/java/rules/ports-interfaces.md +27 -0
- package/presets/zcode/java/rules/post-change-test.md +20 -0
- package/presets/zcode/java/rules/preset-goals.md +31 -0
- package/presets/zcode/java/rules/preset-layering.md +27 -0
- package/presets/zcode/java/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/zcode/java/rules/preset-pr-checklist.md +45 -0
- package/presets/zcode/java/rules/preset-token-budget.md +38 -0
- package/presets/zcode/java/rules/preset-twin-sync.md +41 -0
- package/presets/zcode/java/rules/preset-writing-style.md +42 -0
- package/presets/zcode/java/rules/product-specs-authoring.md +118 -0
- package/presets/zcode/java/rules/product-specs.md +62 -0
- package/presets/zcode/java/rules/reference-features.md +45 -0
- package/presets/zcode/java/rules/security-java.md +21 -0
- package/presets/zcode/java/rules/technical-retro.md +13 -0
- package/presets/zcode/java/rules/tests-e2e.md +15 -0
- package/presets/zcode/java/rules/tests-integration.md +19 -0
- package/presets/zcode/java/rules/tests-unit.md +26 -0
- package/presets/zcode/java/skills/README.md +5 -0
- package/presets/zcode/java/skills/ci-investigation/SKILL.md +24 -0
- package/presets/zcode/java/skills/code-review/SKILL.md +47 -0
- package/presets/zcode/java/skills/debug-investigation/SKILL.md +55 -0
- package/presets/zcode/java/skills/feature-delivery/SKILL.md +43 -0
- package/presets/zcode/java/skills/integration-testing/SKILL.md +21 -0
- package/presets/zcode/java/skills/spec-authoring/SKILL.md +31 -0
- package/presets/zcode/java/skills/spec-discovery/SKILL.md +63 -0
- package/presets/zcode/java/skills/technical-retro/SKILL.md +72 -0
- package/presets/zcode/java/skills/unit-testing/SKILL.md +20 -0
- package/presets/zcode/java/skills/write-adr/SKILL.md +46 -0
- package/presets/zcode/java/team/README.md +123 -0
- package/presets/zcode/java/team/fixtures/bugfix-standard.json +37 -0
- package/presets/zcode/java/team/fixtures/feature-full.json +61 -0
- package/presets/zcode/java/team/fixtures/feature-light.json +17 -0
- package/presets/zcode/java/team/fixtures/memlog.example.md +9 -0
- package/presets/zcode/mcp-ts/MCP.md +56 -0
- package/presets/zcode/mcp-ts/README.md +20 -0
- package/presets/zcode/mcp-ts/REPO_AGENTS.md +101 -0
- package/presets/zcode/mcp-ts/adapter-map.json +612 -0
- package/presets/zcode/mcp-ts/agents/README.md +53 -0
- package/presets/zcode/mcp-ts/agents/build-verifier.md +73 -0
- package/presets/zcode/mcp-ts/agents/feature-developer.md +138 -0
- package/presets/zcode/mcp-ts/agents/security-reviewer.md +43 -0
- package/presets/zcode/mcp-ts/agents/solution-architect.md +50 -0
- package/presets/zcode/mcp-ts/agents/task-analyst.md +134 -0
- package/presets/zcode/mcp-ts/agents/task-router.md +175 -0
- package/presets/zcode/mcp-ts/ai-local/conventions.md +22 -0
- package/presets/zcode/mcp-ts/commands/README.md +11 -0
- package/presets/zcode/mcp-ts/commands/migrate-tasks.md +44 -0
- package/presets/zcode/mcp-ts/commands/spec-start.md +32 -0
- package/presets/zcode/mcp-ts/commands/task-continue.md +73 -0
- package/presets/zcode/mcp-ts/commands/task.md +74 -0
- package/presets/zcode/mcp-ts/commands/technical-retro.md +96 -0
- package/presets/zcode/mcp-ts/commands/update.md +43 -0
- package/presets/zcode/mcp-ts/hooks/README.md +31 -0
- package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +2710 -0
- package/presets/zcode/mcp-ts/hooks/check-preset-update.mjs +232 -0
- package/presets/zcode/mcp-ts/hooks/list-ai-local.mjs +299 -0
- package/presets/zcode/mcp-ts/mcp.json +11 -0
- package/presets/zcode/mcp-ts/rules/README.md +25 -0
- package/presets/zcode/mcp-ts/rules/agent-team-intake.md +19 -0
- package/presets/zcode/mcp-ts/rules/agent-team-orchestrator.md +282 -0
- package/presets/zcode/mcp-ts/rules/ai-local-overlay.md +18 -0
- package/presets/zcode/mcp-ts/rules/anti-hallucination-contract.md +37 -0
- package/presets/zcode/mcp-ts/rules/anti-sycophancy-discipline.md +27 -0
- package/presets/zcode/mcp-ts/rules/code-quality-and-refactoring.md +78 -0
- package/presets/zcode/mcp-ts/rules/code-review-mr.md +76 -0
- package/presets/zcode/mcp-ts/rules/design-guidance.md +104 -0
- package/presets/zcode/mcp-ts/rules/feature-delivery-workflow.md +59 -0
- package/presets/zcode/mcp-ts/rules/interactive-questions.md +29 -0
- package/presets/zcode/mcp-ts/rules/language-policy.md +51 -0
- package/presets/zcode/mcp-ts/rules/mcp-auth-secrets.md +35 -0
- package/presets/zcode/mcp-ts/rules/mcp-contract-testing.md +32 -0
- package/presets/zcode/mcp-ts/rules/mcp-server-boundaries.md +24 -0
- package/presets/zcode/mcp-ts/rules/mcp-tool-design.md +29 -0
- package/presets/zcode/mcp-ts/rules/mcp-transport-packaging.md +34 -0
- package/presets/zcode/mcp-ts/rules/mcp-ts-anti-hallucination.md +27 -0
- package/presets/zcode/mcp-ts/rules/mcp-ts-app-core.md +27 -0
- package/presets/zcode/mcp-ts/rules/mcp-ts-conventions.md +22 -0
- package/presets/zcode/mcp-ts/rules/mcp-ts-tooling.md +21 -0
- package/presets/zcode/mcp-ts/rules/mcp-usage.md +93 -0
- package/presets/zcode/mcp-ts/rules/post-change-test.md +21 -0
- package/presets/zcode/mcp-ts/rules/preset-goals.md +31 -0
- package/presets/zcode/mcp-ts/rules/preset-layering.md +27 -0
- package/presets/zcode/mcp-ts/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/zcode/mcp-ts/rules/preset-pr-checklist.md +45 -0
- package/presets/zcode/mcp-ts/rules/preset-token-budget.md +38 -0
- package/presets/zcode/mcp-ts/rules/preset-twin-sync.md +41 -0
- package/presets/zcode/mcp-ts/rules/preset-writing-style.md +42 -0
- package/presets/zcode/mcp-ts/rules/product-specs-authoring.md +118 -0
- package/presets/zcode/mcp-ts/rules/product-specs.md +62 -0
- package/presets/zcode/mcp-ts/rules/reference-features.md +45 -0
- package/presets/zcode/mcp-ts/rules/security-mcp.md +43 -0
- package/presets/zcode/mcp-ts/rules/technical-retro.md +13 -0
- package/presets/zcode/mcp-ts/rules/tests-unit.md +23 -0
- package/presets/zcode/mcp-ts/skills/README.md +14 -0
- package/presets/zcode/mcp-ts/skills/code-review/SKILL.md +31 -0
- package/presets/zcode/mcp-ts/skills/debug-investigation/SKILL.md +51 -0
- package/presets/zcode/mcp-ts/skills/feature-delivery/SKILL.md +42 -0
- package/presets/zcode/mcp-ts/skills/spec-authoring/SKILL.md +31 -0
- package/presets/zcode/mcp-ts/skills/spec-discovery/SKILL.md +63 -0
- package/presets/zcode/mcp-ts/skills/unit-testing/SKILL.md +22 -0
- package/presets/zcode/mcp-ts/team/README.md +123 -0
- package/presets/zcode/mcp-ts/team/fixtures/bugfix-standard.json +32 -0
- package/presets/zcode/mcp-ts/team/fixtures/feature-full.json +36 -0
- package/presets/zcode/mcp-ts/team/fixtures/feature-light.json +34 -0
- package/presets/zcode/mcp-ts/team/fixtures/memlog.example.md +9 -0
- package/presets/zcode/mol/MCP.md +50 -0
- package/presets/zcode/mol/README.md +20 -0
- package/presets/zcode/mol/REPO_AGENTS.md +107 -0
- package/presets/zcode/mol/adapter-map.json +1122 -0
- package/presets/zcode/mol/agents/README.md +98 -0
- package/presets/zcode/mol/agents/accessibility-reviewer.md +92 -0
- package/presets/zcode/mol/agents/api-contract-reviewer.md +87 -0
- package/presets/zcode/mol/agents/build-verifier.md +117 -0
- package/presets/zcode/mol/agents/ci-investigator.md +95 -0
- package/presets/zcode/mol/agents/code-reviewer.md +139 -0
- package/presets/zcode/mol/agents/codebase-analyzer.md +51 -0
- package/presets/zcode/mol/agents/debugger.md +126 -0
- package/presets/zcode/mol/agents/feature-developer.md +151 -0
- package/presets/zcode/mol/agents/migration-specialist.md +97 -0
- package/presets/zcode/mol/agents/mockup-reviewer.md +131 -0
- package/presets/zcode/mol/agents/openspec-author.md +213 -0
- package/presets/zcode/mol/agents/performance-auditor.md +98 -0
- package/presets/zcode/mol/agents/playwright-test-generator.md +56 -0
- package/presets/zcode/mol/agents/playwright-test-healer.md +57 -0
- package/presets/zcode/mol/agents/playwright-test-planner.md +51 -0
- package/presets/zcode/mol/agents/qa-tester.md +80 -0
- package/presets/zcode/mol/agents/security-reviewer.md +89 -0
- package/presets/zcode/mol/agents/solution-architect.md +99 -0
- package/presets/zcode/mol/agents/task-analyst.md +255 -0
- package/presets/zcode/mol/agents/task-router.md +267 -0
- package/presets/zcode/mol/agents/tech-writer.md +88 -0
- package/presets/zcode/mol/agents/unit-test-generator.md +59 -0
- package/presets/zcode/mol/agents/unit-test-healer.md +60 -0
- package/presets/zcode/mol/agents/unit-test-planner.md +84 -0
- package/presets/zcode/mol/ai-local/conventions.md +49 -0
- package/presets/zcode/mol/ai-local/rules/task-levels.md +40 -0
- package/presets/zcode/mol/ai-local/rules-library/agent-artifacts-no-local-paths.md +71 -0
- package/presets/zcode/mol/ai-local/rules-library/agent-pipeline-gates.md +19 -0
- package/presets/zcode/mol/ai-local/rules-library/analytics-events.md +18 -0
- package/presets/zcode/mol/ai-local/rules-library/api-contract-source.md +14 -0
- package/presets/zcode/mol/ai-local/rules-library/artifact-lifecycle.md +17 -0
- package/presets/zcode/mol/ai-local/rules-library/code-style.md +68 -0
- package/presets/zcode/mol/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/zcode/mol/ai-local/rules-library/component-child-decomposition.md +81 -0
- package/presets/zcode/mol/ai-local/rules-library/feature-flags-experiments.md +15 -0
- package/presets/zcode/mol/ai-local/rules-library/mcp-required-for-ui-layout.md +45 -0
- package/presets/zcode/mol/ai-local/rules-library/no-react-fc.md +46 -0
- package/presets/zcode/mol/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/zcode/mol/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/zcode/mol/ai-local/rules-library/pwa-service-worker.md +15 -0
- package/presets/zcode/mol/ai-local/rules-library/qa-test-cases.md +14 -0
- package/presets/zcode/mol/ai-local/rules-library/router-pages.md +25 -0
- package/presets/zcode/mol/ai-local/rules-library/single-source-copy-constants.md +18 -0
- package/presets/zcode/mol/ai-local/rules-library/storybook-catalog-structure.md +62 -0
- package/presets/zcode/mol/ai-local/rules-library/storybook-cleanup-temp-screenshots.md +40 -0
- package/presets/zcode/mol/ai-local/rules-library/storybook-csf-authoring.md +100 -0
- package/presets/zcode/mol/ai-local/rules-library/storybook-dev-compare-figma.md +71 -0
- package/presets/zcode/mol/ai-local/rules-library/storybook-keep-tests-current.md +75 -0
- package/presets/zcode/mol/ai-local/rules-library/storybook-modals.md +64 -0
- package/presets/zcode/mol/ai-local/rules-library/storybook-no-app-node-modules.md +40 -0
- package/presets/zcode/mol/ai-local/rules-library/storybook-ui-quality-gate.md +38 -0
- package/presets/zcode/mol/ai-local/rules-library/ui-change-review-gate.md +15 -0
- package/presets/zcode/mol/commands/README.md +56 -0
- package/presets/zcode/mol/commands/migrate-tasks.md +44 -0
- package/presets/zcode/mol/commands/spec-start.md +32 -0
- package/presets/zcode/mol/commands/task-continue.md +75 -0
- package/presets/zcode/mol/commands/task-evil.md +90 -0
- package/presets/zcode/mol/commands/task.md +79 -0
- package/presets/zcode/mol/commands/technical-retro.md +96 -0
- package/presets/zcode/mol/commands/update.md +43 -0
- package/presets/zcode/mol/hooks/README.md +31 -0
- package/presets/zcode/mol/hooks/chain-team-phases.sh +2765 -0
- package/presets/zcode/mol/hooks/check-preset-update.mjs +232 -0
- package/presets/zcode/mol/hooks/list-ai-local.mjs +299 -0
- package/presets/zcode/mol/mcp.json +19 -0
- package/presets/zcode/mol/rules/README.md +25 -0
- package/presets/zcode/mol/rules/agent-team-intake.md +14 -0
- package/presets/zcode/mol/rules/agent-team-orchestrator.md +282 -0
- package/presets/zcode/mol/rules/ai-local-overlay.md +18 -0
- package/presets/zcode/mol/rules/anti-hallucination-contract.md +37 -0
- package/presets/zcode/mol/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/zcode/mol/rules/code-quality-and-refactoring.md +76 -0
- package/presets/zcode/mol/rules/code-review-mr.md +95 -0
- package/presets/zcode/mol/rules/design-guidance.md +104 -0
- package/presets/zcode/mol/rules/feature-delivery-workflow.md +144 -0
- package/presets/zcode/mol/rules/interactive-questions.md +29 -0
- package/presets/zcode/mol/rules/language-policy.md +51 -0
- package/presets/zcode/mol/rules/mcp-usage.md +96 -0
- package/presets/zcode/mol/rules/mol-app-core.md +29 -0
- package/presets/zcode/mol/rules/mol-build.md +19 -0
- package/presets/zcode/mol/rules/mol-components.md +31 -0
- package/presets/zcode/mol/rules/mol-reactivity.md +21 -0
- package/presets/zcode/mol/rules/mol-state.md +22 -0
- package/presets/zcode/mol/rules/mol-testing.md +28 -0
- package/presets/zcode/mol/rules/mol-theming.md +22 -0
- package/presets/zcode/mol/rules/mol-view-tree.md +27 -0
- package/presets/zcode/mol/rules/package-manager.md +7 -0
- package/presets/zcode/mol/rules/preset-goals.md +31 -0
- package/presets/zcode/mol/rules/preset-layering.md +27 -0
- package/presets/zcode/mol/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/zcode/mol/rules/preset-pr-checklist.md +45 -0
- package/presets/zcode/mol/rules/preset-token-budget.md +38 -0
- package/presets/zcode/mol/rules/preset-twin-sync.md +41 -0
- package/presets/zcode/mol/rules/preset-writing-style.md +42 -0
- package/presets/zcode/mol/rules/product-specs-authoring.md +118 -0
- package/presets/zcode/mol/rules/product-specs.md +61 -0
- package/presets/zcode/mol/rules/reference-features.md +82 -0
- package/presets/zcode/mol/rules/technical-retro.md +13 -0
- package/presets/zcode/mol/skills/README.md +17 -0
- package/presets/zcode/mol/skills/ci-investigation/SKILL.md +49 -0
- package/presets/zcode/mol/skills/code-review/SKILL.md +60 -0
- package/presets/zcode/mol/skills/debug-investigation/SKILL.md +63 -0
- package/presets/zcode/mol/skills/feature-delivery/SKILL.md +44 -0
- package/presets/zcode/mol/skills/spec-authoring/SKILL.md +31 -0
- package/presets/zcode/mol/skills/spec-discovery/SKILL.md +63 -0
- package/presets/zcode/mol/skills/technical-retro/SKILL.md +72 -0
- package/presets/zcode/mol/skills/unit-testing/SKILL.md +38 -0
- package/presets/zcode/mol/skills/write-adr/SKILL.md +46 -0
- package/presets/zcode/mol/team/README.md +135 -0
- package/presets/zcode/mol/team/fixtures/artifact-manifest.example.json +80 -0
- package/presets/zcode/mol/team/fixtures/bugfix-standard.json +25 -0
- package/presets/zcode/mol/team/fixtures/feature-full.json +29 -0
- package/presets/zcode/mol/team/fixtures/feature-light.json +28 -0
- package/presets/zcode/mol/team/fixtures/feature-parallel.json +84 -0
- package/presets/zcode/mol/team/fixtures/feature-ui-standard.json +24 -0
- package/presets/zcode/mol/team/fixtures/feature-with-figma-url.json +27 -0
- package/presets/zcode/mol/team/fixtures/feature-with-ux-no-figma.json +26 -0
- package/presets/zcode/mol/team/fixtures/memlog.example.md +9 -0
- package/presets/zcode/mol/team/fixtures/metrics-scenarios/tasks/human-gate/metrics.json +69 -0
- package/presets/zcode/mol/team/fixtures/metrics-scenarios/tasks/missing-ledger/status.json +5 -0
- package/presets/zcode/mol/team/fixtures/metrics-scenarios/tasks/parallel-receipts/metrics.json +79 -0
- package/presets/zcode/mol/team/fixtures/metrics-scenarios/tasks/serial-retry/metrics.json +124 -0
- package/presets/zcode/mol/team/fixtures/metrics-scenarios/tasks/validation-failed/metrics.json +124 -0
- package/presets/zcode/mol/team/fixtures/metrics.example.json +54 -0
- package/presets/zcode/mol/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
- package/presets/zcode/mol/team/fixtures/mockup-review-standalone.json +23 -0
- package/presets/zcode/mol/team/fixtures/ux-design-standalone.json +24 -0
- package/presets/zcode/mol/team/tasks/.gitkeep +0 -0
- package/presets/zcode/next/MCP.md +50 -0
- package/presets/zcode/next/README.md +20 -0
- package/presets/zcode/next/REPO_AGENTS.md +110 -0
- package/presets/zcode/next/adapter-map.json +1347 -0
- package/presets/zcode/next/agents/README.md +98 -0
- package/presets/zcode/next/agents/accessibility-reviewer.md +92 -0
- package/presets/zcode/next/agents/api-contract-reviewer.md +89 -0
- package/presets/zcode/next/agents/build-verifier.md +119 -0
- package/presets/zcode/next/agents/ci-investigator.md +109 -0
- package/presets/zcode/next/agents/code-reviewer.md +141 -0
- package/presets/zcode/next/agents/codebase-analyzer.md +51 -0
- package/presets/zcode/next/agents/debugger.md +140 -0
- package/presets/zcode/next/agents/feature-developer.md +188 -0
- package/presets/zcode/next/agents/migration-specialist.md +97 -0
- package/presets/zcode/next/agents/mockup-reviewer.md +131 -0
- package/presets/zcode/next/agents/openspec-author.md +213 -0
- package/presets/zcode/next/agents/performance-auditor.md +98 -0
- package/presets/zcode/next/agents/playwright-test-generator.md +60 -0
- package/presets/zcode/next/agents/playwright-test-healer.md +61 -0
- package/presets/zcode/next/agents/playwright-test-planner.md +55 -0
- package/presets/zcode/next/agents/qa-tester.md +85 -0
- package/presets/zcode/next/agents/security-reviewer.md +89 -0
- package/presets/zcode/next/agents/solution-architect.md +99 -0
- package/presets/zcode/next/agents/task-analyst.md +272 -0
- package/presets/zcode/next/agents/task-router.md +267 -0
- package/presets/zcode/next/agents/tech-writer.md +88 -0
- package/presets/zcode/next/agents/unit-test-generator.md +62 -0
- package/presets/zcode/next/agents/unit-test-healer.md +63 -0
- package/presets/zcode/next/agents/unit-test-planner.md +87 -0
- package/presets/zcode/next/ai-local/conventions.md +49 -0
- package/presets/zcode/next/ai-local/rules/task-levels.md +40 -0
- package/presets/zcode/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +71 -0
- package/presets/zcode/next/ai-local/rules-library/agent-pipeline-gates.md +19 -0
- package/presets/zcode/next/ai-local/rules-library/analytics-events.md +18 -0
- package/presets/zcode/next/ai-local/rules-library/api-contract-source.md +14 -0
- package/presets/zcode/next/ai-local/rules-library/artifact-lifecycle.md +17 -0
- package/presets/zcode/next/ai-local/rules-library/code-style.md +68 -0
- package/presets/zcode/next/ai-local/rules-library/commit-hygiene.md +17 -0
- package/presets/zcode/next/ai-local/rules-library/component-child-decomposition.md +81 -0
- package/presets/zcode/next/ai-local/rules-library/feature-flags-experiments.md +15 -0
- package/presets/zcode/next/ai-local/rules-library/mcp-required-for-ui-layout.md +45 -0
- package/presets/zcode/next/ai-local/rules-library/no-react-fc.md +46 -0
- package/presets/zcode/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
- package/presets/zcode/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
- package/presets/zcode/next/ai-local/rules-library/pwa-service-worker.md +15 -0
- package/presets/zcode/next/ai-local/rules-library/qa-test-cases.md +14 -0
- package/presets/zcode/next/ai-local/rules-library/router-pages.md +25 -0
- package/presets/zcode/next/ai-local/rules-library/single-source-copy-constants.md +18 -0
- package/presets/zcode/next/ai-local/rules-library/storybook-catalog-structure.md +62 -0
- package/presets/zcode/next/ai-local/rules-library/storybook-cleanup-temp-screenshots.md +40 -0
- package/presets/zcode/next/ai-local/rules-library/storybook-csf-authoring.md +100 -0
- package/presets/zcode/next/ai-local/rules-library/storybook-dev-compare-figma.md +71 -0
- package/presets/zcode/next/ai-local/rules-library/storybook-keep-tests-current.md +75 -0
- package/presets/zcode/next/ai-local/rules-library/storybook-modals.md +64 -0
- package/presets/zcode/next/ai-local/rules-library/storybook-no-app-node-modules.md +40 -0
- package/presets/zcode/next/ai-local/rules-library/storybook-ui-quality-gate.md +38 -0
- package/presets/zcode/next/ai-local/rules-library/ui-change-review-gate.md +15 -0
- package/presets/zcode/next/commands/README.md +56 -0
- package/presets/zcode/next/commands/migrate-tasks.md +44 -0
- package/presets/zcode/next/commands/spec-start.md +32 -0
- package/presets/zcode/next/commands/task-continue.md +75 -0
- package/presets/zcode/next/commands/task-evil.md +90 -0
- package/presets/zcode/next/commands/task.md +79 -0
- package/presets/zcode/next/commands/technical-retro.md +96 -0
- package/presets/zcode/next/commands/update.md +43 -0
- package/presets/zcode/next/hooks/README.md +31 -0
- package/presets/zcode/next/hooks/chain-team-phases.sh +2766 -0
- package/presets/zcode/next/hooks/check-preset-update.mjs +232 -0
- package/presets/zcode/next/hooks/list-ai-local.mjs +299 -0
- package/presets/zcode/next/mcp.json +19 -0
- package/presets/zcode/next/rules/README.md +25 -0
- package/presets/zcode/next/rules/agent-team-intake.md +14 -0
- package/presets/zcode/next/rules/agent-team-orchestrator.md +282 -0
- package/presets/zcode/next/rules/ai-local-overlay.md +18 -0
- package/presets/zcode/next/rules/anti-hallucination-contract.md +37 -0
- package/presets/zcode/next/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/zcode/next/rules/api-services.md +74 -0
- package/presets/zcode/next/rules/architecture-boundaries-ui.md +9 -0
- package/presets/zcode/next/rules/architecture-boundaries.md +86 -0
- package/presets/zcode/next/rules/arrow-functions.md +25 -0
- package/presets/zcode/next/rules/code-quality-and-refactoring.md +76 -0
- package/presets/zcode/next/rules/code-review-mr.md +95 -0
- package/presets/zcode/next/rules/component-catalog-gate.md +44 -0
- package/presets/zcode/next/rules/css-property-order-stylelint.md +13 -0
- package/presets/zcode/next/rules/design-guidance.md +104 -0
- package/presets/zcode/next/rules/design-tokens-binding.md +44 -0
- package/presets/zcode/next/rules/feature-delivery-workflow.md +166 -0
- package/presets/zcode/next/rules/forms-validation.md +38 -0
- package/presets/zcode/next/rules/http-client.md +55 -0
- package/presets/zcode/next/rules/interactive-questions.md +29 -0
- package/presets/zcode/next/rules/language-policy.md +51 -0
- package/presets/zcode/next/rules/layer-barrel-exports.md +68 -0
- package/presets/zcode/next/rules/mcp-usage.md +96 -0
- package/presets/zcode/next/rules/mockup-review.md +195 -0
- package/presets/zcode/next/rules/navigation-router-stack.md +68 -0
- package/presets/zcode/next/rules/navigation-router-ui.md +10 -0
- package/presets/zcode/next/rules/next-app-core.md +38 -0
- package/presets/zcode/next/rules/next-app-router.md +58 -0
- package/presets/zcode/next/rules/next-static-export.md +44 -0
- package/presets/zcode/next/rules/no-props-spread.md +31 -0
- package/presets/zcode/next/rules/no-type-assertion-as-import-export.md +51 -0
- package/presets/zcode/next/rules/package-manager.md +11 -0
- package/presets/zcode/next/rules/playwright-agents.md +67 -0
- package/presets/zcode/next/rules/post-change-lint.md +39 -0
- package/presets/zcode/next/rules/preset-goals.md +31 -0
- package/presets/zcode/next/rules/preset-layering.md +27 -0
- package/presets/zcode/next/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/zcode/next/rules/preset-pr-checklist.md +45 -0
- package/presets/zcode/next/rules/preset-token-budget.md +38 -0
- package/presets/zcode/next/rules/preset-twin-sync.md +41 -0
- package/presets/zcode/next/rules/preset-writing-style.md +42 -0
- package/presets/zcode/next/rules/product-specs-authoring.md +119 -0
- package/presets/zcode/next/rules/product-specs.md +63 -0
- package/presets/zcode/next/rules/public-imports.md +50 -0
- package/presets/zcode/next/rules/react-a11y-coding.md +32 -0
- package/presets/zcode/next/rules/react-next-anti-hallucination.md +75 -0
- package/presets/zcode/next/rules/react-ui.md +154 -0
- package/presets/zcode/next/rules/reference-features.md +86 -0
- package/presets/zcode/next/rules/security-next.md +91 -0
- package/presets/zcode/next/rules/store-rtk.md +85 -0
- package/presets/zcode/next/rules/technical-retro.md +13 -0
- package/presets/zcode/next/rules/tests-e2e-structure.md +87 -0
- package/presets/zcode/next/rules/tests-unit.md +105 -0
- package/presets/zcode/next/rules/types-jsdoc.md +40 -0
- package/presets/zcode/next/rules/ux-design.md +103 -0
- package/presets/zcode/next/skills/README.md +22 -0
- package/presets/zcode/next/skills/ci-investigation/SKILL.md +50 -0
- package/presets/zcode/next/skills/code-review/SKILL.md +61 -0
- package/presets/zcode/next/skills/debug-investigation/SKILL.md +64 -0
- package/presets/zcode/next/skills/feature-delivery/SKILL.md +45 -0
- package/presets/zcode/next/skills/figma-fidelity/SKILL.md +128 -0
- package/presets/zcode/next/skills/mockup-review/SKILL.md +40 -0
- package/presets/zcode/next/skills/playwright-e2e/SKILL.md +39 -0
- package/presets/zcode/next/skills/react-performance/SKILL.md +49 -0
- package/presets/zcode/next/skills/spec-authoring/SKILL.md +31 -0
- package/presets/zcode/next/skills/spec-discovery/SKILL.md +63 -0
- package/presets/zcode/next/skills/technical-retro/SKILL.md +72 -0
- package/presets/zcode/next/skills/unit-testing/SKILL.md +40 -0
- package/presets/zcode/next/skills/ux-design/SKILL.md +41 -0
- package/presets/zcode/next/skills/write-adr/SKILL.md +46 -0
- package/presets/zcode/next/team/README.md +135 -0
- package/presets/zcode/next/team/fixtures/artifact-manifest.example.json +80 -0
- package/presets/zcode/next/team/fixtures/bugfix-standard.json +25 -0
- package/presets/zcode/next/team/fixtures/feature-full.json +29 -0
- package/presets/zcode/next/team/fixtures/feature-light.json +28 -0
- package/presets/zcode/next/team/fixtures/feature-parallel.json +84 -0
- package/presets/zcode/next/team/fixtures/feature-ui-standard.json +24 -0
- package/presets/zcode/next/team/fixtures/feature-with-figma-url.json +27 -0
- package/presets/zcode/next/team/fixtures/feature-with-ux-no-figma.json +26 -0
- package/presets/zcode/next/team/fixtures/memlog.example.md +9 -0
- package/presets/zcode/next/team/fixtures/metrics-scenarios/tasks/human-gate/metrics.json +69 -0
- package/presets/zcode/next/team/fixtures/metrics-scenarios/tasks/missing-ledger/status.json +5 -0
- package/presets/zcode/next/team/fixtures/metrics-scenarios/tasks/parallel-receipts/metrics.json +79 -0
- package/presets/zcode/next/team/fixtures/metrics-scenarios/tasks/serial-retry/metrics.json +124 -0
- package/presets/zcode/next/team/fixtures/metrics-scenarios/tasks/validation-failed/metrics.json +124 -0
- package/presets/zcode/next/team/fixtures/metrics.example.json +54 -0
- package/presets/zcode/next/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
- package/presets/zcode/next/team/fixtures/mockup-review-standalone.json +23 -0
- package/presets/zcode/next/team/fixtures/ux-design-standalone.json +24 -0
- package/presets/zcode/next/team/tasks/.gitkeep +0 -0
- package/presets/zcode/nuxt/MCP.md +36 -0
- package/presets/zcode/nuxt/README.md +20 -0
- package/presets/zcode/nuxt/REPO_AGENTS.md +101 -0
- package/presets/zcode/nuxt/adapter-map.json +1065 -0
- package/presets/zcode/nuxt/agents/README.md +107 -0
- package/presets/zcode/nuxt/agents/accessibility-reviewer.md +91 -0
- package/presets/zcode/nuxt/agents/api-contract-reviewer.md +89 -0
- package/presets/zcode/nuxt/agents/build-verifier.md +106 -0
- package/presets/zcode/nuxt/agents/ci-investigator.md +109 -0
- package/presets/zcode/nuxt/agents/code-reviewer.md +124 -0
- package/presets/zcode/nuxt/agents/codebase-analyzer.md +51 -0
- package/presets/zcode/nuxt/agents/debugger.md +140 -0
- package/presets/zcode/nuxt/agents/feature-developer.md +161 -0
- package/presets/zcode/nuxt/agents/migration-specialist.md +97 -0
- package/presets/zcode/nuxt/agents/mockup-reviewer.md +83 -0
- package/presets/zcode/nuxt/agents/openspec-author.md +187 -0
- package/presets/zcode/nuxt/agents/performance-auditor.md +98 -0
- package/presets/zcode/nuxt/agents/playwright-test-generator.md +60 -0
- package/presets/zcode/nuxt/agents/playwright-test-healer.md +60 -0
- package/presets/zcode/nuxt/agents/playwright-test-planner.md +55 -0
- package/presets/zcode/nuxt/agents/qa-tester.md +85 -0
- package/presets/zcode/nuxt/agents/security-reviewer.md +84 -0
- package/presets/zcode/nuxt/agents/solution-architect.md +98 -0
- package/presets/zcode/nuxt/agents/task-analyst.md +239 -0
- package/presets/zcode/nuxt/agents/task-router.md +226 -0
- package/presets/zcode/nuxt/agents/tech-writer.md +87 -0
- package/presets/zcode/nuxt/agents/unit-test-generator.md +62 -0
- package/presets/zcode/nuxt/agents/unit-test-healer.md +63 -0
- package/presets/zcode/nuxt/agents/unit-test-planner.md +87 -0
- package/presets/zcode/nuxt/ai-local/conventions.md +29 -0
- package/presets/zcode/nuxt/commands/README.md +51 -0
- package/presets/zcode/nuxt/commands/migrate-tasks.md +44 -0
- package/presets/zcode/nuxt/commands/spec-start.md +32 -0
- package/presets/zcode/nuxt/commands/task-continue.md +75 -0
- package/presets/zcode/nuxt/commands/task.md +76 -0
- package/presets/zcode/nuxt/commands/technical-retro.md +96 -0
- package/presets/zcode/nuxt/commands/update.md +43 -0
- package/presets/zcode/nuxt/hooks/README.md +31 -0
- package/presets/zcode/nuxt/hooks/chain-team-phases.sh +2766 -0
- package/presets/zcode/nuxt/hooks/check-preset-update.mjs +232 -0
- package/presets/zcode/nuxt/hooks/list-ai-local.mjs +299 -0
- package/presets/zcode/nuxt/mcp.json +19 -0
- package/presets/zcode/nuxt/rules/README.md +25 -0
- package/presets/zcode/nuxt/rules/agent-team-intake.md +14 -0
- package/presets/zcode/nuxt/rules/agent-team-orchestrator.md +282 -0
- package/presets/zcode/nuxt/rules/ai-local-overlay.md +18 -0
- package/presets/zcode/nuxt/rules/anti-hallucination-contract.md +37 -0
- package/presets/zcode/nuxt/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/zcode/nuxt/rules/api-services.md +72 -0
- package/presets/zcode/nuxt/rules/architecture-boundaries-ui.md +9 -0
- package/presets/zcode/nuxt/rules/architecture-boundaries.md +90 -0
- package/presets/zcode/nuxt/rules/code-quality-and-refactoring.md +76 -0
- package/presets/zcode/nuxt/rules/code-review-mr.md +84 -0
- package/presets/zcode/nuxt/rules/css-property-order-stylelint.md +14 -0
- package/presets/zcode/nuxt/rules/design-guidance.md +104 -0
- package/presets/zcode/nuxt/rules/feature-delivery-workflow.md +145 -0
- package/presets/zcode/nuxt/rules/http-client.md +9 -0
- package/presets/zcode/nuxt/rules/interactive-questions.md +29 -0
- package/presets/zcode/nuxt/rules/language-policy.md +51 -0
- package/presets/zcode/nuxt/rules/layer-barrel-exports.md +67 -0
- package/presets/zcode/nuxt/rules/mcp-usage.md +95 -0
- package/presets/zcode/nuxt/rules/mockup-review.md +171 -0
- package/presets/zcode/nuxt/rules/navigation-router-stack.md +55 -0
- package/presets/zcode/nuxt/rules/navigation-router-ui.md +10 -0
- package/presets/zcode/nuxt/rules/no-type-assertion-as-import-export.md +51 -0
- package/presets/zcode/nuxt/rules/no-v-bind-spread.md +7 -0
- package/presets/zcode/nuxt/rules/nuxt-app-core.md +44 -0
- package/presets/zcode/nuxt/rules/nuxt-pages-routing.md +31 -0
- package/presets/zcode/nuxt/rules/package-manager.md +13 -0
- package/presets/zcode/nuxt/rules/playwright-agents.md +74 -0
- package/presets/zcode/nuxt/rules/post-change-lint.md +37 -0
- package/presets/zcode/nuxt/rules/preset-goals.md +31 -0
- package/presets/zcode/nuxt/rules/preset-layering.md +27 -0
- package/presets/zcode/nuxt/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/zcode/nuxt/rules/preset-pr-checklist.md +45 -0
- package/presets/zcode/nuxt/rules/preset-token-budget.md +38 -0
- package/presets/zcode/nuxt/rules/preset-twin-sync.md +41 -0
- package/presets/zcode/nuxt/rules/preset-writing-style.md +42 -0
- package/presets/zcode/nuxt/rules/product-specs-authoring.md +118 -0
- package/presets/zcode/nuxt/rules/product-specs.md +61 -0
- package/presets/zcode/nuxt/rules/public-imports.md +50 -0
- package/presets/zcode/nuxt/rules/reference-features.md +81 -0
- package/presets/zcode/nuxt/rules/script-setup-conventions.md +7 -0
- package/presets/zcode/nuxt/rules/security-nuxt.md +28 -0
- package/presets/zcode/nuxt/rules/store-pinia.md +61 -0
- package/presets/zcode/nuxt/rules/technical-retro.md +13 -0
- package/presets/zcode/nuxt/rules/tests-e2e-structure.md +87 -0
- package/presets/zcode/nuxt/rules/tests-unit.md +82 -0
- package/presets/zcode/nuxt/rules/types-jsdoc.md +40 -0
- package/presets/zcode/nuxt/rules/ux-design.md +103 -0
- package/presets/zcode/nuxt/rules/vue-a11y-coding.md +9 -0
- package/presets/zcode/nuxt/rules/vue-nuxt-anti-hallucination.md +65 -0
- package/presets/zcode/nuxt/rules/vue-ui.md +34 -0
- package/presets/zcode/nuxt/skills/README.md +21 -0
- package/presets/zcode/nuxt/skills/ci-investigation/SKILL.md +50 -0
- package/presets/zcode/nuxt/skills/code-review/SKILL.md +60 -0
- package/presets/zcode/nuxt/skills/debug-investigation/SKILL.md +64 -0
- package/presets/zcode/nuxt/skills/feature-delivery/SKILL.md +52 -0
- package/presets/zcode/nuxt/skills/mockup-review/SKILL.md +34 -0
- package/presets/zcode/nuxt/skills/playwright-e2e/SKILL.md +43 -0
- package/presets/zcode/nuxt/skills/spec-authoring/SKILL.md +31 -0
- package/presets/zcode/nuxt/skills/spec-discovery/SKILL.md +63 -0
- package/presets/zcode/nuxt/skills/technical-retro/SKILL.md +72 -0
- package/presets/zcode/nuxt/skills/unit-testing/SKILL.md +38 -0
- package/presets/zcode/nuxt/skills/ux-design/SKILL.md +41 -0
- package/presets/zcode/nuxt/skills/vue-performance/SKILL.md +58 -0
- package/presets/zcode/nuxt/skills/write-adr/SKILL.md +46 -0
- package/presets/zcode/nuxt/team/README.md +123 -0
- package/presets/zcode/nuxt/team/fixtures/artifact-manifest.example.json +80 -0
- package/presets/zcode/nuxt/team/fixtures/bugfix-standard.json +25 -0
- package/presets/zcode/nuxt/team/fixtures/feature-full.json +62 -0
- package/presets/zcode/nuxt/team/fixtures/feature-light.json +27 -0
- package/presets/zcode/nuxt/team/fixtures/feature-with-figma-url.json +17 -0
- package/presets/zcode/nuxt/team/fixtures/feature-with-ux-no-figma.json +17 -0
- package/presets/zcode/nuxt/team/fixtures/memlog.example.md +9 -0
- package/presets/zcode/nuxt/team/fixtures/metrics-scenarios/tasks/human-gate/metrics.json +69 -0
- package/presets/zcode/nuxt/team/fixtures/metrics-scenarios/tasks/missing-ledger/status.json +5 -0
- package/presets/zcode/nuxt/team/fixtures/metrics-scenarios/tasks/parallel-receipts/metrics.json +79 -0
- package/presets/zcode/nuxt/team/fixtures/metrics-scenarios/tasks/serial-retry/metrics.json +124 -0
- package/presets/zcode/nuxt/team/fixtures/metrics-scenarios/tasks/validation-failed/metrics.json +124 -0
- package/presets/zcode/nuxt/team/fixtures/metrics.example.json +54 -0
- package/presets/zcode/nuxt/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
- package/presets/zcode/nuxt/team/fixtures/mockup-review-standalone.json +14 -0
- package/presets/zcode/nuxt/team/fixtures/ux-design-standalone.json +15 -0
- package/presets/zcode/nuxt/team/tasks/.gitkeep +0 -0
- package/presets/zcode/php-hexagonal/MCP.md +34 -0
- package/presets/zcode/php-hexagonal/README.md +20 -0
- package/presets/zcode/php-hexagonal/REPO_AGENTS.md +99 -0
- package/presets/zcode/php-hexagonal/adapter-map.json +864 -0
- package/presets/zcode/php-hexagonal/agents/README.md +55 -0
- package/presets/zcode/php-hexagonal/agents/api-contract-reviewer.md +47 -0
- package/presets/zcode/php-hexagonal/agents/build-verifier.md +72 -0
- package/presets/zcode/php-hexagonal/agents/ci-investigator.md +66 -0
- package/presets/zcode/php-hexagonal/agents/code-reviewer.md +128 -0
- package/presets/zcode/php-hexagonal/agents/codebase-analyzer.md +49 -0
- package/presets/zcode/php-hexagonal/agents/debugger.md +98 -0
- package/presets/zcode/php-hexagonal/agents/feature-developer.md +144 -0
- package/presets/zcode/php-hexagonal/agents/integration-test-generator.md +46 -0
- package/presets/zcode/php-hexagonal/agents/integration-test-healer.md +46 -0
- package/presets/zcode/php-hexagonal/agents/integration-test-planner.md +48 -0
- package/presets/zcode/php-hexagonal/agents/migration-specialist.md +59 -0
- package/presets/zcode/php-hexagonal/agents/openspec-author.md +185 -0
- package/presets/zcode/php-hexagonal/agents/performance-auditor.md +50 -0
- package/presets/zcode/php-hexagonal/agents/qa-tester.md +53 -0
- package/presets/zcode/php-hexagonal/agents/security-reviewer.md +42 -0
- package/presets/zcode/php-hexagonal/agents/solution-architect.md +56 -0
- package/presets/zcode/php-hexagonal/agents/task-analyst.md +131 -0
- package/presets/zcode/php-hexagonal/agents/task-router.md +179 -0
- package/presets/zcode/php-hexagonal/agents/tech-writer.md +45 -0
- package/presets/zcode/php-hexagonal/agents/unit-test-generator.md +44 -0
- package/presets/zcode/php-hexagonal/agents/unit-test-healer.md +36 -0
- package/presets/zcode/php-hexagonal/agents/unit-test-planner.md +51 -0
- package/presets/zcode/php-hexagonal/ai-local/conventions.md +29 -0
- package/presets/zcode/php-hexagonal/commands/README.md +54 -0
- package/presets/zcode/php-hexagonal/commands/migrate-tasks.md +44 -0
- package/presets/zcode/php-hexagonal/commands/spec-start.md +32 -0
- package/presets/zcode/php-hexagonal/commands/task-continue.md +73 -0
- package/presets/zcode/php-hexagonal/commands/task.md +74 -0
- package/presets/zcode/php-hexagonal/commands/technical-retro.md +96 -0
- package/presets/zcode/php-hexagonal/commands/update.md +43 -0
- package/presets/zcode/php-hexagonal/hooks/README.md +31 -0
- package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +2764 -0
- package/presets/zcode/php-hexagonal/hooks/check-preset-update.mjs +232 -0
- package/presets/zcode/php-hexagonal/hooks/list-ai-local.mjs +299 -0
- package/presets/zcode/php-hexagonal/mcp.json +11 -0
- package/presets/zcode/php-hexagonal/rules/README.md +25 -0
- package/presets/zcode/php-hexagonal/rules/adapters-driven.md +30 -0
- package/presets/zcode/php-hexagonal/rules/adapters-driving.md +30 -0
- package/presets/zcode/php-hexagonal/rules/agent-team-intake.md +18 -0
- package/presets/zcode/php-hexagonal/rules/agent-team-orchestrator.md +282 -0
- package/presets/zcode/php-hexagonal/rules/ai-local-overlay.md +18 -0
- package/presets/zcode/php-hexagonal/rules/anti-hallucination-contract.md +37 -0
- package/presets/zcode/php-hexagonal/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/zcode/php-hexagonal/rules/api-grpc.md +22 -0
- package/presets/zcode/php-hexagonal/rules/api-http.md +28 -0
- package/presets/zcode/php-hexagonal/rules/application-usecases.md +25 -0
- package/presets/zcode/php-hexagonal/rules/architecture-boundaries.md +31 -0
- package/presets/zcode/php-hexagonal/rules/code-quality-and-refactoring.md +78 -0
- package/presets/zcode/php-hexagonal/rules/code-review-mr.md +79 -0
- package/presets/zcode/php-hexagonal/rules/composition-root.md +27 -0
- package/presets/zcode/php-hexagonal/rules/design-guidance.md +105 -0
- package/presets/zcode/php-hexagonal/rules/domain-layer.md +31 -0
- package/presets/zcode/php-hexagonal/rules/feature-delivery-workflow.md +59 -0
- package/presets/zcode/php-hexagonal/rules/interactive-questions.md +29 -0
- package/presets/zcode/php-hexagonal/rules/language-policy.md +51 -0
- package/presets/zcode/php-hexagonal/rules/mcp-usage.md +92 -0
- package/presets/zcode/php-hexagonal/rules/messaging-adapters.md +29 -0
- package/presets/zcode/php-hexagonal/rules/module-public-api.md +24 -0
- package/presets/zcode/php-hexagonal/rules/persistence-adapters.md +25 -0
- package/presets/zcode/php-hexagonal/rules/php-app-core.md +36 -0
- package/presets/zcode/php-hexagonal/rules/php-conventions.md +47 -0
- package/presets/zcode/php-hexagonal/rules/php-hexagonal-anti-hallucination.md +27 -0
- package/presets/zcode/php-hexagonal/rules/php-tooling.md +26 -0
- package/presets/zcode/php-hexagonal/rules/ports-interfaces.md +27 -0
- package/presets/zcode/php-hexagonal/rules/post-change-test.md +20 -0
- package/presets/zcode/php-hexagonal/rules/preset-goals.md +31 -0
- package/presets/zcode/php-hexagonal/rules/preset-layering.md +27 -0
- package/presets/zcode/php-hexagonal/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/zcode/php-hexagonal/rules/preset-pr-checklist.md +45 -0
- package/presets/zcode/php-hexagonal/rules/preset-token-budget.md +38 -0
- package/presets/zcode/php-hexagonal/rules/preset-twin-sync.md +41 -0
- package/presets/zcode/php-hexagonal/rules/preset-writing-style.md +42 -0
- package/presets/zcode/php-hexagonal/rules/product-specs-authoring.md +118 -0
- package/presets/zcode/php-hexagonal/rules/product-specs.md +62 -0
- package/presets/zcode/php-hexagonal/rules/reference-features.md +45 -0
- package/presets/zcode/php-hexagonal/rules/security-php.md +21 -0
- package/presets/zcode/php-hexagonal/rules/technical-retro.md +13 -0
- package/presets/zcode/php-hexagonal/rules/tests-e2e.md +26 -0
- package/presets/zcode/php-hexagonal/rules/tests-integration.md +23 -0
- package/presets/zcode/php-hexagonal/rules/tests-unit.md +25 -0
- package/presets/zcode/php-hexagonal/skills/README.md +5 -0
- package/presets/zcode/php-hexagonal/skills/ci-investigation/SKILL.md +24 -0
- package/presets/zcode/php-hexagonal/skills/code-review/SKILL.md +47 -0
- package/presets/zcode/php-hexagonal/skills/debug-investigation/SKILL.md +55 -0
- package/presets/zcode/php-hexagonal/skills/feature-delivery/SKILL.md +43 -0
- package/presets/zcode/php-hexagonal/skills/integration-testing/SKILL.md +21 -0
- package/presets/zcode/php-hexagonal/skills/spec-authoring/SKILL.md +31 -0
- package/presets/zcode/php-hexagonal/skills/spec-discovery/SKILL.md +63 -0
- package/presets/zcode/php-hexagonal/skills/technical-retro/SKILL.md +72 -0
- package/presets/zcode/php-hexagonal/skills/unit-testing/SKILL.md +20 -0
- package/presets/zcode/php-hexagonal/skills/write-adr/SKILL.md +46 -0
- package/presets/zcode/php-hexagonal/team/README.md +123 -0
- package/presets/zcode/php-hexagonal/team/fixtures/bugfix-standard.json +37 -0
- package/presets/zcode/php-hexagonal/team/fixtures/feature-full.json +61 -0
- package/presets/zcode/php-hexagonal/team/fixtures/feature-light.json +17 -0
- package/presets/zcode/php-hexagonal/team/fixtures/memlog.example.md +9 -0
- package/presets/zcode/php-laravel/MCP.md +26 -0
- package/presets/zcode/php-laravel/README.md +20 -0
- package/presets/zcode/php-laravel/REPO_AGENTS.md +100 -0
- package/presets/zcode/php-laravel/adapter-map.json +864 -0
- package/presets/zcode/php-laravel/agents/README.md +55 -0
- package/presets/zcode/php-laravel/agents/api-contract-reviewer.md +48 -0
- package/presets/zcode/php-laravel/agents/build-verifier.md +72 -0
- package/presets/zcode/php-laravel/agents/ci-investigator.md +66 -0
- package/presets/zcode/php-laravel/agents/code-reviewer.md +128 -0
- package/presets/zcode/php-laravel/agents/codebase-analyzer.md +49 -0
- package/presets/zcode/php-laravel/agents/debugger.md +98 -0
- package/presets/zcode/php-laravel/agents/feature-developer.md +144 -0
- package/presets/zcode/php-laravel/agents/integration-test-generator.md +46 -0
- package/presets/zcode/php-laravel/agents/integration-test-healer.md +46 -0
- package/presets/zcode/php-laravel/agents/integration-test-planner.md +48 -0
- package/presets/zcode/php-laravel/agents/migration-specialist.md +59 -0
- package/presets/zcode/php-laravel/agents/openspec-author.md +185 -0
- package/presets/zcode/php-laravel/agents/performance-auditor.md +50 -0
- package/presets/zcode/php-laravel/agents/qa-tester.md +59 -0
- package/presets/zcode/php-laravel/agents/security-reviewer.md +54 -0
- package/presets/zcode/php-laravel/agents/solution-architect.md +57 -0
- package/presets/zcode/php-laravel/agents/task-analyst.md +131 -0
- package/presets/zcode/php-laravel/agents/task-router.md +195 -0
- package/presets/zcode/php-laravel/agents/tech-writer.md +45 -0
- package/presets/zcode/php-laravel/agents/unit-test-generator.md +44 -0
- package/presets/zcode/php-laravel/agents/unit-test-healer.md +36 -0
- package/presets/zcode/php-laravel/agents/unit-test-planner.md +51 -0
- package/presets/zcode/php-laravel/ai-local/conventions.md +29 -0
- package/presets/zcode/php-laravel/commands/README.md +54 -0
- package/presets/zcode/php-laravel/commands/migrate-tasks.md +44 -0
- package/presets/zcode/php-laravel/commands/spec-start.md +32 -0
- package/presets/zcode/php-laravel/commands/task-continue.md +73 -0
- package/presets/zcode/php-laravel/commands/task.md +74 -0
- package/presets/zcode/php-laravel/commands/technical-retro.md +96 -0
- package/presets/zcode/php-laravel/commands/update.md +43 -0
- package/presets/zcode/php-laravel/hooks/README.md +31 -0
- package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +2764 -0
- package/presets/zcode/php-laravel/hooks/check-preset-update.mjs +232 -0
- package/presets/zcode/php-laravel/hooks/list-ai-local.mjs +299 -0
- package/presets/zcode/php-laravel/mcp.json +11 -0
- package/presets/zcode/php-laravel/rules/README.md +25 -0
- package/presets/zcode/php-laravel/rules/actions-services.md +25 -0
- package/presets/zcode/php-laravel/rules/agent-team-intake.md +18 -0
- package/presets/zcode/php-laravel/rules/agent-team-orchestrator.md +282 -0
- package/presets/zcode/php-laravel/rules/ai-local-overlay.md +18 -0
- package/presets/zcode/php-laravel/rules/anti-hallucination-contract.md +37 -0
- package/presets/zcode/php-laravel/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/zcode/php-laravel/rules/architecture-boundaries.md +32 -0
- package/presets/zcode/php-laravel/rules/code-quality-and-refactoring.md +78 -0
- package/presets/zcode/php-laravel/rules/code-review-mr.md +80 -0
- package/presets/zcode/php-laravel/rules/design-guidance.md +105 -0
- package/presets/zcode/php-laravel/rules/domain-layer.md +19 -0
- package/presets/zcode/php-laravel/rules/eloquent-persistence.md +24 -0
- package/presets/zcode/php-laravel/rules/events-listeners.md +24 -0
- package/presets/zcode/php-laravel/rules/feature-delivery-workflow.md +59 -0
- package/presets/zcode/php-laravel/rules/form-requests.md +24 -0
- package/presets/zcode/php-laravel/rules/http-layer.md +25 -0
- package/presets/zcode/php-laravel/rules/interactive-questions.md +29 -0
- package/presets/zcode/php-laravel/rules/jobs-queues.md +36 -0
- package/presets/zcode/php-laravel/rules/language-policy.md +51 -0
- package/presets/zcode/php-laravel/rules/laravel-anti-hallucination.md +27 -0
- package/presets/zcode/php-laravel/rules/laravel-app-core.md +34 -0
- package/presets/zcode/php-laravel/rules/laravel-conventions.md +34 -0
- package/presets/zcode/php-laravel/rules/mcp-usage.md +92 -0
- package/presets/zcode/php-laravel/rules/module-public-api.md +23 -0
- package/presets/zcode/php-laravel/rules/php-tooling.md +26 -0
- package/presets/zcode/php-laravel/rules/policies-authorization.md +24 -0
- package/presets/zcode/php-laravel/rules/post-change-test.md +20 -0
- package/presets/zcode/php-laravel/rules/preset-goals.md +31 -0
- package/presets/zcode/php-laravel/rules/preset-layering.md +27 -0
- package/presets/zcode/php-laravel/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/zcode/php-laravel/rules/preset-pr-checklist.md +45 -0
- package/presets/zcode/php-laravel/rules/preset-token-budget.md +38 -0
- package/presets/zcode/php-laravel/rules/preset-twin-sync.md +41 -0
- package/presets/zcode/php-laravel/rules/preset-writing-style.md +42 -0
- package/presets/zcode/php-laravel/rules/product-specs-authoring.md +118 -0
- package/presets/zcode/php-laravel/rules/product-specs.md +62 -0
- package/presets/zcode/php-laravel/rules/reference-features.md +45 -0
- package/presets/zcode/php-laravel/rules/routes-api.md +24 -0
- package/presets/zcode/php-laravel/rules/security-php.md +47 -0
- package/presets/zcode/php-laravel/rules/service-providers.md +23 -0
- package/presets/zcode/php-laravel/rules/technical-retro.md +13 -0
- package/presets/zcode/php-laravel/rules/tests-e2e.md +26 -0
- package/presets/zcode/php-laravel/rules/tests-integration.md +23 -0
- package/presets/zcode/php-laravel/rules/tests-unit.md +24 -0
- package/presets/zcode/php-laravel/skills/README.md +5 -0
- package/presets/zcode/php-laravel/skills/ci-investigation/SKILL.md +24 -0
- package/presets/zcode/php-laravel/skills/code-review/SKILL.md +47 -0
- package/presets/zcode/php-laravel/skills/debug-investigation/SKILL.md +55 -0
- package/presets/zcode/php-laravel/skills/feature-delivery/SKILL.md +43 -0
- package/presets/zcode/php-laravel/skills/integration-testing/SKILL.md +21 -0
- package/presets/zcode/php-laravel/skills/spec-authoring/SKILL.md +31 -0
- package/presets/zcode/php-laravel/skills/spec-discovery/SKILL.md +63 -0
- package/presets/zcode/php-laravel/skills/technical-retro/SKILL.md +72 -0
- package/presets/zcode/php-laravel/skills/unit-testing/SKILL.md +20 -0
- package/presets/zcode/php-laravel/skills/write-adr/SKILL.md +46 -0
- package/presets/zcode/php-laravel/team/README.md +123 -0
- package/presets/zcode/php-laravel/team/fixtures/bugfix-standard.json +12 -0
- package/presets/zcode/php-laravel/team/fixtures/feature-full.json +44 -0
- package/presets/zcode/php-laravel/team/fixtures/feature-light.json +8 -0
- package/presets/zcode/php-laravel/team/fixtures/memlog.example.md +9 -0
- package/presets/zcode/platform-contract.json +135 -0
- package/presets/zcode/svelte/MCP.md +36 -0
- package/presets/zcode/svelte/README.md +20 -0
- package/presets/zcode/svelte/REPO_AGENTS.md +101 -0
- package/presets/zcode/svelte/adapter-map.json +1065 -0
- package/presets/zcode/svelte/agents/README.md +107 -0
- package/presets/zcode/svelte/agents/accessibility-reviewer.md +91 -0
- package/presets/zcode/svelte/agents/api-contract-reviewer.md +89 -0
- package/presets/zcode/svelte/agents/build-verifier.md +106 -0
- package/presets/zcode/svelte/agents/ci-investigator.md +109 -0
- package/presets/zcode/svelte/agents/code-reviewer.md +124 -0
- package/presets/zcode/svelte/agents/codebase-analyzer.md +51 -0
- package/presets/zcode/svelte/agents/debugger.md +140 -0
- package/presets/zcode/svelte/agents/feature-developer.md +161 -0
- package/presets/zcode/svelte/agents/migration-specialist.md +97 -0
- package/presets/zcode/svelte/agents/mockup-reviewer.md +83 -0
- package/presets/zcode/svelte/agents/openspec-author.md +187 -0
- package/presets/zcode/svelte/agents/performance-auditor.md +98 -0
- package/presets/zcode/svelte/agents/playwright-test-generator.md +60 -0
- package/presets/zcode/svelte/agents/playwright-test-healer.md +60 -0
- package/presets/zcode/svelte/agents/playwright-test-planner.md +55 -0
- package/presets/zcode/svelte/agents/qa-tester.md +85 -0
- package/presets/zcode/svelte/agents/security-reviewer.md +84 -0
- package/presets/zcode/svelte/agents/solution-architect.md +98 -0
- package/presets/zcode/svelte/agents/task-analyst.md +239 -0
- package/presets/zcode/svelte/agents/task-router.md +226 -0
- package/presets/zcode/svelte/agents/tech-writer.md +87 -0
- package/presets/zcode/svelte/agents/unit-test-generator.md +62 -0
- package/presets/zcode/svelte/agents/unit-test-healer.md +63 -0
- package/presets/zcode/svelte/agents/unit-test-planner.md +87 -0
- package/presets/zcode/svelte/ai-local/conventions.md +29 -0
- package/presets/zcode/svelte/commands/README.md +51 -0
- package/presets/zcode/svelte/commands/migrate-tasks.md +44 -0
- package/presets/zcode/svelte/commands/spec-start.md +32 -0
- package/presets/zcode/svelte/commands/task-continue.md +75 -0
- package/presets/zcode/svelte/commands/task.md +76 -0
- package/presets/zcode/svelte/commands/technical-retro.md +96 -0
- package/presets/zcode/svelte/commands/update.md +43 -0
- package/presets/zcode/svelte/hooks/README.md +31 -0
- package/presets/zcode/svelte/hooks/chain-team-phases.sh +2766 -0
- package/presets/zcode/svelte/hooks/check-preset-update.mjs +232 -0
- package/presets/zcode/svelte/hooks/list-ai-local.mjs +299 -0
- package/presets/zcode/svelte/mcp.json +19 -0
- package/presets/zcode/svelte/rules/README.md +25 -0
- package/presets/zcode/svelte/rules/agent-team-intake.md +14 -0
- package/presets/zcode/svelte/rules/agent-team-orchestrator.md +282 -0
- package/presets/zcode/svelte/rules/ai-local-overlay.md +18 -0
- package/presets/zcode/svelte/rules/anti-hallucination-contract.md +37 -0
- package/presets/zcode/svelte/rules/anti-sycophancy-discipline.md +23 -0
- package/presets/zcode/svelte/rules/api-services.md +39 -0
- package/presets/zcode/svelte/rules/architecture-boundaries-ui.md +9 -0
- package/presets/zcode/svelte/rules/architecture-boundaries.md +54 -0
- package/presets/zcode/svelte/rules/code-quality-and-refactoring.md +76 -0
- package/presets/zcode/svelte/rules/code-review-mr.md +84 -0
- package/presets/zcode/svelte/rules/css-property-order-stylelint.md +14 -0
- package/presets/zcode/svelte/rules/design-guidance.md +104 -0
- package/presets/zcode/svelte/rules/feature-delivery-workflow.md +117 -0
- package/presets/zcode/svelte/rules/http-client.md +10 -0
- package/presets/zcode/svelte/rules/interactive-questions.md +29 -0
- package/presets/zcode/svelte/rules/language-policy.md +51 -0
- package/presets/zcode/svelte/rules/layer-barrel-exports.md +67 -0
- package/presets/zcode/svelte/rules/mcp-usage.md +95 -0
- package/presets/zcode/svelte/rules/mockup-review.md +171 -0
- package/presets/zcode/svelte/rules/navigation-router-stack.md +34 -0
- package/presets/zcode/svelte/rules/navigation-router-ui.md +19 -0
- package/presets/zcode/svelte/rules/no-rest-props-spread.md +26 -0
- package/presets/zcode/svelte/rules/no-type-assertion-as-import-export.md +51 -0
- package/presets/zcode/svelte/rules/package-manager.md +13 -0
- package/presets/zcode/svelte/rules/playwright-agents.md +74 -0
- package/presets/zcode/svelte/rules/post-change-lint.md +37 -0
- package/presets/zcode/svelte/rules/preset-goals.md +31 -0
- package/presets/zcode/svelte/rules/preset-layering.md +27 -0
- package/presets/zcode/svelte/rules/preset-no-cross-stack-leakage.md +89 -0
- package/presets/zcode/svelte/rules/preset-pr-checklist.md +45 -0
- package/presets/zcode/svelte/rules/preset-token-budget.md +38 -0
- package/presets/zcode/svelte/rules/preset-twin-sync.md +41 -0
- package/presets/zcode/svelte/rules/preset-writing-style.md +42 -0
- package/presets/zcode/svelte/rules/product-specs-authoring.md +118 -0
- package/presets/zcode/svelte/rules/product-specs.md +61 -0
- package/presets/zcode/svelte/rules/public-imports.md +32 -0
- package/presets/zcode/svelte/rules/reference-features.md +82 -0
- package/presets/zcode/svelte/rules/security-sveltekit.md +32 -0
- package/presets/zcode/svelte/rules/store-svelte.md +59 -0
- package/presets/zcode/svelte/rules/svelte-a11y-coding.md +21 -0
- package/presets/zcode/svelte/rules/svelte-app-core.md +44 -0
- package/presets/zcode/svelte/rules/svelte-script-conventions.md +27 -0
- package/presets/zcode/svelte/rules/svelte-sveltekit-anti-hallucination.md +66 -0
- package/presets/zcode/svelte/rules/svelte-ui.md +38 -0
- package/presets/zcode/svelte/rules/sveltekit-routing.md +33 -0
- package/presets/zcode/svelte/rules/technical-retro.md +13 -0
- package/presets/zcode/svelte/rules/tests-e2e-structure.md +87 -0
- package/presets/zcode/svelte/rules/tests-unit.md +82 -0
- package/presets/zcode/svelte/rules/types-jsdoc.md +40 -0
- package/presets/zcode/svelte/rules/ux-design.md +103 -0
- package/presets/zcode/svelte/skills/README.md +21 -0
- package/presets/zcode/svelte/skills/ci-investigation/SKILL.md +50 -0
- package/presets/zcode/svelte/skills/code-review/SKILL.md +60 -0
- package/presets/zcode/svelte/skills/debug-investigation/SKILL.md +64 -0
- package/presets/zcode/svelte/skills/feature-delivery/SKILL.md +52 -0
- package/presets/zcode/svelte/skills/mockup-review/SKILL.md +34 -0
- package/presets/zcode/svelte/skills/playwright-e2e/SKILL.md +43 -0
- package/presets/zcode/svelte/skills/spec-authoring/SKILL.md +31 -0
- package/presets/zcode/svelte/skills/spec-discovery/SKILL.md +63 -0
- package/presets/zcode/svelte/skills/svelte-performance/SKILL.md +57 -0
- package/presets/zcode/svelte/skills/technical-retro/SKILL.md +72 -0
- package/presets/zcode/svelte/skills/unit-testing/SKILL.md +38 -0
- package/presets/zcode/svelte/skills/ux-design/SKILL.md +41 -0
- package/presets/zcode/svelte/skills/write-adr/SKILL.md +46 -0
- package/presets/zcode/svelte/team/README.md +123 -0
- package/presets/zcode/svelte/team/fixtures/artifact-manifest.example.json +80 -0
- package/presets/zcode/svelte/team/fixtures/bugfix-standard.json +25 -0
- package/presets/zcode/svelte/team/fixtures/feature-full.json +62 -0
- package/presets/zcode/svelte/team/fixtures/feature-light.json +27 -0
- package/presets/zcode/svelte/team/fixtures/feature-with-figma-url.json +17 -0
- package/presets/zcode/svelte/team/fixtures/feature-with-ux-no-figma.json +17 -0
- package/presets/zcode/svelte/team/fixtures/memlog.example.md +9 -0
- package/presets/zcode/svelte/team/fixtures/metrics-scenarios/tasks/human-gate/metrics.json +69 -0
- package/presets/zcode/svelte/team/fixtures/metrics-scenarios/tasks/missing-ledger/status.json +5 -0
- package/presets/zcode/svelte/team/fixtures/metrics-scenarios/tasks/parallel-receipts/metrics.json +79 -0
- package/presets/zcode/svelte/team/fixtures/metrics-scenarios/tasks/serial-retry/metrics.json +124 -0
- package/presets/zcode/svelte/team/fixtures/metrics-scenarios/tasks/validation-failed/metrics.json +124 -0
- package/presets/zcode/svelte/team/fixtures/metrics.example.json +54 -0
- package/presets/zcode/svelte/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
- package/presets/zcode/svelte/team/fixtures/mockup-review-standalone.json +14 -0
- package/presets/zcode/svelte/team/fixtures/ux-design-standalone.json +15 -0
- package/presets/zcode/svelte/team/tasks/.gitkeep +0 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
<!-- shared-core: review/code-review-mr.md -->
|
|
2
|
+
|
|
3
|
+
# Code review merge requests
|
|
4
|
+
|
|
5
|
+
On-demand rule for review flows. **Procedure and output format:** skill `code-review`.
|
|
6
|
+
|
|
7
|
+
## When to load
|
|
8
|
+
|
|
9
|
+
- User asks for review/MR/diff
|
|
10
|
+
- Pipeline step `code-reviewer`
|
|
11
|
+
- Platform automated review (e.g. BUGBOT) when present
|
|
12
|
+
|
|
13
|
+
## Checklist references (abstract)
|
|
14
|
+
|
|
15
|
+
- Architecture layers and stack core rules
|
|
16
|
+
- Public imports / module boundaries
|
|
17
|
+
- UI conventions of the stack
|
|
18
|
+
- Unit and e2e/UI test conventions
|
|
19
|
+
- Post-change lint/build gate before final report
|
|
20
|
+
- Design smells **in MR diff scope** — load `design-guidance`; do not expand the full Fowler catalog outside the diff
|
|
21
|
+
- Pattern name (GoF) — only if the repository already uses that shape or the match is minimal
|
|
22
|
+
- Principles (KISS / DRY+Ro3 / YAGNI / SOLID / CUPID) — via always-on `code-quality-and-refactoring`, do not duplicate the essay in review
|
|
23
|
+
- **Contract seams** — every frozen external mapping has a named test: sort key ↔ rendered column, command parameter ↔ ingestion call, nullable DTO ↔ UI formatter. A seam that exists only in prose is a finding.
|
|
24
|
+
- **Multi-phase flags** — a CLI or config flag honored by only one phase of a two-phase flow states its scope in the design and has a test; an undocumented partial scope is a finding.
|
|
25
|
+
|
|
26
|
+
Concrete rule stems — in **Stack notes**.
|
|
27
|
+
|
|
28
|
+
## Depth passes
|
|
29
|
+
|
|
30
|
+
A diff-shaped read is a floor, not a review. Run these five passes on every non-trivial review and record each one under `## Depth passes` in the review artifact as exactly one of:
|
|
31
|
+
|
|
32
|
+
- **`finding`** — reported like any other finding, with `path:line`.
|
|
33
|
+
- **`no finding`** — with one line of evidence: what was searched or read.
|
|
34
|
+
- **`unable to run`** — with the reason: the pass does not apply to this diff, or an input is missing.
|
|
35
|
+
|
|
36
|
+
An outcome word alone is not a record: `no finding` without its evidence line, or `unable to run` without its reason, is an unfinished pass.
|
|
37
|
+
|
|
38
|
+
1. **Call-site sweep** — for every changed exported symbol, type, config key, route, or event: grep its consumers outside the diff and check their expectations. A signature change with untouched callers is a finding.
|
|
39
|
+
2. **Invariant check** — name the invariant this change touches, then enumerate at least three failure modes (empty / boundary / repeated or concurrent) per `anti-sycophancy-discipline`. Unnamed invariant = the review is not finished.
|
|
40
|
+
3. **Trust boundary** — which data crosses a trust boundary in this change, and where is it validated. Data reaching storage, logs, HTML, SQL, shell, or an outbound request without an edge check is a finding.
|
|
41
|
+
4. **Test gap** — not "is there a test" but "which behaviour change would still pass every existing test". That gap is the finding.
|
|
42
|
+
5. **Half-life** — what breaks in six months: hidden coupling, implicit contract, missing migration, an unowned copy of the same rule.
|
|
43
|
+
|
|
44
|
+
## Constraints
|
|
45
|
+
|
|
46
|
+
- The diff defines the **change under review**, not the boundary of the review. Follow the change one hop out: call sites, consumers, contracts, migrations, and the tests that already cover the touched path. Do not review unchanged code for its own sake — cite it only as evidence about the change.
|
|
47
|
+
- Use local `git diff` — do not invent hosting metadata.
|
|
48
|
+
- Boy scout rule: suggest fixes feasible within the MR scope.
|
|
49
|
+
- No “big refactors” without an explicit request (`code-quality-and-refactoring`).
|
|
50
|
+
|
|
51
|
+
## Output contract
|
|
52
|
+
|
|
53
|
+
Procedure details live in skill `code-review`. Required shape:
|
|
54
|
+
|
|
55
|
+
- Each finding cites **`path:line`**, the problem, impact, and a concrete fix direction.
|
|
56
|
+
- Each finding states **`confidence: high | medium | low`** and rests on the `path:line` of the code, not of the comment describing it. A `low` finding names the single check that would settle it.
|
|
57
|
+
- Confidence is not a second severity: the verdict and the receipt still map from severity alone. A `blocker` at `low` confidence stands only with that confirming check named.
|
|
58
|
+
- Rank by severity: **`blocker` | `important` | `nit`** (list blocker → nit).
|
|
59
|
+
- Vague («looks risky») is not a finding — cite evidence or ask for surrounding file context.
|
|
60
|
+
- End with a verdict on its own line: **`Safe to merge | needs changes | reject`**.
|
|
61
|
+
- Close with `## Not verified` — what was read shallowly, which pass could not run, which assumption went unchecked. An empty section reads `none`; never omit it.
|
|
62
|
+
|
|
63
|
+
## Verdict and terminal receipt
|
|
64
|
+
|
|
65
|
+
The verdict and the receipt are the same decision expressed twice — never let a fixable defect hide behind "notes".
|
|
66
|
+
|
|
67
|
+
- Any `blocker` or `important` finding (a scale that names `high`/`medium` maps them here) means the MR is **not** mergeable as-is: emit receipt outcome `changes_requested` so the orchestrator runs its existing developer retry, not `completed`.
|
|
68
|
+
- Reserve a notes-only verdict for `nit`/informational items. Reporting a non-cosmetic fixable defect as a note converts it into unplanned out-of-band work and leaves it unrecorded in the run ledger.
|
|
69
|
+
- A divergence between the frozen spec/design and the shipped code is a finding, never a note: cite the spec line and the code line in the same finding.
|
|
70
|
+
- Before freezing a wire contract, confirm the stated behaviour against the repository's existing handler/decoder convention; a spec that contradicts the codebase convention is the same finding class.
|
|
71
|
+
|
|
72
|
+
## Stack notes
|
|
73
|
+
|
|
74
|
+
On-demand rule for review flows. **Procedure and output format:** skill `code-review`.
|
|
75
|
+
|
|
76
|
+
### Checklist references
|
|
77
|
+
|
|
78
|
+
- Architecture layers: `architecture-boundaries.md`, `svelte-app-core.md`; network: `http-client.md`
|
|
79
|
+
- Imports: `public-imports.md`, `layer-barrel-exports.md`
|
|
80
|
+
- UI: `svelte-ui.md`
|
|
81
|
+
- CSS declarations: `css-property-order-stylelint` — no initial or no-op value, integer `px`, drop a property that does not change the used value.
|
|
82
|
+
- Security: `security-sveltekit.md`
|
|
83
|
+
- Tests: `tests-unit.md`, `playwright-agents.md`, `tests-e2e-structure.md`
|
|
84
|
+
- Lint gate before final report: `post-change-lint.md`
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# CSS property order
|
|
2
|
+
|
|
3
|
+
- Follow the repo Stylelint config (property order plugin if present).
|
|
4
|
+
- Applies to plain CSS/SCSS and `<style>` blocks in `.svelte` SFCs.
|
|
5
|
+
- Do not hand-resort entire files unrelated to the task; fix order in touched rulesets.
|
|
6
|
+
- Run via **`post-change-lint`** (`lint:css`).
|
|
7
|
+
|
|
8
|
+
# Declarations
|
|
9
|
+
|
|
10
|
+
- Omit a property set to its initial value, or to the value the element already uses when the declaration is absent (`min-width: 0` on a block, `flex-direction: row`, `position: static`, `opacity: 1`, `font-weight: 400`).
|
|
11
|
+
- Keep a declaration that overrides a non-initial used value. On a flex or grid item, keep `min-width: 0`: it overrides the automatic minimum `auto`.
|
|
12
|
+
- Write every `px` length as an integer. Round a fractional literal to the nearest integer; a tie rounds away from zero (`max-width: 334.667px` → `335px`).
|
|
13
|
+
- After that initial-value pass, check every remaining declaration and delete it when removing it does not change the used value: a longhand already set by a shorthand in the same ruleset, a value already inherited, or a property with no effect in this formatting context.
|
|
14
|
+
- Stylelint order auto-fix does not remove these declarations. Delete them in the edit.
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
<!-- shared-core: quality/design-guidance.md -->
|
|
2
|
+
|
|
3
|
+
# Design guidance (smells & patterns)
|
|
4
|
+
|
|
5
|
+
Glossary of **code smells** (Fowler) and **design patterns** (GoF) for agents during implement / review / debug.
|
|
6
|
+
|
|
7
|
+
Apply only within the task or MR scope. Light refactor — yes; a “big” rewrite without an explicit request — no.
|
|
8
|
+
|
|
9
|
+
Name a pattern **only if** the repository already does it that way or the match is minimal. Otherwise — extract/split/move without a GoF label.
|
|
10
|
+
|
|
11
|
+
Does not replace always-on Principles in `code-quality-and-refactoring` (KISS, DRY + Rule of Three, YAGNI, SOLID, CUPID, composition, Demeter).
|
|
12
|
+
|
|
13
|
+
## When to load
|
|
14
|
+
|
|
15
|
+
- **Feature delivery / implement** — assess module structure, boundaries, and duplication.
|
|
16
|
+
- **Code review** — smells and pattern fit **in the MR diff**, not across the whole repo.
|
|
17
|
+
- **Debug** — root cause looks like wrong abstraction, Feature Envy, Message Chains, Shotgun Surgery.
|
|
18
|
+
- **Light refactor only** — improvements within boy-scout / MR scope; do not expand the task for the catalog.
|
|
19
|
+
|
|
20
|
+
Agents and skills load this stem via one-liner wiring — do not copy this catalog into the agent prompt.
|
|
21
|
+
|
|
22
|
+
## How to use (agent rules of thumb)
|
|
23
|
+
|
|
24
|
+
1. First check against Principles (always-on): is the solution simpler, is there no premature abstraction, is the public API respected.
|
|
25
|
+
2. Then mark smells **in the changed files** of the task/MR; propose a fix only if it fits a light refactor.
|
|
26
|
+
3. A GoF pattern is an optional label after the structure is already clear; do not start design by picking a pattern.
|
|
27
|
+
4. If a smell or pattern conflicts with stack layer boundaries — stack boundaries and existing repo patterns win.
|
|
28
|
+
5. Do not require renaming “for GoF” if behavior is already correct and readable.
|
|
29
|
+
|
|
30
|
+
## Code smells (Fowler, curated ≤12)
|
|
31
|
+
|
|
32
|
+
Table: smell → detect hint → fix hint (one line each). No mechanical refactoring menus.
|
|
33
|
+
|
|
34
|
+
| # | Smell | Detect | Fix hint |
|
|
35
|
+
|---|-------|--------|----------|
|
|
36
|
+
| 1 | Duplicate Code | same logic in ≥2 places | dedupe after Rule of Three |
|
|
37
|
+
| 2 | Long Method / Long Module | unit does too much | extract within scope; no big rewrite |
|
|
38
|
+
| 3 | Feature Envy | method touches foreign data more than its own | move logic toward the data / public API |
|
|
39
|
+
| 4 | Data Clumps | the same argument groups travel together | group into a type / value object |
|
|
40
|
+
| 5 | Primitive Obsession | raw string/int instead of domain concepts | typed ids / value objects when the domain needs them |
|
|
41
|
+
| 6 | Speculative Generality | unused hooks, flags, “for later” abstractions | remove (YAGNI) |
|
|
42
|
+
| 7 | Message Chains | `a.b.c.d` chains | Demeter; facade / module public API |
|
|
43
|
+
| 8 | Middle Man | class almost only forwards calls | remove pass-through **or** keep as a boundary |
|
|
44
|
+
| 9 | Divergent Change | one module changes for different reasons | split by reasons to change |
|
|
45
|
+
| 10 | Shotgun Surgery | one semantic change spreads across many files | consolidate responsibility |
|
|
46
|
+
| 11 | Inappropriate Intimacy | access to foreign internals / private details | public API / ports / facades only |
|
|
47
|
+
| 12 | Refused Bequest / Parallel Inheritance | subtype ignores base; mirrored class hierarchies | composition; do not grow parallel trees |
|
|
48
|
+
|
|
49
|
+
**Skip Fowler (not in core):** Lazy Class, Incomplete Library Class, Comments-as-smell dogma, full 70+ catalog, step-by-step recipe menus.
|
|
50
|
+
|
|
51
|
+
Smell conflict priority: Inappropriate Intimacy and Message Chains (module boundaries) > Duplicate Code (after Rule of Three) > Long Method inside an already correct module.
|
|
52
|
+
|
|
53
|
+
## Design patterns (GoF, curated ≤8)
|
|
54
|
+
|
|
55
|
+
Suggest only when repo already uses the shape or the match is minimal. Prefer extract-function over naming Strategy for the label alone.
|
|
56
|
+
|
|
57
|
+
Patterns below are the **allowed minimum** for agents; the rest of GoF is Skip by default.
|
|
58
|
+
|
|
59
|
+
| Pattern | When to suggest | Anti-trigger |
|
|
60
|
+
|---------|-----------------|--------------|
|
|
61
|
+
| Strategy | interchangeable algorithms already (or clearly soon) chosen by policy | one algorithm with no policy branching |
|
|
62
|
+
| Adapter | wrap external / foreign API under a local port | extra wrapper around your own API |
|
|
63
|
+
| Facade | simplify a multi-step subsystem behind a public API | facade turns into a god-object |
|
|
64
|
+
| Factory Method | polymorphic creation already accepted in repo style | factory for every trivial `new` |
|
|
65
|
+
| Decorator | additive behavior without exploding subclass hierarchies | decorator “for layers” with no real need |
|
|
66
|
+
| Observer | events / subscriptions already exist in the architecture | homemade pub/sub with no repo precedent |
|
|
67
|
+
| Template Method | shared algorithm skeleton + variable hooks | inheritance for a couple of differing lines |
|
|
68
|
+
| Composite | tree of homogeneous nodes (UI/domain), as already in the repo | Composite on a flat list with no hierarchy |
|
|
69
|
+
|
|
70
|
+
If unsure between two patterns — choose the simpler extract/compose without a name; the label may be added on review if the repo already speaks that way.
|
|
71
|
+
|
|
72
|
+
## Skip / avoid by default
|
|
73
|
+
|
|
74
|
+
| Catalog | Skip |
|
|
75
|
+
|---------|------|
|
|
76
|
+
| GoF | Singleton, Abstract Factory, Flyweight, Memento, Interpreter, Visitor, Bridge, Prototype |
|
|
77
|
+
| GoF (conditional) | Command, Chain of Responsibility, State — mention **only if** the repo already uses them |
|
|
78
|
+
| Fowler | everything beyond the 12 smells above |
|
|
79
|
+
| DDD | Aggregates, bounded-context maps, event sourcing, CQRS — **not in core** |
|
|
80
|
+
| DDD (pointer) | ubiquitous language anti-pattern — expand in `feature-delivery-workflow`, not here |
|
|
81
|
+
| GRASP | Larman list as separate rules — skip (covered by SOLID/CUPID) |
|
|
82
|
+
| Clean Code dogma | hard caps on function lines / “exactly one assert” — skip |
|
|
83
|
+
|
|
84
|
+
Do not introduce a second stem (`refactoring-smells` / `design-patterns-for-agents`) — one catalog: `design-guidance`.
|
|
85
|
+
|
|
86
|
+
## Out of scope for this stem
|
|
87
|
+
|
|
88
|
+
- Full GoF (23) and full Fowler catalog.
|
|
89
|
+
- Stack-specific recipes (module paths, lint commands) — only in the adapter **Stack notes**.
|
|
90
|
+
- Security, a11y, perf — separate review rules; here only structural smells/patterns.
|
|
91
|
+
- A fourth always-on rule — forbidden; this stem is requestable / agent-load only.
|
|
92
|
+
|
|
93
|
+
## Cross-refs
|
|
94
|
+
|
|
95
|
+
- Always-on Principles: `code-quality-and-refactoring`.
|
|
96
|
+
- DIP / ports vs adapters: stack `architecture-boundaries` (stack details — in adapter Stack notes).
|
|
97
|
+
- Ubiquitous language: `feature-delivery-workflow` (lineage).
|
|
98
|
+
- MR checklist (smells in scope; pattern name only if repo uses it): `code-review-mr`.
|
|
99
|
+
- Token / twin policy for authors: `preset-token-budget`, `preset-twin-sync` (meta, not consumer always-on).
|
|
100
|
+
|
|
101
|
+
## Stack notes
|
|
102
|
+
|
|
103
|
+
- Prefer hooks/mappers over HOC or new pattern names when the repo already extracts that way.
|
|
104
|
+
- Suggest Strategy/Adapter only when ports or policy branching already exist in `**`.
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
<!-- shared-core: architecture/feature-delivery-workflow.md -->
|
|
2
|
+
|
|
3
|
+
# Feature delivery (end-to-end order)
|
|
4
|
+
|
|
5
|
+
Typical feature with data and UI. Concrete directories and rule stems — in the adapter **Stack notes**.
|
|
6
|
+
|
|
7
|
+
## Checklist (abstract order)
|
|
8
|
+
|
|
9
|
+
1. **Domain / types** — Domain/types-layer entities and contracts; layer public API.
|
|
10
|
+
2. **Transport / DTO** — DTOs and mappers Domain ↔ transport (must not leak into UI).
|
|
11
|
+
3. **Services / Data** — repository / API-service implementations via the stack’s public clients.
|
|
12
|
+
4. **State** — store / ViewModel / use cases; no direct HTTP and no DTOs in UI.
|
|
13
|
+
5. **UI** — thin views/components; data via state; design system. If the prompt or `brief.md` contains a `figma.com` URL, **mockup review must complete** (or the user must continue past FAIL/`BLOCKED_MCP` via `/task-continue`) **before UI work**. When required-signal and **no** `figma.com`, **`ux-design.md` must exist** (not `INCOMPLETE`) before UI work — else blocked, hand back to analyst. Non-UI tasks no-op these gates. When a mockup contract exists for the WP, the UI step consumes it (per-node spec = the binding baseline) and a post-implementation verification gate runs against it (scope per `mockup-review` § Post-implementation gate) — screenshot / value / state / structural-parity diff plus a freeze re-check; unmapped implemented components are findings, not silent additions.
|
|
14
|
+
6. **Tests** — unit for mappers / non-trivial logic; e2e/UI per stack convention.
|
|
15
|
+
7. **Completion** — stack post-change gate (lint/build) + package/toolchain rules. When the current WP spans **more than one** layer or module, `implementation.md` includes a **Code Map** (3–8 annotated repo-relative paths) and **Suggested Review Order** (`concern | path:line | ≤15 word note`). Omit both for a single-file or single-layer WP.
|
|
16
|
+
|
|
17
|
+
## Iterative refinement loop
|
|
18
|
+
|
|
19
|
+
Every stage runs the named loop **draft → evaluate against named criteria → refine**:
|
|
20
|
+
|
|
21
|
+
- **Draft** the artifact (or work package) for the stage.
|
|
22
|
+
- **Evaluate** it against the stage's "done when" / exit criteria with the **named oracle** — a structural gate, a reviewer parity check, a test suite, or a human approval.
|
|
23
|
+
- **Refine** and re-evaluate until the oracle passes or the human re-scopes; loop back to the owning task, never forward past a failed oracle.
|
|
24
|
+
|
|
25
|
+
**Exit criteria:** a layer or stage is complete only when its named criteria hold (mapper tests green, parity check passes, gate output clean). Do not advance to the next checklist step while the current step's oracle fails; a repeatedly failing oracle triggers **plan revision**.
|
|
26
|
+
|
|
27
|
+
## Data flow (orientation)
|
|
28
|
+
|
|
29
|
+
```mermaid
|
|
30
|
+
flowchart LR
|
|
31
|
+
DTO[DTO] --> Mappers[Mappers]
|
|
32
|
+
Mappers --> Domain[Domain]
|
|
33
|
+
Domain --> Service[Service / Repo]
|
|
34
|
+
Service --> State[Store / VM]
|
|
35
|
+
State --> UI[UI]
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Partial scenarios
|
|
39
|
+
|
|
40
|
+
| Task | Minimum |
|
|
41
|
+
|------|---------|
|
|
42
|
+
| API / model only | Domain + DTO + mapper + service/repo; unit for mapper |
|
|
43
|
+
| State only | Protocols/services; no HTTP in UI |
|
|
44
|
+
| UI only | Existing state; no DTOs |
|
|
45
|
+
| Tests only | Specs per convention; do not change production without need |
|
|
46
|
+
|
|
47
|
+
## Anti-patterns (shared)
|
|
48
|
+
|
|
49
|
+
- DTO / transport types in UI or presentation state.
|
|
50
|
+
- Low-level HTTP / concrete client from UI bypassing the service.
|
|
51
|
+
- Deep-import of another module/feature’s internal files.
|
|
52
|
+
- Breaking layer boundaries for brevity.
|
|
53
|
+
- **Ubiquitous language:** Domain/type names and boundaries reflect the feature’s subject domain — do not mix transport/framework terms into the domain without need; presentation must not dictate the model vocabulary.
|
|
54
|
+
- When assessing structure, smells, or pattern choice — load requestable **`design-guidance`** (not always-on); do not copy the catalog into the feature checklist.
|
|
55
|
+
- 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`.
|
|
56
|
+
|
|
57
|
+
## Zone → rules matrix
|
|
58
|
+
|
|
59
|
+
Filled in the stack adapter: concrete globs/paths and `.mdc` / topic `.md` names.
|
|
60
|
+
|
|
61
|
+
## Stack notes
|
|
62
|
+
|
|
63
|
+
When the prompt or `brief.md` contains a `figma.com` URL, **mockup review** (`mockup-reviewer` / skill `mockup-review`) must complete — or the user must continue past FAIL/`BLOCKED_MCP` via `/task-continue` — **before UI implementation**. Non-UI tasks no-op this gate. When required-signal and **no** `figma.com`, **`ux-design.md`** (on the analysis manifest entry) must exist and not be `INCOMPLETE` before UI work — else **blocked**, hand back to `task-analyst`. Parallel to the mockup gate.
|
|
64
|
+
|
|
65
|
+
Typical feature with backend data and shared state. Layer details — `architecture-boundaries.md`, `svelte-app-core.md`.
|
|
66
|
+
|
|
67
|
+
Canonical paths: `src/routes/**`, `src/lib/{components,stores,api,clients,types}/**`, `tests/e2e/**`. Aliases: `$lib` preferred; `@/` if configured. State: `store-svelte` (runes primary; legacy stores secondary).
|
|
68
|
+
|
|
69
|
+
## Checklist (work order)
|
|
70
|
+
|
|
71
|
+
1. **Domain types** — `src/lib/types/**`, barrel (`public-imports`, `layer-barrel-exports`); JSDoc — `types-jsdoc`.
|
|
72
|
+
2. **API contract** — DTOs where the repo uses them; domain types in `$lib/types`.
|
|
73
|
+
3. **Mappers** — DTO → domain in `*responseMappers.ts` (`api-services`).
|
|
74
|
+
4. **Services** — clients `src/lib/clients/**`, barrel `$lib/api` (`api-services`, `http-client`). No `fetch` from UI/store.
|
|
75
|
+
5. **State** — `src/lib/stores/**` / runes (`store-svelte`); actions → `$lib/api`. **Not** RTK / Pinia.
|
|
76
|
+
6. **UI** — `src/routes/**`, `src/lib/components/**`; data via store / facades / `load`.
|
|
77
|
+
7. **Unit** — colocated `*.spec.ts` (Vitest + Testing Library Svelte).
|
|
78
|
+
8. **E2E** — `tests/e2e/<Area>/<plan>.cases.md` + `*.spec.ts`.
|
|
79
|
+
9. **Gate** — `post-change-lint`: `lint:js`, `lint:css`, `check`. 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.
|
|
80
|
+
|
|
81
|
+
## Partial scenarios
|
|
82
|
+
|
|
83
|
+
| Task | Minimum |
|
|
84
|
+
|------|---------|
|
|
85
|
+
| API + types only | Types, service, mappers, `$lib/api` barrel; unit for mapper. |
|
|
86
|
+
| Store only | Store/runes actions on `$lib/api`. |
|
|
87
|
+
| UI only | Store/`load` data; no HTTP/DTO. |
|
|
88
|
+
| E2E only | `*.cases.md` + spec; page object. |
|
|
89
|
+
|
|
90
|
+
## Anti-patterns
|
|
91
|
+
|
|
92
|
+
- DTO in UI or untyped store.
|
|
93
|
+
- HTTP from a component / store bypassing the service.
|
|
94
|
+
- Deep-import `$lib/api/services/**` from UI/store.
|
|
95
|
+
- `{...props}` / `$$restProps` without discipline — `no-rest-props-spread`.
|
|
96
|
+
- RTK / Pinia / Vue / Nuxt APIs as defaults.
|
|
97
|
+
- Load `design-guidance` when assessing structure / smells.
|
|
98
|
+
- 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`.
|
|
99
|
+
|
|
100
|
+
## Zone → rules matrix
|
|
101
|
+
|
|
102
|
+
| Zone | Rules |
|
|
103
|
+
|------|-------|
|
|
104
|
+
| `src/lib/clients/**` | `http-client`, `tests-unit` |
|
|
105
|
+
| `src/lib/api/**` | `api-services`, `layer-barrel-exports`, `http-client` |
|
|
106
|
+
| `src/lib/stores/**` | `store-svelte`, `architecture-boundaries`, `public-imports` |
|
|
107
|
+
| `src/lib/components/**`, `src/routes/**` | `svelte-ui`, `no-rest-props-spread`, `public-imports` |
|
|
108
|
+
| `src/lib/types/**` | `public-imports`, `types-jsdoc`, `layer-barrel-exports` |
|
|
109
|
+
| `tests/e2e/**` | `tests-e2e-structure`, `playwright-agents` |
|
|
110
|
+
|
|
111
|
+
## Iterative refinement loop
|
|
112
|
+
|
|
113
|
+
Every stage runs the named loop **draft → evaluate against named criteria → refine** with a named oracle (structural gate, reviewer parity check, test suite, or human approval). **Exit criteria:** a layer or stage is complete only when its named criteria hold; do not advance past a failing oracle. A repeatedly failing oracle triggers **plan revision**.
|
|
114
|
+
|
|
115
|
+
## Related
|
|
116
|
+
|
|
117
|
+
- Product behavior discovery: requestable **`product-specs`** (`docs/specs/INDEX.md`) — do not paste the discovery algorithm here.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# HTTP client
|
|
2
|
+
|
|
3
|
+
- One HTTP stack for the app: wrap **`fetch`** (or the shared client already in `src/lib/clients/**`).
|
|
4
|
+
- Do not mix ad-hoc `axios`/`ky` in features if a shared client exists.
|
|
5
|
+
- Services in `src/lib/api/**` call the wrapper — UI/stores do not own transport.
|
|
6
|
+
- In `load` / form actions, prefer the provided `event.fetch` for same-origin SSR cookie forwarding when calling own endpoints.
|
|
7
|
+
- Map responses to domain models in services/mappers before stores/runes.
|
|
8
|
+
- Errors: use project transport error types from `$lib/types`; narrow with `instanceof` when available.
|
|
9
|
+
- Base URL / auth: from `$env/*` / existing client factories — do not hardcode secrets.
|
|
10
|
+
- Calling relative `/api/*` (`+server.ts` BFF) from the client is fine when that is the repo pattern — still through services.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!-- shared-core: quality/interactive-questions.md -->
|
|
2
|
+
|
|
3
|
+
# Interactive questions (requestable)
|
|
4
|
+
|
|
5
|
+
How to put a user-only decision to the user. Load when the answer blocks the work and the host offers an interactive question tool. The always-on quality rule keeps the short preference; this file carries the full contract.
|
|
6
|
+
|
|
7
|
+
## When to ask
|
|
8
|
+
|
|
9
|
+
1. **Interactive first.** Ask through the host's interactive question tool and structure the question for that tool. Plain prose is the fallback for a host without one, a headless run, or an answer that cannot be enumerated.
|
|
10
|
+
2. **One decision per question.** Independent decisions go into separate entries so the host walks them as steps.
|
|
11
|
+
3. **Ask before the dependent work.** Never a screening question per option, and never a question the repository already answers.
|
|
12
|
+
|
|
13
|
+
## Widget format
|
|
14
|
+
|
|
15
|
+
4. **Header** → a short label. Stay inside the host schema's length limit.
|
|
16
|
+
5. **Option label** → a few words, in the user's terms, inside the host schema's label limit.
|
|
17
|
+
6. **Option description** → the consequence or the trade-off, not a restatement of the label.
|
|
18
|
+
7. **Option count** → the host schema's range. Put the option you recommend first and justify it in its description; do not pad the list with options you cannot defend.
|
|
19
|
+
8. **Multi-select** only when the choices are not mutually exclusive. A free-form entry the host adds itself does not count toward the range.
|
|
20
|
+
|
|
21
|
+
## Free-form is a property of the host
|
|
22
|
+
|
|
23
|
+
9. Use the host's free-form channel. When that channel already accepts typed text, do not add an option labeled "Other": a plain option returns its label, and the typed text belongs in the host's free-form field.
|
|
24
|
+
10. A host with no free-form channel (an enum that returns only the selected label, a headless run) needs an explicit "Other" whose selection opens a text prompt — or prose when the answer cannot be enumerated.
|
|
25
|
+
|
|
26
|
+
## Fallback
|
|
27
|
+
|
|
28
|
+
11. **Prose.** With no question tool, ask in plain language with the same shape: the decision, the options, and the trade-off each option carries. One decision per message.
|
|
29
|
+
12. **Do not block.** When the answer is not needed for the next step, state the assumption, continue, and name what a different answer would change.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<!-- shared-core: agent-team/language-policy.md -->
|
|
2
|
+
|
|
3
|
+
# Language policy
|
|
4
|
+
|
|
5
|
+
Behavior contract for **every agent in any consumer repo** — stack-agnostic. Not a
|
|
6
|
+
preset-authoring meta rule. Resolve the dialogue language on every user message from the
|
|
7
|
+
always-on surfaces (`ai-local-overlay`, the stack app-core, root `AGENTS.md`). This file
|
|
8
|
+
is the detailed reference. A slash command does not gate resolution.
|
|
9
|
+
|
|
10
|
+
## Two halves (mandatory)
|
|
11
|
+
|
|
12
|
+
1. **Development and reasoning are English.** Thinking, planning, code, identifiers, comments, commits,
|
|
13
|
+
hooks, and **all artifacts** (`brief.md`, `decomposition.md`, `architecture.md`, `implementation.md`,
|
|
14
|
+
`review.md`, `validation-report.md`, plan/receipts, preset prose) are written in English. Never translate
|
|
15
|
+
code, identifiers, logs, or artifacts.
|
|
16
|
+
2. **Every user-facing interaction is in the user's native language.** Clarifying questions, plan /
|
|
17
|
+
human-gate prompts, `/task-continue` prompts, status answers, plan/progress summaries, and error
|
|
18
|
+
escalations are written in the resolved language. Every such message — a question, a one-liner, or a
|
|
19
|
+
slash command — no exception.
|
|
20
|
+
|
|
21
|
+
## Resolution (every user message)
|
|
22
|
+
|
|
23
|
+
Resolve on every user message, before you answer. Do not wait for `/task`, `/update`, or any other
|
|
24
|
+
command. Those commands reuse the language this step already resolved.
|
|
25
|
+
|
|
26
|
+
1. **Active task tag** — when a task is in progress, the `language:` value already stored in that task's
|
|
27
|
+
`prompt.md`.
|
|
28
|
+
2. **Explicit `.ai.local` setting** — the `## Language` section of `.ai.local/conventions.md`. The
|
|
29
|
+
**nearest** `.ai.local` wins in a monorepo.
|
|
30
|
+
3. Otherwise **infer from the prompt language**. A mixed-language prompt uses the **dominant** language of
|
|
31
|
+
the request.
|
|
32
|
+
4. Otherwise **English** (English-only / ambiguous prompt).
|
|
33
|
+
|
|
34
|
+
The `.ai.local` setting **wins over** a later prompt in another language. On a disagreement, follow the
|
|
35
|
+
setting and surface the mismatch **once in one sentence** — never block, and **never ask a
|
|
36
|
+
language-confirmation question**. A message with no task still resolves on this turn.
|
|
37
|
+
|
|
38
|
+
## Per-task persistence
|
|
39
|
+
|
|
40
|
+
When a task artifact is created, record the language already resolved above and reuse it for the whole
|
|
41
|
+
task — every pipeline agent and every `/task-continue`. Persist the BCP-47 tag in the `prompt.md` header
|
|
42
|
+
(`language: <BCP-47>`) and an append-only `.memlog.md` `event:` checkpoint. A later correction is an
|
|
43
|
+
append-only memlog event (the fenced verbatim block is frozen). Never store it in `status.json`,
|
|
44
|
+
`metrics.json`, or an `artifacts[]` body.
|
|
45
|
+
|
|
46
|
+
## See also
|
|
47
|
+
|
|
48
|
+
- `ai-local-overlay` — always-on; resolves the language on every user message.
|
|
49
|
+
- `agent-team-intake` — persists the already-resolved language when a work request starts.
|
|
50
|
+
- `agent-team-orchestrator` — carries the resolved language across steps.
|
|
51
|
+
- `agent-artifact-contracts` — the `prompt.md` header contract.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Barrel exports for layers with a public API
|
|
2
|
+
|
|
3
|
+
## When to apply
|
|
4
|
+
|
|
5
|
+
For **any layer** (directory, package, bounded context) that has:
|
|
6
|
+
|
|
7
|
+
- a **root barrel** — single import point for external consumers;
|
|
8
|
+
- deep imports into the layer **forbidden** from outside (ESLint `no-restricted-imports`, `public-imports.md` rules).
|
|
9
|
+
|
|
10
|
+
Example alias/entry points across projects: `@/api`, `@/types`, `@/core`, `@/store`, `packages/foo`.
|
|
11
|
+
|
|
12
|
+
## Two barrel levels
|
|
13
|
+
|
|
14
|
+
1. **Local** — `index.ts` of a module/feature inside the layer.
|
|
15
|
+
2. **Root public API** — layer barrel (e.g. `src/<layer>/index.ts`).
|
|
16
|
+
|
|
17
|
+
**Inside** the layer — relative imports and paths between submodules. **Outside** — only the root barrel and **explicitly allowed** secondary entry points (if fixed in project rules, e.g. `@/types/enums`).
|
|
18
|
+
|
|
19
|
+
## What to re-export outward
|
|
20
|
+
|
|
21
|
+
Only symbols that **must be available** to layer consumers: public functions/services/facades, contract types, constants and helpers needed by other layers or tests.
|
|
22
|
+
|
|
23
|
+
**Do not re-export:** internal adapters, mappers, transport details, intermediate objects used to assemble a facade inside the layer.
|
|
24
|
+
|
|
25
|
+
Grouping in the root barrel — **per repository convention** (orient on neighboring modules of the same layer).
|
|
26
|
+
|
|
27
|
+
## Agent checklist (required)
|
|
28
|
+
|
|
29
|
+
When adding or substantially extending a **module inside a regulated layer**:
|
|
30
|
+
|
|
31
|
+
1. Identify the layer, its **root barrel**, and extra entry points (`public-imports.md`).
|
|
32
|
+
2. Create/update the **local** `index.ts` — public symbols only.
|
|
33
|
+
3. If the layer has a **facade/aggregator** (`*ApiService.ts`, `rootReducer`, …) — wire the module there.
|
|
34
|
+
4. Add a **re-export** of new public symbols in the layer’s **root barrel**.
|
|
35
|
+
5. **Verify:** grep for the symbol name or path `./<Module>` in the root barrel; no deep imports from outside the layer.
|
|
36
|
+
|
|
37
|
+
The module is **not ready** until the checklist passes.
|
|
38
|
+
|
|
39
|
+
## How to find regulated layers in the repository
|
|
40
|
+
|
|
41
|
+
1. `public-imports.md` rules in `.zcode/rules/`.
|
|
42
|
+
2. ESLint `no-restricted-imports` — `@/<layer>/*` patterns with barrel exception.
|
|
43
|
+
3. `architecture-boundaries.md`, project README.
|
|
44
|
+
|
|
45
|
+
## In this repository
|
|
46
|
+
|
|
47
|
+
| Layer | Root barrel | Import rule |
|
|
48
|
+
|-------|-------------|-------------|
|
|
49
|
+
| API | `api/index.ts` | `public-imports.md` |
|
|
50
|
+
| Types | `types/index.ts` | `public-imports.md` (+ `@/types/enums`) |
|
|
51
|
+
| Core | `core/index.ts` | ESLint: `@/core/index` |
|
|
52
|
+
|
|
53
|
+
Two-level illustration (API): local `services/.../<Feature>/index.ts` → facade `*ApiService.ts` → `api/index.ts`.
|
|
54
|
+
## Incorrect
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
// api/index.ts — leaking internals
|
|
58
|
+
export { mapCardResponse } from './services/CardsApi/cardResponseMappers'
|
|
59
|
+
export { rawCardsClient } from './clients/rawCardsClient'
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Correct
|
|
63
|
+
|
|
64
|
+
```ts
|
|
65
|
+
// api/index.ts — public facade only
|
|
66
|
+
export { cardsApi } from './services/CardsApi'
|
|
67
|
+
```
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
<!-- shared-core: quality/mcp-usage.md -->
|
|
2
|
+
|
|
3
|
+
# MCP usage
|
|
4
|
+
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
Does not replace Figma mockup-review (that checklist stays on `mockup-review`). Does not add pipeline agents or required handoff stems.
|
|
8
|
+
|
|
9
|
+
## Presence (runtime catalog is SoT)
|
|
10
|
+
|
|
11
|
+
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).
|
|
12
|
+
2. Treat `error`, `needsAuth`, and `loading` as **unavailable**. Authenticate only when this task needs that server.
|
|
13
|
+
3. **Discover tool schemas before calling.** Never invent tool names or arguments from memory.
|
|
14
|
+
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.
|
|
15
|
+
5. If two servers expose the same product (plugin + project entry), use the **ready** one; do not call both.
|
|
16
|
+
|
|
17
|
+
## Classes
|
|
18
|
+
|
|
19
|
+
| Class | Who adds it | Policy |
|
|
20
|
+
|-------|-------------|--------|
|
|
21
|
+
| **Shipped** | Preset `mcp.json` | Assume it should be there; call when the task fits; degrade if down (do not block unless noted below) |
|
|
22
|
+
| **Local overlay** | Consumer project or user MCP | Use only when present **and** the task fits. Never a required pipeline step |
|
|
23
|
+
|
|
24
|
+
Shipped in every preset: **Context7** (library docs). Other shipped servers are stack-specific — see adapter **Stack notes**.
|
|
25
|
+
|
|
26
|
+
## Context7 (shipped)
|
|
27
|
+
|
|
28
|
+
**When to call** (after lockfile / manifest + sibling files still do not confirm the symbol):
|
|
29
|
+
|
|
30
|
+
- Third-party API that would otherwise get `// VERIFY: lib.symbol @ version`
|
|
31
|
+
- Version-sensitive framework or SDK APIs
|
|
32
|
+
- Migrations / major upgrades
|
|
33
|
+
- Library is in the lockfile but the signature is unclear
|
|
34
|
+
|
|
35
|
+
**When not to call:** repo public API; a sibling file already imports the symbol; a trivial call already in this module.
|
|
36
|
+
|
|
37
|
+
**Flow:**
|
|
38
|
+
|
|
39
|
+
1. Discover server `context7`.
|
|
40
|
+
2. Resolve a library id, then query docs (read the live schema; typical names `resolve-library-id` then `query-docs`).
|
|
41
|
+
3. Put the **installed major** from the project manifest into the query.
|
|
42
|
+
4. Cap: **≤3 doc queries per question**.
|
|
43
|
+
5. Source priority: lockfile / sibling code **>** Context7 **>** training data. If docs disagree with the installed major, keep the installed API.
|
|
44
|
+
6. If Context7 is down: `// VERIFY` (or stack equivalent) and say MCP was unavailable. **Do not block** the task.
|
|
45
|
+
|
|
46
|
+
## Local overlay protocol
|
|
47
|
+
|
|
48
|
+
If a matching server is ready and a **task signal** fires → discover and use. Otherwise continue from files / native tools (`gh`, repo docs, source).
|
|
49
|
+
|
|
50
|
+
Absence of an overlay is **not** `BLOCKED` unless the user required that MCP as source of truth.
|
|
51
|
+
|
|
52
|
+
### Observability (Sentry, Datadog, similar)
|
|
53
|
+
|
|
54
|
+
**Signal:** production error, event/trace id, APM / latency, pasted dashboard or issue URL.
|
|
55
|
+
|
|
56
|
+
Use the **first ready** observability MCP. Do not invent metrics or stack traces. Do not require two observability servers.
|
|
57
|
+
|
|
58
|
+
### Tickets (Linear, Jira, Notion, similar)
|
|
59
|
+
|
|
60
|
+
**Signal:** ticket/page URL in the prompt or brief, or an explicit “pull from \<tracker\>”.
|
|
61
|
+
|
|
62
|
+
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.
|
|
63
|
+
|
|
64
|
+
### Component-library overlay
|
|
65
|
+
|
|
66
|
+
**Signal:** UI component public API, stories, controls, or explicit component-docs MCP.
|
|
67
|
+
|
|
68
|
+
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.
|
|
69
|
+
|
|
70
|
+
Usual aliases and runtime needs live in frontend **Stack notes**. Do not ship this server in preset `mcp.json`.
|
|
71
|
+
|
|
72
|
+
### GitHub MCP
|
|
73
|
+
|
|
74
|
+
Native `gh` / git remain SoT for PRs and checks. A GitHub MCP may be used when present; do not require it.
|
|
75
|
+
|
|
76
|
+
## Figma
|
|
77
|
+
|
|
78
|
+
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.
|
|
79
|
+
|
|
80
|
+
## Forbidden
|
|
81
|
+
|
|
82
|
+
- Secrets in `mcp.json` / `.mcp.json`
|
|
83
|
+
- New pipeline agents or required handoffs for overlay MCP
|
|
84
|
+
- Treating overlay absence as blocked (except user-required SoT)
|
|
85
|
+
- Tracker/admin write tools without an explicit ask
|
|
86
|
+
- Calling overlay MCP “just in case” on unrelated tasks
|
|
87
|
+
|
|
88
|
+
## Stack notes
|
|
89
|
+
|
|
90
|
+
- Pipeline **`mockup-reviewer`** is the only agent that reads Figma for mockup review. See `mockup-review`.
|
|
91
|
+
- Shipped besides Context7: browser automation MCP (`playwright` / `playwright-test` / `user-playwright`) and `chrome-devtools`.
|
|
92
|
+
- **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.
|
|
93
|
+
- **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.
|
|
94
|
+
- `init` **merges** `mcpServers`: preset keys update; extra local servers are kept. User-level MCP is never touched.
|
|
95
|
+
- If a Figma plugin is already connected, do not also require the project `figma` server.
|