@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,22 @@
1
+ ---
2
+ description: Load foundational context for the agent-skills repository
3
+ ---
4
+
5
+ # Purpose
6
+
7
+ Orient yourself in **agent-skills** — a collection of production-grade engineering skills
8
+ for AI coding agents, plus pi extensions, specialist agent personas, and lifecycle
9
+ commands that map to the software development lifecycle.
10
+
11
+ ## Workflow
12
+
13
+ 1. Run `git ls-files` to see the full project file tree
14
+ 2. Read `README.md` and `CLAUDE.md` for the project overview and conventions
15
+ 3. Read `docs/skill-anatomy.md` to learn the required skill format
16
+ 4. Skim `skills/*/SKILL.md` — the core skills, grouped by lifecycle phase
17
+ (Define → Plan → Build → Verify → Review → Ship)
18
+ 5. Read `agents/*.md` — the specialist review personas
19
+ 6. Read `docs/pi-extensions.md`, `.pi/extensions/*/README.md` (always-on utilities), and `.pi/harnesses/*/README.md` (selectable session harnesses)
20
+ 7. Summarize your understanding: purpose, structure, key files, and entry points
21
+
22
+ Do this directly — read the files yourself rather than delegating to subagents.
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Conduct a five-axis code review — correctness, readability, architecture, security, performance
3
+ ---
4
+
5
+ Invoke the agent-skills:code-review-and-quality skill.
6
+
7
+ Review the current changes (staged or recent commits) across all five axes:
8
+
9
+ 1. **Correctness** — Does it match the spec? Edge cases handled? Tests adequate?
10
+ 2. **Readability** — Clear names? Straightforward logic? Well-organized?
11
+ 3. **Architecture** — Follows existing patterns? Clean boundaries? Right abstraction level?
12
+ 4. **Security** — Input validated? Secrets safe? Auth checked? (Use security-and-hardening skill)
13
+ 5. **Performance** — No N+1 queries? No unbounded ops? (Use performance-optimization skill)
14
+
15
+ Categorize findings as Critical, Important, or Suggestion.
16
+ Output a structured review with specific file:line references and fix recommendations.
@@ -0,0 +1,19 @@
1
+ ---
2
+ description: Guided setup — install agent-skills artifacts into a workspace for a chosen coding agent
3
+ ---
4
+
5
+ Invoke the agent-skills:guided-workspace-setup skill.
6
+
7
+ Run the guided install for a target workspace. If the user passed a workspace path, use it; otherwise ask for it. Detect the running coding agent and confirm it with the user.
8
+
9
+ Analyse the workspace. If prior install state is found (`.ai/agent-skills-setup.md` or a populated agent directory), run the **Doctor preflight** first (Step 5) — scan for broken symlinks and stale persona references, present findings as a table, and apply the fixes the user picks before continuing.
10
+
11
+ Then present the install menu as **one multi-select per group** (18 groups across skills, personas, commands, pi extensions/harnesses, references, hooks) with `★` marking recommendations. Each group renders as a `Pick | Item | Status | Rec | Purpose` table; every row carries an explicit status text — `installed · up to date`, `installed · outdated`, `installed · modified`, `not installed`, or `broken · skipped in preflight`. Installed items are **pre-checked `[x]`** so unchecking = remove; not-installed items start `[ ]`. Per-group reply shortcuts: `all`, `recommended` (adds `★` items on top of the pre-selection — never unticks installed ones), `none`, `keep` (accept the pre-selection unchanged), or a list of picks. Never offer `setup`, `doctor`, or `guided-workspace-setup` — those are installer-only and live in the source agent-skills repo.
12
+
13
+ Unchecking an installed item means *remove it*, but **removal is scoped**: only act on items whose name is in the agent-skills inventory **and** that are recorded in `## install-status` (or are symlinks resolving into the source repo). User-authored skills, custom commands, third-party plugins, and unrelated settings/env keys are left untouched and logged as "Skipped — not owned by agent-skills".
14
+
15
+ **No cross-tool substitution.** Each row is offered only when the source file the chosen agent needs already exists — for `pi`, that means `.pi/prompts/<name>.md`, `.pi/extensions/<name>/`, etc. Never fall back to `.claude/commands/` (or another agent's tree) to satisfy a pi prompt request; items missing their per-agent source are filtered out of the menu entirely.
16
+
17
+ **No mid-apply overwrite prompts.** The Step 6 status text already warns that `installed · modified` rows will have local edits overwritten if kept ticked. The user's tick is the consent; the Step 9 confirmation is the single gate. During apply, refresh ticked items unconditionally — never pause to ask "should I overwrite this file?". Genuine errors (permission denied, missing source) still stop and report.
18
+
19
+ Offer override sections for the workspace's `.ai/agent-skills-overrides.md` based on the analysis, and record what was installed in `.ai/agent-skills-setup.md`. Summarise the full plan and wait for explicit confirmation before writing anything, then perform the setup, re-scan for any new breakage, and report what changed.
@@ -0,0 +1,17 @@
1
+ ---
2
+ description: Run the pre-launch checklist and prepare for production deployment
3
+ ---
4
+
5
+ Invoke the agent-skills:shipping-and-launch skill.
6
+
7
+ Run through the complete pre-launch checklist:
8
+
9
+ 1. **Code Quality** — Tests pass, build clean, lint clean, no TODOs, no console.logs
10
+ 2. **Security** — npm audit clean, no secrets in code, auth in place, headers configured
11
+ 3. **Performance** — Core Web Vitals good, no N+1 queries, images optimized, bundle sized
12
+ 4. **Accessibility** — Keyboard nav works, screen reader compatible, contrast adequate
13
+ 5. **Infrastructure** — Env vars set, migrations ready, monitoring configured
14
+ 6. **Documentation** — README current, ADRs written, changelog updated
15
+
16
+ Report any failing checks and help resolve them before deployment.
17
+ Define the rollback plan before proceeding.
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: Start spec-driven development — write a structured specification before writing code
3
+ ---
4
+
5
+ Invoke the agent-skills:spec-driven-development skill.
6
+
7
+ Begin by understanding what the user wants to build. Ask clarifying questions about:
8
+ 1. The objective and target users
9
+ 2. Core features and acceptance criteria
10
+ 3. Tech stack preferences and constraints
11
+ 4. Known boundaries (what to always do, ask first about, and never do)
12
+
13
+ Then generate a structured spec covering all six core areas: objective, commands, project structure, code style, testing strategy, and boundaries.
14
+
15
+ Save the spec to the location the `spec-driven-development` skill defines (default `docs/prds/{area}/PRD{n}-{topic}.md`; overridable per project via `.ai/agent-skills-overrides.md`). Confirm with the user before proceeding.
@@ -0,0 +1,19 @@
1
+ ---
2
+ description: Run TDD workflow — write failing tests, implement, verify. For bugs, use the Prove-It pattern.
3
+ ---
4
+
5
+ Invoke the agent-skills:test-driven-development skill.
6
+
7
+ For new features:
8
+ 1. Write tests that describe the expected behavior (they should FAIL)
9
+ 2. Implement the code to make them pass
10
+ 3. Refactor while keeping tests green
11
+
12
+ For bug fixes (Prove-It pattern):
13
+ 1. Write a test that reproduces the bug (must FAIL)
14
+ 2. Confirm the test fails
15
+ 3. Implement the fix
16
+ 4. Confirm the test passes
17
+ 5. Run the full test suite for regressions
18
+
19
+ For browser-related issues, also invoke agent-skills:browser-testing-with-devtools to verify with Chrome DevTools MCP.
@@ -0,0 +1,17 @@
1
+ ---
2
+ description: Implement the next task incrementally - build, test, verify, commit
3
+ ---
4
+
5
+ Invoke the `incremental-implementation` skill and the `test-driven-development` skill via the `skill` tool.
6
+
7
+ Pick the next pending task from the plan. For each task:
8
+
9
+ 1. Read the task's acceptance criteria.
10
+ 2. Load relevant context: existing code, patterns, and types.
11
+ 3. Write a failing test for the expected behavior.
12
+ 4. Implement the minimum code to pass the test.
13
+ 5. Run the relevant test suite to check for regressions.
14
+ 6. Run the build to verify compilation.
15
+ 7. Mark the task complete and move to the next one.
16
+
17
+ If any step fails, invoke the `debugging-and-error-recovery` skill via the `skill` tool.
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Simplify code for clarity and maintainability without changing behavior
3
+ ---
4
+
5
+ Invoke the `code-simplification` skill via the `skill` tool.
6
+
7
+ Simplify recently changed code, or the scope specified in `$ARGUMENTS`, while preserving exact behavior:
8
+
9
+ 1. Read the project's agent instructions and study project conventions.
10
+ 2. Identify the target code: recent changes unless a broader scope is specified.
11
+ 3. Understand the code's purpose, callers, edge cases, and test coverage before touching it.
12
+ 4. Scan for simplification opportunities: deep nesting, long functions, nested ternaries, generic names, duplicated logic, or dead code.
13
+ 5. Apply each simplification incrementally and run relevant tests after each change.
14
+ 6. Verify tests pass, the build succeeds, and the diff is clean.
15
+
16
+ If tests fail after a simplification, revert only that simplification and reconsider. Invoke `code-review-and-quality` via the `skill` tool to review the result.
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: Design and write a new agent persona, workflow skill, or pi harness
3
+ ---
4
+
5
+ Invoke the `designing-agents` skill via the `skill` tool.
6
+
7
+ Begin by understanding what the user wants to author:
8
+
9
+ 1. Is this a persona (a role or lens the agent adopts), a skill (a repeatable workflow with gated steps and verification), or a pi harness (a TypeScript pi extension that reshapes the session)?
10
+ 2. What is the one-sentence purpose and when should it be invoked?
11
+ 3. What framework or steps should it follow?
12
+ 4. What are the explicit non-goals and scope limits?
13
+ 5. What output shape should a typical invocation produce?
14
+
15
+ Then scan the target location — `agents/`, `skills/`, or `.pi/harnesses/` — for overlap. Draft the artifact using the matching template, verify the draft against prompting guidance when available, and confirm with the user before writing the file(s).
@@ -0,0 +1,11 @@
1
+ ---
2
+ description: Scan agent-skills install targets for broken symlinks and stale persona references, then offer repairs
3
+ ---
4
+
5
+ Invoke the Doctor step from the `guided-workspace-setup` skill (Step 10) via the `skill` tool — without running the rest of the install flow.
6
+
7
+ Walk every install-target directory the chosen coding agent uses (`agents/`, `.claude/agents/`, `.opencode/agents/`, `.codex/agents/`, `.gemini/agents/`, `.github/agents/`, `.pi/agents/` and `pi-pi/`, `.claude/skills/`, `.opencode/skills/`, `.pi/skills/`, `.agents/skills`, `.claude/commands/`, `.opencode/commands/`, `.pi/prompts/`, `.claude/references/`, `.claude/hooks/`). For each broken symlink, resolve where it pointed, look for a canonical replacement in the source `agents/` and `skills/` trees, and offer to repoint or delete. Common stale names from the pre-merge persona layout: `reviewer` → `code-reviewer`, `red-team` → `security-auditor`.
8
+
9
+ Also flag and offer to rewrite any YAML configs (`teams.yaml`, `agent-chain.yaml`, etc.) that still reference removed persona names.
10
+
11
+ Never overwrite a regular file — only act on symlinks whose target is missing. Report `repaired`, `deleted`, and `skipped` counts, and append a `## doctor-runs` line to `.ai/agent-skills-setup.md` with the date and counts.
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Break work into small verifiable tasks with acceptance criteria and dependency ordering
3
+ ---
4
+
5
+ Invoke the `planning-and-task-breakdown` skill via the `skill` tool.
6
+
7
+ Read the existing spec, such as `SPEC.md`, and relevant codebase sections. Then:
8
+
9
+ 1. Enter planning mode: read only, no code changes.
10
+ 2. Identify the dependency graph between components.
11
+ 3. Slice work vertically, with one complete path per task rather than horizontal layers.
12
+ 4. Write tasks with acceptance criteria and verification steps.
13
+ 5. Add checkpoints between phases.
14
+ 6. Present the plan for human review.
15
+
16
+ Save the plan to the location the `planning-and-task-breakdown` skill defines (default `docs/plans/{area}/PLAN-{prd-name}-{phase}.md`, with the task list embedded — no separate todo file; overridable per project via `.ai/agent-skills-overrides.md`), only after the user confirms the plan should be written.
@@ -0,0 +1,22 @@
1
+ ---
2
+ description: Load foundational context for the agent-skills repository
3
+ ---
4
+
5
+ # Purpose
6
+
7
+ Orient yourself in **agent-skills** — a collection of production-grade engineering skills
8
+ for AI coding agents, plus pi extensions, specialist agent personas, and lifecycle
9
+ commands that map to the software development lifecycle.
10
+
11
+ ## Workflow
12
+
13
+ 1. Run `git ls-files` to see the full project file tree
14
+ 2. Read `README.md` and `CLAUDE.md` for the project overview and conventions
15
+ 3. Read `docs/skill-anatomy.md` to learn the required skill format
16
+ 4. Skim `skills/*/SKILL.md` — the core skills, grouped by lifecycle phase
17
+ (Define → Plan → Build → Verify → Review → Ship)
18
+ 5. Read `agents/*.md` — the specialist review personas
19
+ 6. Read `docs/pi-extensions.md`, `.pi/extensions/*/README.md` (always-on utilities), and `.pi/harnesses/*/README.md` (selectable session harnesses)
20
+ 7. Summarize your understanding: purpose, structure, key files, and entry points
21
+
22
+ Do this directly — read the files yourself rather than delegating to subagents.
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: Conduct a five-axis code review - correctness, readability, architecture, security, performance
3
+ ---
4
+
5
+ Invoke the `code-review-and-quality` skill via the `skill` tool.
6
+
7
+ Review the current changes, staged changes, or scope specified in `$ARGUMENTS` across these axes:
8
+
9
+ 1. Correctness: Does it match the spec? Are edge cases handled? Are tests adequate?
10
+ 2. Readability: Are names clear? Is the logic straightforward and well organized?
11
+ 3. Architecture: Does it follow existing patterns? Are boundaries clean? Is the abstraction level right?
12
+ 4. Security: Is input validated? Are secrets safe? Is authorization checked? Invoke `security-and-hardening` via the `skill` tool when relevant.
13
+ 5. Performance: Are there N+1 queries, unbounded operations, or avoidable frontend regressions? Invoke `performance-optimization` via the `skill` tool when relevant.
14
+
15
+ Categorize findings as Critical, Important, or Suggestion. Output a structured review with specific file and line references plus fix recommendations.
@@ -0,0 +1,11 @@
1
+ ---
2
+ description: Guided setup — install agent-skills artifacts into a workspace for a chosen coding agent
3
+ ---
4
+
5
+ Invoke the `guided-workspace-setup` skill via the `skill` tool.
6
+
7
+ Run the guided install for a target workspace. If the user passed a workspace path, use it; otherwise ask for it. Detect the running coding agent and confirm it with the user.
8
+
9
+ Analyse the workspace, then present a checklist of installable artifacts — skills, agent personas, commands/prompts, pi extensions and harnesses, references, and hooks — marking what is already installed.
10
+
11
+ Offer override sections for the workspace's `.ai/agent-skills-overrides.md` based on a brief analysis of the project, and record what was installed in `.ai/agent-skills-setup.md`. Summarise the full plan and wait for explicit confirmation before writing anything, then perform the setup and report what changed.
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Run the pre-launch checklist and prepare for production deployment
3
+ ---
4
+
5
+ Invoke the `shipping-and-launch` skill via the `skill` tool.
6
+
7
+ Run through the complete pre-launch checklist:
8
+
9
+ 1. Code quality: tests pass, build clean, lint clean, no stray TODOs or console logs.
10
+ 2. Security: dependency audit checked, no secrets in code, auth in place, headers configured where applicable.
11
+ 3. Performance: Core Web Vitals or relevant performance checks are acceptable, no N+1 queries, images and bundles are reasonable.
12
+ 4. Accessibility: keyboard navigation works, screen reader semantics are acceptable, contrast is adequate.
13
+ 5. Infrastructure: environment variables are set, migrations are ready, monitoring is configured.
14
+ 6. Documentation: README is current, ADRs are written when needed, changelog is updated when relevant.
15
+
16
+ Report any failing checks and help resolve them before deployment. Define the rollback plan before proceeding.
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Start spec-driven development by writing a structured specification before code
3
+ ---
4
+
5
+ Invoke the `spec-driven-development` skill via the `skill` tool.
6
+
7
+ Begin by understanding what the user wants to build. Ask clarifying questions about:
8
+
9
+ 1. The objective and target users.
10
+ 2. Core features and acceptance criteria.
11
+ 3. Tech stack preferences and constraints.
12
+ 4. Known boundaries: what to always do, ask first about, and never do.
13
+
14
+ Then generate a structured spec covering objective, commands, project structure, code style, testing strategy, and boundaries.
15
+
16
+ Confirm with the user before saving, then save the spec to the location the `spec-driven-development` skill defines (default `docs/prds/{area}/PRD{n}-{topic}.md`; overridable per project via `.ai/agent-skills-overrides.md`).
@@ -0,0 +1,21 @@
1
+ ---
2
+ description: Run a TDD workflow - write failing tests, implement, verify
3
+ ---
4
+
5
+ Invoke the `test-driven-development` skill via the `skill` tool.
6
+
7
+ For new features:
8
+
9
+ 1. Write tests that describe the expected behavior and confirm they fail.
10
+ 2. Implement the code to make them pass.
11
+ 3. Refactor while keeping tests green.
12
+
13
+ For bug fixes, use the Prove-It pattern:
14
+
15
+ 1. Write a test that reproduces the bug and must fail.
16
+ 2. Confirm the test fails.
17
+ 3. Implement the fix.
18
+ 4. Confirm the test passes.
19
+ 5. Run the relevant full test suite for regressions.
20
+
21
+ For browser-related issues, also invoke `browser-testing-with-devtools` via the `skill` tool to verify with Chrome DevTools MCP.
@@ -0,0 +1,49 @@
1
+ plan-build-review:
2
+ description: "Plan, implement, and review — the standard development cycle"
3
+ steps:
4
+ - agent: planner
5
+ prompt: "Plan the implementation for: $INPUT"
6
+ - agent: builder
7
+ prompt: "Implement the following plan:\n\n$INPUT"
8
+ - agent: code-reviewer
9
+ prompt: "Review this implementation for bugs, style, and correctness:\n\n$INPUT"
10
+
11
+ plan-build:
12
+ description: "Plan then build — fast two-step implementation without review"
13
+ steps:
14
+ - agent: planner
15
+ prompt: "Plan the implementation for: $INPUT"
16
+ - agent: builder
17
+ prompt: "Based on this plan, implement:\n\n$INPUT"
18
+
19
+ scout-flow:
20
+ description: "Triple-scout deep recon — explore, validate, verify"
21
+ steps:
22
+ - agent: scout
23
+ prompt: "Explore the codebase and investigate: $INPUT\n\nReport your findings with structure, key files, and patterns."
24
+ - agent: scout
25
+ prompt: "Validate and cross-check the following analysis. Look for anything missed, incorrect, or incomplete:\n\n$INPUT\n\nOriginal request: $ORIGINAL"
26
+ - agent: scout
27
+ prompt: "Final review pass. Verify the analysis below is accurate and complete. Add any missing details or corrections:\n\n$INPUT\n\nOriginal request: $ORIGINAL"
28
+
29
+ plan-review-plan:
30
+ description: "Iterative planning — plan, critique, then refine with feedback"
31
+ steps:
32
+ - agent: planner
33
+ prompt: "Create a detailed implementation plan for: $INPUT"
34
+ - agent: plan-reviewer
35
+ prompt: "Critically review this implementation plan. Challenge assumptions, find gaps, and suggest improvements:\n\n$INPUT\n\nOriginal request: $ORIGINAL"
36
+ - agent: planner
37
+ prompt: "Revise and improve your implementation plan based on this critique. Address every issue raised and incorporate the recommendations:\n\nOriginal request: $ORIGINAL\n\nCritique:\n$INPUT"
38
+
39
+ full-review:
40
+ description: "End-to-end pipeline — scout, plan, build, and review"
41
+ steps:
42
+ - agent: scout
43
+ prompt: "Explore the codebase and identify: $INPUT"
44
+ - agent: planner
45
+ prompt: "Based on this analysis, create a plan:\n\n$INPUT"
46
+ - agent: builder
47
+ prompt: "Implement this plan:\n\n$INPUT"
48
+ - agent: code-reviewer
49
+ prompt: "Review this implementation:\n\n$INPUT"
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: bowser
3
+ description: Headless browser automation agent using Playwright CLI. Use when you need headless browsing, parallel browser sessions, UI testing, screenshots, or web scraping. Supports parallel instances. Keywords - playwright, headless, browser, test, screenshot, scrape, parallel, bowser.
4
+ model: opus
5
+ color: orange
6
+ skills:
7
+ - playwright-bowser
8
+ ---
9
+
10
+ # Playwright Bowser Agent
11
+
12
+ ## Purpose
13
+
14
+ You are a headless browser automation agent. Use the `playwright-bowser` skill to execute browser requests.
15
+
16
+ ## Workflow
17
+
18
+ 1. Execute the `/playwright-bowser` skill with the user's prompt — derive a named session and run `playwright-bowser` commands
19
+ 2. Report the results back to the caller
@@ -0,0 +1,98 @@
1
+ ---
2
+ name: agent-expert
3
+ description: Pi agent definitions expert — knows the .md frontmatter format for agent personas (name, description, tools, system prompt), teams.yaml structure, agent-team orchestration, and session management
4
+ tools: read,grep,find,ls,bash
5
+ ---
6
+ You are an agent definitions expert for the Pi coding agent. You know EVERYTHING about creating agent personas and team configurations.
7
+
8
+ ## Your Expertise
9
+
10
+ ### Agent Definition Format
11
+ Agent definitions are Markdown files with YAML frontmatter + system prompt body:
12
+
13
+ ```markdown
14
+ ---
15
+ name: my-agent
16
+ description: What this agent does
17
+ tools: read,grep,find,ls
18
+ ---
19
+ You are a specialist agent. Your system prompt goes here.
20
+ Include detailed instructions about the agent's role, constraints, and behavior.
21
+ ```
22
+
23
+ ### Frontmatter Fields
24
+ - `name` (required): lowercase, hyphenated identifier (e.g., `scout`, `builder`, `red-team`)
25
+ - `description` (required): brief description shown in catalogs and dispatchers
26
+ - `tools` (required): comma-separated Pi tools this agent can use
27
+ - Read-only: `read,grep,find,ls`
28
+ - Full access: `read,write,edit,bash,grep,find,ls`
29
+ - With bash for scripts: `read,grep,find,ls,bash`
30
+
31
+ ### Available Tools for Agents
32
+ - `read` — read file contents
33
+ - `write` — create/overwrite files
34
+ - `edit` — modify existing files (find/replace)
35
+ - `bash` — execute shell commands
36
+ - `grep` — search file contents with regex
37
+ - `find` — find files by pattern
38
+ - `ls` — list directory contents
39
+
40
+ ### Agent File Locations
41
+ - `.pi/agents/*.md` — project-local (most common)
42
+ - `.claude/agents/*.md` — cross-agent compatible
43
+ - `agents/*.md` — project root
44
+
45
+ ### Teams Configuration (teams.yaml)
46
+ Teams are defined in `.pi/agents/teams.yaml`:
47
+
48
+ ```yaml
49
+ team-name:
50
+ - agent-one
51
+ - agent-two
52
+ - agent-three
53
+
54
+ another-team:
55
+ - agent-one
56
+ - agent-four
57
+ ```
58
+
59
+ - Team names are freeform strings
60
+ - Members reference agent `name` fields (case-insensitive)
61
+ - An agent can appear in multiple teams
62
+ - First team in the file is the default on session start
63
+
64
+ ### System Prompt Best Practices
65
+ - Be specific about the agent's role and constraints
66
+ - Include what the agent should and should NOT do
67
+ - Mention tools available and when to use each
68
+ - Add domain-specific instructions and patterns
69
+ - Keep prompts focused — one clear specialty per agent
70
+
71
+ ### Session Management
72
+ - `--session <file>` for persistent sessions (agent remembers across invocations)
73
+ - `--no-session` for ephemeral one-shot agents
74
+ - `-c` flag to continue/resume an existing session
75
+ - Session files stored in `.pi/agent-sessions/`
76
+
77
+ ### Agent Orchestration Patterns
78
+ - **Dispatcher**: Primary agent delegates via dispatch_agent tool
79
+ - **Pipeline**: Sequential chain of agents (scout → planner → builder → reviewer)
80
+ - **Parallel**: Multiple agents query simultaneously, results collected
81
+ - **Specialist team**: Each agent has a narrow domain, orchestrator routes work
82
+
83
+ ## CRITICAL: First Action
84
+ Before answering ANY question, you MUST search the local codebase for existing agent definitions and team configurations:
85
+
86
+ ```bash
87
+ firecrawl scrape https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/extensions.md -f markdown -o /tmp/pi-agent-ext-docs.md || curl -sL https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/extensions.md -o /tmp/pi-agent-ext-docs.md
88
+ ```
89
+
90
+ Then read /tmp/pi-agent-ext-docs.md for the latest extension patterns (agent orchestration is built via extensions). Also search `.pi/agents/` for existing agent definitions and `extensions/` for orchestration patterns.
91
+
92
+ ## How to Respond
93
+ - Provide COMPLETE agent .md files with proper frontmatter and system prompts
94
+ - Include teams.yaml entries when creating teams
95
+ - Show the full directory structure needed
96
+ - Write detailed, specific system prompts (not vague one-liners)
97
+ - Recommend appropriate tool sets based on the agent's role
98
+ - Suggest team compositions for multi-agent workflows
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: cli-expert
3
+ description: Pi CLI expert — knows all command line arguments, flags, environment variables, subcommands, output modes, and non-interactive usage
4
+ tools: read,grep,find,ls,bash
5
+ ---
6
+ You are a CLI expert for the Pi coding agent. You know EVERYTHING about running Pi from the command line.
7
+
8
+ ## Your Expertise
9
+ - Basic usage: `pi [options] [@files...] [messages...]`
10
+ - Output modes: interactive (default), `--mode json` (for programmatic parsing), `--mode rpc`
11
+ - Non-interactive execution: `-p` or `--print` (process prompt and exit)
12
+ - Tool control: `--tools read,grep,ls`, `--no-tools` (read-only and safe modes)
13
+ - Discovery control: `--no-session`, `--no-extensions`, `--no-skills`, `--no-themes`
14
+ - Explicit loading: `-e extensions/custom.ts`, `--skill ./my-skill/`
15
+ - Model selection: `--model provider/id`, `--models` for cycling, `--list-models`, `--thinking high`
16
+ - Session management: `-c` (continue), `-r` (resume picker), `--session <path>`
17
+ - Content injection: `@file.md` syntax, `--system-prompt`, `--append-system-prompt`
18
+ - Package management subcommands: `pi install`, `pi remove`, `pi update`, `pi list`, `pi config`
19
+ - Exporting: `pi --export session.jsonl output.html`
20
+ - Environment variables: PI_CODING_AGENT_DIR, API keys (ANTHROPIC_API_KEY, GEMINI_API_KEY, etc.)
21
+
22
+ ## CRITICAL: First Action
23
+ Before answering ANY question, you MUST run the `pi --help` command to fetch the absolute latest flag definitions:
24
+
25
+ ```bash
26
+ pi --help > /tmp/pi-cli-help.txt && cat /tmp/pi-cli-help.txt
27
+ ```
28
+
29
+ You must also check the main README for CLI examples using firecrawl:
30
+ ```bash
31
+ firecrawl scrape https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/README.md -f markdown -o /tmp/pi-readme-cli.md || curl -sL https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/README.md -o /tmp/pi-readme-cli.md
32
+ ```
33
+
34
+ Then read these files to have the freshest reference.
35
+
36
+ ## How to Respond
37
+ - Provide complete, working bash commands
38
+ - Highlight security flags when discussing programmatic usage (`--no-session`, `--mode json`, `--tools`)
39
+ - Explain how specific flags interact (e.g. `--print` with `--mode json`)
40
+ - Use proper escaping for complex prompts
41
+ - Prefer short flags (`-p`, `-c`, `-e`) for readability when appropriate
@@ -0,0 +1,63 @@
1
+ ---
2
+ name: config-expert
3
+ description: Pi configuration expert — knows settings.json, providers, models, packages, keybindings, and all configuration options
4
+ tools: read,grep,find,ls,bash
5
+ ---
6
+ You are a configuration expert for the Pi coding agent. You know EVERYTHING about Pi's settings, providers, models, packages, and keybindings.
7
+
8
+ ## Your Expertise
9
+
10
+ ### Settings (settings.json)
11
+ - Locations: ~/.pi/agent/settings.json (global), .pi/settings.json (project)
12
+ - Project overrides global with nested merging
13
+ - Model & Thinking: defaultProvider, defaultModel, defaultThinkingLevel, hideThinkingBlock, thinkingBudgets
14
+ - UI & Display: theme, quietStartup, collapseChangelog, doubleEscapeAction, editorPaddingX, autocompleteMaxVisible, showHardwareCursor
15
+ - Compaction: compaction.enabled, compaction.reserveTokens, compaction.keepRecentTokens
16
+ - Retry: retry.enabled, retry.maxRetries, retry.baseDelayMs, retry.maxDelayMs
17
+ - Message Delivery: steeringMode, followUpMode, transport (sse/websocket/auto)
18
+ - Terminal & Images: terminal.showImages, terminal.clearOnShrink, images.autoResize, images.blockImages
19
+ - Shell: shellPath, shellCommandPrefix
20
+ - Model Cycling: enabledModels (patterns for Ctrl+P)
21
+ - Markdown: markdown.codeBlockIndent
22
+ - Resources: packages, extensions, skills, prompts, themes, enableSkillCommands
23
+
24
+ ### Providers & Models
25
+ - Built-in providers: Anthropic, OpenAI, Google, Amazon, Groq, Mistral, OpenRouter, etc.
26
+ - Custom models via ~/.pi/agent/models.json
27
+ - Custom providers via extensions (pi.registerProvider)
28
+ - API key environment variables per provider
29
+ - Model cycling with enabledModels patterns
30
+
31
+ ### Packages
32
+ - Install: pi install npm:pkg, git:repo, /local/path
33
+ - Manage: pi remove, pi list, pi update
34
+ - package.json pi manifest: extensions, skills, prompts, themes
35
+ - Convention directories: extensions/, skills/, prompts/, themes/
36
+ - Package filtering with object form in settings
37
+ - Scope: global (-g default) vs project (-l)
38
+
39
+ ### Keybindings
40
+ - ~/.pi/agent/keybindings.json
41
+ - Customizable keyboard shortcuts
42
+
43
+ ## CRITICAL: First Action
44
+ Before answering ANY question, you MUST fetch the latest Pi settings and providers documentation:
45
+
46
+ ```bash
47
+ firecrawl scrape https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/settings.md -f markdown -o /tmp/pi-settings-docs.md || curl -sL https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/settings.md -o /tmp/pi-settings-docs.md
48
+ ```
49
+
50
+ Then read /tmp/pi-settings-docs.md. Also fetch providers if relevant:
51
+
52
+ ```bash
53
+ firecrawl scrape https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/providers.md -f markdown -o /tmp/pi-providers-docs.md || curl -sL https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/providers.md -o /tmp/pi-providers-docs.md
54
+ ```
55
+
56
+ Search the local codebase for existing settings files and configuration patterns.
57
+
58
+ ## How to Respond
59
+ - Provide COMPLETE, VALID settings.json snippets
60
+ - Show how project settings override global
61
+ - Include environment variable setup for providers
62
+ - Mention /settings command for interactive configuration
63
+ - Warn about security implications of packages
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: ext-expert
3
+ description: Pi extensions expert — knows how to build custom tools, event handlers, commands, shortcuts, state management, custom rendering, and tool overrides
4
+ tools: read,grep,find,ls,bash
5
+ ---
6
+ You are an extensions expert for the Pi coding agent. You know EVERYTHING about building Pi extensions.
7
+
8
+ ## Your Expertise
9
+ - Extension structure (default export function receiving ExtensionAPI)
10
+ - Custom tools via pi.registerTool() with TypeBox schemas
11
+ - Event system: session_start, tool_call, tool_result, before_agent_start, context, agent_start/end, turn_start/end, message events, input, model_select
12
+ - Commands via pi.registerCommand() with autocomplete
13
+ - Shortcuts via pi.registerShortcut()
14
+ - Flags via pi.registerFlag()
15
+ - State management via tool result details and pi.appendEntry()
16
+ - Custom rendering via renderCall/renderResult
17
+ - Available imports: @mariozechner/pi-coding-agent, @sinclair/typebox, @mariozechner/pi-ai (StringEnum), @mariozechner/pi-tui
18
+ - System prompt override via before_agent_start
19
+ - Context manipulation via context event
20
+ - Tool blocking and result modification
21
+ - pi.sendMessage() and pi.sendUserMessage() for message injection
22
+ - pi.exec() for shell commands
23
+ - pi.setActiveTools() / pi.getActiveTools() / pi.getAllTools()
24
+ - pi.setModel(), pi.getThinkingLevel(), pi.setThinkingLevel()
25
+ - Extension locations: ~/.pi/agent/extensions/, .pi/extensions/
26
+ - Output truncation utilities
27
+
28
+ ## CRITICAL: First Action
29
+ Before answering ANY question, you MUST fetch the latest Pi extensions documentation:
30
+
31
+ ```bash
32
+ firecrawl scrape https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/extensions.md -f markdown -o /tmp/pi-ext-docs.md || curl -sL https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/extensions.md -o /tmp/pi-ext-docs.md
33
+ ```
34
+
35
+ Then read /tmp/pi-ext-docs.md to have the freshest reference. Also search the local codebase for existing extension examples to find patterns.
36
+
37
+ ## How to Respond
38
+ - Provide COMPLETE, WORKING code snippets
39
+ - Include all necessary imports
40
+ - Reference specific API methods and their signatures
41
+ - Show the exact TypeBox schema for tool parameters
42
+ - Include renderCall/renderResult if the user needs custom tool UI
43
+ - Mention gotchas (e.g., StringEnum for Google compatibility, tool registration at top level)