nitm-ai-dev-toolkit 3.0.15
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 +109 -0
- package/LICENSE +21 -0
- package/README.md +881 -0
- package/bin/cli.js +398 -0
- package/package.json +41 -0
- package/src/monorepo/.agents/rules/ponytail.md +3 -0
- package/src/monorepo/.agents/skills/acli/SKILL.md +424 -0
- package/src/monorepo/.agents/skills/bkt-cli/SKILL.md +374 -0
- package/src/monorepo/.agents/skills/brainstorming/SKILL.md +54 -0
- package/src/monorepo/.agents/skills/code-simplifier/SKILL.md +109 -0
- package/src/monorepo/.agents/skills/debugger/SKILL.md +123 -0
- package/src/monorepo/.agents/skills/dispatching-parallel-agents/SKILL.md +206 -0
- package/src/monorepo/.agents/skills/executing-plans/SKILL.md +76 -0
- package/src/monorepo/.agents/skills/finishing-a-development-branch/SKILL.md +200 -0
- package/src/monorepo/.agents/skills/gh-cli/SKILL.md +461 -0
- package/src/monorepo/.agents/skills/glab-cli/SKILL.md +468 -0
- package/src/monorepo/.agents/skills/issue-tracker/SKILL.md +119 -0
- package/src/monorepo/.agents/skills/linear-cli/SKILL.md +276 -0
- package/src/monorepo/.agents/skills/logging/SKILL.md +393 -0
- package/src/monorepo/.agents/skills/orient-to-recent-work/SKILL.md +43 -0
- package/src/monorepo/.agents/skills/ponytail/SKILL.md +101 -0
- package/src/monorepo/.agents/skills/ponytail-audit/SKILL.md +41 -0
- package/src/monorepo/.agents/skills/ponytail-debt/SKILL.md +44 -0
- package/src/monorepo/.agents/skills/ponytail-gain/SKILL.md +51 -0
- package/src/monorepo/.agents/skills/ponytail-help/SKILL.md +74 -0
- package/src/monorepo/.agents/skills/ponytail-review/SKILL.md +57 -0
- package/src/monorepo/.agents/skills/project-documentation/SKILL.md +425 -0
- package/src/monorepo/.agents/skills/receiving-code-review/SKILL.md +213 -0
- package/src/monorepo/.agents/skills/requesting-code-review/SKILL.md +105 -0
- package/src/monorepo/.agents/skills/requesting-code-review/code-reviewer.md +146 -0
- package/src/monorepo/.agents/skills/security-reviewer/SKILL.md +144 -0
- package/src/monorepo/.agents/skills/subagent-driven-development/SKILL.md +279 -0
- package/src/monorepo/.agents/skills/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
- package/src/monorepo/.agents/skills/subagent-driven-development/implementer-prompt.md +78 -0
- package/src/monorepo/.agents/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/src/monorepo/.agents/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/src/monorepo/.agents/skills/systematic-debugging/SKILL.md +296 -0
- package/src/monorepo/.agents/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/src/monorepo/.agents/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/src/monorepo/.agents/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/src/monorepo/.agents/skills/systematic-debugging/find-polluter.sh +63 -0
- package/src/monorepo/.agents/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/src/monorepo/.agents/skills/systematic-debugging/test-academic.md +14 -0
- package/src/monorepo/.agents/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/src/monorepo/.agents/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/src/monorepo/.agents/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/src/monorepo/.agents/skills/test-driven-development/SKILL.md +371 -0
- package/src/monorepo/.agents/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/src/monorepo/.agents/skills/using-git-worktrees/SKILL.md +291 -0
- package/src/monorepo/.agents/skills/using-superpowers/SKILL.md +87 -0
- package/src/monorepo/.agents/skills/verification-before-completion/SKILL.md +148 -0
- package/src/monorepo/.agents/skills/writing-plans/SKILL.md +116 -0
- package/src/monorepo/.agents/skills/writing-skills/SKILL.md +655 -0
- package/src/monorepo/.agents/skills/writing-skills/anthropic-best-practices.md +1150 -0
- package/src/monorepo/.agents/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
- package/src/monorepo/.agents/skills/writing-skills/graphviz-conventions.dot +172 -0
- package/src/monorepo/.agents/skills/writing-skills/persuasion-principles.md +187 -0
- package/src/monorepo/.agents/skills/writing-skills/render-graphs.js +168 -0
- package/src/monorepo/.agents/skills/writing-skills/testing-skills-with-subagents.md +384 -0
- package/src/monorepo/.claude/agents/admin-portal.agent.md +11 -0
- package/src/monorepo/.claude/agents/api-specialist.agent.md +11 -0
- package/src/monorepo/.claude/agents/backend-architect.agent.md +11 -0
- package/src/monorepo/.claude/agents/documenter.agent.md +11 -0
- package/src/monorepo/.claude/agents/feature-builder.agent.md +23 -0
- package/src/monorepo/.claude/agents/frontend-developer.agent.md +11 -0
- package/src/monorepo/.claude/agents/green.agent.md +12 -0
- package/src/monorepo/.claude/agents/implementer.agent.md +12 -0
- package/src/monorepo/.claude/agents/planner.agent.md +12 -0
- package/src/monorepo/.claude/agents/red.agent.md +12 -0
- package/src/monorepo/.claude/agents/refactor.agent.md +12 -0
- package/src/monorepo/.claude/agents/researcher.agent.md +12 -0
- package/src/monorepo/.claude/agents/reviewer.agent.md +11 -0
- package/src/monorepo/.claude/agents/tdd.agent.md +12 -0
- package/src/monorepo/.claude/agents-snippets/admin-portal.md +90 -0
- package/src/monorepo/.claude/agents-snippets/api-specialist.md +57 -0
- package/src/monorepo/.claude/agents-snippets/backend-architect.md +49 -0
- package/src/monorepo/.claude/agents-snippets/documenter.md +58 -0
- package/src/monorepo/.claude/agents-snippets/feature-builder.md +49 -0
- package/src/monorepo/.claude/agents-snippets/frontend-developer.md +49 -0
- package/src/monorepo/.claude/agents-snippets/green.md +18 -0
- package/src/monorepo/.claude/agents-snippets/implementer.md +31 -0
- package/src/monorepo/.claude/agents-snippets/planner.md +40 -0
- package/src/monorepo/.claude/agents-snippets/red.md +14 -0
- package/src/monorepo/.claude/agents-snippets/refactor.md +22 -0
- package/src/monorepo/.claude/agents-snippets/researcher.md +43 -0
- package/src/monorepo/.claude/agents-snippets/reviewer.md +83 -0
- package/src/monorepo/.claude/agents-snippets/tdd.md +18 -0
- package/src/monorepo/.claude/commands/assign-tasks.md +13 -0
- package/src/monorepo/.claude/commands/bootstrap-patch.md +15 -0
- package/src/monorepo/.claude/commands/bootstrap-upgrade.md +15 -0
- package/src/monorepo/.claude/commands/bootstrap.md +15 -0
- package/src/monorepo/.claude/commands/commit-push.md +13 -0
- package/src/monorepo/.claude/commands/constitution.md +15 -0
- package/src/monorepo/.claude/commands/create-skill.md +15 -0
- package/src/monorepo/.claude/commands/implement-feature.md +15 -0
- package/src/monorepo/.claude/commands/implement-fixes.md +15 -0
- package/src/monorepo/.claude/commands/implement.md +15 -0
- package/src/monorepo/.claude/commands/plan.md +15 -0
- package/src/monorepo/.claude/commands/playwright-test.md +13 -0
- package/src/monorepo/.claude/commands/ponytail-audit.md +15 -0
- package/src/monorepo/.claude/commands/ponytail-debt.md +15 -0
- package/src/monorepo/.claude/commands/ponytail-gain.md +15 -0
- package/src/monorepo/.claude/commands/ponytail-help.md +15 -0
- package/src/monorepo/.claude/commands/ponytail-review.md +15 -0
- package/src/monorepo/.claude/commands/ponytail.md +15 -0
- package/src/monorepo/.claude/commands/release-notes.md +13 -0
- package/src/monorepo/.claude/commands/review-pr.md +15 -0
- package/src/monorepo/.claude/commands/review-staged.md +15 -0
- package/src/monorepo/.claude/commands/review.md +15 -0
- package/src/monorepo/.claude/commands/specify.md +15 -0
- package/src/monorepo/.claude/commands/tasks.md +13 -0
- package/src/monorepo/.claude/prompt-snippets/assign-tasks.md +169 -0
- package/src/monorepo/.claude/prompt-snippets/bootstrap-patch.md +199 -0
- package/src/monorepo/.claude/prompt-snippets/bootstrap-upgrade.md +452 -0
- package/src/monorepo/.claude/prompt-snippets/bootstrap.md +764 -0
- package/src/monorepo/.claude/prompt-snippets/commit-push.md +69 -0
- package/src/monorepo/.claude/prompt-snippets/constitution.md +57 -0
- package/src/monorepo/.claude/prompt-snippets/create-skill.md +490 -0
- package/src/monorepo/.claude/prompt-snippets/implement-feature.md +119 -0
- package/src/monorepo/.claude/prompt-snippets/implement-fixes.md +122 -0
- package/src/monorepo/.claude/prompt-snippets/implement.md +56 -0
- package/src/monorepo/.claude/prompt-snippets/plan.md +67 -0
- package/src/monorepo/.claude/prompt-snippets/playwright-test.md +55 -0
- package/src/monorepo/.claude/prompt-snippets/ponytail-audit.md +5 -0
- package/src/monorepo/.claude/prompt-snippets/ponytail-debt.md +5 -0
- package/src/monorepo/.claude/prompt-snippets/ponytail-gain.md +5 -0
- package/src/monorepo/.claude/prompt-snippets/ponytail-help.md +5 -0
- package/src/monorepo/.claude/prompt-snippets/ponytail-review.md +5 -0
- package/src/monorepo/.claude/prompt-snippets/ponytail.md +5 -0
- package/src/monorepo/.claude/prompt-snippets/release-notes.md +134 -0
- package/src/monorepo/.claude/prompt-snippets/review-pr.md +156 -0
- package/src/monorepo/.claude/prompt-snippets/review-staged.md +35 -0
- package/src/monorepo/.claude/prompt-snippets/review.md +139 -0
- package/src/monorepo/.claude/prompt-snippets/specify.md +51 -0
- package/src/monorepo/.claude/prompt-snippets/tasks.md +108 -0
- package/src/monorepo/.claude/rules/agent-conduct.md +14 -0
- package/src/monorepo/.claude/rules/api-server.md +19 -0
- package/src/monorepo/.claude/rules/coding-standards.md +13 -0
- package/src/monorepo/.claude/rules/component-structure.md +18 -0
- package/src/monorepo/.claude/rules/core-libraries.md +16 -0
- package/src/monorepo/.claude/rules/environment-tooling.md +12 -0
- package/src/monorepo/.claude/rules/logging-comments.md +17 -0
- package/src/monorepo/.claude/rules/logging.md +17 -0
- package/src/monorepo/.claude/rules/orient-to-recent-work.md +13 -0
- package/src/monorepo/.claude/rules/prisma-migrations.md +16 -0
- package/src/monorepo/.claude/rules/project-context.md +14 -0
- package/src/monorepo/.claude/rules/server-client-separation.md +17 -0
- package/src/monorepo/.claude/rules/subagent-workflow.md +14 -0
- package/src/monorepo/.claude/rules/testing-quality.md +19 -0
- package/src/monorepo/.claude/rules/testing.md +16 -0
- package/src/monorepo/.claude/rules/ui-accessibility.md +18 -0
- package/src/monorepo/.claude/rules/version-control.md +14 -0
- package/src/monorepo/.claude/rules/what-to-avoid.md +14 -0
- package/src/monorepo/.claude/rules-snippets/agent-conduct.md +51 -0
- package/src/monorepo/.claude/rules-snippets/api-server.md +5 -0
- package/src/monorepo/.claude/rules-snippets/coding-standards.md +45 -0
- package/src/monorepo/.claude/rules-snippets/component-structure.md +6 -0
- package/src/monorepo/.claude/rules-snippets/core-libraries.md +6 -0
- package/src/monorepo/.claude/rules-snippets/deployment.md +41 -0
- package/src/monorepo/.claude/rules-snippets/documentation.md +210 -0
- package/src/monorepo/.claude/rules-snippets/environment-tooling.md +4 -0
- package/src/monorepo/.claude/rules-snippets/logging-comments.md +4 -0
- package/src/monorepo/.claude/rules-snippets/logging.md +107 -0
- package/src/monorepo/.claude/rules-snippets/patterns.md +134 -0
- package/src/monorepo/.claude/rules-snippets/ponytail.md +24 -0
- package/src/monorepo/.claude/rules-snippets/prisma-migrations.md +6 -0
- package/src/monorepo/.claude/rules-snippets/project-context.md +8 -0
- package/src/monorepo/.claude/rules-snippets/server-client-separation.md +5 -0
- package/src/monorepo/.claude/rules-snippets/subagent-workflow.md +134 -0
- package/src/monorepo/.claude/rules-snippets/testing-quality.md +5 -0
- package/src/monorepo/.claude/rules-snippets/testing.md +42 -0
- package/src/monorepo/.claude/rules-snippets/ui-accessibility.md +5 -0
- package/src/monorepo/.claude/rules-snippets/version-control.md +4 -0
- package/src/monorepo/.claude/rules-snippets/what-to-avoid.md +6 -0
- package/src/monorepo/.claude/rules-snippets/workflows.md +81 -0
- package/src/monorepo/.claude/settings.json +7 -0
- package/src/monorepo/.claude/skills/README.md +50 -0
- package/src/monorepo/.cursor/agents/admin-portal.agent.md +11 -0
- package/src/monorepo/.cursor/agents/api-specialist.agent.md +11 -0
- package/src/monorepo/.cursor/agents/backend-architect.agent.md +11 -0
- package/src/monorepo/.cursor/agents/documenter.agent.md +11 -0
- package/src/monorepo/.cursor/agents/feature-builder.agent.md +11 -0
- package/src/monorepo/.cursor/agents/frontend-developer.agent.md +11 -0
- package/src/monorepo/.cursor/agents/green.agent.md +11 -0
- package/src/monorepo/.cursor/agents/implementer.agent.md +11 -0
- package/src/monorepo/.cursor/agents/planner.agent.md +11 -0
- package/src/monorepo/.cursor/agents/red.agent.md +11 -0
- package/src/monorepo/.cursor/agents/refactor.agent.md +11 -0
- package/src/monorepo/.cursor/agents/researcher.agent.md +11 -0
- package/src/monorepo/.cursor/agents/reviewer.agent.md +11 -0
- package/src/monorepo/.cursor/agents/tdd.agent.md +11 -0
- package/src/monorepo/.cursor/commands/assign-tasks.md +13 -0
- package/src/monorepo/.cursor/commands/bootstrap-patch.md +17 -0
- package/src/monorepo/.cursor/commands/bootstrap-upgrade.md +15 -0
- package/src/monorepo/.cursor/commands/bootstrap.md +17 -0
- package/src/monorepo/.cursor/commands/commit-push.md +15 -0
- package/src/monorepo/.cursor/commands/constitution.md +17 -0
- package/src/monorepo/.cursor/commands/create-skill.md +17 -0
- package/src/monorepo/.cursor/commands/implement-feature.md +17 -0
- package/src/monorepo/.cursor/commands/implement-fixes.md +17 -0
- package/src/monorepo/.cursor/commands/implement.md +17 -0
- package/src/monorepo/.cursor/commands/plan.md +17 -0
- package/src/monorepo/.cursor/commands/playwright-test.md +15 -0
- package/src/monorepo/.cursor/commands/ponytail-audit.md +13 -0
- package/src/monorepo/.cursor/commands/ponytail-debt.md +13 -0
- package/src/monorepo/.cursor/commands/ponytail-gain.md +13 -0
- package/src/monorepo/.cursor/commands/ponytail-help.md +13 -0
- package/src/monorepo/.cursor/commands/ponytail-review.md +13 -0
- package/src/monorepo/.cursor/commands/ponytail.md +13 -0
- package/src/monorepo/.cursor/commands/release-notes.md +15 -0
- package/src/monorepo/.cursor/commands/review-pr.md +17 -0
- package/src/monorepo/.cursor/commands/review-staged.md +10 -0
- package/src/monorepo/.cursor/commands/review.md +17 -0
- package/src/monorepo/.cursor/commands/specify.md +17 -0
- package/src/monorepo/.cursor/commands/tasks.md +15 -0
- package/src/monorepo/.cursor/mcp.json +13 -0
- package/src/monorepo/.cursor/rules/agent-conduct.mdc +11 -0
- package/src/monorepo/.cursor/rules/api-server.mdc +11 -0
- package/src/monorepo/.cursor/rules/coding-standards.mdc +11 -0
- package/src/monorepo/.cursor/rules/component-structure.mdc +11 -0
- package/src/monorepo/.cursor/rules/core-libraries.mdc +11 -0
- package/src/monorepo/.cursor/rules/environment-tooling.mdc +11 -0
- package/src/monorepo/.cursor/rules/logging-comments.mdc +11 -0
- package/src/monorepo/.cursor/rules/logging.mdc +10 -0
- package/src/monorepo/.cursor/rules/orient-to-recent-work.mdc +9 -0
- package/src/monorepo/.cursor/rules/ponytail.mdc +9 -0
- package/src/monorepo/.cursor/rules/prisma-migrations.mdc +11 -0
- package/src/monorepo/.cursor/rules/project-context.mdc +11 -0
- package/src/monorepo/.cursor/rules/server-client-separation.mdc +11 -0
- package/src/monorepo/.cursor/rules/subagent-workflow.mdc +11 -0
- package/src/monorepo/.cursor/rules/testing-quality.mdc +11 -0
- package/src/monorepo/.cursor/rules/ui-accessibility.mdc +11 -0
- package/src/monorepo/.cursor/rules/version-control.mdc +11 -0
- package/src/monorepo/.cursor/rules/what-to-avoid.mdc +11 -0
- package/src/monorepo/.cursor/skills/README.md +50 -0
- package/src/monorepo/.github/agents/admin-portal.agent.md +11 -0
- package/src/monorepo/.github/agents/api-specialist.agent.md +11 -0
- package/src/monorepo/.github/agents/backend-architect.agent.md +11 -0
- package/src/monorepo/.github/agents/documenter.agent.md +11 -0
- package/src/monorepo/.github/agents/feature-builder.agent.md +24 -0
- package/src/monorepo/.github/agents/frontend-developer.agent.md +11 -0
- package/src/monorepo/.github/agents/green.agent.md +12 -0
- package/src/monorepo/.github/agents/implementer.agent.md +12 -0
- package/src/monorepo/.github/agents/planner.agent.md +12 -0
- package/src/monorepo/.github/agents/red.agent.md +12 -0
- package/src/monorepo/.github/agents/refactor.agent.md +12 -0
- package/src/monorepo/.github/agents/researcher.agent.md +12 -0
- package/src/monorepo/.github/agents/reviewer.agent.md +11 -0
- package/src/monorepo/.github/agents/tdd.agent.md +13 -0
- package/src/monorepo/.github/copilot-instructions.md +95 -0
- package/src/monorepo/.github/instructions/agent-conduct.instructions.md +14 -0
- package/src/monorepo/.github/instructions/api-server.instructions.md +14 -0
- package/src/monorepo/.github/instructions/coding-standards.instructions.md +13 -0
- package/src/monorepo/.github/instructions/component-structure.instructions.md +14 -0
- package/src/monorepo/.github/instructions/core-libraries.instructions.md +14 -0
- package/src/monorepo/.github/instructions/deployment.instructions.md +13 -0
- package/src/monorepo/.github/instructions/documentation.instructions.md +14 -0
- package/src/monorepo/.github/instructions/environment-tooling.instructions.md +14 -0
- package/src/monorepo/.github/instructions/logging-comments.instructions.md +14 -0
- package/src/monorepo/.github/instructions/logging.instructions.md +14 -0
- package/src/monorepo/.github/instructions/patterns.instructions.md +14 -0
- package/src/monorepo/.github/instructions/prisma-migrations.instructions.md +14 -0
- package/src/monorepo/.github/instructions/project-context.instructions.md +13 -0
- package/src/monorepo/.github/instructions/server-client-separation.instructions.md +14 -0
- package/src/monorepo/.github/instructions/subagent-workflow.instructions.md +14 -0
- package/src/monorepo/.github/instructions/testing-quality.instructions.md +15 -0
- package/src/monorepo/.github/instructions/testing.instructions.md +14 -0
- package/src/monorepo/.github/instructions/ui-accessibility.instructions.md +14 -0
- package/src/monorepo/.github/instructions/version-control.instructions.md +14 -0
- package/src/monorepo/.github/instructions/what-to-avoid.instructions.md +14 -0
- package/src/monorepo/.github/instructions/workflows.instructions.md +14 -0
- package/src/monorepo/.github/prompts/assign-tasks.prompt.md +14 -0
- package/src/monorepo/.github/prompts/bootstrap-patch.prompt.md +15 -0
- package/src/monorepo/.github/prompts/bootstrap-upgrade.prompt.md +15 -0
- package/src/monorepo/.github/prompts/bootstrap.prompt.md +15 -0
- package/src/monorepo/.github/prompts/commit-push.prompt.md +13 -0
- package/src/monorepo/.github/prompts/constitution.prompt.md +15 -0
- package/src/monorepo/.github/prompts/create-skill.prompt.md +15 -0
- package/src/monorepo/.github/prompts/implement-feature.prompt.md +15 -0
- package/src/monorepo/.github/prompts/implement-fixes.prompt.md +15 -0
- package/src/monorepo/.github/prompts/implement.prompt.md +15 -0
- package/src/monorepo/.github/prompts/plan.prompt.md +15 -0
- package/src/monorepo/.github/prompts/playwright-test.prompt.md +13 -0
- package/src/monorepo/.github/prompts/ponytail-audit.prompt.md +13 -0
- package/src/monorepo/.github/prompts/ponytail-debt.prompt.md +13 -0
- package/src/monorepo/.github/prompts/ponytail-gain.prompt.md +13 -0
- package/src/monorepo/.github/prompts/ponytail-help.prompt.md +13 -0
- package/src/monorepo/.github/prompts/ponytail-review.prompt.md +13 -0
- package/src/monorepo/.github/prompts/ponytail.prompt.md +13 -0
- package/src/monorepo/.github/prompts/release-notes.prompt.md +13 -0
- package/src/monorepo/.github/prompts/review-pr.prompt.md +15 -0
- package/src/monorepo/.github/prompts/review-staged.prompt.md +16 -0
- package/src/monorepo/.github/prompts/review.prompt.md +15 -0
- package/src/monorepo/.github/prompts/specify.prompt.md +15 -0
- package/src/monorepo/.github/prompts/tasks.prompt.md +13 -0
- package/src/monorepo/.github/skills/README.md +36 -0
- package/src/monorepo/.mcp.json +13 -0
- package/src/monorepo/.opencode/agents/admin-portal.md +14 -0
- package/src/monorepo/.opencode/agents/api-specialist.md +14 -0
- package/src/monorepo/.opencode/agents/backend-architect.md +14 -0
- package/src/monorepo/.opencode/agents/documenter.md +14 -0
- package/src/monorepo/.opencode/agents/feature-builder.md +15 -0
- package/src/monorepo/.opencode/agents/frontend-developer.md +14 -0
- package/src/monorepo/.opencode/agents/green.md +14 -0
- package/src/monorepo/.opencode/agents/implementer.md +14 -0
- package/src/monorepo/.opencode/agents/planner.md +14 -0
- package/src/monorepo/.opencode/agents/red.md +14 -0
- package/src/monorepo/.opencode/agents/refactor.md +14 -0
- package/src/monorepo/.opencode/agents/researcher.md +14 -0
- package/src/monorepo/.opencode/agents/reviewer.md +14 -0
- package/src/monorepo/.opencode/agents/tdd.md +15 -0
- package/src/monorepo/.opencode/commands/assign-tasks.md +16 -0
- package/src/monorepo/.opencode/commands/bootstrap-patch.md +18 -0
- package/src/monorepo/.opencode/commands/bootstrap-upgrade.md +18 -0
- package/src/monorepo/.opencode/commands/bootstrap.md +18 -0
- package/src/monorepo/.opencode/commands/commit-push.md +16 -0
- package/src/monorepo/.opencode/commands/constitution.md +18 -0
- package/src/monorepo/.opencode/commands/create-skill.md +16 -0
- package/src/monorepo/.opencode/commands/implement-feature.md +18 -0
- package/src/monorepo/.opencode/commands/implement-fixes.md +20 -0
- package/src/monorepo/.opencode/commands/implement.md +18 -0
- package/src/monorepo/.opencode/commands/plan.md +18 -0
- package/src/monorepo/.opencode/commands/playwright-test.md +16 -0
- package/src/monorepo/.opencode/commands/ponytail-audit.md +10 -0
- package/src/monorepo/.opencode/commands/ponytail-debt.md +10 -0
- package/src/monorepo/.opencode/commands/ponytail-gain.md +10 -0
- package/src/monorepo/.opencode/commands/ponytail-help.md +10 -0
- package/src/monorepo/.opencode/commands/ponytail-review.md +10 -0
- package/src/monorepo/.opencode/commands/ponytail.md +10 -0
- package/src/monorepo/.opencode/commands/release-notes.md +16 -0
- package/src/monorepo/.opencode/commands/review-pr.md +18 -0
- package/src/monorepo/.opencode/commands/review-staged.md +11 -0
- package/src/monorepo/.opencode/commands/review.md +18 -0
- package/src/monorepo/.opencode/commands/specify.md +18 -0
- package/src/monorepo/.opencode/commands/tasks.md +16 -0
- package/src/monorepo/.opencode/opencode.json +9 -0
- package/src/monorepo/.opencode/plugins/ponytail.mjs +79 -0
- package/src/monorepo/.opencode/rules/agent-conduct.md +12 -0
- package/src/monorepo/.opencode/rules/api-server.md +11 -0
- package/src/monorepo/.opencode/rules/coding-standards.md +11 -0
- package/src/monorepo/.opencode/rules/component-structure.md +11 -0
- package/src/monorepo/.opencode/rules/core-libraries.md +11 -0
- package/src/monorepo/.opencode/rules/environment-tooling.md +11 -0
- package/src/monorepo/.opencode/rules/logging-comments.md +11 -0
- package/src/monorepo/.opencode/rules/logging.md +11 -0
- package/src/monorepo/.opencode/rules/ponytail.md +3 -0
- package/src/monorepo/.opencode/rules/prisma-migrations.md +11 -0
- package/src/monorepo/.opencode/rules/project-context.md +11 -0
- package/src/monorepo/.opencode/rules/server-client-separation.md +11 -0
- package/src/monorepo/.opencode/rules/subagent-workflow.md +11 -0
- package/src/monorepo/.opencode/rules/testing-quality.md +11 -0
- package/src/monorepo/.opencode/rules/ui-accessibility.md +11 -0
- package/src/monorepo/.opencode/rules/version-control.md +11 -0
- package/src/monorepo/.opencode/rules/what-to-avoid.md +11 -0
- package/src/monorepo/.vscode/mcp.json +13 -0
- package/src/monorepo/AGENTS.md +367 -0
- package/src/monorepo/CLAUDE.md +63 -0
- package/src/monorepo/README.md +182 -0
- package/src/monorepo/apps/app-template/AGENTS.md +169 -0
- package/src/monorepo/apps/app-template/README.md +77 -0
- package/src/monorepo/docs/api/README.md +82 -0
- package/src/monorepo/docs/architecture/README.md +56 -0
- package/src/monorepo/docs/features/README.md +82 -0
- package/src/monorepo/docs/fixes/README.md +117 -0
- package/src/monorepo/hooks/claude-codex-hooks.json +31 -0
- package/src/monorepo/hooks/copilot-hooks.json +21 -0
- package/src/monorepo/hooks/ponytail-activate.js +91 -0
- package/src/monorepo/hooks/ponytail-config.js +122 -0
- package/src/monorepo/hooks/ponytail-instructions.js +92 -0
- package/src/monorepo/hooks/ponytail-mode-tracker.js +55 -0
- package/src/monorepo/hooks/ponytail-runtime.js +51 -0
- package/src/monorepo/hooks/ponytail-statusline.ps1 +21 -0
- package/src/monorepo/hooks/ponytail-statusline.sh +12 -0
- package/src/monorepo/packages/package-template/README.md +63 -0
- package/src/monorepo/templates/README.md +106 -0
- package/src/monorepo/templates/adr.template.md +156 -0
- package/src/monorepo/templates/complex-fix-plan.template.md +154 -0
- package/src/monorepo/templates/complex-fix-spec.template.md +160 -0
- package/src/monorepo/templates/feature-plan.template.md +192 -0
- package/src/monorepo/templates/feature-spec.template.md +148 -0
- package/src/monorepo/templates/monthly-fix-log.template.md +92 -0
- package/src/repo/.agents/rules/ponytail.md +3 -0
- package/src/repo/.agents/skills/acli/SKILL.md +424 -0
- package/src/repo/.agents/skills/bkt-cli/SKILL.md +374 -0
- package/src/repo/.agents/skills/brainstorming/SKILL.md +54 -0
- package/src/repo/.agents/skills/code-simplifier/SKILL.md +109 -0
- package/src/repo/.agents/skills/debugger/SKILL.md +123 -0
- package/src/repo/.agents/skills/dispatching-parallel-agents/SKILL.md +206 -0
- package/src/repo/.agents/skills/executing-plans/SKILL.md +76 -0
- package/src/repo/.agents/skills/finishing-a-development-branch/SKILL.md +200 -0
- package/src/repo/.agents/skills/gh-cli/SKILL.md +461 -0
- package/src/repo/.agents/skills/glab-cli/SKILL.md +468 -0
- package/src/repo/.agents/skills/issue-tracker/SKILL.md +119 -0
- package/src/repo/.agents/skills/linear-cli/SKILL.md +276 -0
- package/src/repo/.agents/skills/logging/SKILL.md +559 -0
- package/src/repo/.agents/skills/orient-to-recent-work/SKILL.md +43 -0
- package/src/repo/.agents/skills/ponytail/SKILL.md +101 -0
- package/src/repo/.agents/skills/ponytail-audit/SKILL.md +41 -0
- package/src/repo/.agents/skills/ponytail-debt/SKILL.md +44 -0
- package/src/repo/.agents/skills/ponytail-gain/SKILL.md +51 -0
- package/src/repo/.agents/skills/ponytail-help/SKILL.md +74 -0
- package/src/repo/.agents/skills/ponytail-review/SKILL.md +57 -0
- package/src/repo/.agents/skills/project-documentation/SKILL.md +367 -0
- package/src/repo/.agents/skills/receiving-code-review/SKILL.md +213 -0
- package/src/repo/.agents/skills/requesting-code-review/SKILL.md +105 -0
- package/src/repo/.agents/skills/requesting-code-review/code-reviewer.md +146 -0
- package/src/repo/.agents/skills/security-reviewer/SKILL.md +144 -0
- package/src/repo/.agents/skills/subagent-driven-development/SKILL.md +279 -0
- package/src/repo/.agents/skills/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
- package/src/repo/.agents/skills/subagent-driven-development/implementer-prompt.md +78 -0
- package/src/repo/.agents/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/src/repo/.agents/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/src/repo/.agents/skills/systematic-debugging/SKILL.md +296 -0
- package/src/repo/.agents/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/src/repo/.agents/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/src/repo/.agents/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/src/repo/.agents/skills/systematic-debugging/find-polluter.sh +63 -0
- package/src/repo/.agents/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/src/repo/.agents/skills/systematic-debugging/test-academic.md +14 -0
- package/src/repo/.agents/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/src/repo/.agents/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/src/repo/.agents/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/src/repo/.agents/skills/test-driven-development/SKILL.md +371 -0
- package/src/repo/.agents/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/src/repo/.agents/skills/using-git-worktrees/SKILL.md +291 -0
- package/src/repo/.agents/skills/using-superpowers/SKILL.md +87 -0
- package/src/repo/.agents/skills/verification-before-completion/SKILL.md +148 -0
- package/src/repo/.agents/skills/writing-plans/SKILL.md +116 -0
- package/src/repo/.agents/skills/writing-skills/SKILL.md +655 -0
- package/src/repo/.agents/skills/writing-skills/anthropic-best-practices.md +1150 -0
- package/src/repo/.agents/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
- package/src/repo/.agents/skills/writing-skills/graphviz-conventions.dot +172 -0
- package/src/repo/.agents/skills/writing-skills/persuasion-principles.md +187 -0
- package/src/repo/.agents/skills/writing-skills/render-graphs.js +168 -0
- package/src/repo/.agents/skills/writing-skills/testing-skills-with-subagents.md +384 -0
- package/src/repo/.claude/agents/admin-portal.agent.md +12 -0
- package/src/repo/.claude/agents/api-specialist.agent.md +12 -0
- package/src/repo/.claude/agents/backend-architect.agent.md +12 -0
- package/src/repo/.claude/agents/documenter.agent.md +12 -0
- package/src/repo/.claude/agents/feature-builder.agent.md +12 -0
- package/src/repo/.claude/agents/frontend-developer.agent.md +12 -0
- package/src/repo/.claude/agents/green.agent.md +12 -0
- package/src/repo/.claude/agents/implementer.agent.md +12 -0
- package/src/repo/.claude/agents/planner.agent.md +12 -0
- package/src/repo/.claude/agents/red.agent.md +12 -0
- package/src/repo/.claude/agents/refactor.agent.md +12 -0
- package/src/repo/.claude/agents/researcher.agent.md +12 -0
- package/src/repo/.claude/agents/reviewer.agent.md +12 -0
- package/src/repo/.claude/agents/tdd.agent.md +12 -0
- package/src/repo/.claude/agents-snippets/admin-portal.md +90 -0
- package/src/repo/.claude/agents-snippets/api-specialist.md +57 -0
- package/src/repo/.claude/agents-snippets/backend-architect.md +49 -0
- package/src/repo/.claude/agents-snippets/documenter.md +58 -0
- package/src/repo/.claude/agents-snippets/feature-builder.md +49 -0
- package/src/repo/.claude/agents-snippets/frontend-developer.md +49 -0
- package/src/repo/.claude/agents-snippets/green.md +18 -0
- package/src/repo/.claude/agents-snippets/implementer.md +31 -0
- package/src/repo/.claude/agents-snippets/planner.md +40 -0
- package/src/repo/.claude/agents-snippets/red.md +14 -0
- package/src/repo/.claude/agents-snippets/refactor.md +22 -0
- package/src/repo/.claude/agents-snippets/researcher.md +43 -0
- package/src/repo/.claude/agents-snippets/reviewer.md +83 -0
- package/src/repo/.claude/agents-snippets/tdd.md +18 -0
- package/src/repo/.claude/commands/assign-tasks.md +13 -0
- package/src/repo/.claude/commands/bootstrap-patch.md +15 -0
- package/src/repo/.claude/commands/bootstrap-upgrade.md +15 -0
- package/src/repo/.claude/commands/bootstrap.md +15 -0
- package/src/repo/.claude/commands/commit-push.md +13 -0
- package/src/repo/.claude/commands/constitution.md +15 -0
- package/src/repo/.claude/commands/create-skill.md +13 -0
- package/src/repo/.claude/commands/implement-feature.md +15 -0
- package/src/repo/.claude/commands/implement-fixes.md +15 -0
- package/src/repo/.claude/commands/implement.md +15 -0
- package/src/repo/.claude/commands/plan.md +15 -0
- package/src/repo/.claude/commands/playwright-test.md +13 -0
- package/src/repo/.claude/commands/ponytail-audit.md +15 -0
- package/src/repo/.claude/commands/ponytail-debt.md +15 -0
- package/src/repo/.claude/commands/ponytail-gain.md +15 -0
- package/src/repo/.claude/commands/ponytail-help.md +15 -0
- package/src/repo/.claude/commands/ponytail-review.md +15 -0
- package/src/repo/.claude/commands/ponytail.md +15 -0
- package/src/repo/.claude/commands/release-notes.md +13 -0
- package/src/repo/.claude/commands/review-pr.md +15 -0
- package/src/repo/.claude/commands/review-staged.md +15 -0
- package/src/repo/.claude/commands/review.md +15 -0
- package/src/repo/.claude/commands/specify.md +15 -0
- package/src/repo/.claude/commands/tasks.md +13 -0
- package/src/repo/.claude/prompt-snippets/assign-tasks.md +170 -0
- package/src/repo/.claude/prompt-snippets/bootstrap-patch.md +200 -0
- package/src/repo/.claude/prompt-snippets/bootstrap-upgrade.md +357 -0
- package/src/repo/.claude/prompt-snippets/bootstrap.md +1026 -0
- package/src/repo/.claude/prompt-snippets/commit-push.md +70 -0
- package/src/repo/.claude/prompt-snippets/constitution.md +57 -0
- package/src/repo/.claude/prompt-snippets/create-skill.md +490 -0
- package/src/repo/.claude/prompt-snippets/implement-feature.md +124 -0
- package/src/repo/.claude/prompt-snippets/implement-fixes.md +116 -0
- package/src/repo/.claude/prompt-snippets/implement.md +56 -0
- package/src/repo/.claude/prompt-snippets/plan.md +94 -0
- package/src/repo/.claude/prompt-snippets/playwright-test.md +58 -0
- package/src/repo/.claude/prompt-snippets/ponytail-audit.md +5 -0
- package/src/repo/.claude/prompt-snippets/ponytail-debt.md +5 -0
- package/src/repo/.claude/prompt-snippets/ponytail-gain.md +5 -0
- package/src/repo/.claude/prompt-snippets/ponytail-help.md +5 -0
- package/src/repo/.claude/prompt-snippets/ponytail-review.md +5 -0
- package/src/repo/.claude/prompt-snippets/ponytail.md +5 -0
- package/src/repo/.claude/prompt-snippets/release-notes.md +204 -0
- package/src/repo/.claude/prompt-snippets/review-pr.md +156 -0
- package/src/repo/.claude/prompt-snippets/review-staged.md +35 -0
- package/src/repo/.claude/prompt-snippets/review.md +139 -0
- package/src/repo/.claude/prompt-snippets/specify.md +84 -0
- package/src/repo/.claude/prompt-snippets/tasks.md +146 -0
- package/src/repo/.claude/rules/agent-conduct.md +13 -0
- package/src/repo/.claude/rules/api-server.md +16 -0
- package/src/repo/.claude/rules/coding-standards.md +13 -0
- package/src/repo/.claude/rules/component-structure.md +15 -0
- package/src/repo/.claude/rules/core-libraries.md +13 -0
- package/src/repo/.claude/rules/environment-tooling.md +13 -0
- package/src/repo/.claude/rules/logging-comments.md +13 -0
- package/src/repo/.claude/rules/logging.md +13 -0
- package/src/repo/.claude/rules/orient-to-recent-work.md +13 -0
- package/src/repo/.claude/rules/prisma-migrations.md +16 -0
- package/src/repo/.claude/rules/project-context.md +13 -0
- package/src/repo/.claude/rules/server-client-separation.md +13 -0
- package/src/repo/.claude/rules/subagent-workflow.md +13 -0
- package/src/repo/.claude/rules/testing-quality.md +16 -0
- package/src/repo/.claude/rules/testing.md +16 -0
- package/src/repo/.claude/rules/ui-accessibility.md +15 -0
- package/src/repo/.claude/rules/version-control.md +13 -0
- package/src/repo/.claude/rules/what-to-avoid.md +13 -0
- package/src/repo/.claude/rules-snippets/agent-conduct.md +51 -0
- package/src/repo/.claude/rules-snippets/api-server.md +7 -0
- package/src/repo/.claude/rules-snippets/coding-standards.md +45 -0
- package/src/repo/.claude/rules-snippets/component-structure.md +8 -0
- package/src/repo/.claude/rules-snippets/core-libraries.md +6 -0
- package/src/repo/.claude/rules-snippets/deployment.md +38 -0
- package/src/repo/.claude/rules-snippets/documentation.md +621 -0
- package/src/repo/.claude/rules-snippets/environment-tooling.md +6 -0
- package/src/repo/.claude/rules-snippets/logging-comments.md +4 -0
- package/src/repo/.claude/rules-snippets/logging.md +352 -0
- package/src/repo/.claude/rules-snippets/patterns.md +29 -0
- package/src/repo/.claude/rules-snippets/ponytail.md +24 -0
- package/src/repo/.claude/rules-snippets/prisma-migrations.md +8 -0
- package/src/repo/.claude/rules-snippets/project-context.md +25 -0
- package/src/repo/.claude/rules-snippets/server-client-separation.md +7 -0
- package/src/repo/.claude/rules-snippets/subagent-workflow.md +134 -0
- package/src/repo/.claude/rules-snippets/testing-quality.md +5 -0
- package/src/repo/.claude/rules-snippets/testing.md +38 -0
- package/src/repo/.claude/rules-snippets/ui-accessibility.md +7 -0
- package/src/repo/.claude/rules-snippets/version-control.md +6 -0
- package/src/repo/.claude/rules-snippets/what-to-avoid.md +8 -0
- package/src/repo/.claude/rules-snippets/workflows.md +25 -0
- package/src/repo/.claude/settings.json +7 -0
- package/src/repo/.claude/skills/README.md +50 -0
- package/src/repo/.cursor/agents/admin-portal.agent.md +11 -0
- package/src/repo/.cursor/agents/api-specialist.agent.md +11 -0
- package/src/repo/.cursor/agents/backend-architect.agent.md +11 -0
- package/src/repo/.cursor/agents/documenter.agent.md +11 -0
- package/src/repo/.cursor/agents/feature-builder.agent.md +11 -0
- package/src/repo/.cursor/agents/frontend-developer.agent.md +11 -0
- package/src/repo/.cursor/agents/green.agent.md +11 -0
- package/src/repo/.cursor/agents/implementer.agent.md +11 -0
- package/src/repo/.cursor/agents/planner.agent.md +11 -0
- package/src/repo/.cursor/agents/red.agent.md +11 -0
- package/src/repo/.cursor/agents/refactor.agent.md +11 -0
- package/src/repo/.cursor/agents/researcher.agent.md +11 -0
- package/src/repo/.cursor/agents/reviewer.agent.md +11 -0
- package/src/repo/.cursor/agents/tdd.agent.md +11 -0
- package/src/repo/.cursor/commands/assign-tasks.md +13 -0
- package/src/repo/.cursor/commands/bootstrap-patch.md +17 -0
- package/src/repo/.cursor/commands/bootstrap-upgrade.md +15 -0
- package/src/repo/.cursor/commands/bootstrap.md +17 -0
- package/src/repo/.cursor/commands/commit-push.md +15 -0
- package/src/repo/.cursor/commands/constitution.md +17 -0
- package/src/repo/.cursor/commands/create-skill.md +15 -0
- package/src/repo/.cursor/commands/implement-feature.md +17 -0
- package/src/repo/.cursor/commands/implement-fixes.md +17 -0
- package/src/repo/.cursor/commands/implement.md +17 -0
- package/src/repo/.cursor/commands/plan.md +17 -0
- package/src/repo/.cursor/commands/playwright-test.md +15 -0
- package/src/repo/.cursor/commands/ponytail-audit.md +13 -0
- package/src/repo/.cursor/commands/ponytail-debt.md +13 -0
- package/src/repo/.cursor/commands/ponytail-gain.md +13 -0
- package/src/repo/.cursor/commands/ponytail-help.md +13 -0
- package/src/repo/.cursor/commands/ponytail-review.md +13 -0
- package/src/repo/.cursor/commands/ponytail.md +13 -0
- package/src/repo/.cursor/commands/release-notes.md +15 -0
- package/src/repo/.cursor/commands/review-pr.md +17 -0
- package/src/repo/.cursor/commands/review-staged.md +10 -0
- package/src/repo/.cursor/commands/review.md +17 -0
- package/src/repo/.cursor/commands/specify.md +17 -0
- package/src/repo/.cursor/commands/tasks.md +15 -0
- package/src/repo/.cursor/mcp.json +13 -0
- package/src/repo/.cursor/rules/agent-conduct.mdc +11 -0
- package/src/repo/.cursor/rules/api-server.mdc +11 -0
- package/src/repo/.cursor/rules/coding-standards.mdc +11 -0
- package/src/repo/.cursor/rules/component-structure.mdc +11 -0
- package/src/repo/.cursor/rules/core-libraries.mdc +11 -0
- package/src/repo/.cursor/rules/environment-tooling.mdc +11 -0
- package/src/repo/.cursor/rules/logging-comments.mdc +11 -0
- package/src/repo/.cursor/rules/logging.mdc +11 -0
- package/src/repo/.cursor/rules/orient-to-recent-work.mdc +9 -0
- package/src/repo/.cursor/rules/ponytail.mdc +9 -0
- package/src/repo/.cursor/rules/prisma-migrations.mdc +11 -0
- package/src/repo/.cursor/rules/project-context.mdc +11 -0
- package/src/repo/.cursor/rules/server-client-separation.mdc +11 -0
- package/src/repo/.cursor/rules/subagent-workflow.mdc +11 -0
- package/src/repo/.cursor/rules/testing-quality.mdc +11 -0
- package/src/repo/.cursor/rules/ui-accessibility.mdc +11 -0
- package/src/repo/.cursor/rules/version-control.mdc +11 -0
- package/src/repo/.cursor/rules/what-to-avoid.mdc +11 -0
- package/src/repo/.cursor/skills/README.md +50 -0
- package/src/repo/.github/agents/admin-portal.agent.md +11 -0
- package/src/repo/.github/agents/api-specialist.agent.md +11 -0
- package/src/repo/.github/agents/backend-architect.agent.md +11 -0
- package/src/repo/.github/agents/documenter.agent.md +11 -0
- package/src/repo/.github/agents/feature-builder.agent.md +24 -0
- package/src/repo/.github/agents/frontend-developer.agent.md +11 -0
- package/src/repo/.github/agents/green.agent.md +12 -0
- package/src/repo/.github/agents/implementer.agent.md +12 -0
- package/src/repo/.github/agents/planner.agent.md +12 -0
- package/src/repo/.github/agents/red.agent.md +12 -0
- package/src/repo/.github/agents/refactor.agent.md +12 -0
- package/src/repo/.github/agents/researcher.agent.md +12 -0
- package/src/repo/.github/agents/reviewer.agent.md +11 -0
- package/src/repo/.github/agents/tdd.agent.md +13 -0
- package/src/repo/.github/copilot-instructions.md +89 -0
- package/src/repo/.github/instructions/agent-conduct.instructions.md +13 -0
- package/src/repo/.github/instructions/api-server.instructions.md +13 -0
- package/src/repo/.github/instructions/coding-standards.instructions.md +13 -0
- package/src/repo/.github/instructions/component-structure.instructions.md +13 -0
- package/src/repo/.github/instructions/core-libraries.instructions.md +13 -0
- package/src/repo/.github/instructions/deployment.instructions.md +13 -0
- package/src/repo/.github/instructions/documentation.instructions.md +14 -0
- package/src/repo/.github/instructions/environment-tooling.instructions.md +13 -0
- package/src/repo/.github/instructions/logging-comments.instructions.md +13 -0
- package/src/repo/.github/instructions/logging.instructions.md +13 -0
- package/src/repo/.github/instructions/patterns.instructions.md +13 -0
- package/src/repo/.github/instructions/prisma-migrations.instructions.md +13 -0
- package/src/repo/.github/instructions/project-context.instructions.md +13 -0
- package/src/repo/.github/instructions/server-client-separation.instructions.md +13 -0
- package/src/repo/.github/instructions/subagent-workflow.instructions.md +13 -0
- package/src/repo/.github/instructions/testing-quality.instructions.md +13 -0
- package/src/repo/.github/instructions/testing.instructions.md +13 -0
- package/src/repo/.github/instructions/ui-accessibility.instructions.md +13 -0
- package/src/repo/.github/instructions/version-control.instructions.md +13 -0
- package/src/repo/.github/instructions/what-to-avoid.instructions.md +13 -0
- package/src/repo/.github/instructions/workflows.instructions.md +13 -0
- package/src/repo/.github/prompts/assign-tasks.prompt.md +14 -0
- package/src/repo/.github/prompts/bootstrap-patch.prompt.md +16 -0
- package/src/repo/.github/prompts/bootstrap-upgrade.prompt.md +15 -0
- package/src/repo/.github/prompts/bootstrap.prompt.md +16 -0
- package/src/repo/.github/prompts/commit-push.prompt.md +14 -0
- package/src/repo/.github/prompts/constitution.prompt.md +16 -0
- package/src/repo/.github/prompts/create-skill.prompt.md +16 -0
- package/src/repo/.github/prompts/implement-feature.prompt.md +16 -0
- package/src/repo/.github/prompts/implement-fixes.prompt.md +16 -0
- package/src/repo/.github/prompts/implement.prompt.md +16 -0
- package/src/repo/.github/prompts/plan.prompt.md +16 -0
- package/src/repo/.github/prompts/playwright-test.prompt.md +14 -0
- package/src/repo/.github/prompts/ponytail-audit.prompt.md +13 -0
- package/src/repo/.github/prompts/ponytail-debt.prompt.md +13 -0
- package/src/repo/.github/prompts/ponytail-gain.prompt.md +13 -0
- package/src/repo/.github/prompts/ponytail-help.prompt.md +13 -0
- package/src/repo/.github/prompts/ponytail-review.prompt.md +13 -0
- package/src/repo/.github/prompts/ponytail.prompt.md +13 -0
- package/src/repo/.github/prompts/release-notes.prompt.md +14 -0
- package/src/repo/.github/prompts/review-pr.prompt.md +16 -0
- package/src/repo/.github/prompts/review-staged.prompt.md +16 -0
- package/src/repo/.github/prompts/review.prompt.md +16 -0
- package/src/repo/.github/prompts/specify.prompt.md +16 -0
- package/src/repo/.github/prompts/tasks.prompt.md +14 -0
- package/src/repo/.github/skills/README.md +36 -0
- package/src/repo/.mcp.json +13 -0
- package/src/repo/.opencode/agents/admin-portal.md +14 -0
- package/src/repo/.opencode/agents/api-specialist.md +14 -0
- package/src/repo/.opencode/agents/backend-architect.md +14 -0
- package/src/repo/.opencode/agents/documenter.md +14 -0
- package/src/repo/.opencode/agents/feature-builder.md +15 -0
- package/src/repo/.opencode/agents/frontend-developer.md +14 -0
- package/src/repo/.opencode/agents/green.md +14 -0
- package/src/repo/.opencode/agents/implementer.md +14 -0
- package/src/repo/.opencode/agents/planner.md +14 -0
- package/src/repo/.opencode/agents/red.md +14 -0
- package/src/repo/.opencode/agents/refactor.md +14 -0
- package/src/repo/.opencode/agents/researcher.md +14 -0
- package/src/repo/.opencode/agents/reviewer.md +14 -0
- package/src/repo/.opencode/agents/tdd.md +15 -0
- package/src/repo/.opencode/commands/assign-tasks.md +16 -0
- package/src/repo/.opencode/commands/bootstrap-patch.md +18 -0
- package/src/repo/.opencode/commands/bootstrap-upgrade.md +18 -0
- package/src/repo/.opencode/commands/bootstrap.md +18 -0
- package/src/repo/.opencode/commands/commit-push.md +16 -0
- package/src/repo/.opencode/commands/constitution.md +18 -0
- package/src/repo/.opencode/commands/create-skill.md +16 -0
- package/src/repo/.opencode/commands/implement-feature.md +18 -0
- package/src/repo/.opencode/commands/implement-fixes.md +20 -0
- package/src/repo/.opencode/commands/implement.md +18 -0
- package/src/repo/.opencode/commands/plan.md +18 -0
- package/src/repo/.opencode/commands/playwright-test.md +16 -0
- package/src/repo/.opencode/commands/ponytail-audit.md +10 -0
- package/src/repo/.opencode/commands/ponytail-debt.md +10 -0
- package/src/repo/.opencode/commands/ponytail-gain.md +10 -0
- package/src/repo/.opencode/commands/ponytail-help.md +10 -0
- package/src/repo/.opencode/commands/ponytail-review.md +10 -0
- package/src/repo/.opencode/commands/ponytail.md +10 -0
- package/src/repo/.opencode/commands/release-notes.md +16 -0
- package/src/repo/.opencode/commands/review-pr.md +18 -0
- package/src/repo/.opencode/commands/review-staged.md +11 -0
- package/src/repo/.opencode/commands/review.md +18 -0
- package/src/repo/.opencode/commands/specify.md +18 -0
- package/src/repo/.opencode/commands/tasks.md +16 -0
- package/src/repo/.opencode/opencode.json +9 -0
- package/src/repo/.opencode/plugins/ponytail.mjs +79 -0
- package/src/repo/.opencode/rules/agent-conduct.md +11 -0
- package/src/repo/.opencode/rules/api-server.md +11 -0
- package/src/repo/.opencode/rules/coding-standards.md +11 -0
- package/src/repo/.opencode/rules/component-structure.md +11 -0
- package/src/repo/.opencode/rules/core-libraries.md +11 -0
- package/src/repo/.opencode/rules/environment-tooling.md +11 -0
- package/src/repo/.opencode/rules/logging-comments.md +11 -0
- package/src/repo/.opencode/rules/logging.md +11 -0
- package/src/repo/.opencode/rules/ponytail.md +3 -0
- package/src/repo/.opencode/rules/prisma-migrations.md +11 -0
- package/src/repo/.opencode/rules/project-context.md +11 -0
- package/src/repo/.opencode/rules/server-client-separation.md +11 -0
- package/src/repo/.opencode/rules/subagent-workflow.md +11 -0
- package/src/repo/.opencode/rules/testing-quality.md +11 -0
- package/src/repo/.opencode/rules/ui-accessibility.md +11 -0
- package/src/repo/.opencode/rules/version-control.md +11 -0
- package/src/repo/.opencode/rules/what-to-avoid.md +11 -0
- package/src/repo/.vscode/mcp.json +13 -0
- package/src/repo/AGENTS.md +387 -0
- package/src/repo/CLAUDE.md +51 -0
- package/src/repo/README.md +145 -0
- package/src/repo/docs/api/README.md +82 -0
- package/src/repo/docs/architecture/README.md +56 -0
- package/src/repo/docs/features/README.md +82 -0
- package/src/repo/docs/fixes/README.md +117 -0
- package/src/repo/hooks/claude-codex-hooks.json +31 -0
- package/src/repo/hooks/copilot-hooks.json +21 -0
- package/src/repo/hooks/ponytail-activate.js +91 -0
- package/src/repo/hooks/ponytail-config.js +122 -0
- package/src/repo/hooks/ponytail-instructions.js +92 -0
- package/src/repo/hooks/ponytail-mode-tracker.js +55 -0
- package/src/repo/hooks/ponytail-runtime.js +51 -0
- package/src/repo/hooks/ponytail-statusline.ps1 +21 -0
- package/src/repo/hooks/ponytail-statusline.sh +12 -0
- package/src/repo/templates/README.md +80 -0
- package/src/repo/templates/adr.template.md +162 -0
- package/src/repo/templates/complex-fix-plan.template.md +162 -0
- package/src/repo/templates/complex-fix-spec.template.md +163 -0
- package/src/repo/templates/feature-plan.template.md +202 -0
- package/src/repo/templates/feature-spec.template.md +148 -0
- package/src/repo/templates/monthly-fix-log.template.md +91 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
You are helping to patch AI instructions in this project by comparing against the latest templates from the ai-assisted-dev-toolkit repository and applying any updates.
|
|
2
|
+
|
|
3
|
+
## Orchestrator Checkpoint
|
|
4
|
+
|
|
5
|
+
> **🛑 Before starting**: This command involves fetching, diffing, and applying changes across many files.
|
|
6
|
+
> Dispatch parallel subagents for independent file groups (rules, commands, prompts, instructions, skills, agents).
|
|
7
|
+
> See `.claude/rules-snippets/subagent-workflow.md` for patterns.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/bootstrap-patch
|
|
13
|
+
/bootstrap-patch --dry-run
|
|
14
|
+
/bootstrap-patch --category rules
|
|
15
|
+
/bootstrap-patch --category commands,prompts
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Process
|
|
19
|
+
|
|
20
|
+
1. **Fetch Latest Templates**:
|
|
21
|
+
|
|
22
|
+
Clone or fetch the latest ai-assisted-dev-toolkit templates:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
TOOLKIT_TEMP=$(mktemp -d)
|
|
26
|
+
git clone --depth 1 https://github.com/ninjasitm/ai-assisted-dev-toolkit.git "$TOOLKIT_TEMP"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Determine the correct source path based on project structure:
|
|
30
|
+
- **Single repo**: Use `$TOOLKIT_TEMP/src/repo/`
|
|
31
|
+
- **Monorepo**: Use `$TOOLKIT_TEMP/src/monorepo/`
|
|
32
|
+
|
|
33
|
+
Detection heuristic:
|
|
34
|
+
- If `apps/` and `packages/` directories exist at root → monorepo
|
|
35
|
+
- Otherwise → single repo
|
|
36
|
+
|
|
37
|
+
**Detect Toolkit Version:**
|
|
38
|
+
|
|
39
|
+
Check for a `.toolkit-version` file in the project root:
|
|
40
|
+
- If exists: Read the version string (e.g., `2.0.10`, `3.0.0`)
|
|
41
|
+
- If missing: Assume legacy version (pre-3.0.0)
|
|
42
|
+
|
|
43
|
+
Read the toolkit's version from `$TOOLKIT_TEMP/.toolkit-version` to compare.
|
|
44
|
+
|
|
45
|
+
**Version Comparison:**
|
|
46
|
+
- **Same version**: No structural changes expected
|
|
47
|
+
- **Newer version**: Check for structural changes (new directories, renamed files, format changes)
|
|
48
|
+
|
|
49
|
+
2. **Inventory Current State**:
|
|
50
|
+
|
|
51
|
+
Scan the project's AI configuration directories:
|
|
52
|
+
|
|
53
|
+
| Category | Project Paths | Template Source Paths |
|
|
54
|
+
| ---------------- | ------------------------------------------------------------- | ------------------------------------------- |
|
|
55
|
+
| **Cursor Rules** | `.cursor/rules/*.mdc` | `src/{type}/.cursor/rules/*.mdc` |
|
|
56
|
+
| **Cursor Cmds** | `.cursor/commands/*.md` | `src/{type}/.cursor/commands/*.md` |
|
|
57
|
+
| **Cursor Agents**| `.cursor/agents/*.agent.md` | `src/{type}/.cursor/agents/*.agent.md` |
|
|
58
|
+
| **GH Prompts** | `.github/prompts/*.prompt.md` | `src/{type}/.github/prompts/*.prompt.md` |
|
|
59
|
+
| **GH Instrs** | `.github/instructions/*.instructions.md` | `src/{type}/.github/instructions/*.instructions.md` |
|
|
60
|
+
| **GH Agents** | `.github/agents/*.agent.md` | `src/{type}/.github/agents/*.agent.md` |
|
|
61
|
+
| **Claude Rules** | `.claude/rules/*.md` | `src/{type}/.claude/rules/*.md` |
|
|
62
|
+
| **Claude Cmds** | `.claude/commands/*.md` | `src/{type}/.claude/commands/*.md` |
|
|
63
|
+
| **Claude Agents**| `.claude/agents/*.agent.md` | `src/{type}/.claude/agents/*.agent.md` |
|
|
64
|
+
| **Skills** | `.agents/skills/*/SKILL.md` | `src/{type}/.agents/skills/*/SKILL.md` |
|
|
65
|
+
| **AGENTS.md** | `AGENTS.md` | `src/{type}/AGENTS.md` |
|
|
66
|
+
| **CLAUDE.md** | `CLAUDE.md` | `src/{type}/CLAUDE.md` |
|
|
67
|
+
| **Claude Rules Snippets** | `.claude/rules-snippets/*.md` | `src/{type}/.claude/rules-snippets/*.md` |
|
|
68
|
+
| **Claude Prompt Snippets** | `.claude/prompt-snippets/*.md` | `src/{type}/.claude/prompt-snippets/*.md` |
|
|
69
|
+
| **Claude Agent Snippets** | `.claude/agents-snippets/*.md` | `src/{type}/.claude/agents-snippets/*.md` |
|
|
70
|
+
| **OpenCode Config** | `.opencode/opencode.json` | `src/{type}/.opencode/opencode.json` |
|
|
71
|
+
| **OpenCode Commands** | `.opencode/commands/*.md` | `src/{type}/.opencode/commands/*.md` |
|
|
72
|
+
| **OpenCode Rules** | `.opencode/rules/*.md` | `src/{type}/.opencode/rules/*.md` |
|
|
73
|
+
| **OpenCode Agents** | `.opencode/agents/*.md` | `src/{type}/.opencode/agents/*.md` |
|
|
74
|
+
| **OpenCode Plugins** | `.opencode/plugins/*.mjs` | `src/{type}/.opencode/plugins/*.mjs` |
|
|
75
|
+
| **Hooks** | `hooks/*.{js,sh,ps1}` | `src/{type}/hooks/*.{js,sh,ps1}` |
|
|
76
|
+
| **Agent Rules** | `.agents/rules/*.md` | `src/{type}/.agents/rules/*.md` |
|
|
77
|
+
| **Toolkit Version** | `.toolkit-version` | `.toolkit-version` (root of toolkit) |
|
|
78
|
+
|
|
79
|
+
**⚠️ OpenCode `opencode.json` Schema Validation:**
|
|
80
|
+
|
|
81
|
+
When patching `.opencode/opencode.json`, **only add or modify supported top-level keys**. The schema is defined at `https://opencode.ai/config.json`. Do NOT add unsupported keys.
|
|
82
|
+
|
|
83
|
+
**Supported top-level keys:** `$schema`, `instructions`, `skills`, `agent`, `default_agent`, `model`, `small_model`, `provider`, `mcp`, `tools`, `permission`, `lsp`, `formatter`, `server`, `shell`, `command`, `plugin`, `watcher`, `snapshot`, `share`, `autoupdate`, `compaction`, `attachment`, `logLevel`, `disabled_providers`, `enabled_providers`, `tool_output`, `enterprise`, `experimental`
|
|
84
|
+
|
|
85
|
+
**Do NOT add** keys like `rules`, `agents`, `commands`, `prompts` as top-level keys — OpenCode uses the `.opencode/` directory structure and `instructions` array instead.
|
|
86
|
+
|
|
87
|
+
> **Watch out:** the ponytail template uses the `plugin` key (singular). If you see `plugins` (plural) in your `opencode.json`, that's a typo and the plugin won't load.
|
|
88
|
+
|
|
89
|
+
3. **Diff Analysis** (parallelizable — dispatch one subagent per category):
|
|
90
|
+
|
|
91
|
+
For each category, compare template files against project files:
|
|
92
|
+
|
|
93
|
+
a. **Classify each file**:
|
|
94
|
+
- **🆕 New**: Exists in template but not in project → candidate for addition
|
|
95
|
+
- **📝 Updated**: Exists in both but template has newer content → candidate for merge
|
|
96
|
+
- **✅ Current**: Exists in both and content matches → no action needed
|
|
97
|
+
- **🔧 Customized**: Exists in both, project version has non-placeholder customizations → careful merge
|
|
98
|
+
- **⚠️ Missing in Template**: Exists in project but not in template → project-specific, keep as-is
|
|
99
|
+
|
|
100
|
+
b. **For updated files, generate a structured diff**:
|
|
101
|
+
- Preserve project-specific `{{PLACEHOLDER}}` replacements (already-bootstrapped values)
|
|
102
|
+
- Identify structural additions (new sections, new rules, new steps)
|
|
103
|
+
- Identify structural removals (deprecated guidance, removed sections)
|
|
104
|
+
- Identify content updates (changed instructions, improved wording)
|
|
105
|
+
|
|
106
|
+
c. **Smart Merge Rules**:
|
|
107
|
+
- **Never overwrite** project-specific values that replaced `{{PLACEHOLDER}}`
|
|
108
|
+
- **Always add** new files that don't exist in the project
|
|
109
|
+
- **Merge structural additions** into existing customized files
|
|
110
|
+
- **Flag for review** any removals from files that have been customized
|
|
111
|
+
- **Preserve custom agents/skills** that were added by the project
|
|
112
|
+
|
|
113
|
+
4. **Generate Patch Report**:
|
|
114
|
+
|
|
115
|
+
```markdown
|
|
116
|
+
## 🩹 Bootstrap Patch Report
|
|
117
|
+
|
|
118
|
+
**Toolkit Version**: [commit hash] ([date])
|
|
119
|
+
**Project Type**: repo | monorepo
|
|
120
|
+
**Categories Scanned**: [list]
|
|
121
|
+
|
|
122
|
+
### 🆕 New Files (X files)
|
|
123
|
+
|
|
124
|
+
| File | Category | Description |
|
|
125
|
+
| ---- | -------- | ----------- |
|
|
126
|
+
| `.cursor/rules/new-rule.mdc` | Rules | New coding standard rule |
|
|
127
|
+
|
|
128
|
+
### 📝 Updated Files (X files)
|
|
129
|
+
|
|
130
|
+
| File | Changes | Risk |
|
|
131
|
+
| ---- | ------- | ---- |
|
|
132
|
+
| `.cursor/commands/implement.md` | Added orchestrator checkpoint | Low - additive |
|
|
133
|
+
| `.github/instructions/subagent-workflow.instructions.md` | Added parallelization analysis | Low - additive |
|
|
134
|
+
|
|
135
|
+
### ✅ Current Files (X files)
|
|
136
|
+
[No action needed]
|
|
137
|
+
|
|
138
|
+
### 🔧 Customized Files Requiring Review (X files)
|
|
139
|
+
|
|
140
|
+
| File | Template Changes | Project Customizations | Merge Strategy |
|
|
141
|
+
| ---- | ---------------- | ---------------------- | -------------- |
|
|
142
|
+
| `AGENTS.md` | New section added | Has project-specific content | Manual merge |
|
|
143
|
+
|
|
144
|
+
### Summary
|
|
145
|
+
- **Auto-apply**: X new files + Y updated files with no conflicts
|
|
146
|
+
- **Review needed**: Z customized files with structural changes
|
|
147
|
+
- **No action**: W files already current
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
5. **Confirm and Apply**:
|
|
151
|
+
|
|
152
|
+
- If `--dry-run` flag: Output the report without making changes
|
|
153
|
+
- Otherwise: Present the report and ask the user to confirm with (Y/n)
|
|
154
|
+
- On confirmation:
|
|
155
|
+
a. **New files**: Copy directly from template
|
|
156
|
+
b. **Updated files (no customization)**: Replace with template version
|
|
157
|
+
c. **Updated files (customized)**: Apply structural additions while preserving project values
|
|
158
|
+
d. **Git commit**: Stage and commit all changes with message:
|
|
159
|
+
```bash
|
|
160
|
+
git add -A
|
|
161
|
+
git commit -m "chore: patch AI instructions from toolkit [$(date +%Y-%m-%d)]"
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
6. **Cleanup**:
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
rm -rf "$TOOLKIT_TEMP"
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
7. **Post-Patch Validation**:
|
|
171
|
+
|
|
172
|
+
- Verify no `{{PLACEHOLDER}}` syntax was accidentally re-introduced
|
|
173
|
+
- Confirm all files are valid (no broken frontmatter, no syntax errors)
|
|
174
|
+
- List any new placeholders that need manual `bootstrap` to fill
|
|
175
|
+
|
|
176
|
+
## Smart Merge Strategy
|
|
177
|
+
|
|
178
|
+
### Preserving Project Values
|
|
179
|
+
|
|
180
|
+
When a file has been bootstrapped (placeholders replaced with real values), the patch must:
|
|
181
|
+
|
|
182
|
+
1. **Detect replaced placeholders**: Compare file against template, identify where `{{VAR}}` was replaced with a concrete value
|
|
183
|
+
2. **Build a replacement map**: `{"{{PROJECT_NAME}}": "my-app", "{{FRAMEWORK}}": "Next.js", ...}`
|
|
184
|
+
3. **Apply template structural changes**: Add new sections, update instructions
|
|
185
|
+
4. **Re-apply replacement map**: Restore project-specific values in the updated content
|
|
186
|
+
|
|
187
|
+
### Conflict Resolution
|
|
188
|
+
|
|
189
|
+
- **Additive changes** (new sections, new steps): Auto-merge
|
|
190
|
+
- **Modified instructions** (changed wording in existing sections): Replace template text, re-apply value map
|
|
191
|
+
- **Removed sections**: Flag for user review — project may depend on removed guidance
|
|
192
|
+
- **Structural reorganization**: Replace entire file, re-apply value map, flag for review
|
|
193
|
+
|
|
194
|
+
## Guidelines
|
|
195
|
+
|
|
196
|
+
- **Non-destructive by default**: Always show changes before applying
|
|
197
|
+
- **Preserve customizations**: Never lose project-specific configuration
|
|
198
|
+
- **Incremental**: Only apply what's changed, don't re-bootstrap everything
|
|
199
|
+
- **Auditable**: Commit message includes date for tracking patch history
|
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
# Bootstrap Upgrade — Monorepo
|
|
2
|
+
|
|
3
|
+
Migrate this monorepo's AI instruction files from the pre-3.0 inline pattern to the 3.0+ snippet-based architecture.
|
|
4
|
+
|
|
5
|
+
## Orchestrator Checkpoint
|
|
6
|
+
|
|
7
|
+
> **🛑 Before starting**: This command involves reading, extracting, and rewriting many files across multiple directories.
|
|
8
|
+
> Dispatch parallel subagents for independent file groups (`.claude/`, `.github/`, `.cursor/`, `.opencode/`).
|
|
9
|
+
> Steps 3-6 can run in parallel per directory. Steps 7-15 are sequential.
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
/bootstrap-upgrade
|
|
15
|
+
/bootstrap-upgrade --dry-run
|
|
16
|
+
/bootstrap-upgrade --verbose
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
- `--dry-run`: Show what would be changed without writing files
|
|
20
|
+
- `--verbose`: Log every file read/write operation
|
|
21
|
+
|
|
22
|
+
## Process
|
|
23
|
+
|
|
24
|
+
### Step 1: Pre-flight Checks
|
|
25
|
+
|
|
26
|
+
1. **Confirm monorepo structure**: Verify `apps/` and `packages/` directories exist at root. If not, abort and suggest using the single-repo upgrade command instead.
|
|
27
|
+
|
|
28
|
+
2. **Check existing version**: Read `.toolkit-version` if it exists.
|
|
29
|
+
- If version is `>= 3.0.0` and snippet directories exist → **abort**: "Already on v3.0+. No migration needed."
|
|
30
|
+
- If version is `< 3.0.0` or missing → proceed.
|
|
31
|
+
|
|
32
|
+
3. **Detect build system** (for CLAUDE.md update in Step 10):
|
|
33
|
+
- `turbo.json` → Turborepo
|
|
34
|
+
- `nx.json` → Nx
|
|
35
|
+
- `lerna.json` → Lerna
|
|
36
|
+
- `pnpm-workspace.yaml` → pnpm workspaces
|
|
37
|
+
- `workspaces` in `package.json` → npm/yarn workspaces
|
|
38
|
+
|
|
39
|
+
4. **Inventory files to migrate** (parallelizable — scan all directories simultaneously):
|
|
40
|
+
|
|
41
|
+
| Directory | Glob | Count |
|
|
42
|
+
|-----------|------|-------|
|
|
43
|
+
| `.claude/rules/` | `*.md` | {{N}} |
|
|
44
|
+
| `.claude/commands/` | `*.md` | {{N}} |
|
|
45
|
+
| `.claude/agents/` | `*.agent.md` | {{N}} |
|
|
46
|
+
| `.github/instructions/` | `*.instructions.md` | {{N}} |
|
|
47
|
+
| `.github/prompts/` | `*.prompt.md` | {{N}} |
|
|
48
|
+
| `.github/agents/` | `*.agent.md` | {{N}} |
|
|
49
|
+
| `.cursor/rules/` | `*.mdc` | {{N}} |
|
|
50
|
+
| `.cursor/commands/` | `*.md` | {{N}} |
|
|
51
|
+
| `.cursor/agents/` | `*.agent.md` | {{N}} |
|
|
52
|
+
|
|
53
|
+
5. **Present summary and ask for confirmation**:
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
## 🔄 Monorepo Upgrade: Pre-3.0 → v3.0.0 (Snippet Architecture)
|
|
57
|
+
|
|
58
|
+
### What will change
|
|
59
|
+
|
|
60
|
+
- Create `.claude/rules-snippets/`, `.claude/prompt-snippets/`, `.claude/agents-snippets/`
|
|
61
|
+
- Extract content from {{N}} files into snippet files
|
|
62
|
+
- Convert originals to thin wrappers referencing snippets
|
|
63
|
+
- Create `.opencode/` directory with thin wrappers
|
|
64
|
+
- Clean up duplicate skill directories
|
|
65
|
+
- Update CLAUDE.md with multi-tool sections
|
|
66
|
+
- Write `.toolkit-version` with `3.0.0`
|
|
67
|
+
|
|
68
|
+
### Monorepo-specific changes
|
|
69
|
+
|
|
70
|
+
- `paths:` frontmatter preserved in rule snippets (app/package scoping)
|
|
71
|
+
- Per-app AGENTS.md files left untouched
|
|
72
|
+
- Cross-app instruction references maintained
|
|
73
|
+
|
|
74
|
+
Proceed? (Y/n)
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Step 2: Create Snippet Directories
|
|
78
|
+
|
|
79
|
+
Create these directories if they don't exist:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
mkdir -p .claude/rules-snippets
|
|
83
|
+
mkdir -p .claude/prompt-snippets
|
|
84
|
+
mkdir -p .claude/agents-snippets
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Step 3: Extract Content from .claude/ (Primary Source of Truth)
|
|
88
|
+
|
|
89
|
+
> **Parallelizable**: Process rules, commands, and agents in parallel.
|
|
90
|
+
|
|
91
|
+
For each `.claude/rules/*.md`:
|
|
92
|
+
1. Read the file
|
|
93
|
+
2. Parse frontmatter (between `---` delimiters) — **preserve `paths:` and `applyTo:` fields**
|
|
94
|
+
3. Extract the body (everything after the closing `---`)
|
|
95
|
+
4. Write to `.claude/rules-snippets/<name>.md` — include the frontmatter fields (`paths:`, `applyTo:`, `description:`) at the top of the snippet
|
|
96
|
+
|
|
97
|
+
For each `.claude/commands/*.md`:
|
|
98
|
+
1. Read the file
|
|
99
|
+
2. Extract body content (after frontmatter)
|
|
100
|
+
3. Write to `.claude/prompt-snippets/<name>.md`
|
|
101
|
+
|
|
102
|
+
For each `.claude/agents/*.agent.md`:
|
|
103
|
+
1. Read the file
|
|
104
|
+
2. Parse frontmatter — preserve `user-invocable`, `agents`, `mode`, `model`, `temperature`, `permission` fields
|
|
105
|
+
3. Extract body content
|
|
106
|
+
4. Write to `.claude/agents-snippets/<name>.md`
|
|
107
|
+
|
|
108
|
+
### Step 4: Convert .claude/ Files to Thin Wrappers
|
|
109
|
+
|
|
110
|
+
> **Parallelizable**: Process rules, commands, and agents in parallel.
|
|
111
|
+
|
|
112
|
+
**Rules** — Replace each `.claude/rules/*.md` body with:
|
|
113
|
+
|
|
114
|
+
```markdown
|
|
115
|
+
---
|
|
116
|
+
{{ORIGINAL_FRONTMATTER}}
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
# {{TITLE}}
|
|
120
|
+
|
|
121
|
+
Follow the rules defined in [.claude/rules-snippets/{{NAME}}.md](../rules-snippets/{{NAME}}.md).
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
**Commands** — Replace each `.claude/commands/*.md` body with:
|
|
125
|
+
|
|
126
|
+
```markdown
|
|
127
|
+
---
|
|
128
|
+
{{ORIGINAL_FRONTMATTER}}
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
# {{TITLE}}
|
|
132
|
+
|
|
133
|
+
Follow the prompt defined in [.claude/prompt-snippets/{{NAME}}.md](../prompt-snippets/{{NAME}}.md).
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
**Agents** — Replace each `.claude/agents/*.agent.md` body with:
|
|
137
|
+
|
|
138
|
+
```markdown
|
|
139
|
+
---
|
|
140
|
+
{{ORIGINAL_FRONTMATTER}}
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
# {{AGENT_NAME}}
|
|
144
|
+
|
|
145
|
+
Follow the agent definition in [.claude/agents-snippets/{{NAME}}.md](../agents-snippets/{{NAME}}.md).
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Step 5: Convert .github/ Files to Thin Wrappers
|
|
149
|
+
|
|
150
|
+
> **Parallelizable**: Process instructions, prompts, and agents in parallel.
|
|
151
|
+
|
|
152
|
+
**Instructions** — For each `.github/instructions/*.instructions.md`:
|
|
153
|
+
1. Check if a matching snippet exists in `.claude/rules-snippets/`
|
|
154
|
+
2. If no matching snippet: extract body content → create `.claude/rules-snippets/<name>.md`
|
|
155
|
+
3. Replace body with thin wrapper preserving `applyTo:` and `description:` frontmatter:
|
|
156
|
+
|
|
157
|
+
```markdown
|
|
158
|
+
---
|
|
159
|
+
applyTo: "{{ORIGINAL_APPLY_TO}}"
|
|
160
|
+
description: "{{ORIGINAL_DESCRIPTION}}"
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
# {{TITLE}}
|
|
164
|
+
|
|
165
|
+
Follow the rules defined in [.claude/rules-snippets/{{NAME}}.md](../../.claude/rules-snippets/{{NAME}}.md).
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
**Prompts** — For each `.github/prompts/*.prompt.md`:
|
|
169
|
+
1. Check if a matching snippet exists in `.claude/prompt-snippets/`
|
|
170
|
+
2. If no matching snippet: extract body → create `.claude/prompt-snippets/<name>.md`
|
|
171
|
+
3. Replace body with thin wrapper:
|
|
172
|
+
|
|
173
|
+
```markdown
|
|
174
|
+
---
|
|
175
|
+
{{ORIGINAL_FRONTMATTER}}
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
# {{TITLE}}
|
|
179
|
+
|
|
180
|
+
Follow the prompt defined in [.claude/prompt-snippets/{{NAME}}.md](../../.claude/prompt-snippets/{{NAME}}.md).
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
**Agents** — For each `.github/agents/*.agent.md`:
|
|
184
|
+
1. Check if a matching snippet exists in `.claude/agents-snippets/`
|
|
185
|
+
2. If no matching snippet: extract body → create `.claude/agents-snippets/<name>.md`
|
|
186
|
+
3. Replace body with thin wrapper:
|
|
187
|
+
|
|
188
|
+
```markdown
|
|
189
|
+
---
|
|
190
|
+
{{ORIGINAL_FRONTMATTER}}
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
# {{AGENT_NAME}}
|
|
194
|
+
|
|
195
|
+
Follow the agent definition in [.claude/agents-snippets/{{NAME}}.md](../../.claude/agents-snippets/{{NAME}}.md).
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Step 6: Convert .cursor/ Files to Thin Wrappers
|
|
199
|
+
|
|
200
|
+
> **Parallelizable**: Process rules, commands, and agents in parallel.
|
|
201
|
+
|
|
202
|
+
**Rules** — For each `.cursor/rules/*.mdc`:
|
|
203
|
+
1. Check if a matching snippet exists in `.claude/rules-snippets/`
|
|
204
|
+
2. If no matching snippet: extract body → create `.claude/rules-snippets/<name>.md`
|
|
205
|
+
3. Replace body with thin wrapper preserving original `.mdc` frontmatter:
|
|
206
|
+
|
|
207
|
+
```markdown
|
|
208
|
+
---
|
|
209
|
+
{{ORIGINAL_MDC_FRONTMATTER}}
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
# {{TITLE}}
|
|
213
|
+
|
|
214
|
+
Follow the rules defined in [.claude/rules-snippets/{{NAME}}.md](../../.claude/rules-snippets/{{NAME}}.md).
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
**Commands** — For each `.cursor/commands/*.md`:
|
|
218
|
+
1. Check if a matching snippet exists in `.claude/prompt-snippets/`
|
|
219
|
+
2. If no matching snippet: extract body → create `.claude/prompt-snippets/<name>.md`
|
|
220
|
+
3. Replace body with thin wrapper referencing `../../.claude/prompt-snippets/{{NAME}}.md`
|
|
221
|
+
|
|
222
|
+
**Agents** — For each `.cursor/agents/*.agent.md`:
|
|
223
|
+
1. Check if a matching snippet exists in `.claude/agents-snippets/`
|
|
224
|
+
2. If no matching snippet: extract body → create `.claude/agents-snippets/<name>.md`
|
|
225
|
+
3. Replace body with thin wrapper referencing `../../.claude/agents-snippets/{{NAME}}.md`
|
|
226
|
+
|
|
227
|
+
### Step 7: Create .opencode/ Directory
|
|
228
|
+
|
|
229
|
+
1. Create `.opencode/opencode.json` using only supported schema keys:
|
|
230
|
+
|
|
231
|
+
```json
|
|
232
|
+
{
|
|
233
|
+
"$schema": "https://opencode.ai/config.json",
|
|
234
|
+
"instructions": [
|
|
235
|
+
"AGENTS.md",
|
|
236
|
+
".opencode/rules/*.md"
|
|
237
|
+
],
|
|
238
|
+
"skills": {
|
|
239
|
+
"paths": [
|
|
240
|
+
".agents/skills/**/*.md",
|
|
241
|
+
".claude/skills/**/*.md"
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
"lsp": true
|
|
245
|
+
}
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
**⚠️ Schema Validation:** Only use supported top-level keys from `https://opencode.ai/config.json`. Do NOT add unsupported keys like `rules`, `commands`, or `agents` as top-level entries — OpenCode discovers these via the `.opencode/` directory structure and the `instructions`/`skills` config arrays.
|
|
249
|
+
|
|
250
|
+
**Supported top-level keys:** `$schema`, `instructions`, `skills`, `agent`, `default_agent`, `model`, `small_model`, `provider`, `mcp`, `tools`, `permission`, `lsp`, `formatter`, `server`, `shell`, `command`, `plugin`, `watcher`, `snapshot`, `share`, `autoupdate`, `compaction`, `attachment`, `logLevel`, `disabled_providers`, `enabled_providers`, `tool_output`, `enterprise`, `experimental`
|
|
251
|
+
|
|
252
|
+
2. **Copy OpenCode plugins**:
|
|
253
|
+
- Copy any `.opencode/plugins/*.mjs` files from the template
|
|
254
|
+
|
|
255
|
+
3. Create `.opencode/commands/*.md` — one thin wrapper per `.claude/commands/*.md`:
|
|
256
|
+
|
|
257
|
+
```markdown
|
|
258
|
+
---
|
|
259
|
+
description: "{{DESCRIPTION}}"
|
|
260
|
+
agent: build
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
# {{TITLE}}
|
|
264
|
+
|
|
265
|
+
@.claude/prompt-snippets/{{NAME}}.md
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
4. Create `.opencode/rules/*.md` — one thin wrapper per `.claude/rules/*.md`:
|
|
269
|
+
|
|
270
|
+
```markdown
|
|
271
|
+
# {{TITLE}}
|
|
272
|
+
|
|
273
|
+
@.claude/rules-snippets/{{NAME}}.md
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
5. Create `.opencode/agents/*.md` — one thin wrapper per `.claude/agents/*.agent.md`:
|
|
277
|
+
|
|
278
|
+
```markdown
|
|
279
|
+
---
|
|
280
|
+
description: "{{DESCRIPTION}}"
|
|
281
|
+
mode: subagent
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
# {{AGENT_NAME}}
|
|
285
|
+
|
|
286
|
+
@.claude/agents-snippets/{{NAME}}.md
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
### Step 8: Install Pre-Commit Hook
|
|
290
|
+
|
|
291
|
+
Install the CHANGELOG/secrets enforcement hook to run before every commit:
|
|
292
|
+
|
|
293
|
+
1. Copy `scripts/pre-commit-check.sh` from the template to the target project's `scripts/` directory
|
|
294
|
+
2. Install as a git hook:
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
cp scripts/pre-commit-check.sh .git/hooks/pre-commit
|
|
298
|
+
chmod +x .git/hooks/pre-commit
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
This enforces:
|
|
302
|
+
- **CHANGELOG.md** — [Unreleased] must have content when non-trivial files are staged
|
|
303
|
+
- **Zone.Identifier** — `*:Zone.Identifier` files are blocked from commit
|
|
304
|
+
- **Secrets** — `.env`, `.env.*`, `*.key`, `*.pem` files are blocked from commit
|
|
305
|
+
|
|
306
|
+
Use `git commit --no-verify` to bypass.
|
|
307
|
+
|
|
308
|
+
### Step 9: Install Project Hooks
|
|
309
|
+
|
|
310
|
+
1. Create `hooks/` directory in the target project
|
|
311
|
+
2. Copy all files from the template's `hooks/*` directory (preserve sub-structure)
|
|
312
|
+
3. Make `.js` files executable on Unix: `chmod +x hooks/*.js`
|
|
313
|
+
|
|
314
|
+
### Step 10: Clean Up Duplicate Skills
|
|
315
|
+
|
|
316
|
+
- Copy `.agents/rules/*.md` from the template
|
|
317
|
+
|
|
318
|
+
1. Keep `.agents/skills/` as the source of truth
|
|
319
|
+
2. For each of `.claude/skills/`, `.cursor/skills/`, `.github/skills/`:
|
|
320
|
+
- If directory exists, remove all subdirectories except `README.md`
|
|
321
|
+
3. Remove any nested duplicates: `subagent-driven-development/subagent-driven-development/`
|
|
322
|
+
|
|
323
|
+
### Step 11: Update CLAUDE.md
|
|
324
|
+
|
|
325
|
+
Read the existing `CLAUDE.md` and add missing sections:
|
|
326
|
+
|
|
327
|
+
1. **Multi-tool sections** — add if missing:
|
|
328
|
+
- GitHub Copilot section (references `.github/instructions/`, `.github/prompts/`, `.github/agents/`)
|
|
329
|
+
- Cursor IDE section (references `.cursor/rules/`, `.cursor/commands/`, `.cursor/agents/`)
|
|
330
|
+
- OpenCode section (references `.opencode/`)
|
|
331
|
+
|
|
332
|
+
2. **Monorepo-specific sections** — preserve existing or add if missing:
|
|
333
|
+
- Apps section (references per-app `AGENTS.md` files)
|
|
334
|
+
- Packages section
|
|
335
|
+
- Build system section ({{BUILD_SYSTEM}} detected in Step 1)
|
|
336
|
+
|
|
337
|
+
3. **Snippet architecture section** — add:
|
|
338
|
+
```markdown
|
|
339
|
+
## Snippet Architecture
|
|
340
|
+
|
|
341
|
+
Content lives in `.claude/{rules,prompt,agents}-snippets/`. All tool configs are thin wrappers:
|
|
342
|
+
|
|
343
|
+
- `.claude/rules/*.md` → `.claude/rules-snippets/`
|
|
344
|
+
- `.claude/commands/*.md` → `.claude/prompt-snippets/`
|
|
345
|
+
- `.claude/agents/*.agent.md` → `.claude/agents-snippets/`
|
|
346
|
+
- `.github/instructions/*.md` → `.claude/rules-snippets/`
|
|
347
|
+
- `.github/prompts/*.md` → `.claude/prompt-snippets/`
|
|
348
|
+
- `.github/agents/*.agent.md` → `.claude/agents-snippets/`
|
|
349
|
+
- `.cursor/rules/*.mdc` → `.claude/rules-snippets/`
|
|
350
|
+
- `.cursor/commands/*.md` → `.claude/prompt-snippets/`
|
|
351
|
+
- `.cursor/agents/*.agent.md` → `.claude/agents-snippets/`
|
|
352
|
+
- `.opencode/{commands,rules,agents}/*.md` → `@.claude/{snippet-type}/`
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
### Step 12: Create .toolkit-version File
|
|
356
|
+
|
|
357
|
+
Write `3.0.0` to `.toolkit-version`.
|
|
358
|
+
|
|
359
|
+
### Step 13: Validation
|
|
360
|
+
|
|
361
|
+
Run these checks (parallelizable):
|
|
362
|
+
|
|
363
|
+
1. **Snippet completeness**: Every `.md` file in `.claude/rules-snippets/`, `.claude/prompt-snippets/`, `.claude/agents-snippets/` must have content (not empty)
|
|
364
|
+
2. **Thin wrapper correctness**: Every thin wrapper must contain a reference to its snippet with the correct relative path
|
|
365
|
+
3. **Monorepo `paths:` preserved**: For files that had `paths:` frontmatter in `.claude/rules/`, verify the snippet also contains `paths:`
|
|
366
|
+
4. **No lost placeholders**: Scan all snippet files — any `{{` in original must appear in snippet
|
|
367
|
+
5. **No broken paths**: Verify all relative paths resolve correctly (e.g., `../rules-snippets/` from `.claude/rules/`)
|
|
368
|
+
|
|
369
|
+
If `--verbose`: log each check result.
|
|
370
|
+
|
|
371
|
+
### Step 14: Generate Upgrade Report
|
|
372
|
+
|
|
373
|
+
```markdown
|
|
374
|
+
## ✅ Monorepo Upgrade Complete: v3.0.0 (Snippet Architecture)
|
|
375
|
+
|
|
376
|
+
### Build System: {{BUILD_SYSTEM}}
|
|
377
|
+
|
|
378
|
+
### Directories Created
|
|
379
|
+
|
|
380
|
+
| Directory | Files |
|
|
381
|
+
|-----------|-------|
|
|
382
|
+
| `.claude/rules-snippets/` | {{N}} |
|
|
383
|
+
| `.claude/prompt-snippets/` | {{N}} |
|
|
384
|
+
| `.claude/agents-snippets/` | {{N}} |
|
|
385
|
+
| `.opencode/commands/` | {{N}} |
|
|
386
|
+
| `.opencode/rules/` | {{N}} |
|
|
387
|
+
| `.opencode/agents/` | {{N}} |
|
|
388
|
+
|
|
389
|
+
### Files Converted to Thin Wrappers
|
|
390
|
+
|
|
391
|
+
| Category | Count | Example |
|
|
392
|
+
|----------|-------|---------|
|
|
393
|
+
| `.claude/rules/` | {{N}} | `coding-standards.md` → thin wrapper |
|
|
394
|
+
| `.claude/commands/` | {{N}} | `bootstrap.md` → thin wrapper |
|
|
395
|
+
| `.claude/agents/` | {{N}} | `reviewer.agent.md` → thin wrapper |
|
|
396
|
+
| `.github/instructions/` | {{N}} | `coding-standards.instructions.md` → thin wrapper |
|
|
397
|
+
| `.github/prompts/` | {{N}} | `specify.prompt.md` → thin wrapper |
|
|
398
|
+
| `.github/agents/` | {{N}} | `reviewer.agent.md` → thin wrapper |
|
|
399
|
+
| `.cursor/rules/` | {{N}} | `coding-standards.mdc` → thin wrapper |
|
|
400
|
+
| `.cursor/commands/` | {{N}} | `bootstrap.md` → thin wrapper |
|
|
401
|
+
| `.cursor/agents/` | {{N}} | `reviewer.agent.md` → thin wrapper |
|
|
402
|
+
|
|
403
|
+
### New Files
|
|
404
|
+
|
|
405
|
+
| File | Purpose |
|
|
406
|
+
|------|---------|
|
|
407
|
+
| `.opencode/opencode.json` | OpenCode configuration |
|
|
408
|
+
| `.toolkit-version` | Version tracking (`3.0.0`) |
|
|
409
|
+
|
|
410
|
+
### Validation Results
|
|
411
|
+
|
|
412
|
+
| Check | Status |
|
|
413
|
+
|-------|--------|
|
|
414
|
+
| Snippet completeness | ✅ All snippets have content |
|
|
415
|
+
| Thin wrapper references | ✅ All wrappers reference correct snippets |
|
|
416
|
+
| `paths:` frontmatter preserved | ✅ Monorepo scoping intact |
|
|
417
|
+
| No lost placeholders | ✅ All `{{VAR}}` preserved |
|
|
418
|
+
| No broken paths | ✅ All relative paths resolve |
|
|
419
|
+
|
|
420
|
+
### Cleanup
|
|
421
|
+
|
|
422
|
+
- Removed duplicate skill directories from `.claude/skills/`, `.cursor/skills/`, `.github/skills/`
|
|
423
|
+
- Kept `.agents/skills/` as source of truth
|
|
424
|
+
|
|
425
|
+
### Next Steps
|
|
426
|
+
|
|
427
|
+
1. Review thin wrappers to confirm snippet paths are correct
|
|
428
|
+
2. Run `/bootstrap-patch` to sync with latest toolkit templates
|
|
429
|
+
3. Test a few commands (`/bootstrap`, `/specify`) to verify they work
|
|
430
|
+
4. Commit the migration
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
### Step 15: Git Commit
|
|
434
|
+
|
|
435
|
+
```bash
|
|
436
|
+
git add -A
|
|
437
|
+
git commit -m "chore: upgrade AI instructions to toolkit v3.0.0 (snippet architecture)"
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
## Error Handling
|
|
441
|
+
|
|
442
|
+
- If a `.claude/rules/*.md` file is already a thin wrapper (< 20 lines with a snippet reference), skip it
|
|
443
|
+
- If `.github/instructions/*.instructions.md` already references `.claude/rules-snippets/`, skip it
|
|
444
|
+
- If a snippet file already exists with content, do not overwrite — log a warning
|
|
445
|
+
- If `.opencode/` already exists, merge new files without overwriting existing ones
|
|
446
|
+
|
|
447
|
+
## Notes
|
|
448
|
+
|
|
449
|
+
- This command is idempotent — safe to re-run if interrupted
|
|
450
|
+
- Per-app `AGENTS.md` files in `apps/*/` are not modified by this migration
|
|
451
|
+
- Shared package docs in `packages/*/` are not modified
|
|
452
|
+
- The `paths:` frontmatter in monorepo rules enables path-scoped rule application (e.g., `apps/**`, `packages/**`)
|