@chankov/agent-skills 0.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 (320) hide show
  1. package/.claude/commands/build.md +18 -0
  2. package/.claude/commands/code-simplify.md +22 -0
  3. package/.claude/commands/design-agent.md +14 -0
  4. package/.claude/commands/doctor.md +13 -0
  5. package/.claude/commands/plan.md +16 -0
  6. package/.claude/commands/prime.md +22 -0
  7. package/.claude/commands/review.md +16 -0
  8. package/.claude/commands/setup.md +19 -0
  9. package/.claude/commands/ship.md +17 -0
  10. package/.claude/commands/spec.md +15 -0
  11. package/.claude/commands/test.md +19 -0
  12. package/.opencode/commands/as-build.md +17 -0
  13. package/.opencode/commands/as-code-simplify.md +16 -0
  14. package/.opencode/commands/as-design-agent.md +15 -0
  15. package/.opencode/commands/as-doctor.md +11 -0
  16. package/.opencode/commands/as-plan.md +16 -0
  17. package/.opencode/commands/as-prime.md +22 -0
  18. package/.opencode/commands/as-review.md +15 -0
  19. package/.opencode/commands/as-setup.md +11 -0
  20. package/.opencode/commands/as-ship.md +16 -0
  21. package/.opencode/commands/as-spec.md +16 -0
  22. package/.opencode/commands/as-test.md +21 -0
  23. package/.pi/agents/agent-chain.yaml +49 -0
  24. package/.pi/agents/bowser.md +19 -0
  25. package/.pi/agents/pi-pi/agent-expert.md +98 -0
  26. package/.pi/agents/pi-pi/cli-expert.md +41 -0
  27. package/.pi/agents/pi-pi/config-expert.md +63 -0
  28. package/.pi/agents/pi-pi/ext-expert.md +43 -0
  29. package/.pi/agents/pi-pi/keybinding-expert.md +134 -0
  30. package/.pi/agents/pi-pi/pi-orchestrator.md +57 -0
  31. package/.pi/agents/pi-pi/prompt-expert.md +70 -0
  32. package/.pi/agents/pi-pi/skill-expert.md +42 -0
  33. package/.pi/agents/pi-pi/theme-expert.md +40 -0
  34. package/.pi/agents/pi-pi/tui-expert.md +85 -0
  35. package/.pi/agents/teams.yaml +31 -0
  36. package/.pi/damage-control-rules.yaml +278 -0
  37. package/.pi/extensions/chrome-devtools-mcp/README.md +39 -0
  38. package/.pi/extensions/chrome-devtools-mcp/index.ts +61 -0
  39. package/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
  40. package/.pi/extensions/compact-and-continue/README.md +42 -0
  41. package/.pi/extensions/compact-and-continue/index.ts +120 -0
  42. package/.pi/extensions/compact-and-continue/package.json +6 -0
  43. package/.pi/extensions/mcp-bridge/README.md +46 -0
  44. package/.pi/extensions/mcp-bridge/index.ts +206 -0
  45. package/.pi/extensions/mcp-bridge/package.json +6 -0
  46. package/.pi/extensions/package-lock.json +1143 -0
  47. package/.pi/extensions/package.json +9 -0
  48. package/.pi/harnesses/agent-chain/README.md +37 -0
  49. package/.pi/harnesses/agent-chain/index.ts +795 -0
  50. package/.pi/harnesses/agent-chain/package.json +6 -0
  51. package/.pi/harnesses/agent-team/README.md +38 -0
  52. package/.pi/harnesses/agent-team/index.ts +732 -0
  53. package/.pi/harnesses/agent-team/package.json +6 -0
  54. package/.pi/harnesses/coms/README.md +36 -0
  55. package/.pi/harnesses/coms/index.ts +1595 -0
  56. package/.pi/harnesses/coms/package.json +6 -0
  57. package/.pi/harnesses/coms-net/README.md +46 -0
  58. package/.pi/harnesses/coms-net/index.ts +1637 -0
  59. package/.pi/harnesses/coms-net/package.json +6 -0
  60. package/.pi/harnesses/damage-control/README.md +38 -0
  61. package/.pi/harnesses/damage-control/index.ts +207 -0
  62. package/.pi/harnesses/damage-control/package.json +6 -0
  63. package/.pi/harnesses/damage-control-continue/README.md +37 -0
  64. package/.pi/harnesses/damage-control-continue/index.ts +234 -0
  65. package/.pi/harnesses/damage-control-continue/package.json +6 -0
  66. package/.pi/harnesses/minimal/README.md +27 -0
  67. package/.pi/harnesses/minimal/index.ts +32 -0
  68. package/.pi/harnesses/minimal/package.json +6 -0
  69. package/.pi/harnesses/package-lock.json +35 -0
  70. package/.pi/harnesses/package.json +9 -0
  71. package/.pi/harnesses/pi-pi/README.md +39 -0
  72. package/.pi/harnesses/pi-pi/index.ts +631 -0
  73. package/.pi/harnesses/pi-pi/package.json +6 -0
  74. package/.pi/harnesses/purpose-gate/README.md +27 -0
  75. package/.pi/harnesses/purpose-gate/index.ts +82 -0
  76. package/.pi/harnesses/purpose-gate/package.json +6 -0
  77. package/.pi/harnesses/session-replay/README.md +28 -0
  78. package/.pi/harnesses/session-replay/index.ts +214 -0
  79. package/.pi/harnesses/session-replay/package.json +6 -0
  80. package/.pi/harnesses/subagent-widget/README.md +36 -0
  81. package/.pi/harnesses/subagent-widget/index.ts +479 -0
  82. package/.pi/harnesses/subagent-widget/package.json +6 -0
  83. package/.pi/harnesses/system-select/README.md +39 -0
  84. package/.pi/harnesses/system-select/index.ts +165 -0
  85. package/.pi/harnesses/system-select/package.json +6 -0
  86. package/.pi/harnesses/tilldone/README.md +35 -0
  87. package/.pi/harnesses/tilldone/index.ts +724 -0
  88. package/.pi/harnesses/tilldone/package.json +6 -0
  89. package/.pi/harnesses/tool-counter/README.md +31 -0
  90. package/.pi/harnesses/tool-counter/index.ts +100 -0
  91. package/.pi/harnesses/tool-counter/package.json +6 -0
  92. package/.pi/harnesses/tool-counter-widget/README.md +27 -0
  93. package/.pi/harnesses/tool-counter-widget/index.ts +66 -0
  94. package/.pi/harnesses/tool-counter-widget/package.json +6 -0
  95. package/.pi/prompts/build.md +24 -0
  96. package/.pi/prompts/code-simplify.md +22 -0
  97. package/.pi/prompts/doctor.md +13 -0
  98. package/.pi/prompts/plan.md +16 -0
  99. package/.pi/prompts/review.md +16 -0
  100. package/.pi/prompts/setup.md +19 -0
  101. package/.pi/prompts/ship.md +17 -0
  102. package/.pi/prompts/spec.md +15 -0
  103. package/.pi/prompts/test.md +19 -0
  104. package/.pi/skills/bowser/SKILL.md +114 -0
  105. package/.versions/0.1.0/.claude/commands/build.md +18 -0
  106. package/.versions/0.1.0/.claude/commands/code-simplify.md +22 -0
  107. package/.versions/0.1.0/.claude/commands/design-agent.md +14 -0
  108. package/.versions/0.1.0/.claude/commands/doctor.md +13 -0
  109. package/.versions/0.1.0/.claude/commands/plan.md +16 -0
  110. package/.versions/0.1.0/.claude/commands/prime.md +22 -0
  111. package/.versions/0.1.0/.claude/commands/review.md +16 -0
  112. package/.versions/0.1.0/.claude/commands/setup.md +19 -0
  113. package/.versions/0.1.0/.claude/commands/ship.md +17 -0
  114. package/.versions/0.1.0/.claude/commands/spec.md +15 -0
  115. package/.versions/0.1.0/.claude/commands/test.md +19 -0
  116. package/.versions/0.1.0/.opencode/commands/as-build.md +17 -0
  117. package/.versions/0.1.0/.opencode/commands/as-code-simplify.md +16 -0
  118. package/.versions/0.1.0/.opencode/commands/as-design-agent.md +15 -0
  119. package/.versions/0.1.0/.opencode/commands/as-doctor.md +11 -0
  120. package/.versions/0.1.0/.opencode/commands/as-plan.md +16 -0
  121. package/.versions/0.1.0/.opencode/commands/as-prime.md +22 -0
  122. package/.versions/0.1.0/.opencode/commands/as-review.md +15 -0
  123. package/.versions/0.1.0/.opencode/commands/as-setup.md +11 -0
  124. package/.versions/0.1.0/.opencode/commands/as-ship.md +16 -0
  125. package/.versions/0.1.0/.opencode/commands/as-spec.md +16 -0
  126. package/.versions/0.1.0/.opencode/commands/as-test.md +21 -0
  127. package/.versions/0.1.0/.pi/agents/agent-chain.yaml +49 -0
  128. package/.versions/0.1.0/.pi/agents/bowser.md +19 -0
  129. package/.versions/0.1.0/.pi/agents/pi-pi/agent-expert.md +98 -0
  130. package/.versions/0.1.0/.pi/agents/pi-pi/cli-expert.md +41 -0
  131. package/.versions/0.1.0/.pi/agents/pi-pi/config-expert.md +63 -0
  132. package/.versions/0.1.0/.pi/agents/pi-pi/ext-expert.md +43 -0
  133. package/.versions/0.1.0/.pi/agents/pi-pi/keybinding-expert.md +134 -0
  134. package/.versions/0.1.0/.pi/agents/pi-pi/pi-orchestrator.md +57 -0
  135. package/.versions/0.1.0/.pi/agents/pi-pi/prompt-expert.md +70 -0
  136. package/.versions/0.1.0/.pi/agents/pi-pi/skill-expert.md +42 -0
  137. package/.versions/0.1.0/.pi/agents/pi-pi/theme-expert.md +40 -0
  138. package/.versions/0.1.0/.pi/agents/pi-pi/tui-expert.md +85 -0
  139. package/.versions/0.1.0/.pi/agents/teams.yaml +31 -0
  140. package/.versions/0.1.0/.pi/damage-control-rules.yaml +278 -0
  141. package/.versions/0.1.0/.pi/extensions/chrome-devtools-mcp/README.md +39 -0
  142. package/.versions/0.1.0/.pi/extensions/chrome-devtools-mcp/index.ts +61 -0
  143. package/.versions/0.1.0/.pi/extensions/chrome-devtools-mcp/package.json +6 -0
  144. package/.versions/0.1.0/.pi/extensions/compact-and-continue/README.md +42 -0
  145. package/.versions/0.1.0/.pi/extensions/compact-and-continue/index.ts +120 -0
  146. package/.versions/0.1.0/.pi/extensions/compact-and-continue/package.json +6 -0
  147. package/.versions/0.1.0/.pi/extensions/mcp-bridge/README.md +46 -0
  148. package/.versions/0.1.0/.pi/extensions/mcp-bridge/index.ts +206 -0
  149. package/.versions/0.1.0/.pi/extensions/mcp-bridge/package.json +6 -0
  150. package/.versions/0.1.0/.pi/extensions/package-lock.json +1143 -0
  151. package/.versions/0.1.0/.pi/extensions/package.json +9 -0
  152. package/.versions/0.1.0/.pi/harnesses/agent-chain/README.md +37 -0
  153. package/.versions/0.1.0/.pi/harnesses/agent-chain/index.ts +795 -0
  154. package/.versions/0.1.0/.pi/harnesses/agent-chain/package.json +6 -0
  155. package/.versions/0.1.0/.pi/harnesses/agent-team/README.md +38 -0
  156. package/.versions/0.1.0/.pi/harnesses/agent-team/index.ts +732 -0
  157. package/.versions/0.1.0/.pi/harnesses/agent-team/package.json +6 -0
  158. package/.versions/0.1.0/.pi/harnesses/coms/README.md +36 -0
  159. package/.versions/0.1.0/.pi/harnesses/coms/index.ts +1595 -0
  160. package/.versions/0.1.0/.pi/harnesses/coms/package.json +6 -0
  161. package/.versions/0.1.0/.pi/harnesses/coms-net/README.md +46 -0
  162. package/.versions/0.1.0/.pi/harnesses/coms-net/index.ts +1637 -0
  163. package/.versions/0.1.0/.pi/harnesses/coms-net/package.json +6 -0
  164. package/.versions/0.1.0/.pi/harnesses/damage-control/README.md +38 -0
  165. package/.versions/0.1.0/.pi/harnesses/damage-control/index.ts +207 -0
  166. package/.versions/0.1.0/.pi/harnesses/damage-control/package.json +6 -0
  167. package/.versions/0.1.0/.pi/harnesses/damage-control-continue/README.md +37 -0
  168. package/.versions/0.1.0/.pi/harnesses/damage-control-continue/index.ts +234 -0
  169. package/.versions/0.1.0/.pi/harnesses/damage-control-continue/package.json +6 -0
  170. package/.versions/0.1.0/.pi/harnesses/minimal/README.md +27 -0
  171. package/.versions/0.1.0/.pi/harnesses/minimal/index.ts +32 -0
  172. package/.versions/0.1.0/.pi/harnesses/minimal/package.json +6 -0
  173. package/.versions/0.1.0/.pi/harnesses/package-lock.json +35 -0
  174. package/.versions/0.1.0/.pi/harnesses/package.json +9 -0
  175. package/.versions/0.1.0/.pi/harnesses/pi-pi/README.md +39 -0
  176. package/.versions/0.1.0/.pi/harnesses/pi-pi/index.ts +631 -0
  177. package/.versions/0.1.0/.pi/harnesses/pi-pi/package.json +6 -0
  178. package/.versions/0.1.0/.pi/harnesses/purpose-gate/README.md +27 -0
  179. package/.versions/0.1.0/.pi/harnesses/purpose-gate/index.ts +82 -0
  180. package/.versions/0.1.0/.pi/harnesses/purpose-gate/package.json +6 -0
  181. package/.versions/0.1.0/.pi/harnesses/session-replay/README.md +28 -0
  182. package/.versions/0.1.0/.pi/harnesses/session-replay/index.ts +214 -0
  183. package/.versions/0.1.0/.pi/harnesses/session-replay/package.json +6 -0
  184. package/.versions/0.1.0/.pi/harnesses/subagent-widget/README.md +36 -0
  185. package/.versions/0.1.0/.pi/harnesses/subagent-widget/index.ts +479 -0
  186. package/.versions/0.1.0/.pi/harnesses/subagent-widget/package.json +6 -0
  187. package/.versions/0.1.0/.pi/harnesses/system-select/README.md +39 -0
  188. package/.versions/0.1.0/.pi/harnesses/system-select/index.ts +165 -0
  189. package/.versions/0.1.0/.pi/harnesses/system-select/package.json +6 -0
  190. package/.versions/0.1.0/.pi/harnesses/tilldone/README.md +35 -0
  191. package/.versions/0.1.0/.pi/harnesses/tilldone/index.ts +724 -0
  192. package/.versions/0.1.0/.pi/harnesses/tilldone/package.json +6 -0
  193. package/.versions/0.1.0/.pi/harnesses/tool-counter/README.md +31 -0
  194. package/.versions/0.1.0/.pi/harnesses/tool-counter/index.ts +100 -0
  195. package/.versions/0.1.0/.pi/harnesses/tool-counter/package.json +6 -0
  196. package/.versions/0.1.0/.pi/harnesses/tool-counter-widget/README.md +27 -0
  197. package/.versions/0.1.0/.pi/harnesses/tool-counter-widget/index.ts +66 -0
  198. package/.versions/0.1.0/.pi/harnesses/tool-counter-widget/package.json +6 -0
  199. package/.versions/0.1.0/.pi/prompts/build.md +24 -0
  200. package/.versions/0.1.0/.pi/prompts/code-simplify.md +22 -0
  201. package/.versions/0.1.0/.pi/prompts/doctor.md +13 -0
  202. package/.versions/0.1.0/.pi/prompts/plan.md +16 -0
  203. package/.versions/0.1.0/.pi/prompts/review.md +16 -0
  204. package/.versions/0.1.0/.pi/prompts/setup.md +19 -0
  205. package/.versions/0.1.0/.pi/prompts/ship.md +17 -0
  206. package/.versions/0.1.0/.pi/prompts/spec.md +15 -0
  207. package/.versions/0.1.0/.pi/prompts/test.md +19 -0
  208. package/.versions/0.1.0/.pi/skills/bowser/SKILL.md +114 -0
  209. package/.versions/0.1.0/.version +1 -0
  210. package/.versions/0.1.0/agents/builder.md +6 -0
  211. package/.versions/0.1.0/agents/code-reviewer.md +93 -0
  212. package/.versions/0.1.0/agents/documenter.md +6 -0
  213. package/.versions/0.1.0/agents/plan-reviewer.md +22 -0
  214. package/.versions/0.1.0/agents/planner.md +6 -0
  215. package/.versions/0.1.0/agents/scout.md +6 -0
  216. package/.versions/0.1.0/agents/security-auditor.md +97 -0
  217. package/.versions/0.1.0/agents/test-engineer.md +89 -0
  218. package/.versions/0.1.0/hooks/SIMPLIFY-IGNORE.md +90 -0
  219. package/.versions/0.1.0/hooks/hooks.json +14 -0
  220. package/.versions/0.1.0/hooks/session-start.sh +20 -0
  221. package/.versions/0.1.0/hooks/simplify-ignore-test.sh +247 -0
  222. package/.versions/0.1.0/hooks/simplify-ignore.sh +302 -0
  223. package/.versions/0.1.0/references/accessibility-checklist.md +159 -0
  224. package/.versions/0.1.0/references/performance-checklist.md +121 -0
  225. package/.versions/0.1.0/references/prompting-patterns.md +380 -0
  226. package/.versions/0.1.0/references/security-checklist.md +134 -0
  227. package/.versions/0.1.0/references/testing-patterns.md +236 -0
  228. package/.versions/0.1.0/skills/api-and-interface-design/SKILL.md +294 -0
  229. package/.versions/0.1.0/skills/browser-testing-with-devtools/SKILL.md +335 -0
  230. package/.versions/0.1.0/skills/ci-cd-and-automation/SKILL.md +390 -0
  231. package/.versions/0.1.0/skills/code-review-and-quality/SKILL.md +347 -0
  232. package/.versions/0.1.0/skills/code-simplification/SKILL.md +331 -0
  233. package/.versions/0.1.0/skills/context-engineering/SKILL.md +291 -0
  234. package/.versions/0.1.0/skills/debugging-and-error-recovery/SKILL.md +300 -0
  235. package/.versions/0.1.0/skills/deprecation-and-migration/SKILL.md +206 -0
  236. package/.versions/0.1.0/skills/designing-agents/SKILL.md +394 -0
  237. package/.versions/0.1.0/skills/designing-agents/pi-harness-authoring.md +213 -0
  238. package/.versions/0.1.0/skills/documentation-and-adrs/SKILL.md +278 -0
  239. package/.versions/0.1.0/skills/frontend-ui-engineering/SKILL.md +322 -0
  240. package/.versions/0.1.0/skills/git-workflow-and-versioning/SKILL.md +316 -0
  241. package/.versions/0.1.0/skills/guided-workspace-setup/SKILL.md +293 -0
  242. package/.versions/0.1.0/skills/idea-refine/SKILL.md +178 -0
  243. package/.versions/0.1.0/skills/idea-refine/examples.md +238 -0
  244. package/.versions/0.1.0/skills/idea-refine/frameworks.md +99 -0
  245. package/.versions/0.1.0/skills/idea-refine/refinement-criteria.md +113 -0
  246. package/.versions/0.1.0/skills/idea-refine/scripts/idea-refine.sh +15 -0
  247. package/.versions/0.1.0/skills/incremental-implementation/SKILL.md +279 -0
  248. package/.versions/0.1.0/skills/performance-optimization/SKILL.md +350 -0
  249. package/.versions/0.1.0/skills/planning-and-task-breakdown/SKILL.md +237 -0
  250. package/.versions/0.1.0/skills/security-and-hardening/SKILL.md +349 -0
  251. package/.versions/0.1.0/skills/shipping-and-launch/SKILL.md +309 -0
  252. package/.versions/0.1.0/skills/source-driven-development/SKILL.md +194 -0
  253. package/.versions/0.1.0/skills/spec-driven-development/SKILL.md +237 -0
  254. package/.versions/0.1.0/skills/test-driven-development/SKILL.md +379 -0
  255. package/.versions/0.1.0/skills/using-agent-skills/SKILL.md +176 -0
  256. package/CHANGELOG.md +14 -0
  257. package/LICENSE +21 -0
  258. package/README.md +359 -0
  259. package/agents/builder.md +6 -0
  260. package/agents/code-reviewer.md +93 -0
  261. package/agents/documenter.md +6 -0
  262. package/agents/plan-reviewer.md +22 -0
  263. package/agents/planner.md +6 -0
  264. package/agents/scout.md +6 -0
  265. package/agents/security-auditor.md +97 -0
  266. package/agents/test-engineer.md +89 -0
  267. package/bin/cli.js +375 -0
  268. package/bin/lib/detect-agent.js +37 -0
  269. package/bin/lib/doctor.js +209 -0
  270. package/bin/snapshot-version.js +71 -0
  271. package/docs/agent-skills-setup.md +187 -0
  272. package/docs/copilot-setup.md +94 -0
  273. package/docs/cursor-setup.md +67 -0
  274. package/docs/gemini-cli-setup.md +113 -0
  275. package/docs/getting-started.md +162 -0
  276. package/docs/npm-install.md +169 -0
  277. package/docs/opencode-setup.md +241 -0
  278. package/docs/pi-extensions.md +163 -0
  279. package/docs/pi-setup.md +416 -0
  280. package/docs/skill-anatomy.md +129 -0
  281. package/docs/windsurf-setup.md +48 -0
  282. package/hooks/SIMPLIFY-IGNORE.md +90 -0
  283. package/hooks/hooks.json +14 -0
  284. package/hooks/session-start.sh +20 -0
  285. package/hooks/simplify-ignore-test.sh +247 -0
  286. package/hooks/simplify-ignore.sh +302 -0
  287. package/package.json +86 -0
  288. package/references/accessibility-checklist.md +159 -0
  289. package/references/performance-checklist.md +121 -0
  290. package/references/prompting-patterns.md +380 -0
  291. package/references/security-checklist.md +134 -0
  292. package/references/testing-patterns.md +236 -0
  293. package/skills/api-and-interface-design/SKILL.md +294 -0
  294. package/skills/browser-testing-with-devtools/SKILL.md +335 -0
  295. package/skills/ci-cd-and-automation/SKILL.md +390 -0
  296. package/skills/code-review-and-quality/SKILL.md +347 -0
  297. package/skills/code-simplification/SKILL.md +331 -0
  298. package/skills/context-engineering/SKILL.md +291 -0
  299. package/skills/debugging-and-error-recovery/SKILL.md +300 -0
  300. package/skills/deprecation-and-migration/SKILL.md +206 -0
  301. package/skills/designing-agents/SKILL.md +394 -0
  302. package/skills/designing-agents/pi-harness-authoring.md +213 -0
  303. package/skills/documentation-and-adrs/SKILL.md +278 -0
  304. package/skills/frontend-ui-engineering/SKILL.md +322 -0
  305. package/skills/git-workflow-and-versioning/SKILL.md +316 -0
  306. package/skills/guided-workspace-setup/SKILL.md +293 -0
  307. package/skills/idea-refine/SKILL.md +178 -0
  308. package/skills/idea-refine/examples.md +238 -0
  309. package/skills/idea-refine/frameworks.md +99 -0
  310. package/skills/idea-refine/refinement-criteria.md +113 -0
  311. package/skills/idea-refine/scripts/idea-refine.sh +15 -0
  312. package/skills/incremental-implementation/SKILL.md +279 -0
  313. package/skills/performance-optimization/SKILL.md +350 -0
  314. package/skills/planning-and-task-breakdown/SKILL.md +237 -0
  315. package/skills/security-and-hardening/SKILL.md +349 -0
  316. package/skills/shipping-and-launch/SKILL.md +309 -0
  317. package/skills/source-driven-development/SKILL.md +194 -0
  318. package/skills/spec-driven-development/SKILL.md +237 -0
  319. package/skills/test-driven-development/SKILL.md +379 -0
  320. package/skills/using-agent-skills/SKILL.md +176 -0
