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,156 @@
|
|
|
1
|
+
# Review Pull Request
|
|
2
|
+
|
|
3
|
+
Conduct comprehensive code review for pull requests with structured fix tracking.
|
|
4
|
+
|
|
5
|
+
> **📋 Builds on [review.md](review.md)** — Uses the same review categories and report format. This prompt adds PR-specific workflows: comment retrieval, fix tracking, and thread resolution.
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
/review-pr 42
|
|
11
|
+
/review-pr <PR-or-MR-url>
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Orchestrator Checkpoint
|
|
15
|
+
|
|
16
|
+
> **🛑 For large PRs** (10+ files or 3+ domains): Dispatch specialist reviewers in parallel:
|
|
17
|
+
>
|
|
18
|
+
> - **Backend Architect** → architecture, API design, database
|
|
19
|
+
> - **Frontend Developer** → UI, components, accessibility
|
|
20
|
+
> - **Reviewer** → code quality, SOLID, DRY
|
|
21
|
+
> - **Documenter** → documentation completeness
|
|
22
|
+
> Each reviewer returns findings independently; the orchestrator merges results.
|
|
23
|
+
> See `.claude/rules-snippets/subagent-workflow.md` for patterns.
|
|
24
|
+
|
|
25
|
+
## Process
|
|
26
|
+
|
|
27
|
+
1. **Load PR Context**:
|
|
28
|
+
- Get PR details (title, description, changed files)
|
|
29
|
+
- Extract issue reference if available
|
|
30
|
+
- Get PR diff and file changes
|
|
31
|
+
- **CRITICAL — Comment Retrieval Strategy**:
|
|
32
|
+
1. **Use issue tracker MCP tools** (preferred) to retrieve ALL comments:
|
|
33
|
+
- Get PR/MR details and review comments
|
|
34
|
+
- Get the active PR/MR context
|
|
35
|
+
- Fetch **top-level conversation comments** (often missed!)
|
|
36
|
+
- Fetch **inline review comments** (comments on specific lines of code)
|
|
37
|
+
- Fetch **pending review comments** (from in-progress reviews)
|
|
38
|
+
2. **If MCP tools fail or unavailable**, fall back to the CLI — see the `issue-tracker` skill (`.agents/skills/issue-tracker/SKILL.md`) for your tracker's API commands.
|
|
39
|
+
3. **Always check BOTH** top-level conversation comments AND inline review comments — agents commonly miss top-level comments by only checking inline review comments
|
|
40
|
+
- Identify which comments are **unresolved/open** vs already resolved
|
|
41
|
+
|
|
42
|
+
2. **Review PR Comments from ALL Reviewers**:
|
|
43
|
+
- **CRITICAL**: Use `manage_todo_list` tool to create comprehensive todo list
|
|
44
|
+
- Extract and categorize ALL **unresolved/open** PR comments by severity:
|
|
45
|
+
- Critical (blocking issues)
|
|
46
|
+
- High Priority (should be fixed before merge)
|
|
47
|
+
- Medium Priority (important improvements)
|
|
48
|
+
- For each comment:
|
|
49
|
+
- Summarize the reviewer's feedback
|
|
50
|
+
- Assess confidence in the resolution — can you fix this with high confidence?
|
|
51
|
+
- **If the comment is unclear, ambiguous, or you cannot determine the right fix**:
|
|
52
|
+
- **STOP and ask the user for clarification** before proceeding
|
|
53
|
+
- Present 2-3 recommended solutions with trade-offs for each
|
|
54
|
+
- Explain what you understand and what is unclear
|
|
55
|
+
- Do NOT guess at a fix when the intent is ambiguous
|
|
56
|
+
- If confident, propose a resolution plan with 99.9% confidence level
|
|
57
|
+
- Add to todo list with appropriate status
|
|
58
|
+
|
|
59
|
+
3. **Verify Requirements**:
|
|
60
|
+
- Read specification if linked
|
|
61
|
+
- Check task completion against acceptance criteria
|
|
62
|
+
- Verify all requirements met
|
|
63
|
+
|
|
64
|
+
4. **Apply Review Checklist**:
|
|
65
|
+
- Apply all review categories from [review.md](review.md) (Architecture & Patterns, Functionality, Code Quality, Error Handling, Security, Performance, Testing, Documentation)
|
|
66
|
+
- Add all identified issues to todo list
|
|
67
|
+
|
|
68
|
+
5. **Review Decision**:
|
|
69
|
+
- **✅ Approve**: All criteria met, ready for merge
|
|
70
|
+
- **❌ Request Changes**: Blocking issues found
|
|
71
|
+
- **💬 Comment**: Non-blocking suggestions only
|
|
72
|
+
|
|
73
|
+
6. **Provide Actionable Improvements**:
|
|
74
|
+
- For each suggestion:
|
|
75
|
+
- Provide clear explanation of why improvement is needed
|
|
76
|
+
- Include specific code examples or patterns
|
|
77
|
+
- Reference best practices or conventions
|
|
78
|
+
|
|
79
|
+
7. **Output Format**:
|
|
80
|
+
|
|
81
|
+
Use the standard report format from [review.md](review.md), with these PR-specific additions:
|
|
82
|
+
|
|
83
|
+
```markdown
|
|
84
|
+
## Review Summary
|
|
85
|
+
|
|
86
|
+
**Decision**: [✅ Approve | ❌ Request Changes | 💬 Comment]
|
|
87
|
+
|
|
88
|
+
[Concise 2-3 sentence summary of review findings]
|
|
89
|
+
|
|
90
|
+
## PR Comments & Resolution Plan
|
|
91
|
+
|
|
92
|
+
| Severity | Reviewer | Comment | Resolution Plan | Confidence |
|
|
93
|
+
| -------- | -------- | --------- | --------------- | ---------- |
|
|
94
|
+
| Critical | @user | [Summary] | [Plan] | 99.9% |
|
|
95
|
+
| High | @user | [Summary] | [Plan] | 99.9% |
|
|
96
|
+
| Medium | @user | [Summary] | [Plan] | 99.9% |
|
|
97
|
+
|
|
98
|
+
## Code Quality Findings
|
|
99
|
+
|
|
100
|
+
[Use the standard categories from review.md: Architecture & Patterns, Functionality, Code Quality, Error Handling, Security, Performance, Testing, Documentation]
|
|
101
|
+
|
|
102
|
+
## Action Items Checklist
|
|
103
|
+
|
|
104
|
+
- [ ] Fix: [Critical issue 1]
|
|
105
|
+
- [ ] Fix: [Critical issue 2]
|
|
106
|
+
- [ ] Address: [High priority comment]
|
|
107
|
+
- [ ] Improve: [Medium priority suggestion]
|
|
108
|
+
|
|
109
|
+
## Fixes Applied
|
|
110
|
+
|
|
111
|
+
_After fixes are implemented, populate this table with every change made:_
|
|
112
|
+
|
|
113
|
+
| File | Issue | Fix |
|
|
114
|
+
| ----------------- | ------------------------------- | -------------------------------- |
|
|
115
|
+
| `ExampleFile.php` | Missing import → fatal error | Added `use Namespace\ClassName;` |
|
|
116
|
+
| `ExampleFile.php` | Unreachable code after `return` | Removed dead `break` statements |
|
|
117
|
+
| `AnotherFile.php` | Field missing from `$casts` | Added `'field' => 'datetime'` |
|
|
118
|
+
|
|
119
|
+
Every fix must appear in this table — one row per file+issue pair.
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
8. **Report Review Status**:
|
|
123
|
+
- Review decision with clear justification
|
|
124
|
+
- Summary of key findings by severity
|
|
125
|
+
- Inline comments for specific code locations
|
|
126
|
+
- Todo list status showing progress
|
|
127
|
+
- Next steps if changes requested
|
|
128
|
+
|
|
129
|
+
9. **Confirm Execution Plan**
|
|
130
|
+
- If there are changes, ask the user to confirm the execution plan with a (Y/n)
|
|
131
|
+
|
|
132
|
+
10. **If the plan is confirmed, proceed with fix Tracking with Internal Todo List**:
|
|
133
|
+
- **Before Starting Work**:
|
|
134
|
+
- Use `manage_todo_list` to create comprehensive list of ALL fixes:
|
|
135
|
+
- PR comments requiring fixes (by severity)
|
|
136
|
+
- Code quality issues
|
|
137
|
+
- Potential bugs or security concerns
|
|
138
|
+
- Performance improvements
|
|
139
|
+
- **During Implementation**:
|
|
140
|
+
- Mark ONE todo as `in-progress` before starting
|
|
141
|
+
- Complete the specific fix
|
|
142
|
+
- Test the fix (if applicable)
|
|
143
|
+
- Mark todo as `completed` IMMEDIATELY after finishing
|
|
144
|
+
- Move to next todo and repeat
|
|
145
|
+
- **Never batch completions** - mark each done immediately
|
|
146
|
+
|
|
147
|
+
11. **Resolve PR Comment Threads After Fixing**:
|
|
148
|
+
- **CRITICAL**: After each comment is addressed and the fix is pushed:
|
|
149
|
+
1. **Resolve the comment thread** via your issue tracker's tools:
|
|
150
|
+
- Use the issue tracker MCP tools to submit a review resolving threads
|
|
151
|
+
- Or reply to each resolved thread with a brief summary of what was fixed
|
|
152
|
+
- Or use the CLI — see the `issue-tracker` skill for your tracker's API commands
|
|
153
|
+
2. **If a comment could NOT be addressed**:
|
|
154
|
+
- Reply to the thread explaining why (e.g., out of scope, needs more context, trade-off decision)
|
|
155
|
+
- Ask the user whether to leave it open or resolve with an explanation
|
|
156
|
+
3. **Verify resolution** — after pushing, confirm the comment threads show as resolved in the PR
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Review Staged Files
|
|
2
|
+
|
|
3
|
+
Review the current staged files before committing.
|
|
4
|
+
|
|
5
|
+
> **📋 Builds on [review.md](review.md)** — Uses the same review categories and report format. This prompt adds staged-files-specific context loading and a pre-commit focus.
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
/review-staged
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Process
|
|
14
|
+
|
|
15
|
+
1. **Load Staged Context**:
|
|
16
|
+
- Run `git diff --cached` to get all staged changes
|
|
17
|
+
- Run `git diff --cached --stat` for a summary of affected files
|
|
18
|
+
- Load `AGENTS.md` for project patterns
|
|
19
|
+
- Identify the scope of changes (feature, fix, refactor, etc.)
|
|
20
|
+
|
|
21
|
+
2. **Apply Review Checklist**:
|
|
22
|
+
- Apply all review categories from [review.md](review.md) (Architecture & Patterns, Functionality, Code Quality, Error Handling, Security, Performance, Testing, Documentation)
|
|
23
|
+
- Focus on issues that should block this specific commit
|
|
24
|
+
|
|
25
|
+
3. **Pre-Commit Checks**:
|
|
26
|
+
- [ ] Documentation updated (see `.claude/rules-snippets/documentation.md`)
|
|
27
|
+
- [ ] No debug code, console logs, or TODO comments left in
|
|
28
|
+
- [ ] No secrets, credentials, or sensitive data
|
|
29
|
+
- [ ] Changes match the commit message scope
|
|
30
|
+
|
|
31
|
+
4. **Output Format**:
|
|
32
|
+
|
|
33
|
+
Use the standard report format from [review.md](review.md).
|
|
34
|
+
|
|
35
|
+
If issues are found, recommend either fixing before commit or creating a follow-up task.
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# Code Review
|
|
2
|
+
|
|
3
|
+
Comprehensive code review checklist for quality, security, and maintainability.
|
|
4
|
+
|
|
5
|
+
> **📋 This is the base review prompt.** [/review-pr](review-pr.md) and [/review-staged](review-staged.md) build on this with scenario-specific guidance. All three share the same review categories and report format defined here.
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
/review {{SRC_DIR}}/feature/component.{{FILE_EXTENSION}}
|
|
11
|
+
/review feature-name
|
|
12
|
+
/review
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Orchestrator Checkpoint
|
|
16
|
+
|
|
17
|
+
> **🛑 For large PRs** (10+ files or 3+ domains): Dispatch specialist reviewers in parallel:
|
|
18
|
+
>
|
|
19
|
+
> - **Backend Architect** → architecture, API design, database
|
|
20
|
+
> - **Frontend Developer** → UI, components, accessibility
|
|
21
|
+
> - **Reviewer** → code quality, SOLID, DRY
|
|
22
|
+
> - **Documenter** → documentation completeness
|
|
23
|
+
> Each reviewer returns findings independently; the orchestrator merges results.
|
|
24
|
+
> See `.claude/rules-snippets/subagent-workflow.md` for patterns.
|
|
25
|
+
|
|
26
|
+
> **🛑 Subagent isolation**: For independent quality reviews (especially after implementation), dispatch the Reviewer as a fresh subagent with NO shared conversation context. Shared context creates anchoring bias and causes reviewers to rubber-stamp work they watched being built.
|
|
27
|
+
|
|
28
|
+
## Process
|
|
29
|
+
|
|
30
|
+
> **📋 Standards**: Review against [Coding Standards](../rules-snippets/coding-standards.md) and [Testing](../rules-snippets/testing.md).
|
|
31
|
+
|
|
32
|
+
1. **Determine Context**:
|
|
33
|
+
- If file path provided, review that file
|
|
34
|
+
- If feature name provided, review related files
|
|
35
|
+
- If no argument, use chat history for context
|
|
36
|
+
|
|
37
|
+
2. **Load Context**:
|
|
38
|
+
- Retrieve file contents and changes
|
|
39
|
+
- Load `AGENTS.md` for project patterns
|
|
40
|
+
- Check linked issues if available
|
|
41
|
+
- **Git context** (when reviewing changes): note the base SHA (before changes) and head SHA (after changes) to scope the diff
|
|
42
|
+
|
|
43
|
+
3. **Conduct Review**:
|
|
44
|
+
Apply review checklist and report findings
|
|
45
|
+
|
|
46
|
+
## Review Categories
|
|
47
|
+
|
|
48
|
+
### Architecture & Patterns
|
|
49
|
+
|
|
50
|
+
- [ ] Controllers/handlers are thin (business logic in services/models)
|
|
51
|
+
- [ ] Proper separation of concerns
|
|
52
|
+
- [ ] Appropriate use of design patterns
|
|
53
|
+
- [ ] Follows project architecture from `AGENTS.md`
|
|
54
|
+
|
|
55
|
+
### Functionality
|
|
56
|
+
|
|
57
|
+
- [ ] Code does what it's supposed to do
|
|
58
|
+
- [ ] Edge cases are handled
|
|
59
|
+
- [ ] No obvious bugs or logic errors
|
|
60
|
+
|
|
61
|
+
### Code Quality
|
|
62
|
+
|
|
63
|
+
- [ ] Code is readable and well-structured
|
|
64
|
+
- [ ] Functions are small and focused
|
|
65
|
+
- [ ] Variable names are descriptive
|
|
66
|
+
- [ ] No code duplication
|
|
67
|
+
- [ ] Follows project conventions from `AGENTS.md`
|
|
68
|
+
|
|
69
|
+
### Error Handling
|
|
70
|
+
|
|
71
|
+
- [ ] Errors are handled gracefully
|
|
72
|
+
- [ ] User-facing errors are friendly
|
|
73
|
+
- [ ] Errors are logged appropriately
|
|
74
|
+
|
|
75
|
+
### Security
|
|
76
|
+
|
|
77
|
+
- [ ] No security vulnerabilities
|
|
78
|
+
- [ ] Input validation is present
|
|
79
|
+
- [ ] Authorization checks in place
|
|
80
|
+
- [ ] Sensitive data handled properly
|
|
81
|
+
- [ ] No hardcoded secrets or credentials
|
|
82
|
+
|
|
83
|
+
### Performance
|
|
84
|
+
|
|
85
|
+
- [ ] No obvious performance issues
|
|
86
|
+
- [ ] Database queries optimized (no N+1)
|
|
87
|
+
- [ ] Appropriate caching where needed
|
|
88
|
+
- [ ] No unnecessary loops or operations
|
|
89
|
+
|
|
90
|
+
### Testing
|
|
91
|
+
|
|
92
|
+
- [ ] Tests verify actual behavior (not mocked behavior)
|
|
93
|
+
- [ ] Edge cases covered
|
|
94
|
+
- [ ] Tests are readable and maintainable
|
|
95
|
+
- [ ] No brittle or over-specified tests
|
|
96
|
+
|
|
97
|
+
### Documentation
|
|
98
|
+
|
|
99
|
+
- [ ] Complex logic is commented
|
|
100
|
+
- [ ] Public APIs are documented
|
|
101
|
+
- [ ] README updated if needed
|
|
102
|
+
|
|
103
|
+
## Report Format
|
|
104
|
+
|
|
105
|
+
```markdown
|
|
106
|
+
## Code Review: [file/feature]
|
|
107
|
+
|
|
108
|
+
### Strengths
|
|
109
|
+
|
|
110
|
+
[What was done well — call out good patterns, clean code, solid testing]
|
|
111
|
+
|
|
112
|
+
### Findings
|
|
113
|
+
|
|
114
|
+
#### Critical 🔴
|
|
115
|
+
|
|
116
|
+
- [Must fix before merge — security issues, data loss risks, broken functionality]
|
|
117
|
+
|
|
118
|
+
#### Important 🟡
|
|
119
|
+
|
|
120
|
+
- [Should address — performance problems, maintainability concerns, missing error handling]
|
|
121
|
+
|
|
122
|
+
#### Minor 🟢
|
|
123
|
+
|
|
124
|
+
- [Optional improvements — style inconsistencies, naming suggestions, documentation gaps]
|
|
125
|
+
|
|
126
|
+
### Assessment
|
|
127
|
+
|
|
128
|
+
[✅ Approved | ⚠️ Approved with suggestions | ❌ Changes required]
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## Review Loop
|
|
132
|
+
|
|
133
|
+
After findings are reported:
|
|
134
|
+
|
|
135
|
+
1. **Critical issues**: MUST be fixed before proceeding. Re-review after fixes.
|
|
136
|
+
2. **Important issues**: SHOULD be fixed. Reviewer re-reviews after fixes.
|
|
137
|
+
3. **Minor issues**: Can be deferred or fixed at implementer's discretion.
|
|
138
|
+
|
|
139
|
+
If fixes are applied, verify them before marking the review complete.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
You are helping to create a feature specification based on the user's description.
|
|
2
|
+
|
|
3
|
+
## Your Task
|
|
4
|
+
|
|
5
|
+
1. **Parse the feature description**:
|
|
6
|
+
- Extract the core functionality being requested
|
|
7
|
+
- Identify user stories or use cases
|
|
8
|
+
- Note any constraints or requirements mentioned
|
|
9
|
+
|
|
10
|
+
2. **Load context**:
|
|
11
|
+
- Read `AGENTS.md` for project architecture
|
|
12
|
+
- Review existing features in `apps/*/docs/features/` for format consistency
|
|
13
|
+
- Check related code for context
|
|
14
|
+
|
|
15
|
+
3. **Create the specification**:
|
|
16
|
+
- Determine the target app directory (e.g., `apps/{{APP_NAME}}/`)
|
|
17
|
+
- Create `apps/{{APP_NAME}}/docs/features/{{ISSUE_ID}}-{{FEATURE_NAME}}/spec.md`
|
|
18
|
+
- Use the template structure below
|
|
19
|
+
- Be specific and actionable
|
|
20
|
+
|
|
21
|
+
4. **Output**:
|
|
22
|
+
- Confirm specification created
|
|
23
|
+
- Summarize key requirements
|
|
24
|
+
- Suggest next step: `/plan` to create implementation plan
|
|
25
|
+
|
|
26
|
+
## Specification Template
|
|
27
|
+
|
|
28
|
+
```markdown
|
|
29
|
+
# Feature: {{FEATURE_NAME}}
|
|
30
|
+
|
|
31
|
+
## Overview
|
|
32
|
+
[What this feature does and why it's needed]
|
|
33
|
+
|
|
34
|
+
## User Stories
|
|
35
|
+
- As a [user type], I want [goal] so that [benefit]
|
|
36
|
+
|
|
37
|
+
## Functional Requirements
|
|
38
|
+
1. [Requirement 1]
|
|
39
|
+
2. [Requirement 2]
|
|
40
|
+
|
|
41
|
+
## Non-Functional Requirements
|
|
42
|
+
- Performance: [expectations]
|
|
43
|
+
- Security: [considerations]
|
|
44
|
+
|
|
45
|
+
## Acceptance Criteria
|
|
46
|
+
- [ ] Criterion 1
|
|
47
|
+
- [ ] Criterion 2
|
|
48
|
+
|
|
49
|
+
## Out of Scope
|
|
50
|
+
- [What this feature does NOT include]
|
|
51
|
+
```
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
You are helping to break down a feature into actionable tasks.
|
|
2
|
+
|
|
3
|
+
## Your Task
|
|
4
|
+
|
|
5
|
+
1. **Load context**:
|
|
6
|
+
- Read the specification in `apps/{{APP_NAME}}/docs/features/{{ISSUE_ID}}-{{FEATURE_NAME}}/spec.md`
|
|
7
|
+
- Read the plan in `apps/{{APP_NAME}}/docs/features/{{ISSUE_ID}}-{{FEATURE_NAME}}/plan.md` (if exists)
|
|
8
|
+
- Review `AGENTS.md` for project patterns
|
|
9
|
+
|
|
10
|
+
2. **Break down into tasks** (aim for 3-7 total tasks):
|
|
11
|
+
- **Setup**: Dependencies, configuration, scaffolding (combine into 1 task)
|
|
12
|
+
- **Core**: Main implementation tasks (group by component/feature area)
|
|
13
|
+
- **Tests**: Unit and integration tests (1 task per component)
|
|
14
|
+
- **Polish**: Documentation, cleanup, optimization (combine into 1 task)
|
|
15
|
+
|
|
16
|
+
3. **Task Consolidation Rules** (CRITICAL):
|
|
17
|
+
- **Group related work**: Combine tasks that touch the same files or feature area
|
|
18
|
+
- **Merge small tasks**: Tasks under 2 hours should be combined with related work
|
|
19
|
+
- **Limit total tasks**: Target 3-7 tasks total; never exceed 10 for any feature
|
|
20
|
+
- **Avoid over-granularity**: "Create model + migration + factory" = 1 task, not 3
|
|
21
|
+
- **Bundle by outcome**: Group by what gets delivered, not individual steps
|
|
22
|
+
|
|
23
|
+
4. **Complexity-Based Task Sizing**:
|
|
24
|
+
|
|
25
|
+
| Complexity | Task Count | Subtask Limit |
|
|
26
|
+
| ------------------- | ---------- | ----------------- |
|
|
27
|
+
| Simple (< 4 hours) | 2-3 tasks | 0 subtasks |
|
|
28
|
+
| Medium (4-16 hours) | 3-5 tasks | 2-4 per task max |
|
|
29
|
+
| Complex (16-40 hrs) | 5-8 tasks | 3-6 per task max |
|
|
30
|
+
| Large (40+ hours) | 8-12 tasks | 5-10 per task max |
|
|
31
|
+
|
|
32
|
+
5. **Task ordering rules**:
|
|
33
|
+
- Setup before implementation
|
|
34
|
+
- Tests before or alongside code (TDD)
|
|
35
|
+
- Core features before integrations
|
|
36
|
+
- Mark parallelizable tasks with [P]
|
|
37
|
+
|
|
38
|
+
6. **Create task list**:
|
|
39
|
+
- Output to `apps/{{APP_NAME}}/docs/features/{{ISSUE_ID}}-{{FEATURE_NAME}}/tasks.md`
|
|
40
|
+
- Each task should be specific and actionable
|
|
41
|
+
- Include file paths where relevant
|
|
42
|
+
|
|
43
|
+
## Task Template
|
|
44
|
+
|
|
45
|
+
```markdown
|
|
46
|
+
# Tasks: {{FEATURE_NAME}}
|
|
47
|
+
|
|
48
|
+
**Complexity**: Simple | Medium | Complex
|
|
49
|
+
**Estimated Total**: X hours
|
|
50
|
+
**Task Count**: X tasks
|
|
51
|
+
|
|
52
|
+
## T001: Setup & Configuration
|
|
53
|
+
|
|
54
|
+
- Install dependencies and configure environment
|
|
55
|
+
- Create file structure and scaffolding
|
|
56
|
+
- **Files**: `package.json`, `{{CONFIG_DIR}}/*`
|
|
57
|
+
|
|
58
|
+
## T002: Core Implementation - [Feature Area]
|
|
59
|
+
|
|
60
|
+
- Implement [feature part] including models, services, and controllers
|
|
61
|
+
- **Files**: `{{SRC_DIR}}/models/*`, `{{SRC_DIR}}/services/*`
|
|
62
|
+
- **Subtasks** (only if complex):
|
|
63
|
+
- Model and database layer
|
|
64
|
+
- Business logic and services
|
|
65
|
+
- API/Controller layer
|
|
66
|
+
|
|
67
|
+
## T003 [P]: Testing
|
|
68
|
+
|
|
69
|
+
- Add unit and integration tests for all components
|
|
70
|
+
- **Files**: `{{TEST_DIR}}/*`
|
|
71
|
+
|
|
72
|
+
## T004: Polish & Documentation
|
|
73
|
+
|
|
74
|
+
- Update documentation, error handling, and cleanup
|
|
75
|
+
- **Files**: `README.md`, `docs/*`
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Anti-Patterns to Avoid
|
|
79
|
+
|
|
80
|
+
❌ **Don't create separate tasks for**:
|
|
81
|
+
|
|
82
|
+
- Each individual file in a feature
|
|
83
|
+
- "Create X" then "Configure X" then "Test X" (combine them)
|
|
84
|
+
- Minor changes that take < 30 minutes
|
|
85
|
+
- Obvious steps like "commit code" or "run linter"
|
|
86
|
+
|
|
87
|
+
✅ **Do combine into single tasks**:
|
|
88
|
+
|
|
89
|
+
- All model/migration/factory work for an entity
|
|
90
|
+
- Related API endpoints that share logic
|
|
91
|
+
- All configuration and environment setup
|
|
92
|
+
- Documentation updates across multiple files
|
|
93
|
+
|
|
94
|
+
## Notes
|
|
95
|
+
|
|
96
|
+
- [P] indicates tasks that can run in parallel
|
|
97
|
+
- Tasks affecting the same file should be sequential
|
|
98
|
+
- Each task should be completable independently
|
|
99
|
+
- **Quality over quantity**: Fewer, well-defined tasks beat many granular ones
|
|
100
|
+
|
|
101
|
+
## Orchestrator Dispatch Guide
|
|
102
|
+
|
|
103
|
+
When this task list is used by `/implement-feature` or `/implement`:
|
|
104
|
+
|
|
105
|
+
- **Parallel [P] tasks**: Dispatch one subagent per `[P]` task concurrently using `dispatching-parallel-agents` skill
|
|
106
|
+
- **Sequential tasks**: Execute in dependency order, one subagent per task using `subagent-driven-development` skill
|
|
107
|
+
- **Domain routing**: Match each task to the appropriate specialist agent (Backend Architect, Frontend Developer, API Specialist, etc.)
|
|
108
|
+
- **Review gate**: Every task must pass a Reviewer agent before being marked complete
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
applyTo: "**/*"
|
|
3
|
+
description: "Agent conduct rules and clarification protocols."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agent Conduct
|
|
7
|
+
|
|
8
|
+
Follow the rules defined in [.claude/rules-snippets/agent-conduct.md](../rules-snippets/agent-conduct.md).
|
|
9
|
+
|
|
10
|
+
Key points:
|
|
11
|
+
- Read the orchestration checkpoint before any multi-step task (2+ of research, planning, implementation, testing, review).
|
|
12
|
+
- Ask for clarification on ambiguous requirements before proceeding.
|
|
13
|
+
- Never silently change database schemas, API contracts, or authentication flows.
|
|
14
|
+
- Never modify shared packages without considering downstream consumers.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "src/server/**"
|
|
4
|
+
- "src/api/**"
|
|
5
|
+
- "apps/**/server/**"
|
|
6
|
+
- "apps/**/api/**"
|
|
7
|
+
- "**/*.server.*"
|
|
8
|
+
description: "API server patterns and route conventions."
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# API Server
|
|
12
|
+
|
|
13
|
+
Follow the rules defined in [.claude/rules-snippets/api-server.md](../rules-snippets/api-server.md).
|
|
14
|
+
|
|
15
|
+
Key points:
|
|
16
|
+
- Follow the API route pattern for all endpoints.
|
|
17
|
+
- Validate all input data before processing.
|
|
18
|
+
- Return consistent response formats with proper HTTP status codes.
|
|
19
|
+
- Document API endpoints in the designated location.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
applyTo: "**/*"
|
|
3
|
+
description: "Coding standards and language conventions."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Coding Standards
|
|
7
|
+
|
|
8
|
+
Follow the rules defined in [.claude/rules-snippets/coding-standards.md](../rules-snippets/coding-standards.md).
|
|
9
|
+
|
|
10
|
+
Key points:
|
|
11
|
+
- All code must follow {{LANGUAGE}} type safety rules and {{FRAMEWORK}} conventions.
|
|
12
|
+
- Keep functions focused and manageable (under 50-75 lines).
|
|
13
|
+
- Use try-catch for async operations; leverage {{FRAMEWORK}} error utilities.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "src/components/**"
|
|
4
|
+
- "apps/**/components/**"
|
|
5
|
+
- "packages/**/components/**"
|
|
6
|
+
- "**/*.{vue,tsx,jsx}"
|
|
7
|
+
description: "Component structure and composition patterns."
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Component Structure
|
|
11
|
+
|
|
12
|
+
Follow the rules defined in [.claude/rules-snippets/component-structure.md](../rules-snippets/component-structure.md).
|
|
13
|
+
|
|
14
|
+
Key points:
|
|
15
|
+
- Follow the {{COMPONENT_PATTERN}} pattern for all components.
|
|
16
|
+
- Use clear and descriptive naming for props, events, and methods.
|
|
17
|
+
- Add code comments for complex logic or non-obvious implementations.
|
|
18
|
+
- Use bracketed identifiers for logs: `[ComponentName]: message`.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "src/**"
|
|
4
|
+
- "apps/**"
|
|
5
|
+
- "packages/**"
|
|
6
|
+
description: "Core library and framework usage standards."
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Core Libraries
|
|
10
|
+
|
|
11
|
+
Follow the rules defined in [.claude/rules-snippets/core-libraries.md](../rules-snippets/core-libraries.md).
|
|
12
|
+
|
|
13
|
+
Key points:
|
|
14
|
+
- Use {{UTILITY_LIBRARY}} for common utilities.
|
|
15
|
+
- Use {{STATE_MANAGEMENT}} for state management and {{STYLING}} for styling.
|
|
16
|
+
- Use {{UI_LIBRARY}} for UI components; check existing components before creating new ones.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
applyTo: "**/*"
|
|
3
|
+
description: "Environment setup and tooling conventions."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Environment Tooling
|
|
7
|
+
|
|
8
|
+
Follow the rules defined in [.claude/rules-snippets/environment-tooling.md](../rules-snippets/environment-tooling.md).
|
|
9
|
+
|
|
10
|
+
Key points:
|
|
11
|
+
- Tailor commands to the user's OS and shell.
|
|
12
|
+
- Use `{{PACKAGE_MANAGER}}` for package management.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "src/**"
|
|
4
|
+
- "apps/**"
|
|
5
|
+
- "packages/**"
|
|
6
|
+
description: "Code comments and basic logging conventions."
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Logging Comments
|
|
10
|
+
|
|
11
|
+
Follow the rules defined in [.claude/rules-snippets/logging-comments.md](../rules-snippets/logging-comments.md).
|
|
12
|
+
|
|
13
|
+
Key points:
|
|
14
|
+
- Comment complex logic and non-obvious implementations.
|
|
15
|
+
- Use bracketed identifiers for logs: `[ModuleName]: message`.
|
|
16
|
+
- Use appropriate log levels: error, warn, info, debug.
|
|
17
|
+
- Remove debug logs before committing to main branch.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "src/**"
|
|
4
|
+
- "apps/**"
|
|
5
|
+
- "packages/**"
|
|
6
|
+
description: "Monorepo logging standards and cross-app tracing."
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Logging
|
|
10
|
+
|
|
11
|
+
Follow the rules defined in [.claude/rules-snippets/logging.md](../rules-snippets/logging.md).
|
|
12
|
+
|
|
13
|
+
Key points:
|
|
14
|
+
- Always prefix logs with `[App:name]` or `[Pkg:name]` for context.
|
|
15
|
+
- Use correlation IDs for cross-app request tracing.
|
|
16
|
+
- Centralize logging in a shared package (`{{PACKAGE_LOGGING}}`).
|
|
17
|
+
- Never log passwords, tokens, or sensitive credentials.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
applyTo: "**/*"
|
|
3
|
+
description: "Orient to recent project activity before non-trivial tasks."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Orient to Recent Work
|
|
7
|
+
|
|
8
|
+
Follow the protocol defined in [../../.agents/skills/orient-to-recent-work/SKILL.md](../../.agents/skills/orient-to-recent-work/SKILL.md).
|
|
9
|
+
|
|
10
|
+
Key rules:
|
|
11
|
+
- Run the orientation protocol at session start and before any multi-file change.
|
|
12
|
+
- Read CHANGELOG Unreleased, last release, and recent commits.
|
|
13
|
+
- Hold the mental model for the session; skip for trivial fixes.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "prisma/**"
|
|
4
|
+
- "**/migrations/**"
|
|
5
|
+
- "**/*.prisma"
|
|
6
|
+
description: "Database migration and schema management rules."
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Prisma Migrations
|
|
10
|
+
|
|
11
|
+
Follow the rules defined in [.claude/rules-snippets/prisma-migrations.md](../rules-snippets/prisma-migrations.md).
|
|
12
|
+
|
|
13
|
+
Key points:
|
|
14
|
+
- Create migrations with descriptive names.
|
|
15
|
+
- Apply migrations to development database before committing.
|
|
16
|
+
- Update affected services and run tests after schema changes.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
applyTo: "**/*"
|
|
3
|
+
description: "Project documentation and context conventions."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Project Context
|
|
7
|
+
|
|
8
|
+
Follow the rules defined in [.claude/rules-snippets/project-context.md](../rules-snippets/project-context.md).
|
|
9
|
+
|
|
10
|
+
Key points:
|
|
11
|
+
- Review project documentation before generating code or suggestions.
|
|
12
|
+
- Check `docs/` directory for architecture and design decisions.
|
|
13
|
+
- Reference AGENTS.md for project overview and `.github/instructions/` for detailed standards.
|
|
14
|
+
- Check app-specific AGENTS.md files for per-app patterns and conventions.
|