@yandy-r/ycc-opencode 0.0.0-stage → 6.1.0

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.
Files changed (410) hide show
  1. package/AGENTS.md +39 -0
  2. package/LICENSE +21 -0
  3. package/README.md +50 -2
  4. package/agents/ansible-automation-expert.md +115 -0
  5. package/agents/api-docs-expert.md +146 -0
  6. package/agents/api-documenter.md +105 -0
  7. package/agents/architect.md +264 -0
  8. package/agents/architecture-analyst.md +99 -0
  9. package/agents/backport-conflict-resolver.md +476 -0
  10. package/agents/cloudflare-architect.md +85 -0
  11. package/agents/cloudflare-developer.md +196 -0
  12. package/agents/code-architect.md +101 -0
  13. package/agents/code-documenter.md +114 -0
  14. package/agents/code-explorer.md +99 -0
  15. package/agents/code-finder.md +83 -0
  16. package/agents/code-researcher.md +102 -0
  17. package/agents/code-reviewer.md +268 -0
  18. package/agents/code-simplifier.md +77 -0
  19. package/agents/codebase-advisor.md +130 -0
  20. package/agents/db-modifier.md +577 -0
  21. package/agents/docs-git-committer.md +220 -0
  22. package/agents/documentation-writer.md +92 -0
  23. package/agents/feature-researcher.md +121 -0
  24. package/agents/feature-writer.md +89 -0
  25. package/agents/frontend-ui-developer.md +98 -0
  26. package/agents/git-cleanup.md +174 -0
  27. package/agents/go-api-architect.md +172 -0
  28. package/agents/go-expert-architect.md +147 -0
  29. package/agents/implementor.md +167 -0
  30. package/agents/library-docs-writer.md +128 -0
  31. package/agents/nextjs-ux-ui-expert.md +127 -0
  32. package/agents/nodejs-backend-architect.md +112 -0
  33. package/agents/nodejs-backend-developer.md +184 -0
  34. package/agents/planner.md +257 -0
  35. package/agents/pr-comment-fixer.md +626 -0
  36. package/agents/practices-researcher.md +80 -0
  37. package/agents/project-file-cleaner.md +140 -0
  38. package/agents/prp-researcher.md +231 -0
  39. package/agents/python-developer.md +171 -0
  40. package/agents/python-expert-architect.md +188 -0
  41. package/agents/readme-generator.md +100 -0
  42. package/agents/release-fix-applier.md +558 -0
  43. package/agents/releaser.md +147 -0
  44. package/agents/research-specialist.md +106 -0
  45. package/agents/reverse-proxy-architect.md +131 -0
  46. package/agents/review-fixer.md +609 -0
  47. package/agents/root-cause-analyzer.md +105 -0
  48. package/agents/rust-build-resolver.md +183 -0
  49. package/agents/rust-expert-architect.md +149 -0
  50. package/agents/rust-reviewer.md +126 -0
  51. package/agents/sql-database-developer.md +195 -0
  52. package/agents/systems-engineering-expert.md +203 -0
  53. package/agents/terraform-architect.md +109 -0
  54. package/agents/terraform-developer.md +229 -0
  55. package/agents/test-strategy-planner.md +126 -0
  56. package/agents/turso-database-architect.md +139 -0
  57. package/agents/typescript-developer.md +170 -0
  58. package/agents/typescript-expert-architect.md +167 -0
  59. package/index.js +523 -0
  60. package/package.json +36 -4
  61. package/registration.json +7259 -0
  62. package/shared/references/agent-native-setup.md +121 -0
  63. package/shared/references/branch-prep.md +31 -0
  64. package/shared/references/branching-model.md +162 -0
  65. package/shared/references/ci-monitoring.md +455 -0
  66. package/shared/references/forge-detection.md +162 -0
  67. package/shared/references/goal-pairing.md +55 -0
  68. package/shared/references/pr-base-and-backport.md +143 -0
  69. package/shared/references/question-policy.md +99 -0
  70. package/shared/references/review-artifact-format.md +141 -0
  71. package/shared/references/review-checklist.md +161 -0
  72. package/shared/references/review-dispatch.md +73 -0
  73. package/shared/references/session-state.md +159 -0
  74. package/shared/references/standalone-dispatch.md +300 -0
  75. package/shared/references/target-capability-matrix.md +516 -0
  76. package/shared/references/visual-mode.md +155 -0
  77. package/shared/references/worktree-strategy.md +326 -0
  78. package/shared/scripts/backport-audit.sh +283 -0
  79. package/shared/scripts/ci-monitor.sh +637 -0
  80. package/shared/scripts/lib/backport-lib.sh +47 -0
  81. package/shared/scripts/lib/ci-classify.sh +103 -0
  82. package/shared/scripts/lib/forge.sh +264 -0
  83. package/shared/scripts/lib/release-state-lib.sh +300 -0
  84. package/shared/scripts/list-worktrees.sh +178 -0
  85. package/shared/scripts/merge-children.sh +82 -0
  86. package/shared/scripts/move-plan-to-worktree.sh +231 -0
  87. package/shared/scripts/pr-guard.sh +283 -0
  88. package/shared/scripts/prepare-feature-branch.sh +326 -0
  89. package/shared/scripts/release-ci-monitor.sh +671 -0
  90. package/shared/scripts/release-state-update.sh +216 -0
  91. package/shared/scripts/release-state.sh +178 -0
  92. package/shared/scripts/report-bundle-drift.sh +343 -0
  93. package/shared/scripts/require-python.sh +17 -0
  94. package/shared/scripts/resolve-plans-dir.sh +262 -0
  95. package/shared/scripts/rules-pointer.sh +20 -0
  96. package/shared/scripts/rules_pointer.py +267 -0
  97. package/shared/scripts/setup-worktree.sh +288 -0
  98. package/shared/scripts/validate-file-paths.sh +249 -0
  99. package/shared/scripts/visual-egress-guard.sh +303 -0
  100. package/shared/scripts/visual-recap-collect.sh +247 -0
  101. package/shared/scripts/worktree-paths.sh +91 -0
  102. package/skills/backport/SKILL.md +293 -0
  103. package/skills/backport/scripts/cherry-pick-pr.sh +232 -0
  104. package/skills/backport/scripts/find-pending.sh +199 -0
  105. package/skills/blueprint/SKILL.md +412 -0
  106. package/skills/blueprint/references/bootstrap-mapping.md +87 -0
  107. package/skills/bundle-author/SKILL.md +121 -0
  108. package/skills/bundle-author/references/surface-map.md +128 -0
  109. package/skills/bundle-author/references/templates/agent-template.md +21 -0
  110. package/skills/bundle-author/references/templates/skill-template.md +36 -0
  111. package/skills/bundle-author/references/when-not-to-scaffold.md +85 -0
  112. package/skills/bundle-author/scripts/scaffold-skill.sh +156 -0
  113. package/skills/bundle-release/SKILL.md +192 -0
  114. package/skills/bundle-release/references/release-checklist.md +196 -0
  115. package/skills/bundle-release/references/release-notes-template.md +48 -0
  116. package/skills/bundle-release/references/version-policy.md +156 -0
  117. package/skills/bundle-release/scripts/bump-version.sh +99 -0
  118. package/skills/bundle-release/scripts/draft-notes.sh +222 -0
  119. package/skills/bundle-release/scripts/preflight.sh +165 -0
  120. package/skills/bundle-release/scripts/release_versions.py +375 -0
  121. package/skills/clean/SKILL.md +109 -0
  122. package/skills/clean/references/agent-prompts.md +199 -0
  123. package/skills/clean/references/safety-config.md +125 -0
  124. package/skills/clean/scripts/detect-project-type.sh +423 -0
  125. package/skills/clean/scripts/generate-report.sh +245 -0
  126. package/skills/clean/scripts/validate-safety.sh +401 -0
  127. package/skills/code-report/SKILL.md +377 -0
  128. package/skills/code-report/scripts/check-prerequisites.sh +65 -0
  129. package/skills/code-report/templates/report-structure.md +202 -0
  130. package/skills/code-review/SKILL.md +155 -0
  131. package/skills/code-review/references/pr-procedure.md +311 -0
  132. package/skills/compatibility-audit/SKILL.md +229 -0
  133. package/skills/compatibility-audit/references/reading-the-report.md +162 -0
  134. package/skills/compatibility-audit/scripts/audit-install-assumptions.sh +431 -0
  135. package/skills/compatibility-audit/scripts/audit-target-features.sh +596 -0
  136. package/skills/deep-research/SKILL.md +251 -0
  137. package/skills/deep-research/references/analysis-prompts.md +702 -0
  138. package/skills/deep-research/references/completion-summary-template.md +66 -0
  139. package/skills/deep-research/references/persona-analogical.md +159 -0
  140. package/skills/deep-research/references/persona-archaeological.md +69 -0
  141. package/skills/deep-research/references/persona-contrarian.md +155 -0
  142. package/skills/deep-research/references/persona-futurist.md +70 -0
  143. package/skills/deep-research/references/persona-historical.md +142 -0
  144. package/skills/deep-research/references/persona-journalistic.md +69 -0
  145. package/skills/deep-research/references/persona-negative-space.md +70 -0
  146. package/skills/deep-research/references/persona-systems.md +69 -0
  147. package/skills/deep-research/references/synthesis-template.md +569 -0
  148. package/skills/deep-research/references/verification-log-template.md +32 -0
  149. package/skills/deep-research/scripts/check-prerequisites.sh +153 -0
  150. package/skills/deep-research/scripts/validate-research.sh +244 -0
  151. package/skills/feature-research/SKILL.md +294 -0
  152. package/skills/feature-research/scripts/validate-research.sh +159 -0
  153. package/skills/feature-research/scripts/validate-spec.sh +270 -0
  154. package/skills/feature-research/templates/research-agents.md +569 -0
  155. package/skills/feature-research/templates/spec-structure.md +437 -0
  156. package/skills/formatters/SKILL.md +209 -0
  157. package/skills/formatters/references/best-practices.md +78 -0
  158. package/skills/formatters/references/flag-reference.md +178 -0
  159. package/skills/formatters/references/stack-detection.md +119 -0
  160. package/skills/formatters/references/templates/husky-pre-commit.tmpl +13 -0
  161. package/skills/formatters/references/templates/justfile-snippet.just.tmpl +31 -0
  162. package/skills/formatters/references/templates/lefthook.yml.tmpl +22 -0
  163. package/skills/formatters/references/templates/lint-autofix.yml.tmpl +94 -0
  164. package/skills/formatters/references/templates/lint.yml.tmpl +85 -0
  165. package/skills/formatters/references/templates/makefile-snippet.mk.tmpl +34 -0
  166. package/skills/formatters/references/templates/package-json-scripts.json.tmpl +14 -0
  167. package/skills/formatters/references/templates/readme-section.md.tmpl +118 -0
  168. package/skills/formatters/scripts/apply-aliases.sh +245 -0
  169. package/skills/formatters/scripts/apply-ci.sh +136 -0
  170. package/skills/formatters/scripts/apply-docs.sh +187 -0
  171. package/skills/formatters/scripts/apply-hooks.sh +261 -0
  172. package/skills/formatters/scripts/bundle/format.sh +15 -0
  173. package/skills/formatters/scripts/bundle/go-tools.sh +119 -0
  174. package/skills/formatters/scripts/bundle/init-formatters.sh +517 -0
  175. package/skills/formatters/scripts/bundle/install-shellcheck.sh +85 -0
  176. package/skills/formatters/scripts/bundle/lib/excludes.sh +179 -0
  177. package/skills/formatters/scripts/bundle/lib/modified-files.sh +222 -0
  178. package/skills/formatters/scripts/bundle/lib/shellcheck-resolve.sh +81 -0
  179. package/skills/formatters/scripts/bundle/lib/shellcheck-version.sh +5 -0
  180. package/skills/formatters/scripts/bundle/lint.sh +15 -0
  181. package/skills/formatters/scripts/bundle/style.sh +1410 -0
  182. package/skills/formatters/scripts/bundle/templates/biome.json +81 -0
  183. package/skills/formatters/scripts/bundle/templates/clippy.toml +2 -0
  184. package/skills/formatters/scripts/bundle/templates/markdownlint.json +14 -0
  185. package/skills/formatters/scripts/bundle/templates/markdownlintignore +38 -0
  186. package/skills/formatters/scripts/bundle/templates/prettierignore +45 -0
  187. package/skills/formatters/scripts/bundle/templates/prettierrc.json +11 -0
  188. package/skills/formatters/scripts/bundle/templates/python-pyproject.toml +80 -0
  189. package/skills/formatters/scripts/bundle/templates/rustfmt.toml +41 -0
  190. package/skills/formatters/scripts/bundle/templates/tsconfig.json +21 -0
  191. package/skills/formatters/scripts/profile-style.sh +264 -0
  192. package/skills/frontend-design/SKILL.md +151 -0
  193. package/skills/frontend-patterns/SKILL.md +66 -0
  194. package/skills/frontend-patterns/references/animation.md +21 -0
  195. package/skills/frontend-patterns/references/components-and-state.md +40 -0
  196. package/skills/frontend-patterns/references/data-and-performance.md +34 -0
  197. package/skills/frontend-patterns/references/forms-errors-a11y.md +35 -0
  198. package/skills/git-cleanup/SKILL.md +300 -0
  199. package/skills/git-cleanup/references/active-code-rules.md +323 -0
  200. package/skills/git-cleanup/references/host-detection.md +217 -0
  201. package/skills/git-workflow/SKILL.md +132 -0
  202. package/skills/git-workflow/references/ci-monitoring-phase.md +130 -0
  203. package/skills/git-workflow/references/commit-phases.md +247 -0
  204. package/skills/git-workflow/references/examples-and-troubleshooting.md +47 -0
  205. package/skills/git-workflow/references/goal-pairing.md +23 -0
  206. package/skills/git-workflow/references/pr-creation.md +269 -0
  207. package/skills/git-workflow/scripts/analyze-changes.sh +266 -0
  208. package/skills/git-workflow/scripts/create-pr.sh +464 -0
  209. package/skills/git-workflow/scripts/validate-commit.sh +235 -0
  210. package/skills/git-workflow/templates/agent-prompts.md +518 -0
  211. package/skills/git-workflow/templates/commit-types.md +504 -0
  212. package/skills/git-workflow/templates/documentation-decision.md +509 -0
  213. package/skills/git-workflow/templates/pr-template.md +772 -0
  214. package/skills/go-patterns/SKILL.md +89 -0
  215. package/skills/go-patterns/references/design-and-tooling.md +336 -0
  216. package/skills/go-patterns/references/errors-and-concurrency.md +292 -0
  217. package/skills/go-testing/SKILL.md +133 -0
  218. package/skills/go-testing/references/advanced-testing.md +349 -0
  219. package/skills/go-testing/references/test-structure.md +277 -0
  220. package/skills/hooks-workflow/SKILL.md +232 -0
  221. package/skills/hooks-workflow/references/support-notes.md +134 -0
  222. package/skills/hooks-workflow/references/templates/claude-settings.json.tmpl +13 -0
  223. package/skills/hooks-workflow/references/templates/codex-config-fragment.toml.tmpl +9 -0
  224. package/skills/hooks-workflow/references/templates/cursor-rule-fragment.mdc.tmpl +16 -0
  225. package/skills/hooks-workflow/scripts/build-hook-config.sh +487 -0
  226. package/skills/hooks-workflow/scripts/verify-hooks.sh +257 -0
  227. package/skills/implement-plan/SKILL.md +223 -0
  228. package/skills/implement-plan/references/agent-task-prompt.md +214 -0
  229. package/skills/implement-plan/references/output-formats.md +150 -0
  230. package/skills/implement-plan/references/plan-inputs.md +126 -0
  231. package/skills/implement-plan/scripts/check-prerequisites.sh +78 -0
  232. package/skills/implement-plan/scripts/parse-dependencies.sh +206 -0
  233. package/skills/init/SKILL.md +274 -0
  234. package/skills/init/references/conventional-commits.md +114 -0
  235. package/skills/init/references/flag-reference.md +236 -0
  236. package/skills/init/references/label-taxonomy.md +115 -0
  237. package/skills/init/references/project-profile-heuristics.md +156 -0
  238. package/skills/init/references/template-library.md +129 -0
  239. package/skills/init/scripts/count-source-files.sh +60 -0
  240. package/skills/init/scripts/generate-agent-catalog.sh +193 -0
  241. package/skills/init/scripts/generate-mcp-catalog.sh +214 -0
  242. package/skills/init/scripts/migrate-rules.py +459 -0
  243. package/skills/init/scripts/migrate-rules.sh +26 -0
  244. package/skills/init/scripts/profile-project.sh +453 -0
  245. package/skills/init/scripts/render-template.py +226 -0
  246. package/skills/init/scripts/render-template.sh +25 -0
  247. package/skills/init/scripts/rules-report.sh +31 -0
  248. package/skills/init/scripts/rules_file_lib.py +41 -0
  249. package/skills/init/templates/AGENTS.md.tmpl +38 -0
  250. package/skills/init/templates/CLAUDE.md.tmpl +7 -0
  251. package/skills/init/templates/ai-rule.md.tmpl +3 -0
  252. package/skills/init/templates/cursor-rule.mdc.tmpl +7 -0
  253. package/skills/init/templates/git/commitlint.config.cjs.tmpl +40 -0
  254. package/skills/init/templates/git/gitignore.tmpl +121 -0
  255. package/skills/init/templates/git/gitmessage.tmpl +27 -0
  256. package/skills/init/templates/git/install-lefthook.sh.tmpl +131 -0
  257. package/skills/init/templates/git/lefthook-usage.md.tmpl +101 -0
  258. package/skills/init/templates/git/lefthook.yml.tmpl +64 -0
  259. package/skills/init/templates/github/bug_report.yml.tmpl +78 -0
  260. package/skills/init/templates/github/config.yml.tmpl +5 -0
  261. package/skills/init/templates/github/copilot-instructions.md.tmpl +24 -0
  262. package/skills/init/templates/github/docs_request.yml.tmpl +41 -0
  263. package/skills/init/templates/github/feature_request.yml.tmpl +59 -0
  264. package/skills/init/templates/github/labels.md.tmpl +75 -0
  265. package/skills/init/templates/github/pull_request_template.md.tmpl +66 -0
  266. package/skills/init/templates/github/workflows/pr-title-autofix.yml.tmpl +101 -0
  267. package/skills/init/templates/github/workflows/pr-title.yml.tmpl +55 -0
  268. package/skills/init/templates/workspace-report.md +83 -0
  269. package/skills/orchestrate/SKILL.md +165 -0
  270. package/skills/orchestrate/references/agent-catalog.md +601 -0
  271. package/skills/orchestrate/references/agent-prompts.md +495 -0
  272. package/skills/orchestrate/references/dispatch-playbook.md +333 -0
  273. package/skills/orchestrate/references/task-breakdown.md +410 -0
  274. package/skills/orchestrate/scripts/analyze-task.sh +139 -0
  275. package/skills/orchestrate/scripts/summarize-results.sh +160 -0
  276. package/skills/orchestrate/scripts/validate-agents.sh +92 -0
  277. package/skills/parallel-plan/SKILL.md +124 -0
  278. package/skills/plan/SKILL.md +136 -0
  279. package/skills/plan/references/enhanced-personas.md +131 -0
  280. package/skills/plan/references/personas-and-merge.md +77 -0
  281. package/skills/plan/references/plan-validation.md +65 -0
  282. package/skills/plan/references/planner-prompts.md +68 -0
  283. package/skills/plan/references/planning-tracks.md +73 -0
  284. package/skills/plan-workflow/SKILL.md +409 -0
  285. package/skills/plan-workflow/references/checkpoint-messages.md +370 -0
  286. package/skills/plan-workflow/references/plan-structure.md +238 -0
  287. package/skills/plan-workflow/references/planning-agents.md +511 -0
  288. package/skills/plan-workflow/references/research-agents-optimized.md +348 -0
  289. package/skills/plan-workflow/references/research-agents.md +436 -0
  290. package/skills/plan-workflow/references/shared-structure.md +152 -0
  291. package/skills/plan-workflow/references/validation-agents.md +363 -0
  292. package/skills/plan-workflow/scripts/check-prerequisites.sh +65 -0
  293. package/skills/plan-workflow/scripts/check-state.sh +190 -0
  294. package/skills/plan-workflow/scripts/persist-or-fail.sh +135 -0
  295. package/skills/plan-workflow/scripts/validate-analysis-artifacts.sh +216 -0
  296. package/skills/plan-workflow/scripts/validate-research-artifacts.sh +225 -0
  297. package/skills/plan-workflow/scripts/validate-shared.sh +229 -0
  298. package/skills/plan-workflow/scripts/validate-workflow-plan.sh +256 -0
  299. package/skills/pr-autofix/SKILL.md +309 -0
  300. package/skills/pr-autofix/references/ci-loop.md +64 -0
  301. package/skills/pr-autofix/references/comment-sources.md +197 -0
  302. package/skills/pr-autofix/references/data-shapes.md +87 -0
  303. package/skills/pr-autofix/references/goal-example.md +30 -0
  304. package/skills/pr-autofix/references/output-templates.md +162 -0
  305. package/skills/pr-autofix/references/prompt-injection-safety.md +165 -0
  306. package/skills/pr-autofix/references/related-skills.md +11 -0
  307. package/skills/pr-autofix/references/severity-mapping.md +146 -0
  308. package/skills/pr-autofix/scripts/fetch-pr-comments.sh +364 -0
  309. package/skills/pr-autofix/scripts/post-summary.sh +226 -0
  310. package/skills/pr-autofix/scripts/resolve-thread.sh +251 -0
  311. package/skills/prp-commit/SKILL.md +128 -0
  312. package/skills/prp-implement/SKILL.md +179 -0
  313. package/skills/prp-implement/references/agent-task-prompt.md +36 -0
  314. package/skills/prp-implement/references/detection.md +49 -0
  315. package/skills/prp-implement/references/dry-run.md +0 -0
  316. package/skills/prp-implement/references/report-output.md +204 -0
  317. package/skills/prp-implement/references/validation-and-failures.md +118 -0
  318. package/skills/prp-plan/SKILL.md +323 -0
  319. package/skills/prp-plan/references/enhanced-researchers.md +425 -0
  320. package/skills/prp-plan/references/parallel-additions.md +56 -0
  321. package/skills/prp-plan/references/plan-template.md +264 -0
  322. package/skills/prp-plan/references/synthesis-map.md +25 -0
  323. package/skills/prp-plan/scripts/validate-prp-plan.sh +368 -0
  324. package/skills/prp-pr/SKILL.md +404 -0
  325. package/skills/prp-prd/SKILL.md +444 -0
  326. package/skills/prp-spec/SKILL.md +276 -0
  327. package/skills/python-patterns/SKILL.md +103 -0
  328. package/skills/python-patterns/references/core-idioms.md +304 -0
  329. package/skills/python-patterns/references/design-and-tooling.md +407 -0
  330. package/skills/python-testing/SKILL.md +114 -0
  331. package/skills/python-testing/references/mocking-and-integration.md +395 -0
  332. package/skills/python-testing/references/pytest-core.md +366 -0
  333. package/skills/quick-fix/SKILL.md +246 -0
  334. package/skills/quick-review/SKILL.md +306 -0
  335. package/skills/release-model/SKILL.md +233 -0
  336. package/skills/release-model/references/pointer-and-labels.md +83 -0
  337. package/skills/release-model/references/signals-and-proposal.md +68 -0
  338. package/skills/release-model/references/template-placeholders.md +42 -0
  339. package/skills/release-model/references/upgrade-and-audit.md +131 -0
  340. package/skills/release-model/scripts/collect-signals.sh +459 -0
  341. package/skills/release-model/scripts/pointer-targets.sh +29 -0
  342. package/skills/release-model/templates/RELEASING.md.tmpl +151 -0
  343. package/skills/releaser/SKILL.md +253 -0
  344. package/skills/releaser/references/ci-optimization-checklist.md +149 -0
  345. package/skills/releaser/references/ci-templates/docker-release.yml +88 -0
  346. package/skills/releaser/references/ci-templates/generic-release.yml +69 -0
  347. package/skills/releaser/references/ci-templates/go-release.yml +50 -0
  348. package/skills/releaser/references/ci-templates/node-release.yml +126 -0
  349. package/skills/releaser/references/ci-templates/python-release.yml +95 -0
  350. package/skills/releaser/references/ci-templates/rust-release.yml +128 -0
  351. package/skills/releaser/references/ci-workflow-modes.md +42 -0
  352. package/skills/releaser/references/goal-pairing.md +37 -0
  353. package/skills/releaser/references/output-templates.md +143 -0
  354. package/skills/releaser/references/project-type-matrix.md +144 -0
  355. package/skills/releaser/references/release-branches.md +138 -0
  356. package/skills/releaser/references/release-ci-loop.md +249 -0
  357. package/skills/releaser/references/release-notes-template.md +42 -0
  358. package/skills/releaser/references/release-preparation.md +210 -0
  359. package/skills/releaser/scripts/check-release-branch.sh +235 -0
  360. package/skills/releaser/scripts/detect-project.sh +234 -0
  361. package/skills/releaser/scripts/draft-changelog.sh +387 -0
  362. package/skills/releaser/scripts/publish-release.sh +302 -0
  363. package/skills/research-to-issues/SKILL.md +287 -0
  364. package/skills/research-to-issues/references/label-taxonomy.md +48 -0
  365. package/skills/research-to-issues/references/parse-deep-research.md +86 -0
  366. package/skills/research-to-issues/references/parse-feature-spec.md +143 -0
  367. package/skills/research-to-issues/references/parse-parallel-plan.md +124 -0
  368. package/skills/research-to-issues/references/parse-prd.md +184 -0
  369. package/skills/research-to-issues/references/parse-prp-plan.md +237 -0
  370. package/skills/research-to-issues/references/plan-display-format.md +136 -0
  371. package/skills/research-to-issues/scripts/validate-prerequisites.sh +312 -0
  372. package/skills/research-to-issues/templates/feature-issue.md +131 -0
  373. package/skills/research-to-issues/templates/task-issue.md +104 -0
  374. package/skills/research-to-issues/templates/tracking-issue.md +126 -0
  375. package/skills/resume-session/SKILL.md +154 -0
  376. package/skills/review-fix/SKILL.md +231 -0
  377. package/skills/review-fix/references/fix-report.md +121 -0
  378. package/skills/review-fix/references/fixer-dispatch.md +79 -0
  379. package/skills/review-fix/references/plan.md +119 -0
  380. package/skills/rust-patterns/SKILL.md +85 -0
  381. package/skills/rust-patterns/references/concurrency-unsafe-modules.md +243 -0
  382. package/skills/rust-patterns/references/ownership-errors-types.md +262 -0
  383. package/skills/rust-testing/SKILL.md +99 -0
  384. package/skills/rust-testing/references/advanced-testing.md +247 -0
  385. package/skills/rust-testing/references/unit-and-integration.md +193 -0
  386. package/skills/save-session/SKILL.md +161 -0
  387. package/skills/shared-context/SKILL.md +101 -0
  388. package/skills/ts-patterns/SKILL.md +159 -0
  389. package/skills/ts-patterns/references/async-runtimes-tooling.md +375 -0
  390. package/skills/ts-patterns/references/types-errors-modules.md +336 -0
  391. package/skills/ts-testing/SKILL.md +151 -0
  392. package/skills/ts-testing/references/advanced-testing.md +350 -0
  393. package/skills/ts-testing/references/vitest-core.md +318 -0
  394. package/skills/visual-plan/SKILL.md +221 -0
  395. package/skills/visual-plan/references/canvas.md +132 -0
  396. package/skills/visual-plan/references/document-quality.md +178 -0
  397. package/skills/visual-plan/references/exemplar.md +120 -0
  398. package/skills/visual-plan/references/wireframe.md +212 -0
  399. package/skills/visual-plan/scripts/derive-visual-dir.sh +77 -0
  400. package/skills/visual-recap/SKILL.md +238 -0
  401. package/skills/visual-recap/references/wireframe.md +237 -0
  402. package/skills/write-docs/SKILL.md +354 -0
  403. package/skills/write-docs/scripts/audit-documentation.sh +190 -0
  404. package/skills/write-docs/scripts/generate-doc-index.sh +125 -0
  405. package/skills/write-docs/scripts/verify-links.sh +81 -0
  406. package/skills/write-docs/templates/docs-readme.md +34 -0
  407. package/skills/write-docs/templates/documentation-strategy.md +91 -0
  408. package/ycc-sensitive-guard/index.js +621 -0
  409. package/ycc-sensitive-guard/package.json +7 -0
  410. package/ycc-sensitive-guard/policy.json +40 -0