@@ -0,0 +1,176 @@
1
+ ---
2
+ name: using-agent-skills
3
+ description: Discovers and invokes agent skills. Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.
4
+ ---
5
+
6
+ # Using Agent Skills
7
+
8
+ ## Overview
9
+
10
+ Agent Skills is a collection of engineering workflow skills organized by development phase. Each skill encodes a specific process that senior engineers follow. This meta-skill helps you discover and apply the right skill for your current task.
11
+
12
+ ## Skill Discovery
13
+
14
+ When a task arrives, identify the development phase and apply the corresponding skill:
15
+
16
+ ```
17
+ Task arrives
18
+
19
+ ├── Vague idea/need refinement? ──→ idea-refine
20
+ ├── New project/feature/change? ──→ spec-driven-development
21
+ ├── Have a spec, need tasks? ──────→ planning-and-task-breakdown
22
+ ├── Implementing code? ────────────→ incremental-implementation
23
+ │ ├── UI work? ─────────────────→ frontend-ui-engineering
24
+ │ ├── API work? ────────────────→ api-and-interface-design
25
+ │ ├── Need better context? ─────→ context-engineering
26
+ │ └── Need doc-verified code? ───→ source-driven-development
27
+ ├── Writing/running tests? ────────→ test-driven-development
28
+ │ └── Browser-based? ───────────→ browser-testing-with-devtools
29
+ ├── Something broke? ──────────────→ debugging-and-error-recovery
30
+ ├── Reviewing code? ───────────────→ code-review-and-quality
31
+ │ ├── Security concerns? ───────→ security-and-hardening
32
+ │ └── Performance concerns? ────→ performance-optimization
33
+ ├── Committing/branching? ─────────→ git-workflow-and-versioning
34
+ ├── CI/CD pipeline work? ──────────→ ci-cd-and-automation
35
+ ├── Writing docs/ADRs? ───────────→ documentation-and-adrs
36
+ ├── Authoring a new skill/persona? ─→ designing-agents
37
+ └── Deploying/launching? ─────────→ shipping-and-launch
38
+ ```
39
+
40
+ ## Core Operating Behaviors
41
+
42
+ These behaviors apply at all times, across all skills. They are non-negotiable.
43
+
44
+ ### 1. Surface Assumptions
45
+
46
+ Before implementing anything non-trivial, explicitly state your assumptions:
47
+
48
+ ```
49
+ ASSUMPTIONS I'M MAKING:
50
+ 1. [assumption about requirements]
51
+ 2. [assumption about architecture]
52
+ 3. [assumption about scope]
53
+ → Correct me now or I'll proceed with these.
54
+ ```
55
+
56
+ Don't silently fill in ambiguous requirements. The most common failure mode is making wrong assumptions and running with them unchecked. Surface uncertainty early — it's cheaper than rework.
57
+
58
+ ### 2. Manage Confusion Actively
59
+
60
+ When you encounter inconsistencies, conflicting requirements, or unclear specifications:
61
+
62
+ 1. **STOP.** Do not proceed with a guess.
63
+ 2. Name the specific confusion.
64
+ 3. Present the tradeoff or ask the clarifying question.
65
+ 4. Wait for resolution before continuing.
66
+
67
+ **Bad:** Silently picking one interpretation and hoping it's right.
68
+ **Good:** "I see X in the spec but Y in the existing code. Which takes precedence?"
69
+
70
+ ### 3. Push Back When Warranted
71
+
72
+ You are not a yes-machine. When an approach has clear problems:
73
+
74
+ - Point out the issue directly
75
+ - Explain the concrete downside (quantify when possible — "this adds ~200ms latency" not "this might be slower")
76
+ - Propose an alternative
77
+ - Accept the human's decision if they override with full information
78
+
79
+ Sycophancy is a failure mode. "Of course!" followed by implementing a bad idea helps no one. Honest technical disagreement is more valuable than false agreement.
80
+
81
+ ### 4. Enforce Simplicity
82
+
83
+ Your natural tendency is to overcomplicate. Actively resist it.
84
+
85
+ Before finishing any implementation, ask:
86
+ - Can this be done in fewer lines?
87
+ - Are these abstractions earning their complexity?
88
+ - Would a staff engineer look at this and say "why didn't you just..."?
89
+
90
+ If you build 1000 lines and 100 would suffice, you have failed. Prefer the boring, obvious solution. Cleverness is expensive.
91
+
92
+ ### 5. Maintain Scope Discipline
93
+
94
+ Touch only what you're asked to touch.
95
+
96
+ Do NOT:
97
+ - Remove comments you don't understand
98
+ - "Clean up" code orthogonal to the task
99
+ - Refactor adjacent systems as a side effect
100
+ - Delete code that seems unused without explicit approval
101
+ - Add features not in the spec because they "seem useful"
102
+
103
+ Your job is surgical precision, not unsolicited renovation.
104
+
105
+ ### 6. Verify, Don't Assume
106
+
107
+ Every skill includes a verification step. A task is not complete until verification passes. "Seems right" is never sufficient — there must be evidence (passing tests, build output, runtime data).
108
+
109
+ ## Failure Modes to Avoid
110
+
111
+ These are the subtle errors that look like productivity but create problems:
112
+
113
+ 1. Making wrong assumptions without checking
114
+ 2. Not managing your own confusion — plowing ahead when lost
115
+ 3. Not surfacing inconsistencies you notice
116
+ 4. Not presenting tradeoffs on non-obvious decisions
117
+ 5. Being sycophantic ("Of course!") to approaches with clear problems
118
+ 6. Overcomplicating code and APIs
119
+ 7. Modifying code or comments orthogonal to the task
120
+ 8. Removing things you don't fully understand
121
+ 9. Building without a spec because "it's obvious"
122
+ 10. Skipping verification because "it looks right"
123
+
124
+ ## Skill Rules
125
+
126
+ 1. **Check for an applicable skill before starting work.** Skills encode processes that prevent common mistakes.
127
+
128
+ 2. **Skills are workflows, not suggestions.** Follow the steps in order. Don't skip verification steps.
129
+
130
+ 3. **Multiple skills can apply.** A feature implementation might involve `idea-refine` → `spec-driven-development` → `planning-and-task-breakdown` → `incremental-implementation` → `test-driven-development` → `code-review-and-quality` → `shipping-and-launch` in sequence.
131
+
132
+ 4. **When in doubt, start with a spec.** If the task is non-trivial and there's no spec, begin with `spec-driven-development`.
133
+
134
+ ## Lifecycle Sequence
135
+
136
+ For a complete feature, the typical skill sequence is:
137
+
138
+ ```
139
+ 1. idea-refine → Refine vague ideas
140
+ 2. spec-driven-development → Define what we're building
141
+ 3. planning-and-task-breakdown → Break into verifiable chunks
142
+ 4. context-engineering → Load the right context
143
+ 5. source-driven-development → Verify against official docs
144
+ 6. incremental-implementation → Build slice by slice
145
+ 7. test-driven-development → Prove each slice works
146
+ 8. code-review-and-quality → Review before merge
147
+ 9. git-workflow-and-versioning → Clean commit history
148
+ 10. documentation-and-adrs → Document decisions
149
+ 11. shipping-and-launch → Deploy safely
150
+ ```
151
+
152
+ Not every task needs every skill. A bug fix might only need: `debugging-and-error-recovery` → `test-driven-development` → `code-review-and-quality`.
153
+
154
+ ## Quick Reference
155
+
156
+ | Phase | Skill | One-Line Summary |
157
+ |-------|-------|-----------------|
158
+ | Define | idea-refine | Refine ideas through structured divergent and convergent thinking |
159
+ | Define | spec-driven-development | Requirements and acceptance criteria before code |
160
+ | Plan | planning-and-task-breakdown | Decompose into small, verifiable tasks |
161
+ | Build | incremental-implementation | Thin vertical slices, test each before expanding |
162
+ | Build | source-driven-development | Verify against official docs before implementing |
163
+ | Build | context-engineering | Right context at the right time |
164
+ | Build | frontend-ui-engineering | Production-quality UI with accessibility |
165
+ | Build | api-and-interface-design | Stable interfaces with clear contracts |
166
+ | Verify | test-driven-development | Failing test first, then make it pass |
167
+ | Verify | browser-testing-with-devtools | Chrome DevTools MCP for runtime verification |
168
+ | Verify | debugging-and-error-recovery | Reproduce → localize → fix → guard |
169
+ | Review | code-review-and-quality | Five-axis review with quality gates |
170
+ | Review | security-and-hardening | OWASP prevention, input validation, least privilege |
171
+ | Review | performance-optimization | Measure first, optimize only what matters |
172
+ | Ship | git-workflow-and-versioning | Atomic commits, clean history |
173
+ | Ship | ci-cd-and-automation | Automated quality gates on every change |
174
+ | Ship | documentation-and-adrs | Document the why, not just the what |
175
+ | Ship | shipping-and-launch | Pre-launch checklist, monitoring, rollback plan |
176
+ | Author | designing-agents | Author a persona, workflow skill, or pi harness |
package/CHANGELOG.md ADDED
@@ -0,0 +1,14 @@
1
+ # agent-skills changelog
2
+
3
+ All notable changes to this project are documented here. Format follows
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versioning follows
5
+ [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Entries below 0.1.0
6
+ are pre-npm history captured in git.
7
+
8
+ The file is rolled forward by [changesets](https://github.com/changesets/changesets) —
9
+ do not edit it by hand. Add a `.changeset/<name>.md` file describing your
10
+ change and let `changeset version` aggregate it.
11
+
12
+ ## Unreleased
13
+
14
+ Pending changesets in `.changeset/` will roll into the next release.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Addy Osmani
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,359 @@
1
+ # Agent Skills
2
+
3
+ **Production-grade engineering skills for AI coding agents.**
4
+
5
+ Skills encode the workflows, quality gates, and best practices that senior engineers use when building software. These ones are packaged so AI agents follow them consistently across every phase of development.
6
+
7
+ ```
8
+ DEFINE PLAN BUILD VERIFY REVIEW SHIP
9
+ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐
10
+ │ Idea │ ───▶ │ Spec │ ───▶ │ Code │ ───▶ │ Test │ ───▶ │ QA │ ───▶ │ Go │
11
+ │Refine│ │ PRD │ │ Impl │ │Debug │ │ Gate │ │ Live │
12
+ └──────┘ └──────┘ └──────┘ └──────┘ └──────┘ └──────┘
13
+ /spec /plan /build /test /review /ship
14
+ ```
15
+
16
+ ---
17
+
18
+ ## Commands
19
+
20
+ 7 slash commands that map to the development lifecycle. Each one activates the right skills automatically.
21
+
22
+ | What you're doing | Command | Key principle |
23
+ |-------------------|---------|---------------|
24
+ | Define what to build | `/spec` | Spec before code |
25
+ | Plan how to build it | `/plan` | Small, atomic tasks |
26
+ | Build incrementally | `/build` | One slice at a time |
27
+ | Prove it works | `/test` | Tests are proof |
28
+ | Review before merge | `/review` | Improve code health |
29
+ | Simplify the code | `/code-simplify` | Clarity over cleverness |
30
+ | Ship to production | `/ship` | Faster is safer |
31
+
32
+ Skills also activate automatically based on what you're doing — designing an API triggers `api-and-interface-design`, building UI triggers `frontend-ui-engineering`, and so on.
33
+
34
+ ---
35
+
36
+ ## Quick Start
37
+
38
+ ```bash
39
+ # In the workspace you want to configure:
40
+ npx @chankov/agent-skills init
41
+ # Then open your coding agent in this directory and run:
42
+ # /setup
43
+ ```
44
+
45
+ That's it. `npx` fetches the package, the CLI detects your coding agent
46
+ (Claude Code, OpenCode, or pi), and `/setup` runs the full guided install —
47
+ analysing the workspace, showing grouped menus, and confirming everything
48
+ before writing a single file.
49
+
50
+ Three CLI commands:
51
+
52
+ | Command | What it does |
53
+ |---|---|
54
+ | `npx @chankov/agent-skills init` | Materialize the package + hand off to `/setup` |
55
+ | `npx @chankov/agent-skills doctor` | Scan for broken symlinks and stale persona refs |
56
+ | `npx @chankov/agent-skills update` | Surface the version delta + hand off to `/setup` for the per-artifact diff |
57
+
58
+ Versioned with [semver](https://semver.org); changelog in
59
+ [CHANGELOG.md](CHANGELOG.md); full docs in [docs/npm-install.md](docs/npm-install.md).
60
+
61
+ ### Other install paths
62
+
63
+ <details>
64
+ <summary><b>Claude Code plugin marketplace</b> — best UX inside Claude Code</summary>
65
+
66
+ ```
67
+ /plugin marketplace add chankov/agent-skills
68
+ /plugin install agent-skills@nc-agent-skills
69
+ ```
70
+
71
+ > **SSH errors?** The marketplace clones repos via SSH. If you don't have SSH keys set up on GitHub, either [add your SSH key](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account) or switch to HTTPS for fetches only:
72
+ > ```bash
73
+ > git config --global url."https://github.com/".insteadOf "git@github.com:"
74
+ > ```
75
+
76
+ </details>
77
+
78
+ <details>
79
+ <summary><b>Git clone + symlinks</b> — best for skill authors and contributors</summary>
80
+
81
+ ```bash
82
+ git clone https://github.com/chankov/agent-skills.git
83
+ cd agent-skills
84
+ # In Claude Code:
85
+ claude --plugin-dir .
86
+ # Then run /setup in your target workspace and pick "symlink" in Step 8.
87
+ ```
88
+
89
+ Updates flow through `git pull`. Symlinks need Developer Mode on Windows.
90
+
91
+ </details>
92
+
93
+ <details>
94
+ <summary><b>Cursor</b></summary>
95
+
96
+ Copy any `SKILL.md` into `.cursor/rules/`, or reference the full `skills/` directory. See [docs/cursor-setup.md](docs/cursor-setup.md).
97
+
98
+ </details>
99
+
100
+ <details>
101
+ <summary><b>Gemini CLI</b></summary>
102
+
103
+ Install as native skills for auto-discovery, or add to `GEMINI.md` for persistent context. See [docs/gemini-cli-setup.md](docs/gemini-cli-setup.md).
104
+
105
+ **Install from the repo:**
106
+
107
+ ```bash
108
+ gemini skills install https://github.com/chankov/agent-skills.git --path skills
109
+ ```
110
+
111
+ **Install from a local clone:**
112
+
113
+ ```bash
114
+ gemini skills install ./agent-skills/skills/
115
+ ```
116
+
117
+ </details>
118
+
119
+ <details>
120
+ <summary><b>Windsurf</b></summary>
121
+
122
+ Add skill contents to your Windsurf rules configuration. See [docs/windsurf-setup.md](docs/windsurf-setup.md).
123
+
124
+ </details>
125
+
126
+ <details>
127
+ <summary><b>OpenCode</b></summary>
128
+
129
+ Uses agent-driven skill execution via `AGENTS.md` and the `skill` tool.
130
+
131
+ The repo also ships **optional** OpenCode slash commands in `.opencode/commands/` using an `as-` prefix as explicit lifecycle entry points (the agent will still invoke the same skills automatically from natural-language requests):
132
+
133
+ - `/as-spec`
134
+ - `/as-plan`
135
+ - `/as-build`
136
+ - `/as-test`
137
+ - `/as-review`
138
+ - `/as-code-simplify`
139
+ - `/as-ship`
140
+ - `/as-design-agent`
141
+
142
+ See [docs/opencode-setup.md](docs/opencode-setup.md).
143
+
144
+ </details>
145
+
146
+ <details>
147
+ <summary><b>pi</b></summary>
148
+
149
+ pi has native Agent Skills support via `AGENTS.md` and discoverable skill directories like `.agents/skills/`. It can also expose the lifecycle commands (`/spec`, `/plan`, `/build`, `/test`, `/review`, `/code-simplify`, `/ship`) from `.pi/prompts/`, and pi extensions from `.pi/extensions/` (currently: `mcp-bridge`, `chrome-devtools-mcp`, `compact-and-continue`; one-time `npm ci` required — see setup doc). See [docs/pi-setup.md](docs/pi-setup.md).
150
+
151
+ The repo also ships 15 selectable pi extension *harnesses* — agent orchestration, safety auditing, and Pi-to-Pi messaging — ported from [disler](https://github.com/disler)'s [`pi-vs-claude-code`](https://github.com/disler/pi-vs-claude-code) project (MIT). See the [pi extension catalog](docs/pi-extensions.md) for the full list, setup, and how to run each one.
152
+
153
+ </details>
154
+
155
+ <details>
156
+ <summary><b>GitHub Copilot</b></summary>
157
+
158
+ Use agent definitions from `agents/` as Copilot personas and skill content in `.github/copilot-instructions.md`. See [docs/copilot-setup.md](docs/copilot-setup.md).
159
+
160
+ </details>
161
+
162
+ <details>
163
+ <summary><b>Codex / Other Agents</b></summary>
164
+
165
+ Skills are plain Markdown - they work with any agent that accepts system prompts or instruction files. See [docs/getting-started.md](docs/getting-started.md).
166
+
167
+ </details>
168
+
169
+ ---
170
+
171
+ ## All 20 Skills
172
+
173
+ The commands above are the entry points. Under the hood, they activate these 20 skills — each one a structured workflow with steps, verification gates, and anti-rationalization tables. You can also reference any skill directly.
174
+
175
+ ### Define - Clarify what to build
176
+
177
+ | Skill | What It Does | Use When |
178
+ |-------|-------------|----------|
179
+ | [idea-refine](skills/idea-refine/SKILL.md) | Structured divergent/convergent thinking to turn vague ideas into concrete proposals | You have a rough concept that needs exploration |
180
+ | [spec-driven-development](skills/spec-driven-development/SKILL.md) | Write a PRD covering objectives, commands, structure, code style, testing, and boundaries before any code | Starting a new project, feature, or significant change |
181
+
182
+ ### Plan - Break it down
183
+
184
+ | Skill | What It Does | Use When |
185
+ |-------|-------------|----------|
186
+ | [planning-and-task-breakdown](skills/planning-and-task-breakdown/SKILL.md) | Decompose specs into small, verifiable tasks with acceptance criteria and dependency ordering | You have a spec and need implementable units |
187
+
188
+ ### Build - Write the code
189
+
190
+ | Skill | What It Does | Use When |
191
+ |-------|-------------|----------|
192
+ | [incremental-implementation](skills/incremental-implementation/SKILL.md) | Thin vertical slices - implement, test, verify, commit. Feature flags, safe defaults, rollback-friendly changes | Any change touching more than one file |
193
+ | [test-driven-development](skills/test-driven-development/SKILL.md) | Red-Green-Refactor, test pyramid (80/15/5), test sizes, DAMP over DRY, Beyonce Rule, browser testing | Implementing logic, fixing bugs, or changing behavior |
194
+ | [context-engineering](skills/context-engineering/SKILL.md) | Feed agents the right information at the right time - rules files, context packing, MCP integrations | Starting a session, switching tasks, or when output quality drops |
195
+ | [source-driven-development](skills/source-driven-development/SKILL.md) | Ground every framework decision in official documentation - verify, cite sources, flag what's unverified | You want authoritative, source-cited code for any framework or library |
196
+ | [frontend-ui-engineering](skills/frontend-ui-engineering/SKILL.md) | Component architecture, design systems, state management, responsive design, WCAG 2.1 AA accessibility | Building or modifying user-facing interfaces |
197
+ | [api-and-interface-design](skills/api-and-interface-design/SKILL.md) | Contract-first design, Hyrum's Law, One-Version Rule, error semantics, boundary validation | Designing APIs, module boundaries, or public interfaces |
198
+
199
+ ### Verify - Prove it works
200
+
201
+ | Skill | What It Does | Use When |
202
+ |-------|-------------|----------|
203
+ | [browser-testing-with-devtools](skills/browser-testing-with-devtools/SKILL.md) | Chrome DevTools MCP for live runtime data - DOM inspection, console logs, network traces, performance profiling | Building or debugging anything that runs in a browser |
204
+ | [debugging-and-error-recovery](skills/debugging-and-error-recovery/SKILL.md) | Five-step triage: reproduce, localize, reduce, fix, guard. Stop-the-line rule, safe fallbacks | Tests fail, builds break, or behavior is unexpected |
205
+
206
+ ### Review - Quality gates before merge
207
+
208
+ | Skill | What It Does | Use When |
209
+ |-------|-------------|----------|
210
+ | [code-review-and-quality](skills/code-review-and-quality/SKILL.md) | Five-axis review, change sizing (~100 lines), severity labels (Nit/Optional/FYI), review speed norms, splitting strategies | Before merging any change |
211
+ | [code-simplification](skills/code-simplification/SKILL.md) | Chesterton's Fence, Rule of 500, reduce complexity while preserving exact behavior | Code works but is harder to read or maintain than it should be |
212
+ | [security-and-hardening](skills/security-and-hardening/SKILL.md) | OWASP Top 10 prevention, auth patterns, secrets management, dependency auditing, three-tier boundary system | Handling user input, auth, data storage, or external integrations |
213
+ | [performance-optimization](skills/performance-optimization/SKILL.md) | Measure-first approach - Core Web Vitals targets, profiling workflows, bundle analysis, anti-pattern detection | Performance requirements exist or you suspect regressions |
214
+
215
+ ### Ship - Deploy with confidence
216
+
217
+ | Skill | What It Does | Use When |
218
+ |-------|-------------|----------|
219
+ | [git-workflow-and-versioning](skills/git-workflow-and-versioning/SKILL.md) | Trunk-based development, atomic commits, change sizing (~100 lines), the commit-as-save-point pattern | Making any code change (always) |
220
+ | [ci-cd-and-automation](skills/ci-cd-and-automation/SKILL.md) | Shift Left, Faster is Safer, feature flags, quality gate pipelines, failure feedback loops | Setting up or modifying build and deploy pipelines |
221
+ | [deprecation-and-migration](skills/deprecation-and-migration/SKILL.md) | Code-as-liability mindset, compulsory vs advisory deprecation, migration patterns, zombie code removal | Removing old systems, migrating users, or sunsetting features |
222
+ | [documentation-and-adrs](skills/documentation-and-adrs/SKILL.md) | Architecture Decision Records, API docs, inline documentation standards - document the *why* | Making architectural decisions, changing APIs, or shipping features |
223
+ | [shipping-and-launch](skills/shipping-and-launch/SKILL.md) | Pre-launch checklists, feature flag lifecycle, staged rollouts, rollback procedures, monitoring setup | Preparing to deploy to production |
224
+
225
+ ---
226
+
227
+ ## Agent Personas
228
+
229
+ Pre-configured specialist personas for targeted reviews:
230
+
231
+ | Agent | Role | Perspective |
232
+ |-------|------|-------------|
233
+ | [code-reviewer](agents/code-reviewer.md) | Senior Staff Engineer | Five-axis code review with "would a staff engineer approve this?" standard. Read-only. |
234
+ | [test-engineer](agents/test-engineer.md) | QA Specialist | Test strategy, coverage analysis, and the Prove-It pattern |
235
+ | [security-auditor](agents/security-auditor.md) | Security Engineer | Vulnerability detection, threat modeling, OWASP assessment. Read-only. |
236
+ | [planner](agents/planner.md) | Architect | Produces numbered, step-by-step implementation plans. Read-only. |
237
+ | [plan-reviewer](agents/plan-reviewer.md) | Plan Critic | Stress-tests plans for assumptions, gaps, ordering, and feasibility. Read-only. |
238
+ | [builder](agents/builder.md) | Implementer | Carries out an approved plan with minimal, idiomatic code. |
239
+ | [scout](agents/scout.md) | Recon | Fast codebase exploration — structure, patterns, entry points. Read-only. |
240
+ | [documenter](agents/documenter.md) | Tech Writer | READMEs, inline docs, usage examples in the project's voice. |
241
+
242
+ ---
243
+
244
+ ## Reference Checklists
245
+
246
+ Quick-reference material that skills pull in when needed:
247
+
248
+ | Reference | Covers |
249
+ |-----------|--------|
250
+ | [testing-patterns.md](references/testing-patterns.md) | Test structure, naming, mocking, React/API/E2E examples, anti-patterns |
251
+ | [security-checklist.md](references/security-checklist.md) | Pre-commit checks, auth, input validation, headers, CORS, OWASP Top 10 |
252
+ | [performance-checklist.md](references/performance-checklist.md) | Core Web Vitals targets, frontend/backend checklists, measurement commands |
253
+ | [accessibility-checklist.md](references/accessibility-checklist.md) | Keyboard nav, screen readers, visual design, ARIA, testing tools |
254
+
255
+ ---
256
+
257
+ ## How Skills Work
258
+
259
+ Every skill follows a consistent anatomy:
260
+
261
+ ```
262
+ ┌─────────────────────────────────────────────┐
263
+ │ SKILL.md │
264
+ │ │
265
+ │ ┌─ Frontmatter ─────────────────────────┐ │
266
+ │ │ name: lowercase-hyphen-name │ │
267
+ │ │ description: Use when [trigger] │ │
268
+ │ └───────────────────────────────────────┘ │
269
+ │ │
270
+ │ Overview → What this skill does │
271
+ │ When to Use → Triggering conditions │
272
+ │ Process → Step-by-step workflow │
273
+ │ Rationalizations → Excuses + rebuttals │
274
+ │ Red Flags → Signs something's wrong │
275
+ │ Verification → Evidence requirements │
276
+ └─────────────────────────────────────────────┘
277
+ ```
278
+
279
+ **Key design choices:**
280
+
281
+ - **Process, not prose.** Skills are workflows agents follow, not reference docs they read. Each has steps, checkpoints, and exit criteria.
282
+ - **Anti-rationalization.** Every skill includes a table of common excuses agents use to skip steps (e.g., "I'll add tests later") with documented counter-arguments.
283
+ - **Verification is non-negotiable.** Every skill ends with evidence requirements - tests passing, build output, runtime data. "Seems right" is never sufficient.
284
+ - **Progressive disclosure.** The `SKILL.md` is the entry point. Supporting references load only when needed, keeping token usage minimal.
285
+
286
+ ---
287
+
288
+ ## Per-Project Overrides
289
+
290
+ A few skills produce files or need project-specific facts — where specs and plans are saved, how to start a dev server, whether the agent may create branches. Sensible defaults are built in, but any project can override them with a single file at `.ai/agent-skills-overrides.md`:
291
+
292
+ | Skill | What you can override |
293
+ |-------|----------------------|
294
+ | `spec-driven-development` | Spec output directory and naming |
295
+ | `planning-and-task-breakdown` | Plan output directory, naming, embedded vs separate todo |
296
+ | `browser-testing-with-devtools` | Dev-server command, base URL, auth flow and roles (required — no default) |
297
+ | `git-workflow-and-versioning` | Whether the agent may create branches (default: never) |
298
+
299
+ See [docs/agent-skills-setup.md](docs/agent-skills-setup.md) for the file format and a copy-paste template.
300
+
301
+ ---
302
+
303
+ ## Project Structure
304
+
305
+ ```
306
+ agent-skills/
307
+ ├── skills/ # 20 core skills (SKILL.md per directory)
308
+ │ ├── idea-refine/ # Define
309
+ │ ├── spec-driven-development/ # Define
310
+ │ ├── planning-and-task-breakdown/ # Plan
311
+ │ ├── incremental-implementation/ # Build
312
+ │ ├── context-engineering/ # Build
313
+ │ ├── source-driven-development/ # Build
314
+ │ ├── frontend-ui-engineering/ # Build
315
+ │ ├── test-driven-development/ # Build
316
+ │ ├── api-and-interface-design/ # Build
317
+ │ ├── browser-testing-with-devtools/ # Verify
318
+ │ ├── debugging-and-error-recovery/ # Verify
319
+ │ ├── code-review-and-quality/ # Review
320
+ │ ├── code-simplification/ # Review
321
+ │ ├── security-and-hardening/ # Review
322
+ │ ├── performance-optimization/ # Review
323
+ │ ├── git-workflow-and-versioning/ # Ship
324
+ │ ├── ci-cd-and-automation/ # Ship
325
+ │ ├── deprecation-and-migration/ # Ship
326
+ │ ├── documentation-and-adrs/ # Ship
327
+ │ ├── shipping-and-launch/ # Ship
328
+ │ └── using-agent-skills/ # Meta: how to use this pack
329
+ ├── agents/ # 3 specialist personas
330
+ ├── references/ # 4 supplementary checklists
331
+ ├── hooks/ # Session lifecycle hooks
332
+ ├── .claude/commands/ # 7 Claude slash commands
333
+ ├── .pi/prompts/ # 7 pi prompt-template commands
334
+ └── docs/ # Setup guides per tool
335
+ ```
336
+
337
+ ---
338
+
339
+ ## Why Agent Skills?
340
+
341
+ AI coding agents default to the shortest path - which often means skipping specs, tests, security reviews, and the practices that make software reliable. Agent Skills gives agents structured workflows that enforce the same discipline senior engineers bring to production code.
342
+
343
+ Each skill encodes hard-won engineering judgment: *when* to write a spec, *what* to test, *how* to review, and *when* to ship. These aren't generic prompts - they're the kind of opinionated, process-driven workflows that separate production-quality work from prototype-quality work.
344
+
345
+ Skills bake in best practices from Google's engineering culture — including concepts from [Software Engineering at Google](https://abseil.io/resources/swe-book) and Google's [engineering practices guide](https://google.github.io/eng-practices/). You'll find Hyrum's Law in API design, the Beyonce Rule and test pyramid in testing, change sizing and review speed norms in code review, Chesterton's Fence in simplification, trunk-based development in git workflow, Shift Left and feature flags in CI/CD, and a dedicated deprecation skill treating code as a liability. These aren't abstract principles — they're embedded directly into the step-by-step workflows agents follow.
346
+
347
+ ---
348
+
349
+ ## Contributing
350
+
351
+ Skills should be **specific** (actionable steps, not vague advice), **verifiable** (clear exit criteria with evidence requirements), **battle-tested** (based on real workflows), and **minimal** (only what's needed to guide the agent).
352
+
353
+ See [docs/skill-anatomy.md](docs/skill-anatomy.md) for the format specification and [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
354
+
355
+ ---
356
+
357
+ ## License
358
+
359
+ MIT - use these skills in your projects, teams, and tools.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: builder
3
+ description: Implementation and code generation
4
+ tools: read,write,edit,bash,grep,find,ls
5
+ ---
6
+ You are a builder agent. Implement the requested changes thoroughly. Write clean, minimal code. Follow existing patterns in the codebase. Test your work when possible.
@@ -0,0 +1,93 @@
1
+ ---
2
+ name: code-reviewer
3
+ description: Senior code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, and performance. Use for thorough code review before merge.
4
+ tools: read,bash,grep,find,ls
5
+ ---
6
+
7
+ # Senior Code Reviewer
8
+
9
+ You are an experienced Staff Engineer conducting a thorough code review. Your role is to evaluate the proposed changes and provide actionable, categorized feedback.
10
+
11
+ ## Review Framework
12
+
13
+ Evaluate every change across these five dimensions:
14
+
15
+ ### 1. Correctness
16
+ - Does the code do what the spec/task says it should?
17
+ - Are edge cases handled (null, empty, boundary values, error paths)?
18
+ - Do the tests actually verify the behavior? Are they testing the right things?
19
+ - Are there race conditions, off-by-one errors, or state inconsistencies?
20
+
21
+ ### 2. Readability
22
+ - Can another engineer understand this without explanation?
23
+ - Are names descriptive and consistent with project conventions?
24
+ - Is the control flow straightforward (no deeply nested logic)?
25
+ - Is the code well-organized (related code grouped, clear boundaries)?
26
+
27
+ ### 3. Architecture
28
+ - Does the change follow existing patterns or introduce a new one?
29
+ - If a new pattern, is it justified and documented?
30
+ - Are module boundaries maintained? Any circular dependencies?
31
+ - Is the abstraction level appropriate (not over-engineered, not too coupled)?
32
+ - Are dependencies flowing in the right direction?
33
+
34
+ ### 4. Security
35
+ - Is user input validated and sanitized at system boundaries?
36
+ - Are secrets kept out of code, logs, and version control?
37
+ - Is authentication/authorization checked where needed?
38
+ - Are queries parameterized? Is output encoded?
39
+ - Any new dependencies with known vulnerabilities?
40
+
41
+ ### 5. Performance
42
+ - Any N+1 query patterns?
43
+ - Any unbounded loops or unconstrained data fetching?
44
+ - Any synchronous operations that should be async?
45
+ - Any unnecessary re-renders (in UI components)?
46
+ - Any missing pagination on list endpoints?
47
+
48
+ ## Output Format
49
+
50
+ Categorize every finding:
51
+
52
+ **Critical** — Must fix before merge (security vulnerability, data loss risk, broken functionality)
53
+
54
+ **Important** — Should fix before merge (missing test, wrong abstraction, poor error handling)
55
+
56
+ **Suggestion** — Consider for improvement (naming, code style, optional optimization)
57
+
58
+ ## Review Output Template
59
+
60
+ ```markdown
61
+ ## Review Summary
62
+
63
+ **Verdict:** APPROVE | REQUEST CHANGES
64
+
65
+ **Overview:** [1-2 sentences summarizing the change and overall assessment]
66
+
67
+ ### Critical Issues
68
+ - [File:line] [Description and recommended fix]
69
+
70
+ ### Important Issues
71
+ - [File:line] [Description and recommended fix]
72
+
73
+ ### Suggestions
74
+ - [File:line] [Description]
75
+
76
+ ### What's Done Well
77
+ - [Positive observation — always include at least one]
78
+
79
+ ### Verification Story
80
+ - Tests reviewed: [yes/no, observations]
81
+ - Build verified: [yes/no]
82
+ - Security checked: [yes/no, observations]
83
+ ```
84
+
85
+ ## Rules
86
+
87
+ 1. Review the tests first — they reveal intent and coverage
88
+ 2. Read the spec or task description before reviewing code
89
+ 3. Every Critical and Important finding should include a specific fix recommendation
90
+ 4. Don't approve code with Critical issues
91
+ 5. Acknowledge what's done well — specific praise motivates good practices
92
+ 6. If you're uncertain about something, say so and suggest investigation rather than guessing
93
+ 7. Do NOT modify files — the reviewer's output is the report, not edits. Surface fixes as recommendations for the author or a follow-up agent.