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,1026 @@
|
|
|
1
|
+
# Bootstrap AI Instructions
|
|
2
|
+
|
|
3
|
+
Analyze the project structure and customize AI instruction templates for this codebase.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/bootstrap
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
> **Merge, don't clobber.** If a target file already exists and carries project-specific content — customized agents, rules, skills, or `{{PLACEHOLDER}}` values already replaced — preserve it. Add missing structure; never overwrite a customized file with template defaults. When a template change conflicts with an existing customization, merge the addition and flag it for the user rather than replacing the file. For incremental updates after the first bootstrap, prefer `/bootstrap-patch`, which is purpose-built for meticulous merging.
|
|
14
|
+
|
|
15
|
+
### Step 1: Project Analysis
|
|
16
|
+
|
|
17
|
+
Detect the language ecosystem by checking for these files:
|
|
18
|
+
|
|
19
|
+
**JavaScript/TypeScript:**
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
- package.json, tsconfig.json, jsconfig.json
|
|
23
|
+
- package-lock.json, pnpm-lock.yaml, yarn.lock, bun.lockb
|
|
24
|
+
- next.config.*, nuxt.config.*, vite.config.*, angular.json
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**PHP:**
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
- composer.json, composer.lock
|
|
31
|
+
- artisan (Laravel), symfony.lock (Symfony)
|
|
32
|
+
- phpunit.xml, .php-version
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**.NET (C#/F#):**
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
- *.csproj, *.fsproj, *.sln
|
|
39
|
+
- Program.cs, appsettings.json
|
|
40
|
+
- global.json, nuget.config
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**Python:**
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
- pyproject.toml, setup.py, setup.cfg
|
|
47
|
+
- requirements.txt, Pipfile, poetry.lock, uv.lock
|
|
48
|
+
- manage.py (Django), app.py (Flask/FastAPI)
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
**Ruby:**
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
- Gemfile, Gemfile.lock, *.gemspec
|
|
55
|
+
- config.ru, Rakefile
|
|
56
|
+
- bin/rails (Rails)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**Go:**
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
- go.mod, go.sum
|
|
63
|
+
- main.go, cmd/
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
**Rust:**
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
- Cargo.toml, Cargo.lock
|
|
70
|
+
- src/main.rs, src/lib.rs
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**Java/Kotlin:**
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
- pom.xml, build.gradle, build.gradle.kts
|
|
77
|
+
- src/main/java/, src/main/kotlin/
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Step 2: Variable Inference
|
|
81
|
+
|
|
82
|
+
Map discovered information to template variables:
|
|
83
|
+
|
|
84
|
+
| Variable | Source |
|
|
85
|
+
| --------------------------- | --------------------------------------------------------------------------- |
|
|
86
|
+
| `{{PROJECT_NAME}}` | Config file name field or directory |
|
|
87
|
+
| `{{PROJECT_DESCRIPTION}}` | Config description or README |
|
|
88
|
+
| `{{LANGUAGE}}` | Detected language (TypeScript, PHP, C#, Python, etc.) |
|
|
89
|
+
| `{{FRAMEWORK}}` | Detected framework with version |
|
|
90
|
+
| `{{PACKAGE_MANAGER}}` | Lock file or config (npm, composer, dotnet, pip, bundler, go, cargo, maven) |
|
|
91
|
+
| `{{DEV_PORT}}` | Scripts, config, or framework default |
|
|
92
|
+
| `{{SRC_DIR}}` | Source directory structure |
|
|
93
|
+
| `{{TEST_DIR}}` | Test directory location |
|
|
94
|
+
| `{{FILE_EXTENSION}}` | Primary extension (ts, php, cs, py, rb, go, rs, java) |
|
|
95
|
+
| `{{DATABASE}}` | ORM/database dependencies |
|
|
96
|
+
| `{{TEST_FRAMEWORK}}` | Test framework |
|
|
97
|
+
| `{{DEPLOY_PLATFORM}}` | Deployment config files |
|
|
98
|
+
| `{{RUNTIME_VERSION}}` | Runtime version from config |
|
|
99
|
+
| `{{ISSUE_TRACKER}}` | Detected project management tool |
|
|
100
|
+
| `{{PM_URL}}` | Project management tool URL/workspace (if applicable) |
|
|
101
|
+
| `{{PROJECT_KEY}}` | Project ID or workspace ID (if applicable) |
|
|
102
|
+
| `{{PM_ISSUE_KEY}}` | Issue key format (e.g., PROJ-###) |
|
|
103
|
+
| `{{NEW_RELEVANT_VARIABLE}}` | ...other inferred values... |
|
|
104
|
+
|
|
105
|
+
### Step 2.5: Project Management Detection
|
|
106
|
+
|
|
107
|
+
**Detection Strategy:**
|
|
108
|
+
|
|
109
|
+
1. **GitHub Issues** - Check for:
|
|
110
|
+
- `.github/ISSUE_TEMPLATE/` directory
|
|
111
|
+
- Repository issues enabled (via git remote URL)
|
|
112
|
+
- Default detection for GitHub-hosted repos
|
|
113
|
+
|
|
114
|
+
2. **Jira** - Check for:
|
|
115
|
+
- `jira.properties` or `jira.yml`
|
|
116
|
+
- References in CI/CD configs (`.github/workflows/`, `azure-pipelines.yml`)
|
|
117
|
+
- `JIRA_` environment variables in config files
|
|
118
|
+
- Jira issue keys (e.g., `PROJ-123`) in commit history
|
|
119
|
+
|
|
120
|
+
3. **Azure DevOps (Azure Boards)** - Check for:
|
|
121
|
+
- `azure-pipelines.yml` with Azure Boards integration
|
|
122
|
+
- `.azure/` directory
|
|
123
|
+
- Azure DevOps URLs in README
|
|
124
|
+
|
|
125
|
+
4. **Linear** - Check for:
|
|
126
|
+
- `.linear/` directory or `linear.json`
|
|
127
|
+
- Linear issue references in commits (e.g., `ENG-123`)
|
|
128
|
+
|
|
129
|
+
5. **GitLab Issues** - Check for:
|
|
130
|
+
- `.gitlab-ci.yml`
|
|
131
|
+
- GitLab remote URL
|
|
132
|
+
|
|
133
|
+
**Issue Key Format Detection:**
|
|
134
|
+
|
|
135
|
+
| PM Tool | Key Format | Example | Detection Method |
|
|
136
|
+
| ------------- | ------------- | -------- | --------------------------------- |
|
|
137
|
+
| GitHub Issues | `#{NUM}` | `#42` | GitHub remote URL |
|
|
138
|
+
| Jira | `{KEY}-{NUM}` | `PROJ-1` | Scan commits for `[A-Z]+-\d+` |
|
|
139
|
+
| Azure Boards | `#{NUM}` | `#123` | Azure DevOps URL in config |
|
|
140
|
+
| Linear | `{KEY}-{NUM}` | `ENG-42` | Scan commits for `[A-Z]{2,5}-\d+` |
|
|
141
|
+
| GitLab Issues | `#{NUM}` | `#8` | GitLab remote URL |
|
|
142
|
+
|
|
143
|
+
**If Multiple Tools Detected:**
|
|
144
|
+
|
|
145
|
+
- Prioritize: Jira > Azure Boards > Linear > GitHub Issues > GitLab Issues
|
|
146
|
+
- Ask user to confirm which is primary
|
|
147
|
+
|
|
148
|
+
**If No Tool Detected:**
|
|
149
|
+
|
|
150
|
+
- Ask user if they use issue tracking
|
|
151
|
+
- Provide common options to choose from
|
|
152
|
+
|
|
153
|
+
### Step 3: User Confirmation
|
|
154
|
+
|
|
155
|
+
Present inferred values and ask for missing ones:
|
|
156
|
+
|
|
157
|
+
```markdown
|
|
158
|
+
## 📊 Project Analysis Results
|
|
159
|
+
|
|
160
|
+
### 🔍 Detected Ecosystem: {{LANGUAGE}}
|
|
161
|
+
|
|
162
|
+
### ✅ Inferred Values
|
|
163
|
+
|
|
164
|
+
| Variable | Value |
|
|
165
|
+
| --------------- | ---------------- |
|
|
166
|
+
| PROJECT_NAME | detected-name |
|
|
167
|
+
| LANGUAGE | PHP 8.3 |
|
|
168
|
+
| FRAMEWORK | Laravel 11 |
|
|
169
|
+
| PACKAGE_MANAGER | composer |
|
|
170
|
+
| DATABASE | Eloquent (MySQL) |
|
|
171
|
+
| ... | ... |
|
|
172
|
+
|
|
173
|
+
### 📋 Project Management
|
|
174
|
+
|
|
175
|
+
| Property | Value |
|
|
176
|
+
| ----------- | ------------------------------------- |
|
|
177
|
+
| Tracker | {{ISSUE_TRACKER}} (detected/inferred) |
|
|
178
|
+
| URL | {{PM_URL}} or "N/A" |
|
|
179
|
+
| Project Key | {{PROJECT_KEY}} or "N/A" |
|
|
180
|
+
| Issue Key | {{PM_ISSUE_KEY}} (e.g., PROJ-###) |
|
|
181
|
+
|
|
182
|
+
### ❓ Please Provide
|
|
183
|
+
|
|
184
|
+
1. **PROJECT_DESCRIPTION**: Brief description of the project?
|
|
185
|
+
2. **DEPLOY_PLATFORM**: Where will this be deployed?
|
|
186
|
+
3. **Project Management** (detected: {{ISSUE_TRACKER}} or "None detected"):
|
|
187
|
+
- Confirm detected tool or specify different tool
|
|
188
|
+
- Provide URL if applicable (e.g., `https://yourorg.atlassian.net` for Jira)
|
|
189
|
+
- Provide project/workspace ID if applicable (e.g., Azure DevOps project ID, Linear workspace)
|
|
190
|
+
- Confirm issue key format (e.g., `PROJ-###` for Jira, `#42` for GitHub)
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### Step 4: Template Customization
|
|
194
|
+
|
|
195
|
+
Replace placeholders in all template files:
|
|
196
|
+
|
|
197
|
+
**Files to Update:**
|
|
198
|
+
|
|
199
|
+
- `AGENTS.md` - Project context and patterns (include project management section)
|
|
200
|
+
- `.github/copilot-instructions.md` - Copilot configuration
|
|
201
|
+
- `.github/instructions/*.instructions.md` - Context instructions
|
|
202
|
+
- `.github/prompts/*.prompt.md` - Reusable prompts
|
|
203
|
+
- `.cursor/rules/*.mdc` - Cursor IDE rules
|
|
204
|
+
- `.cursor/commands/*.md` - Custom commands
|
|
205
|
+
- `.claude/rules/*.md` - Claude Code rules (thin wrappers)
|
|
206
|
+
- `.claude/commands/*.md` - Claude Code commands (thin wrappers)
|
|
207
|
+
- `.claude/rules-snippets/*.md` - Rules content (source of truth)
|
|
208
|
+
- `.claude/prompt-snippets/*.md` - Prompt content (source of truth)
|
|
209
|
+
- `.claude/agents-snippets/*.md` - Agent definitions (source of truth)
|
|
210
|
+
- `.opencode/opencode.json` - OpenCode configuration (⚠️ see schema validation below)
|
|
211
|
+
- `.opencode/commands/*.md` - OpenCode commands
|
|
212
|
+
- `.opencode/rules/*.md` - OpenCode rules
|
|
213
|
+
- `.opencode/agents/*.md` - OpenCode agents
|
|
214
|
+
- `.toolkit-version` - Toolkit version tracking
|
|
215
|
+
|
|
216
|
+
**⚠️ OpenCode `opencode.json` Schema Validation:**
|
|
217
|
+
|
|
218
|
+
When creating or modifying `.opencode/opencode.json`, **only use supported top-level keys**. The schema is defined at `https://opencode.ai/config.json`. Adding unsupported keys will cause validation errors.
|
|
219
|
+
|
|
220
|
+
**Supported top-level keys:**
|
|
221
|
+
|
|
222
|
+
| Key | Purpose |
|
|
223
|
+
|-----|---------|
|
|
224
|
+
| `$schema` | Schema reference (always include) |
|
|
225
|
+
| `instructions` | Array of instruction file paths/globs |
|
|
226
|
+
| `skills` | Skill folder paths and URLs |
|
|
227
|
+
| `agent` | Custom agent configurations |
|
|
228
|
+
| `default_agent` | Default agent name |
|
|
229
|
+
| `model` | Model ID (provider/model format) |
|
|
230
|
+
| `small_model` | Lightweight model for title generation |
|
|
231
|
+
| `provider` | Provider configurations and API keys |
|
|
232
|
+
| `mcp` | MCP server configurations |
|
|
233
|
+
| `tools` | Enable/disable tools |
|
|
234
|
+
| `permission` | Tool permission rules |
|
|
235
|
+
| `lsp` | LSP server configuration |
|
|
236
|
+
| `formatter` | Code formatter configuration |
|
|
237
|
+
| `server` | Server settings (port, hostname, CORS) |
|
|
238
|
+
| `shell` | Default shell for terminal |
|
|
239
|
+
| `command` | Custom command definitions |
|
|
240
|
+
| `plugin` | Plugin list |
|
|
241
|
+
| `watcher` | File watcher ignore patterns |
|
|
242
|
+
| `snapshot` | Enable/disable snapshot tracking |
|
|
243
|
+
| `share` | Sharing behavior (manual/auto/disabled) |
|
|
244
|
+
| `autoupdate` | Auto-update settings |
|
|
245
|
+
| `compaction` | Context compaction settings |
|
|
246
|
+
| `attachment` | Image attachment limits |
|
|
247
|
+
| `logLevel` | Log level (DEBUG/INFO/WARN/ERROR) |
|
|
248
|
+
| `disabled_providers` | Providers to disable |
|
|
249
|
+
| `enabled_providers` | Allowlist of providers |
|
|
250
|
+
| `tool_output` | Tool output truncation thresholds |
|
|
251
|
+
| `enterprise` | Enterprise URL |
|
|
252
|
+
| `experimental` | Experimental features |
|
|
253
|
+
|
|
254
|
+
**Do NOT add keys not listed above** (e.g., `rules`, `agents`, `commands`, `prompts` as top-level keys — these are configured via `instructions`, `skills`, and the `.opencode/` directory structure instead).
|
|
255
|
+
|
|
256
|
+
**Create Toolkit Version File:**
|
|
257
|
+
|
|
258
|
+
Create a `.toolkit-version` file in the project root with the current toolkit version:
|
|
259
|
+
|
|
260
|
+
```
|
|
261
|
+
3.0.0
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
This file enables `bootstrap-patch` to detect version changes and apply migrations automatically.
|
|
265
|
+
|
|
266
|
+
**Project Management Section (added to AGENTS.md):**
|
|
267
|
+
|
|
268
|
+
```markdown
|
|
269
|
+
## 📋 Project Management
|
|
270
|
+
|
|
271
|
+
**Tracker:** {{ISSUE_TRACKER}}
|
|
272
|
+
**URL:** {{PM_URL}} _(if applicable)_
|
|
273
|
+
**Project Key:** {{PROJECT_KEY}} _(if applicable)_
|
|
274
|
+
**Issue Key Format:** `{{PM_ISSUE_KEY}}`
|
|
275
|
+
|
|
276
|
+
### Tool Access
|
|
277
|
+
|
|
278
|
+
Use the first available method when interacting with the issue tracker:
|
|
279
|
+
|
|
280
|
+
<!-- Only include the entry matching the detected {{ISSUE_TRACKER}}. Remove the others. -->
|
|
281
|
+
|
|
282
|
+
**If Jira:**
|
|
283
|
+
|
|
284
|
+
1. **MCP server** (preferred): `mcp_atlassian_atl_*` tools (configured in `.mcp.json`)
|
|
285
|
+
2. **CLI fallback**: [`acli`](https://developer.atlassian.com/cloud/acli/reference/commands/) — `acli jira auth login --web`
|
|
286
|
+
|
|
287
|
+
**If GitHub Issues:**
|
|
288
|
+
|
|
289
|
+
1. **MCP server** (preferred): `mcp_github_*` tools
|
|
290
|
+
2. **CLI fallback**: [`gh`](https://cli.github.com/) — `gh auth login`
|
|
291
|
+
|
|
292
|
+
**If Linear:**
|
|
293
|
+
|
|
294
|
+
1. **MCP server** (preferred): `mcp_linear_*` tools (configured in `.mcp.json`)
|
|
295
|
+
2. **CLI fallback**: [`linear`](https://github.com/linear/linear-cli) — `linear auth` or set `LINEAR_API_KEY`
|
|
296
|
+
|
|
297
|
+
See the `issue-tracker` and relevant CLI skills for detailed setup and usage examples.
|
|
298
|
+
|
|
299
|
+
### Conventions
|
|
300
|
+
|
|
301
|
+
- Reference issues in commit messages: `{{PM_ISSUE_KEY}}: Brief description`
|
|
302
|
+
- Link PRs to issues: Include issue key in PR title or description
|
|
303
|
+
- Use issue keys for traceability: `Fixes {{PM_ISSUE_KEY}}`, `Relates to {{PM_ISSUE_KEY}}`
|
|
304
|
+
|
|
305
|
+
### Examples
|
|
306
|
+
|
|
307
|
+
**Commit Messages:**
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
{{PM_EXAMPLE_KEY}}: Add user authentication
|
|
311
|
+
{{PM_EXAMPLE_KEY}}: Fix database connection timeout
|
|
312
|
+
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
**PR Titles:**
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
{{PM_EXAMPLE_KEY}}: Implement OAuth2 login flow
|
|
319
|
+
feat(auth): Add SSO support ({{PM_EXAMPLE_KEY}})
|
|
320
|
+
|
|
321
|
+
````
|
|
322
|
+
|
|
323
|
+
**PR Descriptions:**
|
|
324
|
+
```markdown
|
|
325
|
+
Fixes {{PM_EXAMPLE_KEY}}
|
|
326
|
+
Relates to {{PM_EXAMPLE_KEY_2}}
|
|
327
|
+
````
|
|
328
|
+
|
|
329
|
+
`````
|
|
330
|
+
|
|
331
|
+
### Step 5: Language-Specific Enhancements
|
|
332
|
+
|
|
333
|
+
Add language and framework-specific patterns to `AGENTS.md`:
|
|
334
|
+
|
|
335
|
+
**JavaScript/TypeScript:**
|
|
336
|
+
|
|
337
|
+
- Next.js: App Router, Server Components
|
|
338
|
+
- Nuxt: Composables, Nitro
|
|
339
|
+
- React/Vue: Components, state management
|
|
340
|
+
|
|
341
|
+
**PHP:**
|
|
342
|
+
|
|
343
|
+
- Laravel: Eloquent, Controllers, Blade, Artisan
|
|
344
|
+
- Symfony: Services, Doctrine, Twig
|
|
345
|
+
|
|
346
|
+
**.NET:**
|
|
347
|
+
|
|
348
|
+
- Blazor: Components, DI, services
|
|
349
|
+
- ASP.NET Core: Controllers, Minimal APIs, EF Core
|
|
350
|
+
|
|
351
|
+
**Python:**
|
|
352
|
+
|
|
353
|
+
- Django: Models, Views, Templates
|
|
354
|
+
- FastAPI: Routes, Pydantic, DI
|
|
355
|
+
- Flask: Blueprints, SQLAlchemy
|
|
356
|
+
|
|
357
|
+
**Ruby:**
|
|
358
|
+
|
|
359
|
+
- Rails: MVC, ActiveRecord, migrations
|
|
360
|
+
|
|
361
|
+
**Go:**
|
|
362
|
+
|
|
363
|
+
- Gin/Echo: Handlers, middleware
|
|
364
|
+
|
|
365
|
+
**Rust:**
|
|
366
|
+
|
|
367
|
+
- Actix/Axum: Handlers, extractors
|
|
368
|
+
|
|
369
|
+
**Java:**
|
|
370
|
+
|
|
371
|
+
- Spring Boot: Controllers, Services, JPA
|
|
372
|
+
|
|
373
|
+
### Step 5.5: Agent Customization
|
|
374
|
+
|
|
375
|
+
Customize agent definition files (`.github/agents/` and `.cursor/agents/`) based on the detected stack.
|
|
376
|
+
|
|
377
|
+
**Agent files contain framework placeholders** that should be replaced with detected values:
|
|
378
|
+
|
|
379
|
+
| Placeholder | Source | Example |
|
|
380
|
+
|---|---|---|
|
|
381
|
+
| `{{FRAMEWORK}}` | Step 1 framework detection | `Laravel`, `Next.js`, `Django` |
|
|
382
|
+
| `{{LANGUAGE}}` | Step 1 ecosystem detection | `PHP`, `TypeScript`, `Python` |
|
|
383
|
+
| `{{ADMIN_MONITORING_TOOLS}}` | Framework-specific tools table below | `Horizon, Telescope, Pulse, Filament` |
|
|
384
|
+
|
|
385
|
+
**Admin Monitoring Tools by Framework:**
|
|
386
|
+
|
|
387
|
+
| Detected Framework | `{{ADMIN_MONITORING_TOOLS}}` Value |
|
|
388
|
+
|---|---|
|
|
389
|
+
| Laravel | Horizon (queues), Telescope (debugging), Pulse (performance), Nova or Filament (admin panels) |
|
|
390
|
+
| Django | Django Admin, Celery Flower (tasks), django-debug-toolbar, Silk (profiling) |
|
|
391
|
+
| Next.js / Express / Node | Bull Board (queues), AdminJS, custom dashboards |
|
|
392
|
+
| Rails | ActiveAdmin, Sidekiq Web (jobs), Blazer (SQL queries) |
|
|
393
|
+
| ASP.NET Core / Blazor | Hangfire Dashboard (jobs), Aspire Dashboard, Health Checks UI |
|
|
394
|
+
| Spring Boot | Spring Boot Admin, Actuator endpoints, Micrometer |
|
|
395
|
+
| FastAPI | FastAPI Admin, Flower (Celery), SQLAdmin |
|
|
396
|
+
|
|
397
|
+
**Files to update** (in both `.github/agents/` and `.cursor/agents/`):
|
|
398
|
+
|
|
399
|
+
- `backend-architect.agent.md` — Replace `{{FRAMEWORK}}` and `{{LANGUAGE}}`
|
|
400
|
+
- `frontend-developer.agent.md` — Replace `{{FRAMEWORK}}` and `{{LANGUAGE}}`
|
|
401
|
+
- `api-specialist.agent.md` — Replace `{{FRAMEWORK}}` and `{{LANGUAGE}}`
|
|
402
|
+
- `admin-portal.agent.md` — Replace `{{FRAMEWORK}}`, `{{LANGUAGE}}`, and `{{ADMIN_MONITORING_TOOLS}}`
|
|
403
|
+
- `documenter.agent.md` — Replace `{{FRAMEWORK}}` and `{{LANGUAGE}}`
|
|
404
|
+
- All other agent files that reference `{{FRAMEWORK}}` or `{{LANGUAGE}}`
|
|
405
|
+
|
|
406
|
+
#### Agent Tool & Permission Calibration
|
|
407
|
+
|
|
408
|
+
The `tools:` block (Claude Code, GitHub Copilot) and `permission:` block (OpenCode) must match each agent's role **and** the detected project. Templates ship with defaults, but calibrate them during bootstrap so every agent can do its job without being over-provisioned.
|
|
409
|
+
|
|
410
|
+
**1. Capability baseline per role** — what the agent functionally needs:
|
|
411
|
+
|
|
412
|
+
| Agent | read | search | write | edit | terminal/bash | spawn subagents |
|
|
413
|
+
|-------|------|--------|-------|------|---------------|-----------------|
|
|
414
|
+
| Feature Builder, TDD (coordinators) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
415
|
+
| Backend Architect, Frontend Developer, API Specialist, Admin Portal, Implementer, Red, Green, Refactor | ✓ | ✓ | ✓ | ✓ | ✓ | – |
|
|
416
|
+
| Documenter | ✓ | ✓ | ✓ | ✓ | ✓ (doc generators) | – |
|
|
417
|
+
| Planner | ✓ | ✓ | ✓ (persist plan) | – | ✓ (git log, test discovery) | – |
|
|
418
|
+
| Reviewer | ✓ | ✓ | – | – | ✓ (git diff, tests) | – |
|
|
419
|
+
| Researcher | ✓ | ✓ | – | – | – | – |
|
|
420
|
+
|
|
421
|
+
**2. Translate the baseline to each platform's syntax:**
|
|
422
|
+
|
|
423
|
+
| Capability | Claude Code | GitHub Copilot | OpenCode (`permission:`) | Cursor |
|
|
424
|
+
|-----------|-------------|----------------|--------------------------|--------|
|
|
425
|
+
| read | `Read` | `read` | default | default |
|
|
426
|
+
| search | `Grep` | `search` | default | default |
|
|
427
|
+
| write / edit files | `Write`, `Edit` | `edit` | `edit: allow` | default |
|
|
428
|
+
| terminal | `Bash(*)` | `runInTerminal`, `terminalLastCommand` | `bash: allow` | default |
|
|
429
|
+
| spawn subagents | `agent` | n/a | `task: allow` | default |
|
|
430
|
+
|
|
431
|
+
> **Cursor note:** these templates declare no `tools:` field, so Cursor subagents inherit the full default toolset. Read-only intent (Researcher, Reviewer) is enforced by the agent's instructions, not tool gating. If your Cursor version supports per-agent tool restriction, add a `tools:` field to match the baseline.
|
|
432
|
+
|
|
433
|
+
**3. Project-driven adjustments** (widen or narrow from the baseline):
|
|
434
|
+
|
|
435
|
+
- **Planner** — If plans are persisted to files (e.g. `docs/plans/`, `docs/features/`), it MUST have write + terminal. The Copilot default is read-only (`["read","search"]`) and the OpenCode default denies `edit`/`bash` — **widen both** to the baseline. The Claude default already has `Write` but lacks `Bash(*)` — add it so the planner can run `git log` / discover tests.
|
|
436
|
+
- **Documenter** — Always needs edit (updates existing docs); needs terminal when the project uses doc generators (mkdocs, typedoc, sphinx, docusaurus). The OpenCode default denies `edit`/`bash` and the Claude default omits `Edit`/`Bash(*)` — **widen both** to the baseline. The Copilot default is already correct.
|
|
437
|
+
- **Researcher** — Must stay read-only on every platform. The Claude Code default currently grants `Write` — **remove it** (`["Read","Grep"]`).
|
|
438
|
+
- **Reviewer** — Read + terminal only; never grant write/edit. The OpenCode default denies `bash` — **allow `bash`** (keep `edit: deny`) so it can run `git diff` / tests. The Claude default grants `Write` — **remove it** (keep `Bash(*)`).
|
|
439
|
+
- **Worker agents** (Planner, Implementer, Red, Green, Refactor) — in a monorepo keep `user-invocable: false`; they are coordinator-dispatched only.
|
|
440
|
+
|
|
441
|
+
**4. Apply:** for each agent file (`.claude/agents/*.agent.md`, `.github/agents/*.agent.md`, `.opencode/agents/*.md`), compare the declared tools/permissions to the calibrated baseline and adjust. List the changes in the confirmation table, then proceed only on `(Y/n)`.
|
|
442
|
+
|
|
443
|
+
**Presentation:**
|
|
444
|
+
|
|
445
|
+
```markdown
|
|
446
|
+
## 🤖 Agent Customization
|
|
447
|
+
|
|
448
|
+
Detected stack: {{LANGUAGE}} / {{FRAMEWORK}}
|
|
449
|
+
|
|
450
|
+
### Agent Placeholder Replacements
|
|
451
|
+
|
|
452
|
+
| Placeholder | Replacement |
|
|
453
|
+
|---|---|
|
|
454
|
+
| `{{FRAMEWORK}}` | {{DETECTED_FRAMEWORK}} |
|
|
455
|
+
| `{{LANGUAGE}}` | {{DETECTED_LANGUAGE}} |
|
|
456
|
+
| `{{ADMIN_MONITORING_TOOLS}}` | {{DETECTED_ADMIN_TOOLS}} |
|
|
457
|
+
|
|
458
|
+
### Files to Update ({{N}} agent files)
|
|
459
|
+
|
|
460
|
+
- [x] `.github/agents/backend-architect.agent.md`
|
|
461
|
+
- [x] `.github/agents/admin-portal.agent.md`
|
|
462
|
+
- [x] `.cursor/agents/backend-architect.agent.md`
|
|
463
|
+
- [x] `.cursor/agents/admin-portal.agent.md`
|
|
464
|
+
- ... (all files with placeholders)
|
|
465
|
+
|
|
466
|
+
### Agent Tool Calibration
|
|
467
|
+
|
|
468
|
+
| Agent | Platform | Current | Calibrated |
|
|
469
|
+
|-------|----------|---------|------------|
|
|
470
|
+
| Planner | github-copilot | `read, search, edit, runInTerminal, terminalLastCommand` | `read, search, edit, runInTerminal, terminalLastCommand` |
|
|
471
|
+
| Planner | opencode | `edit: allow, bash: allow` | `edit: allow, bash: allow` |
|
|
472
|
+
| Planner | claude | `Read, Grep, Write, Bash(*)` | `Read, Grep, Write, Bash(*)` |
|
|
473
|
+
| Documenter | claude | `Read, Grep, Write, Edit, Bash(*)` | `Read, Grep, Write, Edit, Bash(*)` |
|
|
474
|
+
| Documenter | opencode | `edit: allow, bash: allow` | `edit: allow, bash: allow` |
|
|
475
|
+
| Researcher | claude | `Read, Grep` | `Read, Grep` |
|
|
476
|
+
| Reviewer | claude | `Read, Grep, Bash(*)` | `Read, Grep, Bash(*)` |
|
|
477
|
+
| Reviewer | opencode | `edit: deny, bash: allow` | `edit: deny, bash: allow` |
|
|
478
|
+
|
|
479
|
+
Apply agent customizations? (Y/n)
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
### Step 6: Detect Installed AI Agents
|
|
483
|
+
|
|
484
|
+
Before recommending skills, detect which AI agent directories exist in the workspace. Supported agents are located here: https://github.com/vercel-labs/skills?tab=readme-ov-file#available-agents:
|
|
485
|
+
|
|
486
|
+
**Note:** `.agents/` directory is used by multiple agents: `amp`, `codex`, `gemini-cli`, `github-copilot`, `opencode`, `replit`. If only `.agents/` exists, default to `codex` or `github-copilot` based on other indicators.
|
|
487
|
+
|
|
488
|
+
**Build the agent flags string:**
|
|
489
|
+
- For each detected agent, add `-a <agent>` to the command
|
|
490
|
+
- Example: If `.cursor/` and `.github/` exist → use `-a cursor -a github-copilot`
|
|
491
|
+
- If no agents detected, omit `-a` flags (CLI will prompt)
|
|
492
|
+
|
|
493
|
+
### Step 7: AI Agent Skills Recommendation
|
|
494
|
+
|
|
495
|
+
Based on detected ecosystem and frameworks, recommend relevant skills from [skills.sh](https://skills.sh/) and [agentskills.io](https://agentskills.io/).
|
|
496
|
+
|
|
497
|
+
**Important:** Use the detected agent flags from Step 6 in all `npx skills add` commands. This prevents creating unnecessary configurations for agents the user doesn't have installed.
|
|
498
|
+
|
|
499
|
+
**Core Skills (Always Recommend):**
|
|
500
|
+
|
|
501
|
+
| Skill Repository | Purpose |
|
|
502
|
+
| -------------------------- | ---------------------------------------------------------- |
|
|
503
|
+
| `obra/superpowers` | TDD, systematic debugging, planning, code review workflows |
|
|
504
|
+
| `trailofbits/skills` | Security analysis, Semgrep, property-based testing |
|
|
505
|
+
| `softaworks/agent-toolkit` | README writing, clear documentation |
|
|
506
|
+
|
|
507
|
+
**Issue Tracker Skills Health Check (if {{ISSUE_TRACKER}} is configured):**
|
|
508
|
+
|
|
509
|
+
This template bundles issue tracker skills in `.agents/skills/`. Verify the correct skills are present:
|
|
510
|
+
|
|
511
|
+
| Detected Tracker | Required Skills | Expected Files |
|
|
512
|
+
| ---------------- | ---------------------------------------- | ----------------------------------------------------------------------------- |
|
|
513
|
+
| Jira | `issue-tracker` + `acli` | `.agents/skills/issue-tracker/SKILL.md`, `.agents/skills/acli/SKILL.md` |
|
|
514
|
+
| GitHub Issues | `issue-tracker` + `gh-cli` | `.agents/skills/issue-tracker/SKILL.md`, `.agents/skills/gh-cli/SKILL.md` |
|
|
515
|
+
| Linear | `issue-tracker` + `linear-cli` | `.agents/skills/issue-tracker/SKILL.md`, `.agents/skills/linear-cli/SKILL.md` |
|
|
516
|
+
|
|
517
|
+
**Health check steps:**
|
|
518
|
+
|
|
519
|
+
1. **Map tracker → expected CLI skill:** Jira → `acli`, GitHub Issues → `gh-cli`, Linear → `linear-cli`
|
|
520
|
+
2. **Verify presence:** Check `.agents/skills/issue-tracker/SKILL.md` and `.agents/skills/{expected-cli}/SKILL.md` exist
|
|
521
|
+
3. **Warn on mismatch:** If a *different* CLI skill is present, warn the user and offer to prune
|
|
522
|
+
4. **Prune unused CLI skills:** On confirmation, delete mismatched skill directory and update AGENTS.md Skills table
|
|
523
|
+
5. **If missing:** Warn and offer to copy from the template bundle
|
|
524
|
+
|
|
525
|
+
**Framework-Specific Skills:**
|
|
526
|
+
|
|
527
|
+
| Detected Framework | Skill Repository |
|
|
528
|
+
| ------------------ | ------------------------------------- |
|
|
529
|
+
| React/Next.js | `vercel-labs/agent-skills` |
|
|
530
|
+
| Vue/Nuxt | `onmax/nuxt-skills` |
|
|
531
|
+
| Expo/React Native | `expo/skills` |
|
|
532
|
+
| Better-Auth | `better-auth/skills` |
|
|
533
|
+
| NestJS | `Kadajett/agent-nestjs-skills` |
|
|
534
|
+
| Elysia.js | `elysiajs/skills` |
|
|
535
|
+
| Three.js | `CloudAI-X/threejs-skills` |
|
|
536
|
+
| Remotion | `remotion-dev/skills` |
|
|
537
|
+
| Convex | `waynesutton/convexskills` |
|
|
538
|
+
| TanStack Query | `jezweb/claude-skills` |
|
|
539
|
+
| shadcn/ui | `giuseppe-trisciuoglio/developer-kit` |
|
|
540
|
+
| SwiftUI/iOS | `Dimillian/Skills` |
|
|
541
|
+
| Obsidian | `kepano/obsidian-skills` |
|
|
542
|
+
| Stripe Integration | `anthropics/claude-plugins-official` |
|
|
543
|
+
|
|
544
|
+
**Language-Specific Skills:**
|
|
545
|
+
|
|
546
|
+
| Language/Framework | Skill Repository | Install Command |
|
|
547
|
+
| ------------------ | ------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
|
548
|
+
| PHP | `vapvarun/claude-backup` (php) | `npx -y skills add {{AGENT_FLAGS}} vapvarun/claude-backup --skill "php"` |
|
|
549
|
+
| Laravel | `vapvarun/claude-backup` (laravel) | `npx -y skills add {{AGENT_FLAGS}} vapvarun/claude-backup --skill "laravel"` |
|
|
550
|
+
| Python | `siviter-xyz/dot-agent` (python) | `npx -y skills add {{AGENT_FLAGS}} siviter-xyz/dot-agent --skill "python"` |
|
|
551
|
+
| Django | `vintasoftware/django-ai-plugins` | `npx -y skills add {{AGENT_FLAGS}} vintasoftware/django-ai-plugins --skill "django-expert"` |
|
|
552
|
+
| Next.js | `sickn33/antigravity-awesome-skills` | `npx -y skills add {{AGENT_FLAGS}} sickn33/antigravity-awesome-skills --skill "nextjs-best-practices"` |
|
|
553
|
+
| React | `vercel-labs/agent-skills` | `npx -y skills add {{AGENT_FLAGS}} vercel-labs/agent-skills --skill "vercel-react-best-practices"` |
|
|
554
|
+
| Vue | `onmax/nuxt-skills` (vue) | `npx -y skills add {{AGENT_FLAGS}} onmax/nuxt-skills --skill "vue"` |
|
|
555
|
+
| Nuxt | `onmax/nuxt-skills` (nuxt) | `npx -y skills add {{AGENT_FLAGS}} onmax/nuxt-skills --skill "nuxt"` |
|
|
556
|
+
| Expo | `expo/skills` | `npx -y skills add {{AGENT_FLAGS}} expo/skills --skill '*' --agent github-copilot cursor` |
|
|
557
|
+
| TypeScript | `pproenca/dot-skills` (typescript) | `npx -y skills add {{AGENT_FLAGS}} pproenca/dot-skills --skill '*' --agent github-copilot cursor` |
|
|
558
|
+
| Advanced Types | `wshobson/agents` (ts-advanced-types) | `npx -y skills add {{AGENT_FLAGS}} wshobson/agents --skill '*' --agent github-copilot cursor` |
|
|
559
|
+
|
|
560
|
+
**Skill Creation for Unsupported Frameworks:**
|
|
561
|
+
|
|
562
|
+
Use `npx -y skills add {{AGENT_FLAGS}} anthropics/skills --skill '*' --agent github-copilot cursor` (includes `skill-creator`) to create custom skills.
|
|
563
|
+
|
|
564
|
+
**Present Recommendation:**
|
|
565
|
+
|
|
566
|
+
````markdown
|
|
567
|
+
## 🎯 Recommended AI Agent Skills
|
|
568
|
+
|
|
569
|
+
Detected agents: {{DETECTED_AGENTS_LIST}}
|
|
570
|
+
Using flags: {{AGENT_FLAGS}}
|
|
571
|
+
|
|
572
|
+
Based on your project ({{FRAMEWORK}}/{{LANGUAGE}}):
|
|
573
|
+
|
|
574
|
+
### Core Skills (recommended for all projects)
|
|
575
|
+
|
|
576
|
+
```bash
|
|
577
|
+
npx -y skills add {{AGENT_FLAGS}} obra/superpowers --skill '*' --agent github-copilot cursor
|
|
578
|
+
npx -y skills add {{AGENT_FLAGS}} trailofbits/skills --skill '*' --agent github-copilot cursor
|
|
579
|
+
npx -y skills add {{AGENT_FLAGS}} softaworks/agent-toolkit --skill '*' --agent github-copilot cursor
|
|
580
|
+
`````
|
|
581
|
+
|
|
582
|
+
### Issue Tracker Skills (bundled — {{ISSUE_TRACKER}})
|
|
583
|
+
|
|
584
|
+
```
|
|
585
|
+
✅ .agents/skills/issue-tracker/SKILL.md (shared strategy)
|
|
586
|
+
✅ Matching CLI reference: .agents/skills/acli/SKILL.md, .agents/skills/gh-cli/SKILL.md, or .agents/skills/linear-cli/SKILL.md
|
|
587
|
+
⚠️ Prune any issue-tracker CLI skills that do not match {{ISSUE_TRACKER}} (if any)
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
````
|
|
591
|
+
|
|
592
|
+
### Framework-Specific Skills
|
|
593
|
+
|
|
594
|
+
```bash
|
|
595
|
+
npx -y skills add {{FRAMEWORK_SKILL_REPO}} --skill '*' --agent github-copilot cursor
|
|
596
|
+
```
|
|
597
|
+
|
|
598
|
+
### Install All?
|
|
599
|
+
|
|
600
|
+
Would you like to install these skills now? (Y/n)
|
|
601
|
+
|
|
602
|
+
````
|
|
603
|
+
|
|
604
|
+
**On Confirmation:**
|
|
605
|
+
|
|
606
|
+
- Run skill installation commands
|
|
607
|
+
- Skills installed to `.github/skills/{skill-name}/` (by skill name, not org/repo)
|
|
608
|
+
- Update `AGENTS.md` to reference installed skills
|
|
609
|
+
|
|
610
|
+
### Step 7: Completion Report
|
|
611
|
+
|
|
612
|
+
```markdown
|
|
613
|
+
## ✅ Bootstrap Complete!
|
|
614
|
+
|
|
615
|
+
### Ecosystem: {{LANGUAGE}} / {{FRAMEWORK}}
|
|
616
|
+
|
|
617
|
+
### Project Management: {{ISSUE_TRACKER}}
|
|
618
|
+
|
|
619
|
+
- **Tracker:** {{ISSUE_TRACKER}}
|
|
620
|
+
- **URL:** {{PM_URL}} _(if applicable)_
|
|
621
|
+
- **Project Key:** {{PROJECT_KEY}} _(if applicable)_
|
|
622
|
+
- **Issue Format:** `{{PM_ISSUE_KEY}}`
|
|
623
|
+
|
|
624
|
+
### Updated Files
|
|
625
|
+
|
|
626
|
+
- [x] AGENTS.md (with {{LANGUAGE}} patterns)
|
|
627
|
+
- [x] .github/copilot-instructions.md
|
|
628
|
+
- [x] .github/instructions/\*.instructions.md
|
|
629
|
+
- [x] .cursor/rules/\*.mdc
|
|
630
|
+
- [x] .cursor/commands/\*.md
|
|
631
|
+
- [x] .github/prompts/\*.prompt.md
|
|
632
|
+
- [x] .claude/rules/\*.md (thin wrappers)
|
|
633
|
+
- [x] .claude/rules-snippets/\*.md (rules content)
|
|
634
|
+
- [x] .claude/prompt-snippets/\*.md (prompt content)
|
|
635
|
+
- [x] .claude/agents-snippets/\*.md (agent content)
|
|
636
|
+
- [x] .opencode/opencode.json
|
|
637
|
+
- [x] .opencode/commands/\*.md
|
|
638
|
+
- [x] .opencode/rules/\*.md
|
|
639
|
+
- [x] .opencode/agents/\*.md
|
|
640
|
+
- [x] .toolkit-version
|
|
641
|
+
|
|
642
|
+
### Installed Skills
|
|
643
|
+
|
|
644
|
+
- [x] obra/superpowers - Development workflow
|
|
645
|
+
- [x] trailofbits/skills - Security & quality
|
|
646
|
+
- [x] {{FRAMEWORK_SKILL}} - Framework patterns
|
|
647
|
+
|
|
648
|
+
### Next Steps
|
|
649
|
+
|
|
650
|
+
1. Review generated content in AGENTS.md
|
|
651
|
+
2. Add project-specific patterns and conventions
|
|
652
|
+
3. Customize prompts for your workflow
|
|
653
|
+
4. Test commands with your codebase
|
|
654
|
+
5. Browse more skills at https://skills.sh/
|
|
655
|
+
6. Create custom skills at https://agentskills.io/specification
|
|
656
|
+
```
|
|
657
|
+
|
|
658
|
+
### Step 8: Skills Review & Cleanup
|
|
659
|
+
|
|
660
|
+
After bootstrap completion, review all installed skills for relevance:
|
|
661
|
+
|
|
662
|
+
**Skill Audit Process:**
|
|
663
|
+
|
|
664
|
+
1. **Inventory Installed Skills**
|
|
665
|
+
- Scan `.github/skills/` and `.cursor/skills/` directories
|
|
666
|
+
- List all installed skill names and descriptions
|
|
667
|
+
- Check each skill's SKILL.md for its purpose
|
|
668
|
+
|
|
669
|
+
2. **Relevance Analysis**
|
|
670
|
+
- Compare skills against detected ecosystem, framework, and language
|
|
671
|
+
- Identify skills that don't match the project's tech stack
|
|
672
|
+
- Flag generic skills that may not be needed
|
|
673
|
+
|
|
674
|
+
**Relevance Criteria:**
|
|
675
|
+
|
|
676
|
+
| Skill Category | Keep If... | Consider Removing If... |
|
|
677
|
+
| ------------------ | -------------------------- | ------------------------------------------------------------ |
|
|
678
|
+
| Language-specific | Matches detected language | Different language (e.g., PHP skills in .NET project) |
|
|
679
|
+
| Framework-specific | Matches detected framework | Different framework (e.g., Django skills in FastAPI project) |
|
|
680
|
+
| Core workflow | TDD, debugging, planning | Duplicate functionality |
|
|
681
|
+
| Security/Quality | Always relevant | Very specialized (e.g., crypto for non-crypto projects) |
|
|
682
|
+
| UI-specific | Has frontend components | Backend-only API |
|
|
683
|
+
| Testing | Always relevant | Redundant test patterns |
|
|
684
|
+
|
|
685
|
+
**Review Report:**
|
|
686
|
+
|
|
687
|
+
```markdown
|
|
688
|
+
## 🔍 Skill Review
|
|
689
|
+
|
|
690
|
+
### ✅ Relevant Skills ({{N}} installed)
|
|
691
|
+
|
|
692
|
+
| Skill | Purpose | Reason |
|
|
693
|
+
| --------------------------- | ------------------------- | -------------------------- |
|
|
694
|
+
| superpowers | TDD & debugging workflows | Core development practices |
|
|
695
|
+
| vercel-react-best-practices | React patterns | Matches detected framework |
|
|
696
|
+
| {{FRAMEWORK_SKILL}} | {{FRAMEWORK}} patterns | Matches project framework |
|
|
697
|
+
|
|
698
|
+
### ⚠️ Potentially Unnecessary Skills ({{N}} found)
|
|
699
|
+
|
|
700
|
+
| Skill | Purpose | Why Flagged |
|
|
701
|
+
| ----------------- | ---------------- | ----------------------------------------- |
|
|
702
|
+
| django-expert | Django patterns | No Django detected - you're using FastAPI |
|
|
703
|
+
| php | PHP patterns | No PHP files found - TypeScript project |
|
|
704
|
+
| swift-development | SwiftUI patterns | No iOS/Swift code detected |
|
|
705
|
+
|
|
706
|
+
### 🚫 Remove Unnecessary Skills?
|
|
707
|
+
|
|
708
|
+
These skills don't match your detected tech stack and may clutter AI context.
|
|
709
|
+
|
|
710
|
+
Remove flagged skills? (Y/n)
|
|
711
|
+
```
|
|
712
|
+
|
|
713
|
+
**On Confirmation:**
|
|
714
|
+
|
|
715
|
+
```bash
|
|
716
|
+
# Remove unnecessary skills
|
|
717
|
+
rm -rf .github/skills/django-expert/
|
|
718
|
+
rm -rf .cursor/skills/php/
|
|
719
|
+
rm -rf .github/skills/swift-development/
|
|
720
|
+
|
|
721
|
+
# Update AGENTS.md to remove references
|
|
722
|
+
```
|
|
723
|
+
|
|
724
|
+
**Post-Cleanup Report:**
|
|
725
|
+
|
|
726
|
+
```markdown
|
|
727
|
+
## ✅ Skill Cleanup Complete
|
|
728
|
+
|
|
729
|
+
Removed {{N}} unnecessary skills:
|
|
730
|
+
|
|
731
|
+
- django-expert
|
|
732
|
+
- php
|
|
733
|
+
- swift-development
|
|
734
|
+
|
|
735
|
+
Kept {{N}} relevant skills:
|
|
736
|
+
|
|
737
|
+
- superpowers
|
|
738
|
+
- vercel-react-best-practices
|
|
739
|
+
- {{FRAMEWORK_SKILL}}
|
|
740
|
+
```
|
|
741
|
+
|
|
742
|
+
### Step 9: Instruction Files Verification
|
|
743
|
+
|
|
744
|
+
Verify that all necessary instruction files exist and are properly configured:
|
|
745
|
+
|
|
746
|
+
**Required Instruction Files:**
|
|
747
|
+
|
|
748
|
+
| File | Purpose | Location |
|
|
749
|
+
| ----------------------------- | ------------------------------- | ----------------------- |
|
|
750
|
+
| `copilot-instructions.md` | Main GitHub Copilot context | `.github/` |
|
|
751
|
+
| `{framework}.instructions.md` | Framework-specific patterns | `.github/instructions/` |
|
|
752
|
+
| `{language}.instructions.md` | Language-specific patterns | `.github/instructions/` |
|
|
753
|
+
| `patterns.instructions.md` | Project patterns | `.github/instructions/` |
|
|
754
|
+
| `testing.instructions.md` | Testing conventions | `.github/instructions/` |
|
|
755
|
+
| `api.instructions.md` | API conventions (if applicable) | `.github/instructions/` |
|
|
756
|
+
|
|
757
|
+
**Detection & Validation:**
|
|
758
|
+
|
|
759
|
+
```markdown
|
|
760
|
+
## 📋 Instruction Files Audit
|
|
761
|
+
|
|
762
|
+
### ✅ Found ({{N}} files)
|
|
763
|
+
|
|
764
|
+
| File | Purpose | Status |
|
|
765
|
+
| -------------------------- | ------------------- | ------------ |
|
|
766
|
+
| copilot-instructions.md | Main context | ✓ Configured |
|
|
767
|
+
| typescript.instructions.md | TypeScript patterns | ✓ Configured |
|
|
768
|
+
| patterns.instructions.md | Project patterns | ✓ Configured |
|
|
769
|
+
|
|
770
|
+
### ⚠️ Missing Recommended Instructions ({{N}} files)
|
|
771
|
+
|
|
772
|
+
| File | Purpose | Why Needed |
|
|
773
|
+
| ----------------------------- | ---------------- | ---------------------------- |
|
|
774
|
+
| nextjs.instructions.md | Next.js patterns | Project uses Next.js 15 |
|
|
775
|
+
| testing.instructions.md | Test conventions | Multiple test files detected |
|
|
776
|
+
| api-standards.instructions.md | API conventions | REST API detected in project |
|
|
777
|
+
|
|
778
|
+
**Snippet Directories:**
|
|
779
|
+
|
|
780
|
+
| Directory | Purpose | Status |
|
|
781
|
+
|-----------|---------|--------|
|
|
782
|
+
| `.claude/rules-snippets/` | Rules content (source of truth) | ✓ |
|
|
783
|
+
| `.claude/prompt-snippets/` | Prompt content (source of truth) | ✓ |
|
|
784
|
+
| `.claude/agents-snippets/` | Agent definitions (source of truth) | ✓ |
|
|
785
|
+
|
|
786
|
+
### 📝 Create Missing Instruction Files?
|
|
787
|
+
|
|
788
|
+
These files would help AI understand your project's conventions.
|
|
789
|
+
|
|
790
|
+
Create recommended instructions? (Y/n)
|
|
791
|
+
```
|
|
792
|
+
|
|
793
|
+
**On Confirmation:**
|
|
794
|
+
|
|
795
|
+
Generate missing instruction files with appropriate templates:
|
|
796
|
+
|
|
797
|
+
**Example: Framework Instruction Template**
|
|
798
|
+
|
|
799
|
+
```markdown
|
|
800
|
+
---
|
|
801
|
+
applyTo: "src/**"
|
|
802
|
+
description: "{{FRAMEWORK}} patterns and conventions"
|
|
803
|
+
---
|
|
804
|
+
|
|
805
|
+
# {{FRAMEWORK}} Instructions
|
|
806
|
+
|
|
807
|
+
## Project Context
|
|
808
|
+
|
|
809
|
+
Framework: {{FRAMEWORK}} {{VERSION}}
|
|
810
|
+
Port: {{DEV_PORT}}
|
|
811
|
+
Deploy: {{DEPLOY_PLATFORM}}
|
|
812
|
+
|
|
813
|
+
## Patterns
|
|
814
|
+
|
|
815
|
+
### {{PATTERN_1}}
|
|
816
|
+
|
|
817
|
+
{{AUTO_DETECTED_PATTERN_1}}
|
|
818
|
+
|
|
819
|
+
### {{PATTERN_2}}
|
|
820
|
+
|
|
821
|
+
{{AUTO_DETECTED_PATTERN_2}}
|
|
822
|
+
|
|
823
|
+
## File Structure
|
|
824
|
+
|
|
825
|
+
{{AUTO_DETECTED_STRUCTURE}}
|
|
826
|
+
|
|
827
|
+
## Dependencies
|
|
828
|
+
|
|
829
|
+
Key packages:
|
|
830
|
+
{{LIST_KEY_DEPENDENCIES}}
|
|
831
|
+
|
|
832
|
+
## Do's and Don'ts
|
|
833
|
+
|
|
834
|
+
✅ **Do:**
|
|
835
|
+
|
|
836
|
+
- Follow {{FRAMEWORK}} best practices
|
|
837
|
+
- {{DO_1_FROM_FRAMEWORK_SKILL}}
|
|
838
|
+
- {{DO_2_FROM_FRAMEWORK_SKILL}}
|
|
839
|
+
|
|
840
|
+
❌ **Don't:**
|
|
841
|
+
|
|
842
|
+
- {{DONT_1_FROM_FRAMEWORK_SKILL}}
|
|
843
|
+
- {{DONT_2_FROM_FRAMEWORK_SKILL}}
|
|
844
|
+
|
|
845
|
+
## Related Documentation
|
|
846
|
+
|
|
847
|
+
- [{{FRAMEWORK}} Docs]({{DOCS_URL}})
|
|
848
|
+
- [Project README](README.md)
|
|
849
|
+
```
|
|
850
|
+
|
|
851
|
+
**Example: Testing Instruction Template**
|
|
852
|
+
|
|
853
|
+
```markdown
|
|
854
|
+
---
|
|
855
|
+
applyTo: "**/*.{test,spec}.{ts,tsx,py,php,cs}"
|
|
856
|
+
description: "Testing conventions and patterns"
|
|
857
|
+
---
|
|
858
|
+
|
|
859
|
+
# Testing Instructions
|
|
860
|
+
|
|
861
|
+
## Test Framework
|
|
862
|
+
|
|
863
|
+
Detected: {{TEST_FRAMEWORK}}
|
|
864
|
+
|
|
865
|
+
## Test Structure
|
|
866
|
+
|
|
867
|
+
{{AUTO_DETECTED_TEST_PATTERNS}}
|
|
868
|
+
|
|
869
|
+
## Conventions
|
|
870
|
+
|
|
871
|
+
### Naming
|
|
872
|
+
|
|
873
|
+
- Test files: {{DETECTED_TEST_FILE_PATTERN}}
|
|
874
|
+
- Test functions: {{DETECTED_TEST_FUNCTION_PATTERN}}
|
|
875
|
+
|
|
876
|
+
### Organization
|
|
877
|
+
|
|
878
|
+
{{DETECTED_TEST_ORGANIZATION}}
|
|
879
|
+
|
|
880
|
+
## Utilities
|
|
881
|
+
|
|
882
|
+
Available test utilities:
|
|
883
|
+
{{LIST_TEST_UTILS_FROM_CODEBASE}}
|
|
884
|
+
|
|
885
|
+
## Coverage Requirements
|
|
886
|
+
|
|
887
|
+
{{COVERAGE_CONFIG_IF_FOUND}}
|
|
888
|
+
|
|
889
|
+
## Best Practices
|
|
890
|
+
|
|
891
|
+
✅ **Do:**
|
|
892
|
+
|
|
893
|
+
- {{TESTING_BEST_PRACTICE_1}}
|
|
894
|
+
- {{TESTING_BEST_PRACTICE_2}}
|
|
895
|
+
|
|
896
|
+
❌ **Don't:**
|
|
897
|
+
|
|
898
|
+
- {{TESTING_ANTIPATTERN_1}}
|
|
899
|
+
- {{TESTING_ANTIPATTERN_2}}
|
|
900
|
+
```
|
|
901
|
+
|
|
902
|
+
**Post-Creation Report:**
|
|
903
|
+
|
|
904
|
+
```markdown
|
|
905
|
+
## ✅ Instruction Files Created
|
|
906
|
+
|
|
907
|
+
Created {{N}} new instruction files:
|
|
908
|
+
|
|
909
|
+
- [x] `.github/instructions/nextjs.instructions.md`
|
|
910
|
+
- [x] `.github/instructions/testing.instructions.md`
|
|
911
|
+
- [x] `.github/instructions/api-standards.instructions.md`
|
|
912
|
+
|
|
913
|
+
### Next Steps
|
|
914
|
+
|
|
915
|
+
1. Review generated instruction files for accuracy
|
|
916
|
+
2. Customize patterns based on your preferences
|
|
917
|
+
3. Add project-specific conventions
|
|
918
|
+
4. Test with GitHub Copilot
|
|
919
|
+
|
|
920
|
+
All instruction files are automatically loaded by GitHub Copilot when editing matching files.
|
|
921
|
+
```
|
|
922
|
+
|
|
923
|
+
### Step 10: Final Verification
|
|
924
|
+
|
|
925
|
+
```markdown
|
|
926
|
+
## ✅ Bootstrap Complete & Verified!
|
|
927
|
+
|
|
928
|
+
### Summary
|
|
929
|
+
|
|
930
|
+
| Category | Count | Status |
|
|
931
|
+
| ------------------------- | ----- | ------ |
|
|
932
|
+
| Files updated | {{N}} | ✓ |
|
|
933
|
+
| Skills installed | {{N}} | ✓ |
|
|
934
|
+
| Skills removed | {{N}} | ✓ |
|
|
935
|
+
| Instruction files created | {{N}} | ✓ |
|
|
936
|
+
| Project management | 1 | ✓ |
|
|
937
|
+
|
|
938
|
+
### Project Management Configuration
|
|
939
|
+
|
|
940
|
+
**Tracker:** {{ISSUE_TRACKER}}
|
|
941
|
+
**URL:** {{PM_URL}} _(if applicable)_
|
|
942
|
+
**Project Key:** {{PROJECT_KEY}} _(if applicable)_
|
|
943
|
+
**Issue Format:** `{{PM_ISSUE_KEY}}`
|
|
944
|
+
**Location:** Root AGENTS.md and copilot-instructions.md
|
|
945
|
+
|
|
946
|
+
### Skill Inventory
|
|
947
|
+
|
|
948
|
+
**Installed & Relevant ({{N}}):**
|
|
949
|
+
|
|
950
|
+
- {{SKILL_1}}
|
|
951
|
+
- {{SKILL_2}}
|
|
952
|
+
- {{SKILL_N}}
|
|
953
|
+
|
|
954
|
+
### Instruction Files
|
|
955
|
+
|
|
956
|
+
**Active Instructions ({{N}}):**
|
|
957
|
+
|
|
958
|
+
- {{INSTRUCTION_1}}
|
|
959
|
+
- {{INSTRUCTION_2}}
|
|
960
|
+
- {{INSTRUCTION_N}}
|
|
961
|
+
|
|
962
|
+
### Quality Checks
|
|
963
|
+
|
|
964
|
+
- [x] All placeholders replaced
|
|
965
|
+
- [x] Framework patterns match detected stack
|
|
966
|
+
- [x] No duplicate skills
|
|
967
|
+
- [x] AGENTS.md configured
|
|
968
|
+
- [x] Instruction files cover all frameworks
|
|
969
|
+
- [x] Skills align with tech stack
|
|
970
|
+
- [x] Snippet directories created
|
|
971
|
+
- [x] Thin wrappers reference correct snippets
|
|
972
|
+
- [x] .opencode/ directory configured
|
|
973
|
+
- [x] .toolkit-version file created
|
|
974
|
+
|
|
975
|
+
### Your Project is Ready! 🎉
|
|
976
|
+
|
|
977
|
+
GitHub Copilot and Cursor will now understand:
|
|
978
|
+
|
|
979
|
+
- Your project structure
|
|
980
|
+
- Framework-specific patterns
|
|
981
|
+
- Custom conventions
|
|
982
|
+
- Testing strategies
|
|
983
|
+
|
|
984
|
+
Try asking:
|
|
985
|
+
|
|
986
|
+
- "Create a new API endpoint using our patterns"
|
|
987
|
+
- "Add a component following our conventions"
|
|
988
|
+
- "Write tests for UserService using our test utilities"
|
|
989
|
+
```
|
|
990
|
+
|
|
991
|
+
## Ecosystem Detection Logic
|
|
992
|
+
|
|
993
|
+
```
|
|
994
|
+
// Pseudo-code for ecosystem detection
|
|
995
|
+
detectEcosystem(files):
|
|
996
|
+
if "composer.json" exists → PHP
|
|
997
|
+
if "*.csproj" or "*.sln" exists → .NET
|
|
998
|
+
if "pyproject.toml" or "requirements.txt" exists → Python
|
|
999
|
+
if "Gemfile" exists → Ruby
|
|
1000
|
+
if "go.mod" exists → Go
|
|
1001
|
+
if "Cargo.toml" exists → Rust
|
|
1002
|
+
if "pom.xml" or "build.gradle" exists → Java
|
|
1003
|
+
if "package.json" exists → JavaScript/TypeScript
|
|
1004
|
+
|
|
1005
|
+
detectFramework(ecosystem, files, deps):
|
|
1006
|
+
PHP:
|
|
1007
|
+
if "artisan" exists → Laravel
|
|
1008
|
+
if "symfony.lock" exists → Symfony
|
|
1009
|
+
.NET:
|
|
1010
|
+
if csproj contains "Blazor" → Blazor
|
|
1011
|
+
if csproj contains "Microsoft.AspNetCore" → ASP.NET Core
|
|
1012
|
+
Python:
|
|
1013
|
+
if deps contains "django" → Django
|
|
1014
|
+
if deps contains "fastapi" → FastAPI
|
|
1015
|
+
if deps contains "flask" → Flask
|
|
1016
|
+
Ruby:
|
|
1017
|
+
if "bin/rails" exists → Rails
|
|
1018
|
+
... etc
|
|
1019
|
+
```
|
|
1020
|
+
|
|
1021
|
+
## Notes
|
|
1022
|
+
|
|
1023
|
+
- Run this command after copying template files to your project
|
|
1024
|
+
- Supports all major language ecosystems
|
|
1025
|
+
- Re-run if project configuration changes significantly
|
|
1026
|
+
- Review generated content before committing
|