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,51 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
const { getClaudeDir } = require('./ponytail-config');
|
|
4
|
+
|
|
5
|
+
const STATE_FILE = '.ponytail-active';
|
|
6
|
+
const isCopilot = Boolean(process.env.COPILOT_PLUGIN_DATA);
|
|
7
|
+
const isCodex = !isCopilot && Boolean(process.env.PLUGIN_DATA);
|
|
8
|
+
|
|
9
|
+
let stateDir = getClaudeDir();
|
|
10
|
+
if (isCodex) stateDir = process.env.PLUGIN_DATA;
|
|
11
|
+
if (isCopilot) stateDir = process.env.COPILOT_PLUGIN_DATA;
|
|
12
|
+
|
|
13
|
+
const statePath = path.join(stateDir, STATE_FILE);
|
|
14
|
+
|
|
15
|
+
function setMode(mode) {
|
|
16
|
+
fs.mkdirSync(path.dirname(statePath), { recursive: true });
|
|
17
|
+
fs.writeFileSync(statePath, mode);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function clearMode() {
|
|
21
|
+
try { fs.unlinkSync(statePath); } catch (e) {}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function writeHookOutput(event, mode, context = '') {
|
|
25
|
+
if (isCopilot) {
|
|
26
|
+
// Copilot reads additionalContext on SessionStart; ignores output elsewhere.
|
|
27
|
+
process.stdout.write(JSON.stringify(
|
|
28
|
+
event === 'SessionStart' && context ? { additionalContext: context } : {}));
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (isCodex) {
|
|
32
|
+
const output = { systemMessage: `PONYTAIL:${mode.toUpperCase()}` };
|
|
33
|
+
if (context) {
|
|
34
|
+
output.hookSpecificOutput = {
|
|
35
|
+
hookEventName: event,
|
|
36
|
+
additionalContext: context,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
process.stdout.write(JSON.stringify(output));
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
process.stdout.write(context);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
module.exports = {
|
|
46
|
+
clearMode,
|
|
47
|
+
isCodex,
|
|
48
|
+
isCopilot,
|
|
49
|
+
setMode,
|
|
50
|
+
writeHookOutput,
|
|
51
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# CLAUDE_CONFIG_DIR overrides ~/.claude, matching where the hooks write the flag (issue #34)
|
|
2
|
+
$ClaudeDir = if ($env:CLAUDE_CONFIG_DIR) { $env:CLAUDE_CONFIG_DIR } else { Join-Path $HOME ".claude" }
|
|
3
|
+
$Flag = Join-Path $ClaudeDir ".ponytail-active"
|
|
4
|
+
if (-not (Test-Path $Flag)) {
|
|
5
|
+
exit 0
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
$Mode = ""
|
|
9
|
+
try {
|
|
10
|
+
$Mode = (Get-Content $Flag -ErrorAction Stop | Select-Object -First 1).Trim()
|
|
11
|
+
} catch {
|
|
12
|
+
exit 0
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
$Esc = [char]27
|
|
16
|
+
if ([string]::IsNullOrEmpty($Mode) -or $Mode -eq "full") {
|
|
17
|
+
[Console]::Write("${Esc}[38;5;108m[PONYTAIL]${Esc}[0m")
|
|
18
|
+
} else {
|
|
19
|
+
$Suffix = $Mode.ToUpperInvariant()
|
|
20
|
+
[Console]::Write("${Esc}[38;5;108m[PONYTAIL:$Suffix]${Esc}[0m")
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# CLAUDE_CONFIG_DIR overrides ~/.claude, matching where the hooks write the flag (issue #34)
|
|
3
|
+
flag="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/.ponytail-active"
|
|
4
|
+
[ -f "$flag" ] || exit 0
|
|
5
|
+
|
|
6
|
+
mode=$(head -n1 "$flag" | tr -d '[:space:]')
|
|
7
|
+
|
|
8
|
+
if [ -z "$mode" ] || [ "$mode" = "full" ]; then
|
|
9
|
+
printf '\033[38;5;108m[PONYTAIL]\033[0m'
|
|
10
|
+
else
|
|
11
|
+
printf '\033[38;5;108m[PONYTAIL:%s]\033[0m' "$(printf '%s' "$mode" | tr '[:lower:]' '[:upper:]')"
|
|
12
|
+
fi
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Documentation Templates
|
|
2
|
+
|
|
3
|
+
This folder contains templates for project documentation. Copy these templates when creating new feature or fix documentation.
|
|
4
|
+
|
|
5
|
+
## Available Templates
|
|
6
|
+
|
|
7
|
+
- **monthly-fix-log.template.md** - Template for monthly fix logs (YYYY-MM.md format)
|
|
8
|
+
- **feature-spec.template.md** - Template for feature specifications
|
|
9
|
+
- **feature-plan.template.md** - Template for feature implementation plans
|
|
10
|
+
- **complex-fix-spec.template.md** - Template for complex fix specifications
|
|
11
|
+
- **complex-fix-plan.template.md** - Template for complex fix implementation plans
|
|
12
|
+
- **adr.template.md** - Template for Architecture Decision Records
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
### Monthly Fix Logs
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# Copy template to create new monthly log
|
|
20
|
+
cp templates/monthly-fix-log.template.md docs/fixes/2026-01.md
|
|
21
|
+
|
|
22
|
+
# Edit the file and replace placeholders:
|
|
23
|
+
# - {{MONTH_NAME}} → January
|
|
24
|
+
# - {{YEAR}} → 2026
|
|
25
|
+
# - {{YYYY-MM-DD}} → Actual dates
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Feature Documentation
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# Create feature folder
|
|
32
|
+
mkdir -p docs/features/ISSUE-123-FEATURE-NAME
|
|
33
|
+
|
|
34
|
+
# Copy templates
|
|
35
|
+
cp templates/feature-spec.template.md docs/features/ISSUE-123-FEATURE-NAME/spec.md
|
|
36
|
+
cp templates/feature-plan.template.md docs/features/ISSUE-123-FEATURE-NAME/plan.md
|
|
37
|
+
|
|
38
|
+
# Edit files and replace placeholders
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Complex Fix Documentation
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
# Create fix folder
|
|
45
|
+
mkdir -p docs/fixes/ISSUE-456-COMPLEX-FIX
|
|
46
|
+
|
|
47
|
+
# Copy templates
|
|
48
|
+
cp templates/complex-fix-spec.template.md docs/fixes/ISSUE-456-COMPLEX-FIX/spec.md
|
|
49
|
+
cp templates/complex-fix-plan.template.md docs/fixes/ISSUE-456-COMPLEX-FIX/plan.md
|
|
50
|
+
|
|
51
|
+
# Edit files and replace placeholders
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Architecture Decision Records
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Copy ADR template
|
|
58
|
+
cp templates/adr.template.md docs/architecture/0001-decision-title.md
|
|
59
|
+
|
|
60
|
+
# Edit and replace placeholders
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Placeholder Reference
|
|
64
|
+
|
|
65
|
+
Common placeholders used in templates:
|
|
66
|
+
|
|
67
|
+
- `{{MONTH_NAME}}` - Full month name (e.g., January, February)
|
|
68
|
+
- `{{YEAR}}` - Four-digit year (e.g., 2026)
|
|
69
|
+
- `{{YYYY-MM-DD}}` - ISO date format (e.g., 2026-01-21)
|
|
70
|
+
- `{{YYYY-MM}}` - Year and month (e.g., 2026-01)
|
|
71
|
+
- `{{ISSUE_ID}}` - Issue tracker ID (e.g., ISSUE-123, JIRA-456)
|
|
72
|
+
- `{{FEATURE_NAME}}` - Feature name
|
|
73
|
+
- `{{FIX_NAME}}` - Fix name
|
|
74
|
+
- `{{DATE}}` - Current date or last update date
|
|
75
|
+
- `{{ISSUE_TRACKER}}` - Issue tracker name (e.g., Linear, Jira)
|
|
76
|
+
- `{{ISSUE_TRACKER_URL}}` - Full URL to issue tracker ticket
|
|
77
|
+
|
|
78
|
+
## Automated Creation
|
|
79
|
+
|
|
80
|
+
Use the `/spec` and `/plan` commands to automatically create documentation from these templates with placeholders filled in.
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# ADR-{{ADR_NUMBER}}: {{DECISION_TITLE}}
|
|
2
|
+
|
|
3
|
+
**Status:** Proposed | Accepted | Deprecated | Superseded
|
|
4
|
+
**Date:** {{DATE}}
|
|
5
|
+
**Author:** {{AUTHOR}}
|
|
6
|
+
**Deciders:** {{DECIDERS}}
|
|
7
|
+
**Technical Story:** {{ISSUE_ID}}
|
|
8
|
+
|
|
9
|
+
## Context
|
|
10
|
+
|
|
11
|
+
Describe the context and problem statement. What is the issue that we're seeing that is motivating this decision or change?
|
|
12
|
+
|
|
13
|
+
### Background
|
|
14
|
+
|
|
15
|
+
Provide any relevant background information:
|
|
16
|
+
|
|
17
|
+
- Current state of the system
|
|
18
|
+
- Technical constraints
|
|
19
|
+
- Business requirements
|
|
20
|
+
- Timeline pressures
|
|
21
|
+
|
|
22
|
+
### Problem Statement
|
|
23
|
+
|
|
24
|
+
In 1-2 sentences, what problem are we trying to solve?
|
|
25
|
+
|
|
26
|
+
## Decision Drivers
|
|
27
|
+
|
|
28
|
+
What factors are important in making this decision?
|
|
29
|
+
|
|
30
|
+
- **Driver 1:** Description
|
|
31
|
+
- **Driver 2:** Description
|
|
32
|
+
- **Driver 3:** Description
|
|
33
|
+
- **Driver 4:** Description
|
|
34
|
+
|
|
35
|
+
## Considered Options
|
|
36
|
+
|
|
37
|
+
### Option 1: {{OPTION_1_NAME}}
|
|
38
|
+
|
|
39
|
+
**Description:** Brief description of the approach.
|
|
40
|
+
|
|
41
|
+
**Pros:**
|
|
42
|
+
|
|
43
|
+
- Pro 1
|
|
44
|
+
- Pro 2
|
|
45
|
+
|
|
46
|
+
**Cons:**
|
|
47
|
+
|
|
48
|
+
- Con 1
|
|
49
|
+
- Con 2
|
|
50
|
+
|
|
51
|
+
**Estimated Effort:** X days/weeks
|
|
52
|
+
|
|
53
|
+
### Option 2: {{OPTION_2_NAME}}
|
|
54
|
+
|
|
55
|
+
**Description:** Brief description of the approach.
|
|
56
|
+
|
|
57
|
+
**Pros:**
|
|
58
|
+
|
|
59
|
+
- Pro 1
|
|
60
|
+
- Pro 2
|
|
61
|
+
|
|
62
|
+
**Cons:**
|
|
63
|
+
|
|
64
|
+
- Con 1
|
|
65
|
+
- Con 2
|
|
66
|
+
|
|
67
|
+
**Estimated Effort:** X days/weeks
|
|
68
|
+
|
|
69
|
+
### Option 3: {{OPTION_3_NAME}}
|
|
70
|
+
|
|
71
|
+
**Description:** Brief description of the approach.
|
|
72
|
+
|
|
73
|
+
**Pros:**
|
|
74
|
+
|
|
75
|
+
- Pro 1
|
|
76
|
+
- Pro 2
|
|
77
|
+
|
|
78
|
+
**Cons:**
|
|
79
|
+
|
|
80
|
+
- Con 1
|
|
81
|
+
- Con 2
|
|
82
|
+
|
|
83
|
+
**Estimated Effort:** X days/weeks
|
|
84
|
+
|
|
85
|
+
## Decision Outcome
|
|
86
|
+
|
|
87
|
+
### Chosen Option
|
|
88
|
+
|
|
89
|
+
**Option X: {{CHOSEN_OPTION_NAME}}**
|
|
90
|
+
|
|
91
|
+
### Rationale
|
|
92
|
+
|
|
93
|
+
Explain why this option was chosen:
|
|
94
|
+
|
|
95
|
+
- Reason 1
|
|
96
|
+
- Reason 2
|
|
97
|
+
- Reason 3
|
|
98
|
+
|
|
99
|
+
### Trade-offs Accepted
|
|
100
|
+
|
|
101
|
+
What are we giving up by choosing this option?
|
|
102
|
+
|
|
103
|
+
- Trade-off 1
|
|
104
|
+
- Trade-off 2
|
|
105
|
+
|
|
106
|
+
## Consequences
|
|
107
|
+
|
|
108
|
+
### Positive
|
|
109
|
+
|
|
110
|
+
- Positive consequence 1
|
|
111
|
+
- Positive consequence 2
|
|
112
|
+
|
|
113
|
+
### Negative
|
|
114
|
+
|
|
115
|
+
- Negative consequence 1
|
|
116
|
+
- Negative consequence 2
|
|
117
|
+
|
|
118
|
+
### Neutral
|
|
119
|
+
|
|
120
|
+
- Neutral consequence 1
|
|
121
|
+
|
|
122
|
+
## Implementation
|
|
123
|
+
|
|
124
|
+
### Action Items
|
|
125
|
+
|
|
126
|
+
- [ ] Action item 1
|
|
127
|
+
- [ ] Action item 2
|
|
128
|
+
- [ ] Action item 3
|
|
129
|
+
|
|
130
|
+
### Migration Plan
|
|
131
|
+
|
|
132
|
+
If applicable, describe how to migrate from current state to new state.
|
|
133
|
+
|
|
134
|
+
### Rollback Plan
|
|
135
|
+
|
|
136
|
+
If applicable, describe how to rollback if needed.
|
|
137
|
+
|
|
138
|
+
## Validation
|
|
139
|
+
|
|
140
|
+
How will we know if this decision was successful?
|
|
141
|
+
|
|
142
|
+
- Success metric 1
|
|
143
|
+
- Success metric 2
|
|
144
|
+
|
|
145
|
+
## Related Decisions
|
|
146
|
+
|
|
147
|
+
- [ADR-XXX](./ADR-XXX-title.md) - Related decision
|
|
148
|
+
- [ADR-YYY](./ADR-YYY-title.md) - Superseded by this ADR
|
|
149
|
+
|
|
150
|
+
## References
|
|
151
|
+
|
|
152
|
+
- [Link to relevant documentation]
|
|
153
|
+
- [Link to technical specification]
|
|
154
|
+
- [Link to discussion thread]
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Changelog
|
|
159
|
+
|
|
160
|
+
| Date | Change |
|
|
161
|
+
| -------- | ---------------- |
|
|
162
|
+
| {{DATE}} | Initial proposal |
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# Fix Implementation Plan: {{FIX_NAME}}
|
|
2
|
+
|
|
3
|
+
**Issue:** {{ISSUE_ID}}
|
|
4
|
+
**Spec:** [spec.md](spec.md)
|
|
5
|
+
**Author:** {{AUTHOR}}
|
|
6
|
+
**Created:** {{DATE}}
|
|
7
|
+
**Priority:** P0 (Critical) | P1 (High) | P2 (Medium) | P3 (Low)
|
|
8
|
+
**Status:** Planning | In Progress | In Review | Deployed
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Brief summary of the fix and implementation approach.
|
|
13
|
+
|
|
14
|
+
## Prerequisites
|
|
15
|
+
|
|
16
|
+
- [ ] Root cause confirmed in spec
|
|
17
|
+
- [ ] Impact assessment complete
|
|
18
|
+
- [ ] Stakeholders notified
|
|
19
|
+
- [ ] Rollback plan ready
|
|
20
|
+
|
|
21
|
+
## Implementation Steps
|
|
22
|
+
|
|
23
|
+
### Step 1: Immediate Mitigation (if needed)
|
|
24
|
+
|
|
25
|
+
**Timeline:** ASAP
|
|
26
|
+
|
|
27
|
+
**Tasks:**
|
|
28
|
+
|
|
29
|
+
- [ ] Apply temporary workaround
|
|
30
|
+
- [ ] Notify affected users
|
|
31
|
+
- [ ] Enable monitoring
|
|
32
|
+
|
|
33
|
+
### Step 2: Prepare Fix
|
|
34
|
+
|
|
35
|
+
**Timeline:** X hours
|
|
36
|
+
|
|
37
|
+
**Files to modify:**
|
|
38
|
+
|
|
39
|
+
- `path/to/file1.{{FILE_EXTENSION}}`
|
|
40
|
+
- `path/to/file2.{{FILE_EXTENSION}}`
|
|
41
|
+
|
|
42
|
+
**Tasks:**
|
|
43
|
+
|
|
44
|
+
- [ ] Create feature branch from {{DEFAULT_BRANCH}}
|
|
45
|
+
- [ ] Implement code changes
|
|
46
|
+
- [ ] Add/update tests
|
|
47
|
+
- [ ] Update documentation
|
|
48
|
+
|
|
49
|
+
**Code Changes:**
|
|
50
|
+
|
|
51
|
+
```{{FILE_EXTENSION}}
|
|
52
|
+
// Describe the key changes
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Step 3: Testing
|
|
56
|
+
|
|
57
|
+
**Timeline:** X hours
|
|
58
|
+
|
|
59
|
+
**Tasks:**
|
|
60
|
+
|
|
61
|
+
- [ ] Run unit tests
|
|
62
|
+
- [ ] Run integration tests
|
|
63
|
+
- [ ] Manual verification of fix
|
|
64
|
+
- [ ] Verify no regression
|
|
65
|
+
|
|
66
|
+
**Test Commands:**
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
{{TEST_COMMAND}}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Step 4: Code Review
|
|
73
|
+
|
|
74
|
+
**Timeline:** X hours
|
|
75
|
+
|
|
76
|
+
**Tasks:**
|
|
77
|
+
|
|
78
|
+
- [ ] Create pull request
|
|
79
|
+
- [ ] Address review comments
|
|
80
|
+
- [ ] Get approval from {{REVIEWER}}
|
|
81
|
+
|
|
82
|
+
### Step 5: Deployment
|
|
83
|
+
|
|
84
|
+
**Timeline:** X hours
|
|
85
|
+
|
|
86
|
+
**Tasks:**
|
|
87
|
+
|
|
88
|
+
- [ ] Deploy to staging
|
|
89
|
+
- [ ] Verify fix in staging
|
|
90
|
+
- [ ] Deploy to production
|
|
91
|
+
- [ ] Monitor for 24 hours
|
|
92
|
+
|
|
93
|
+
## Rollback Plan
|
|
94
|
+
|
|
95
|
+
If the fix causes issues:
|
|
96
|
+
|
|
97
|
+
1. **Immediate:** Revert commit `{{COMMIT_HASH}}`
|
|
98
|
+
2. **Database:** Run rollback migration (if applicable)
|
|
99
|
+
3. **Cache:** Clear cache keys: `{{CACHE_KEYS}}`
|
|
100
|
+
4. **Notify:** Alert team via {{NOTIFICATION_CHANNEL}}
|
|
101
|
+
|
|
102
|
+
**Rollback command:**
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
git revert {{COMMIT_HASH}}
|
|
106
|
+
{{DEPLOY_COMMAND}}
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Verification
|
|
110
|
+
|
|
111
|
+
### Success Criteria
|
|
112
|
+
|
|
113
|
+
- [ ] Original bug no longer reproducible
|
|
114
|
+
- [ ] No new errors in logs
|
|
115
|
+
- [ ] Performance metrics stable
|
|
116
|
+
- [ ] User reports resolved
|
|
117
|
+
|
|
118
|
+
### Monitoring
|
|
119
|
+
|
|
120
|
+
| Metric | Expected Value | Alert Threshold |
|
|
121
|
+
| ------------- | -------------- | --------------- |
|
|
122
|
+
| Error rate | < 0.1% | > 1% |
|
|
123
|
+
| Response time | < 200ms | > 500ms |
|
|
124
|
+
|
|
125
|
+
## Communication
|
|
126
|
+
|
|
127
|
+
### Stakeholder Updates
|
|
128
|
+
|
|
129
|
+
| Stakeholder | Update Method | When |
|
|
130
|
+
| ----------- | ------------- | --------------- |
|
|
131
|
+
| Engineering | Slack | On fix complete |
|
|
132
|
+
| Product | Email | On deployment |
|
|
133
|
+
| Customers | Status page | If applicable |
|
|
134
|
+
|
|
135
|
+
### Post-Mortem
|
|
136
|
+
|
|
137
|
+
- [ ] Schedule post-mortem meeting
|
|
138
|
+
- [ ] Document lessons learned
|
|
139
|
+
- [ ] Create follow-up tickets for improvements
|
|
140
|
+
|
|
141
|
+
## Timeline
|
|
142
|
+
|
|
143
|
+
| Phase | Target Time | Actual Time | Status |
|
|
144
|
+
| --------------- | ----------- | ----------- | ----------- |
|
|
145
|
+
| Mitigation | +1 hour | | Not Started |
|
|
146
|
+
| Fix Development | +4 hours | | Not Started |
|
|
147
|
+
| Testing | +2 hours | | Not Started |
|
|
148
|
+
| Code Review | +2 hours | | Not Started |
|
|
149
|
+
| Deployment | +1 hour | | Not Started |
|
|
150
|
+
| Monitoring | +24 hours | | Not Started |
|
|
151
|
+
|
|
152
|
+
## Notes
|
|
153
|
+
|
|
154
|
+
Additional notes, edge cases discovered, or decisions made during implementation.
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Progress Log
|
|
159
|
+
|
|
160
|
+
| Time | Update |
|
|
161
|
+
| -------- | ------------ |
|
|
162
|
+
| {{TIME}} | Plan created |
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Fix Specification: {{FIX_NAME}}
|
|
2
|
+
|
|
3
|
+
**Issue:** {{ISSUE_ID}}
|
|
4
|
+
**Author:** {{AUTHOR}}
|
|
5
|
+
**Created:** {{DATE}}
|
|
6
|
+
**Severity:** Critical | High | Medium | Low
|
|
7
|
+
**Status:** Investigating | Root Cause Found | Fix In Progress | Resolved
|
|
8
|
+
|
|
9
|
+
## Problem Summary
|
|
10
|
+
|
|
11
|
+
Brief one-paragraph description of the bug or issue.
|
|
12
|
+
|
|
13
|
+
## Symptoms
|
|
14
|
+
|
|
15
|
+
### Observed Behavior
|
|
16
|
+
|
|
17
|
+
What users or systems are experiencing:
|
|
18
|
+
|
|
19
|
+
- Symptom 1
|
|
20
|
+
- Symptom 2
|
|
21
|
+
- Symptom 3
|
|
22
|
+
|
|
23
|
+
### Expected Behavior
|
|
24
|
+
|
|
25
|
+
What should happen instead:
|
|
26
|
+
|
|
27
|
+
- Expected behavior 1
|
|
28
|
+
- Expected behavior 2
|
|
29
|
+
|
|
30
|
+
### Reproduction Steps
|
|
31
|
+
|
|
32
|
+
1. Step 1
|
|
33
|
+
2. Step 2
|
|
34
|
+
3. Step 3
|
|
35
|
+
4. Observe: [describe the bug]
|
|
36
|
+
|
|
37
|
+
### Environment
|
|
38
|
+
|
|
39
|
+
- **Environment:** Production / Staging / Development
|
|
40
|
+
- **Version:** {{VERSION}}
|
|
41
|
+
- **Browser/OS:** (if applicable)
|
|
42
|
+
- **User Impact:** X users affected
|
|
43
|
+
|
|
44
|
+
## Root Cause Analysis
|
|
45
|
+
|
|
46
|
+
### Investigation Timeline
|
|
47
|
+
|
|
48
|
+
| Time | Action | Finding |
|
|
49
|
+
| -------- | ---------------- | ------------------------ |
|
|
50
|
+
| {{TIME}} | Reviewed logs | Found error pattern |
|
|
51
|
+
| {{TIME}} | Checked database | Data inconsistency found |
|
|
52
|
+
|
|
53
|
+
### Root Cause
|
|
54
|
+
|
|
55
|
+
Detailed explanation of why the bug occurred:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
[Code snippet or configuration showing the root cause]
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**Why it happened:**
|
|
62
|
+
|
|
63
|
+
- Reason 1
|
|
64
|
+
- Reason 2
|
|
65
|
+
|
|
66
|
+
### Contributing Factors
|
|
67
|
+
|
|
68
|
+
- Factor 1 (e.g., missing validation)
|
|
69
|
+
- Factor 2 (e.g., race condition)
|
|
70
|
+
- Factor 3 (e.g., edge case not handled)
|
|
71
|
+
|
|
72
|
+
## Impact Assessment
|
|
73
|
+
|
|
74
|
+
### Affected Components
|
|
75
|
+
|
|
76
|
+
| Component | Impact Level | Description |
|
|
77
|
+
| --------------- | ------------ | ----------------- |
|
|
78
|
+
| {{COMPONENT_1}} | High/Med/Low | How it's affected |
|
|
79
|
+
| {{COMPONENT_2}} | High/Med/Low | How it's affected |
|
|
80
|
+
|
|
81
|
+
### Data Impact
|
|
82
|
+
|
|
83
|
+
- Was any data corrupted? Yes / No
|
|
84
|
+
- If yes, describe scope and recovery plan
|
|
85
|
+
|
|
86
|
+
### Business Impact
|
|
87
|
+
|
|
88
|
+
- Users affected: X
|
|
89
|
+
- Revenue impact: $X or N/A
|
|
90
|
+
- SLA breach: Yes / No
|
|
91
|
+
|
|
92
|
+
## Proposed Solution
|
|
93
|
+
|
|
94
|
+
### Approach
|
|
95
|
+
|
|
96
|
+
Describe the fix approach at a high level.
|
|
97
|
+
|
|
98
|
+
### Code Changes
|
|
99
|
+
|
|
100
|
+
**File:** `path/to/file.{{FILE_EXTENSION}}`
|
|
101
|
+
|
|
102
|
+
Before:
|
|
103
|
+
|
|
104
|
+
```{{FILE_EXTENSION}}
|
|
105
|
+
// Problematic code
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
After:
|
|
109
|
+
|
|
110
|
+
```{{FILE_EXTENSION}}
|
|
111
|
+
// Fixed code
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Additional Changes
|
|
115
|
+
|
|
116
|
+
- [ ] Database migration required
|
|
117
|
+
- [ ] Configuration change required
|
|
118
|
+
- [ ] Cache invalidation required
|
|
119
|
+
|
|
120
|
+
## Testing Requirements
|
|
121
|
+
|
|
122
|
+
### Regression Tests
|
|
123
|
+
|
|
124
|
+
- [ ] Test that the specific bug is fixed
|
|
125
|
+
- [ ] Test related functionality still works
|
|
126
|
+
- [ ] Test edge cases
|
|
127
|
+
|
|
128
|
+
### Test Cases
|
|
129
|
+
|
|
130
|
+
| Test Case | Input | Expected Output |
|
|
131
|
+
| --------------------- | ----- | ------------------ |
|
|
132
|
+
| Original bug scenario | X | Y (fixed behavior) |
|
|
133
|
+
| Edge case 1 | A | B |
|
|
134
|
+
| Edge case 2 | C | D |
|
|
135
|
+
|
|
136
|
+
## Prevention
|
|
137
|
+
|
|
138
|
+
### How to Prevent Recurrence
|
|
139
|
+
|
|
140
|
+
- [ ] Add validation for X
|
|
141
|
+
- [ ] Improve error handling
|
|
142
|
+
- [ ] Add monitoring/alerting
|
|
143
|
+
- [ ] Update documentation
|
|
144
|
+
|
|
145
|
+
### Process Improvements
|
|
146
|
+
|
|
147
|
+
- Lesson learned 1
|
|
148
|
+
- Lesson learned 2
|
|
149
|
+
|
|
150
|
+
## References
|
|
151
|
+
|
|
152
|
+
- [Issue Tracker]({{ISSUE_TRACKER_URL}})
|
|
153
|
+
- [Related PR](link)
|
|
154
|
+
- [Error Logs](link)
|
|
155
|
+
- [Monitoring Dashboard](link)
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Changelog
|
|
160
|
+
|
|
161
|
+
| Date | Author | Change Description |
|
|
162
|
+
| -------- | ---------- | --------------------- |
|
|
163
|
+
| {{DATE}} | {{AUTHOR}} | Initial investigation |
|