@@ -0,0 +1,772 @@
1
+ # Pull Request Template and Guidelines
2
+
3
+ This document provides comprehensive guidance for creating effective pull requests with clear descriptions, testing instructions, and proper formatting.
4
+
5
+ ---
6
+
7
+ ## PR Title Guidelines
8
+
9
+ ### Format
10
+
11
+ PR titles should follow the same format as commit messages:
12
+
13
+ ```
14
+ <type>(<scope>): <description>
15
+ ```
16
+
17
+ ### Title Strategies by Commit Count
18
+
19
+ **Single Commit PR**:
20
+
21
+ - Use the commit subject line as PR title
22
+ - Example: `feat(auth): implement JWT authentication`
23
+
24
+ **Multiple Related Commits** (same feature):
25
+
26
+ - Create comprehensive title covering all changes
27
+ - Example: `feat(payment): add Stripe integration with webhook support`
28
+
29
+ **Multiple Unrelated Commits** (should be rare):
30
+
31
+ - Use the primary change as title
32
+ - List other changes in description
33
+ - Example: `feat(api): add user endpoints` (+ docs updates, config changes)
34
+
35
+ ### Title Best Practices
36
+
37
+ - **Be specific**: "Add feature" → "Add user authentication with JWT"
38
+ - **Use imperative mood**: "Add" not "Added" or "Adds"
39
+ - **Include scope**: Helps reviewers understand impact area
40
+ - **Keep concise**: Ideally ≤60 characters for GitHub display
41
+ - **Match commit convention**: Same types as conventional commits
42
+
43
+ **Good titles**:
44
+
45
+ ```
46
+ feat(auth): implement OAuth2 login flow
47
+ fix(api): resolve race condition in user creation
48
+ docs: update API documentation with examples
49
+ refactor(database): migrate to new query builder
50
+ ```
51
+
52
+ **Bad titles**:
53
+
54
+ ```
55
+ Update stuff ❌ (vague)
56
+ Added new authentication ❌ (past tense, no scope)
57
+ Fix bugs ❌ (not specific)
58
+ Implement user auth + fix API ❌ (multiple unrelated changes)
59
+ ```
60
+
61
+ ---
62
+
63
+ ## PR Description Structure
64
+
65
+ ### Core Sections
66
+
67
+ Every PR description should include these sections:
68
+
69
+ ```markdown
70
+ ## Summary
71
+
72
+ [2-4 sentence overview of what this PR does and why]
73
+
74
+ ## Changes
75
+
76
+ - [Key change 1 with context]
77
+ - [Key change 2 with context]
78
+ - [Key change 3 with context]
79
+
80
+ ## Testing
81
+
82
+ [Testing instructions - see detailed section below]
83
+
84
+ ## Related Issues
85
+
86
+ [Issue references - see detailed section below]
87
+
88
+ ## Breaking Changes
89
+
90
+ [Breaking changes if any - see detailed section below]
91
+
92
+ ## Checklist
93
+
94
+ - [ ] [Quality checklist items]
95
+ ```
96
+
97
+ ### 1. Summary Section
98
+
99
+ **Purpose**: Provide high-level context in 2-4 sentences
100
+
101
+ **Include**:
102
+
103
+ - What this PR does
104
+ - Why it's needed
105
+ - High-level approach taken
106
+ - Key architectural decisions
107
+
108
+ **Example**:
109
+
110
+ ```markdown
111
+ ## Summary
112
+
113
+ This PR implements JWT-based authentication to replace the existing session-based
114
+ auth system. The new approach enables stateless API authentication and supports
115
+ mobile app integration. The implementation includes token generation, validation
116
+ middleware, and a refresh mechanism for long-lived sessions.
117
+ ```
118
+
119
+ **Guidelines**:
120
+
121
+ - Start with "This PR..."
122
+ - Explain the "why" not just the "what"
123
+ - Mention any important trade-offs
124
+ - Keep it information-dense, not fluffy
125
+
126
+ ### 2. Changes Section
127
+
128
+ **Purpose**: List key changes with enough context for reviewers
129
+
130
+ **Format**:
131
+
132
+ ```markdown
133
+ ## Changes
134
+
135
+ - **[Area/File]**: [What changed and why]
136
+ - **[Area/File]**: [What changed and why]
137
+ ```
138
+
139
+ **Example**:
140
+
141
+ ```markdown
142
+ ## Changes
143
+
144
+ - **Authentication Service**: Added JWT generation and validation using RS256 algorithm
145
+ - **Auth Middleware**: Created middleware for protected routes with token verification
146
+ - **User Model**: Added refresh token storage and rotation logic
147
+ - **Login Endpoint**: Updated to return JWT tokens instead of creating sessions
148
+ - **Tests**: Added comprehensive unit and integration tests for auth flow
149
+ ```
150
+
151
+ **Guidelines**:
152
+
153
+ - Group related changes together
154
+ - Explain impact of each change
155
+ - Mention deleted code if significant
156
+ - Highlight any refactoring
157
+
158
+ ### 3. Documentation Section (If Applicable)
159
+
160
+ **Purpose**: Link to new or updated documentation
161
+
162
+ **Format**:
163
+
164
+ ```markdown
165
+ ## Documentation
166
+
167
+ ### Created
168
+
169
+ - Feature docs: docs/features/jwt-authentication.doc.md
170
+ - API docs: docs/api/authentication.md
171
+
172
+ ### Updated
173
+
174
+ - Setup guide: docs/setup.md (added JWT config instructions)
175
+ - Architecture docs: docs/architecture/security.md (JWT strategy)
176
+
177
+ [If no docs]
178
+
179
+ ### No Documentation Changes
180
+
181
+ This change is internal refactoring with no user-facing impact.
182
+ ```
183
+
184
+ **Include documentation for**:
185
+
186
+ - New features
187
+ - API changes
188
+ - Configuration requirements
189
+ - Breaking changes
190
+ - Migration steps
191
+
192
+ ### 4. Testing Section
193
+
194
+ **Purpose**: Provide clear instructions for testing the changes
195
+
196
+ **Format**:
197
+
198
+ ```markdown
199
+ ## Testing
200
+
201
+ ### Prerequisites
202
+
203
+ [Any setup needed before testing]
204
+
205
+ ### Feature 1: [Name]
206
+
207
+ **How to test:**
208
+
209
+ 1. Step one with specific details
210
+ 2. Step two with expected results
211
+ 3. Step three with verification
212
+
213
+ **Expected results:**
214
+
215
+ - [Specific outcome 1]
216
+ - [Specific outcome 2]
217
+
218
+ **Edge cases to verify:**
219
+
220
+ - [Edge case 1]: [How to test] → [Expected behavior]
221
+ - [Edge case 2]: [How to test] → [Expected behavior]
222
+
223
+ ### Feature 2: [Name]
224
+
225
+ [Repeat structure above]
226
+ ```
227
+
228
+ **Example**:
229
+
230
+ ```markdown
231
+ ## Testing
232
+
233
+ ### Prerequisites
234
+
235
+ - Start the server: `npm run dev`
236
+ - Ensure database is migrated: `npm run db:migrate`
237
+
238
+ ### JWT Authentication
239
+
240
+ **How to test:**
241
+
242
+ 1. POST to `/api/auth/login` with valid credentials
243
+ 2. Verify response includes `accessToken` and `refreshToken`
244
+ 3. Use `accessToken` in `Authorization: Bearer <token>` header
245
+ 4. Access protected route `/api/users/me`
246
+ 5. Verify user profile is returned
247
+
248
+ **Expected results:**
249
+
250
+ - Login returns 200 with tokens
251
+ - Protected route returns 200 with user data
252
+ - Invalid token returns 401 Unauthorized
253
+
254
+ **Edge cases to verify:**
255
+
256
+ - Expired token: Returns 401 with "Token expired" message
257
+ - Invalid signature: Returns 401 with "Invalid token" message
258
+ - Missing token: Returns 401 with "No token provided" message
259
+ - Refresh token rotation: Old refresh token becomes invalid after use
260
+ ```
261
+
262
+ **Guidelines**:
263
+
264
+ - Be specific with steps (exact commands, endpoints, data)
265
+ - Include expected results for each step
266
+ - Test both happy path and edge cases
267
+ - Mention any test data or fixtures needed
268
+ - Note any environment-specific considerations
269
+
270
+ ### 5. Related Issues Section
271
+
272
+ **Purpose**: Link PR to issue tracker
273
+
274
+ **Format**:
275
+
276
+ ```markdown
277
+ ## Related Issues
278
+
279
+ Closes #123
280
+ Fixes #456, #457
281
+ Resolves #789
282
+ Related to #234, #567
283
+ ```
284
+
285
+ **Keywords**:
286
+
287
+ - **Closes/Fixes/Resolves**: Automatically closes issues when PR merges
288
+ - **Related to**: References issues without closing them
289
+
290
+ **Guidelines**:
291
+
292
+ - Use "Closes" for feature implementations
293
+ - Use "Fixes" for bug fixes
294
+ - Use "Related to" for partial implementations
295
+ - Link to any design documents or RFCs
296
+
297
+ ### 6. Breaking Changes Section
298
+
299
+ **Purpose**: Clearly document any breaking changes
300
+
301
+ **Format**:
302
+
303
+ ````markdown
304
+ ## Breaking Changes
305
+
306
+ ⚠️ **BREAKING CHANGE**: [Description of what breaks]
307
+
308
+ **What changed:**
309
+
310
+ - [Specific change 1]
311
+ - [Specific change 2]
312
+
313
+ **Migration steps:**
314
+
315
+ 1. [Step to update code]
316
+ 2. [Step to update config]
317
+ 3. [Step to test migration]
318
+
319
+ **Who is affected:**
320
+
321
+ - [Group of users 1]
322
+ - [Group of users 2]
323
+
324
+ **Example migration:**
325
+
326
+ ```diff
327
+ - Old code here
328
+ + New code here
329
+ ```
330
+ ````
331
+
332
+ ````
333
+
334
+ **If no breaking changes**:
335
+
336
+ ```markdown
337
+ ## Breaking Changes
338
+
339
+ - No breaking changes in this PR
340
+ ````
341
+
342
+ ### 7. Checklist Section
343
+
344
+ **Purpose**: Ensure quality standards are met
345
+
346
+ **Standard checklist**:
347
+
348
+ ```markdown
349
+ ## Checklist
350
+
351
+ - [ ] Code follows project style guidelines
352
+ - [ ] Self-review completed
353
+ - [ ] Comments added for complex logic
354
+ - [ ] Documentation updated (if needed)
355
+ - [ ] Tests added/updated
356
+ - [ ] All tests passing locally
357
+ - [ ] No new linter warnings
358
+ - [ ] Breaking changes documented
359
+ - [ ] Related issues linked
360
+ ```
361
+
362
+ **Customize based on project**:
363
+
364
+ - Add project-specific requirements
365
+ - Include deployment considerations
366
+ - Note any manual testing needed
367
+ - Mention database migrations if applicable
368
+
369
+ ---
370
+
371
+ ## PR Types and When to Use Them
372
+
373
+ ### Regular PR (Ready for Review)
374
+
375
+ **Use when**:
376
+
377
+ - Work is complete and tested
378
+ - All tests are passing
379
+ - Documentation is complete
380
+ - Ready for immediate merge after approval
381
+
382
+ **How to create**: Default `gh pr create` (no `--draft` flag)
383
+
384
+ ### Draft PR
385
+
386
+ **Use when**:
387
+
388
+ - Work in progress
389
+ - Seeking early feedback on approach
390
+ - Tests not yet passing
391
+ - Documentation incomplete
392
+ - Need discussion before proceeding
393
+ - Breaking changes need team agreement
394
+
395
+ **How to create**: `gh pr create --draft`
396
+
397
+ **Mark ready later**: `gh pr ready [PR-number]`
398
+
399
+ ---
400
+
401
+ ## PR Size Guidelines
402
+
403
+ ### Small PR (Preferred)
404
+
405
+ **Characteristics**:
406
+
407
+ - ≤ 300 lines changed
408
+ - Single focused change
409
+ - Easy to review in 15-30 minutes
410
+ - Clear scope and impact
411
+
412
+ **Benefits**:
413
+
414
+ - Faster reviews
415
+ - Fewer conflicts
416
+ - Easier to revert if needed
417
+ - Reduces review fatigue
418
+
419
+ ### Medium PR (Acceptable)
420
+
421
+ **Characteristics**:
422
+
423
+ - 300-800 lines changed
424
+ - Related changes grouped together
425
+ - May take 30-60 minutes to review
426
+ - Well-organized with clear sections
427
+
428
+ **Guidelines**:
429
+
430
+ - Break into commits by logical area
431
+ - Provide detailed description
432
+ - Consider splitting if possible
433
+
434
+ ### Large PR (Avoid When Possible)
435
+
436
+ **Characteristics**:
437
+
438
+ - > 800 lines changed
439
+ - Multiple features or significant refactoring
440
+ - Takes > 1 hour to review thoroughly
441
+
442
+ **Guidelines**:
443
+
444
+ - Only when absolutely necessary
445
+ - Break into smaller PRs if possible
446
+ - Provide extensive documentation
447
+ - Consider RFC or design doc first
448
+ - Schedule synchronous review session
449
+
450
+ ---
451
+
452
+ ## PR Description Examples
453
+
454
+ ### Example 1: New Feature
455
+
456
+ ```markdown
457
+ ## Summary
458
+
459
+ This PR adds a user favorites feature that allows users to save and manage
460
+ their favorite products. The implementation includes backend API endpoints,
461
+ frontend UI components, and comprehensive test coverage. The feature uses a
462
+ many-to-many relationship between users and products stored in a new
463
+ `user_favorites` table.
464
+
465
+ ## Changes
466
+
467
+ - **Database**: Added `user_favorites` table with user_id and product_id
468
+ - **API**: Created CRUD endpoints for managing favorites
469
+ - GET `/api/users/:id/favorites` - List user's favorites
470
+ - POST `/api/users/:id/favorites` - Add favorite
471
+ - DELETE `/api/users/:id/favorites/:productId` - Remove favorite
472
+ - **Frontend**: Built favorites list and toggle button components
473
+ - **State Management**: Added favorites slice to Redux store
474
+ - **Tests**: Unit tests for API, integration tests for UI
475
+
476
+ ## Documentation
477
+
478
+ ### Created
479
+
480
+ - Feature docs: docs/features/user-favorites.doc.md
481
+ - API docs: docs/api/favorites.md
482
+
483
+ ### Updated
484
+
485
+ - Database schema: docs/architecture/database.md
486
+
487
+ ## Testing
488
+
489
+ ### Prerequisites
490
+
491
+ - Ensure database is migrated: `npm run db:migrate`
492
+ - Create test user: `npm run seed:users`
493
+
494
+ ### Add Favorite
495
+
496
+ **How to test:**
497
+
498
+ 1. Log in as test user
499
+ 2. Navigate to any product page
500
+ 3. Click the heart icon to add to favorites
501
+ 4. Verify heart icon fills in
502
+ 5. Navigate to `/favorites`
503
+ 6. Verify product appears in favorites list
504
+
505
+ **Expected results:**
506
+
507
+ - Heart icon shows filled state after click
508
+ - Product appears immediately in favorites list
509
+ - Favorites persist across page reloads
510
+
511
+ **Edge cases:**
512
+
513
+ - Maximum favorites: Limit is 100, verify error message at limit
514
+ - Duplicate favorites: Adding same product twice should not duplicate
515
+ - Deleted products: Favorites of deleted products are auto-removed
516
+
517
+ ### Remove Favorite
518
+
519
+ **How to test:**
520
+
521
+ 1. From favorites list, click remove button
522
+ 2. Verify product is removed from list
523
+ 3. Navigate back to product page
524
+ 4. Verify heart icon is no longer filled
525
+
526
+ **Expected results:**
527
+
528
+ - Product removed immediately from list
529
+ - Heart icon returns to unfilled state
530
+ - Change persists across page reloads
531
+
532
+ ## Related Issues
533
+
534
+ Closes #234
535
+
536
+ ## Breaking Changes
537
+
538
+ - No breaking changes in this PR
539
+
540
+ ## Checklist
541
+
542
+ - [x] Code follows project style guidelines
543
+ - [x] Self-review completed
544
+ - [x] Comments added for complex logic
545
+ - [x] Documentation updated
546
+ - [x] Tests added (unit + integration)
547
+ - [x] All tests passing locally
548
+ - [x] No new linter warnings
549
+ - [x] Database migration included
550
+ - [x] Related issues linked
551
+ ```
552
+
553
+ ### Example 2: Bug Fix
554
+
555
+ ```markdown
556
+ ## Summary
557
+
558
+ This PR fixes a critical race condition in the order processing system that
559
+ caused duplicate orders when users clicked submit multiple times. The fix
560
+ implements idempotency using a unique order token and database constraint.
561
+
562
+ ## Changes
563
+
564
+ - **Order Controller**: Added idempotency token validation
565
+ - **Database**: Added unique constraint on `order_token` column
566
+ - **Frontend**: Disabled submit button after first click
567
+ - **Tests**: Added concurrent request tests to verify fix
568
+
569
+ ## Testing
570
+
571
+ ### Bug Reproduction (Before Fix)
572
+
573
+ **How to reproduce:**
574
+
575
+ 1. Add items to cart
576
+ 2. Go to checkout
577
+ 3. Rapidly click "Place Order" button 5+ times
578
+ 4. Check database: Multiple orders created with same items
579
+
580
+ ### Verification (After Fix)
581
+
582
+ **How to test:**
583
+
584
+ 1. Add items to cart
585
+ 2. Go to checkout
586
+ 3. Rapidly click "Place Order" button
587
+ 4. Verify only one order is created
588
+ 5. Check database: Single order entry
589
+ 6. Verify user sees single confirmation
590
+
591
+ **Expected results:**
592
+
593
+ - Only one order created regardless of clicks
594
+ - Duplicate requests return 409 Conflict
595
+ - User sees single order confirmation
596
+ - Submit button becomes disabled after first click
597
+
598
+ ## Related Issues
599
+
600
+ Fixes #567
601
+
602
+ ## Breaking Changes
603
+
604
+ - No breaking changes in this PR
605
+
606
+ ## Checklist
607
+
608
+ - [x] Code follows project style guidelines
609
+ - [x] Self-review completed
610
+ - [x] Bug reproduction steps documented
611
+ - [x] Fix verified with concurrent tests
612
+ - [x] Database migration included
613
+ - [x] All tests passing locally
614
+ ```
615
+
616
+ ### Example 3: Refactoring
617
+
618
+ ````markdown
619
+ ## Summary
620
+
621
+ This PR refactors the authentication middleware to improve testability and
622
+ reduce duplication. The changes extract token validation logic into separate
623
+ functions and add comprehensive unit tests. No functional changes - all
624
+ existing tests continue to pass.
625
+
626
+ ## Changes
627
+
628
+ - **Auth Middleware**: Extracted token validation to separate module
629
+ - **Token Utils**: Created new utility module for JWT operations
630
+ - **Tests**: Added unit tests for token validation logic (95% coverage)
631
+ - **Documentation**: Updated code comments and examples
632
+
633
+ ## Testing
634
+
635
+ ### Verification
636
+
637
+ **Automated tests:**
638
+
639
+ ```bash
640
+ npm test -- auth.middleware.test.ts
641
+ npm test -- token.utils.test.ts
642
+ ```
643
+ ````
644
+
645
+ All existing integration tests pass:
646
+
647
+ ```bash
648
+ npm test -- auth.integration.test.ts
649
+ ```
650
+
651
+ **Manual verification:**
652
+
653
+ 1. Start server: `npm run dev`
654
+ 2. Test protected endpoints with valid token → Success
655
+ 3. Test protected endpoints with invalid token → 401 Unauthorized
656
+ 4. Test protected endpoints without token → 401 Unauthorized
657
+
658
+ **Expected results:**
659
+
660
+ - All existing auth flows work identically
661
+ - No changes to API behavior
662
+ - Improved test coverage (75% → 95%)
663
+
664
+ ## Related Issues
665
+
666
+ Related to #345 (improved test coverage initiative)
667
+
668
+ ## Breaking Changes
669
+
670
+ - No breaking changes (internal refactoring only)
671
+
672
+ ## Checklist
673
+
674
+ - [x] Code follows project style guidelines
675
+ - [x] Self-review completed
676
+ - [x] No functional changes (refactoring only)
677
+ - [x] Comprehensive tests added
678
+ - [x] All existing tests passing
679
+ - [x] Test coverage improved
680
+ - [x] Code comments updated
681
+
682
+ ```
683
+
684
+ ---
685
+
686
+ ## Quality Checklist
687
+
688
+ Before creating a PR, ensure:
689
+
690
+ ### Code Quality
691
+
692
+ - [ ] Follows project style guide and conventions
693
+ - [ ] No unnecessary console.logs or commented code
694
+ - [ ] Complex logic has explanatory comments
695
+ - [ ] Functions are appropriately sized
696
+ - [ ] No TODO comments without issue links
697
+ - [ ] Error handling is comprehensive
698
+
699
+ ### Testing
700
+
701
+ - [ ] New code has test coverage
702
+ - [ ] All tests pass locally
703
+ - [ ] Edge cases are tested
704
+ - [ ] Integration tests added for new features
705
+ - [ ] No flaky tests introduced
706
+
707
+ ### Documentation
708
+
709
+ - [ ] Feature documentation created (if new feature)
710
+ - [ ] API documentation updated (if API changes)
711
+ - [ ] Code comments added for complex logic
712
+ - [ ] README updated (if setup changes)
713
+ - [ ] Migration guide provided (if breaking changes)
714
+
715
+ ### PR Description
716
+
717
+ - [ ] Clear, descriptive title
718
+ - [ ] Comprehensive summary
719
+ - [ ] Testing instructions included
720
+ - [ ] Edge cases documented
721
+ - [ ] Issues linked
722
+ - [ ] Breaking changes noted
723
+
724
+ ---
725
+
726
+ ## Common Mistakes to Avoid
727
+
728
+ ### 1. Vague Descriptions
729
+
730
+ ❌ **Bad**: "Updated the API"
731
+
732
+ ✅ **Good**: "Added rate limiting to user login endpoint to prevent brute force attacks"
733
+
734
+ ### 2. Missing Testing Instructions
735
+
736
+ ❌ **Bad**: "Tested locally, works fine"
737
+
738
+ ✅ **Good**: Step-by-step testing instructions with expected results
739
+
740
+ ### 3. Too Large
741
+
742
+ ❌ **Bad**: 2000 lines changed across 50 files
743
+
744
+ ✅ **Good**: Break into smaller, focused PRs
745
+
746
+ ### 4. Missing Context
747
+
748
+ ❌ **Bad**: Lists file changes without explaining why
749
+
750
+ ✅ **Good**: Explains what changed and why for each area
751
+
752
+ ### 5. No Edge Cases
753
+
754
+ ❌ **Bad**: Only tests happy path
755
+
756
+ ✅ **Good**: Documents and tests error cases and edge conditions
757
+
758
+ ---
759
+
760
+ ## Summary
761
+
762
+ **Great PRs have**:
763
+
764
+ - Clear, specific titles following conventional format
765
+ - Comprehensive descriptions with context
766
+ - Detailed testing instructions with edge cases
767
+ - Proper issue references
768
+ - Complete quality checklist
769
+ - Appropriate size (prefer smaller)
770
+
771
+ **Remember**: PRs are documentation of your changes. Future developers (including you) will read them to understand decisions and implementation details. Invest time in writing clear, thorough PR descriptions.
772
+ ```