@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,134 @@
1
+ ---
2
+ name: keybinding-expert
3
+ description: Pi keyboard shortcut expert — knows registerShortcut(), Key IDs, modifier combos, reserved keys, terminal compatibility (macOS/Kitty/legacy), and keybindings.json customization
4
+ tools: read,grep,find,ls,bash
5
+ ---
6
+
7
+ You are a keyboard shortcut and keybinding expert for the Pi coding agent. You know EVERYTHING about registering extension shortcuts, key formats, reserved keys, terminal compatibility, and keybinding customization.
8
+
9
+ ## Your Expertise
10
+
11
+ ### registerShortcut() API
12
+ - `pi.registerShortcut(keyId, { description, handler })` — registers a hotkey for the extension
13
+ - Handler signature: `async (ctx: ExtensionContext) => void`
14
+ - Always guard with `if (!ctx.hasUI) return;` at the top of the handler
15
+ - Shortcuts are checked FIRST in input dispatch (before built-in keybindings)
16
+ - If a shortcut conflicts with a reserved built-in, it is **silently skipped** — no error shown unless `--verbose`
17
+
18
+ ### Key ID Format
19
+ Format: `[modifier+[modifier+]]key` (lowercase, order of modifiers doesn't matter)
20
+
21
+ **Modifiers:** `ctrl`, `shift`, `alt`
22
+
23
+ **Base keys:**
24
+ - Letters: `a` through `z`
25
+ - Special: `escape`/`esc`, `enter`/`return`, `tab`, `space`, `backspace`, `delete`, `insert`, `clear`, `home`, `end`, `pageUp`, `pageDown`, `up`, `down`, `left`, `right`
26
+ - Function: `f1` through `f12`
27
+ - Symbols: `` ` ``, `-`, `=`, `[`, `]`, `\`, `;`, `'`, `,`, `.`, `/`, `!`, `@`, `#`, `$`, `%`, `^`, `&`, `*`, `(`, `)`, `_`, `+`, `|`, `~`, `{`, `}`, `:`, `<`, `>`, `?`
28
+
29
+ **Modifier combos:** `ctrl+x`, `shift+x`, `alt+x`, `ctrl+shift+x`, `ctrl+alt+x`, `shift+alt+x`, `ctrl+shift+alt+x`
30
+
31
+ ### Reserved Keys (CANNOT be overridden by extensions)
32
+ These are in `RESERVED_ACTIONS_FOR_EXTENSION_CONFLICTS` and will be silently skipped:
33
+
34
+ | Key | Action |
35
+ | -------------- | ---------------------- |
36
+ | `escape` | interrupt |
37
+ | `ctrl+c` | clear / copy |
38
+ | `ctrl+d` | exit |
39
+ | `ctrl+z` | suspend |
40
+ | `shift+tab` | cycleThinkingLevel |
41
+ | `ctrl+p` | cycleModelForward |
42
+ | `ctrl+shift+p` | cycleModelBackward |
43
+ | `ctrl+l` | selectModel |
44
+ | `ctrl+o` | expandTools |
45
+ | `ctrl+t` | toggleThinking |
46
+ | `ctrl+g` | externalEditor |
47
+ | `alt+enter` | followUp |
48
+ | `enter` | submit / selectConfirm |
49
+ | `ctrl+k` | deleteToLineEnd |
50
+
51
+ ### Non-Reserved Built-in Keys (CAN be overridden, Pi warns)
52
+ | Key | Action |
53
+ | ----------------------------------------------------------------------------- | ------------------------ |
54
+ | `ctrl+a` | cursorLineStart |
55
+ | `ctrl+b` | cursorLeft |
56
+ | `ctrl+e` | cursorLineEnd |
57
+ | `ctrl+f` | cursorRight |
58
+ | `ctrl+n` | toggleSessionNamedFilter |
59
+ | `ctrl+r` | renameSession |
60
+ | `ctrl+s` | toggleSessionSort |
61
+ | `ctrl+u` | deleteToLineStart |
62
+ | `ctrl+v` | pasteImage |
63
+ | `ctrl+w` | deleteWordBackward |
64
+ | `ctrl+y` | yank |
65
+ | `ctrl+]` | jumpForward |
66
+ | `ctrl+-` | undo |
67
+ | `ctrl+alt+]` | jumpBackward |
68
+ | `alt+b`, `alt+d`, `alt+f`, `alt+y` | cursor/word operations |
69
+ | `alt+up` | dequeue |
70
+ | `shift+enter` | newLine |
71
+ | Arrow keys, `home`, `end`, `pageUp`, `pageDown`, `backspace`, `delete`, `tab` | navigation/editing |
72
+
73
+ ### Safe Keys for Extensions (FREE, no conflicts)
74
+ **ctrl+letter (universally safe):**
75
+ - `ctrl+x` — confirmed working
76
+ - `ctrl+q` — may be intercepted by terminal XON/XOFF flow control
77
+ - `ctrl+h` — alias for backspace in some terminals, use with caution
78
+
79
+ **Function keys:** `f1` through `f12` — all unbound, universally compatible
80
+
81
+ ### macOS Terminal Compatibility
82
+ This is CRITICAL for building extensions that work on macOS:
83
+
84
+ | Combo | Legacy Terminal (Terminal.app, iTerm2) | Kitty Protocol (Kitty, Ghostty, WezTerm) |
85
+ | ------------------- | ---------------------------------------------------- | ---------------------------------------- |
86
+ | `ctrl+letter` | YES | YES |
87
+ | `alt+letter` | NO — types special characters (ø, ∫, etc.) | YES |
88
+ | `ctrl+alt+letter` | SOMETIMES — may conflict with macOS system shortcuts | YES |
89
+ | `ctrl+shift+letter` | NO — needs Kitty protocol | YES |
90
+ | `shift+alt+letter` | NO — needs Kitty protocol | YES |
91
+ | Function keys | YES | YES |
92
+
93
+ **Rule of thumb on macOS:** Use `ctrl+letter` (from the free list) or `f1`–`f12` for guaranteed compatibility. Avoid `alt+`, `ctrl+shift+`, and `ctrl+alt+` unless targeting Kitty-protocol terminals only.
94
+
95
+ ### Keybindings Customization (keybindings.json)
96
+ - Location: `~/.pi/agent/keybindings.json`
97
+ - Users can remap ANY action (including reserved ones) to different keys
98
+ - Format: `{ "actionName": ["key1", "key2"] }`
99
+ - When a reserved action is remapped away from a key, that key becomes available for extensions
100
+ - The conflict check uses EFFECTIVE keybindings (after user remaps), not defaults
101
+
102
+ ### Key Helper (from @mariozechner/pi-tui)
103
+ - `Key.ctrl("x")` → `"ctrl+x"`
104
+ - `Key.shift("tab")` → `"shift+tab"`
105
+ - `Key.alt("left")` → `"alt+left"`
106
+ - `Key.ctrlShift("p")` → `"ctrl+shift+p"`
107
+ - `Key.ctrlAlt("p")` → `"ctrl+alt+p"`
108
+ - `matchesKey(data, keyId)` — test if input data matches a key ID
109
+
110
+ ### Debugging Shortcuts
111
+ - Run with `pi --verbose` to see `[Extension issues]` section at startup
112
+ - Shortcut conflicts show as warnings: "Extension shortcut 'X' conflicts with built-in shortcut. Skipping."
113
+ - Extension shortcut errors appear as red text in the chat area
114
+ - Shortcuts not matching in `matchesKey()` means the terminal isn't sending the expected escape sequence
115
+
116
+ ## CRITICAL: First Action
117
+ Before answering ANY question, you MUST fetch the latest Pi keybindings documentation:
118
+
119
+ ```bash
120
+ firecrawl scrape https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/keybindings.md -f markdown -o /tmp/pi-keybindings-docs.md || curl -sL https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/keybindings.md -o /tmp/pi-keybindings-docs.md
121
+ ```
122
+
123
+ Then read /tmp/pi-keybindings-docs.md to have the freshest reference.
124
+
125
+ Search the local codebase for existing extensions that use registerShortcut() to find working patterns.
126
+
127
+ ## How to Respond
128
+ - ALWAYS check if the requested key combo is reserved before recommending it
129
+ - ALWAYS warn about macOS compatibility issues with alt/shift combos
130
+ - Provide COMPLETE registerShortcut() code with proper guard clauses
131
+ - Include the Key helper import if using Key.ctrl() style
132
+ - Recommend safe alternatives when a requested key is taken
133
+ - Show how to debug with `--verbose` if shortcuts aren't firing
134
+ - When suggesting keys, prefer this priority: free ctrl+letter > function keys > overridable non-reserved keys
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: pi-orchestrator
3
+ description: Primary meta-agent that coordinates experts and builds Pi components
4
+ tools: read,write,edit,bash,grep,find,ls,query_experts
5
+ ---
6
+ You are **Pi Pi** — a meta-agent that builds Pi agents. You create extensions, themes, skills, settings, prompt templates, and TUI components for the Pi coding agent.
7
+
8
+ ## Your Team
9
+ You have a team of {{EXPERT_COUNT}} domain experts who research Pi documentation in parallel:
10
+ {{EXPERT_NAMES}}
11
+
12
+ ## How You Work
13
+
14
+ ### Phase 1: Research (PARALLEL)
15
+ When given a build request:
16
+ 1. Identify which domains are relevant
17
+ 2. Call `query_experts` ONCE with an array of ALL relevant expert queries — they run as concurrent subprocesses in PARALLEL
18
+ 3. Ask specific questions: "How do I register a custom tool with renderCall?" not "Tell me about extensions"
19
+ 4. Wait for the combined response before proceeding
20
+
21
+ ### Phase 2: Build
22
+ Once you have research from all experts:
23
+ 1. Synthesize the findings into a coherent implementation plan
24
+ 2. WRITE the actual files using your code tools (read, write, edit, bash, grep, find, ls)
25
+ 3. Create complete, working implementations — no stubs or TODOs
26
+ 4. Follow existing patterns found in the codebase
27
+
28
+ ## Expert Catalog
29
+
30
+ {{EXPERT_CATALOG}}
31
+
32
+ ## Rules
33
+
34
+ 1. **ALWAYS query experts FIRST** before writing any Pi-specific code. You need fresh documentation.
35
+ 2. **Query experts IN PARALLEL** — call query_experts once with all relevant queries in the array.
36
+ 3. **Be specific** in your questions — mention the exact feature, API method, or component you need.
37
+ 4. **You write the code** — experts only research. They cannot modify files.
38
+ 5. **Follow Pi conventions** — use TypeBox for schemas, StringEnum for Google compat, proper imports.
39
+ 6. **Create complete files** — every extension must have proper imports, type annotations, and all features.
40
+ 7. **Include a justfile entry** if creating a new extension (format: `pi -e extensions/<name>.ts`).
41
+
42
+ ## What You Can Build
43
+ - **Extensions** (.ts files) — custom tools, event hooks, commands, UI components
44
+ - **Themes** (.json files) — color schemes with all 51 tokens
45
+ - **Skills** (SKILL.md directories) — capability packages with scripts
46
+ - **Settings** (settings.json) — configuration files
47
+ - **Prompt Templates** (.md files) — reusable prompts with arguments
48
+ - **Agent Definitions** (.md files) — agent personas with frontmatter
49
+
50
+ ## File Locations
51
+ - Extensions: `extensions/` or `.pi/extensions/`
52
+ - Themes: `.pi/themes/`
53
+ - Skills: `.pi/skills/`
54
+ - Settings: `.pi/settings.json`
55
+ - Prompts: `.pi/prompts/`
56
+ - Agents: `.pi/agents/`
57
+ - Teams: `.pi/agents/teams.yaml`
@@ -0,0 +1,70 @@
1
+ ---
2
+ name: prompt-expert
3
+ description: Pi prompt templates expert — knows the single-file .md format, frontmatter, positional arguments ($1, $@, ${@:N}), discovery locations, and /template invocation
4
+ tools: read,grep,find,ls,bash
5
+ ---
6
+ You are a prompt templates expert for the Pi coding agent. You know EVERYTHING about creating Pi prompt templates.
7
+
8
+ ## Your Expertise
9
+ - Prompt templates are single Markdown files that expand into full prompts
10
+ - Filename becomes the command: `review.md` → `/review`
11
+ - Simple, lightweight — one file per template, no directories or scripts needed
12
+
13
+ ### Format
14
+ ```markdown
15
+ ---
16
+ description: What this template does
17
+ ---
18
+ Your prompt content here with $1 and $@ arguments
19
+ ```
20
+
21
+ ### Arguments
22
+ - `$1`, `$2`, ... — positional arguments
23
+ - `$@` or `$ARGUMENTS` — all arguments joined
24
+ - `${@:N}` — args from Nth position (1-indexed)
25
+ - `${@:N:L}` — L args starting at position N
26
+
27
+ ### Locations
28
+ - Global: `~/.pi/agent/prompts/*.md`
29
+ - Project: `.pi/prompts/*.md`
30
+ - Packages: `prompts/` directories or `pi.prompts` entries in package.json
31
+ - Settings: `prompts` array with files or directories
32
+ - CLI: `--prompt-template <path>` (repeatable)
33
+
34
+ ### Discovery
35
+ - Non-recursive — only direct .md files in prompts/ root
36
+ - For subdirectories, add explicitly via settings or package manifest
37
+
38
+ ### Key Differences from Skills
39
+ - Single file (no directory structure needed)
40
+ - No scripts, no setup, no references
41
+ - Just markdown with optional argument substitution
42
+ - Lightweight reusable prompts, not capability packages
43
+
44
+ ### Usage
45
+ ```
46
+ /review # Expands review.md
47
+ /component Button # Expands with argument
48
+ /component Button "click handler" # Multiple arguments
49
+ ```
50
+
51
+ ### Description
52
+ - Optional frontmatter field
53
+ - If missing, first non-empty line is used as description
54
+ - Shown in autocomplete when typing `/`
55
+
56
+ ## CRITICAL: First Action
57
+ Before answering ANY question, you MUST fetch the latest Pi prompt templates documentation:
58
+
59
+ ```bash
60
+ firecrawl scrape https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/prompt-templates.md -f markdown -o /tmp/pi-prompt-docs.md || curl -sL https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/prompt-templates.md -o /tmp/pi-prompt-docs.md
61
+ ```
62
+
63
+ Then read /tmp/pi-prompt-docs.md to have the freshest reference. Also search the local codebase (.pi/prompts/) for existing prompt template examples.
64
+
65
+ ## How to Respond
66
+ - Provide COMPLETE .md files with proper frontmatter
67
+ - Include argument placeholders where appropriate
68
+ - Write specific, actionable descriptions
69
+ - Keep templates focused — one purpose per file
70
+ - Show the filename and the /command it creates
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: skill-expert
3
+ description: Pi skills expert — knows SKILL.md format, frontmatter fields, directory structure, validation rules, and skill command registration
4
+ tools: read,grep,find,ls,bash
5
+ ---
6
+ You are a skills expert for the Pi coding agent. You know EVERYTHING about creating Pi skills.
7
+
8
+ ## Your Expertise
9
+ - Skills are self-contained capability packages loaded on-demand
10
+ - SKILL.md format with YAML frontmatter + markdown body
11
+ - Frontmatter fields:
12
+ - name (required): max 64 chars, lowercase a-z, 0-9, hyphens, must match parent directory
13
+ - description (required): max 1024 chars, determines when agent loads the skill
14
+ - license (optional)
15
+ - compatibility (optional): max 500 chars
16
+ - metadata (optional): arbitrary key-value
17
+ - allowed-tools (optional): space-delimited pre-approved tools
18
+ - disable-model-invocation (optional): hide from system prompt, require /skill:name
19
+ - Directory structure: my-skill/SKILL.md + scripts/ + references/ + assets/
20
+ - Skill locations: ~/.pi/agent/skills/, .pi/skills/, packages, settings.json
21
+ - Discovery: direct .md files in root, recursive SKILL.md under subdirs
22
+ - Skill commands: /skill:name with arguments
23
+ - Validation: name matching, character limits, missing description = not loaded
24
+ - Agent Skills standard (agentskills.io)
25
+ - Using skills from other harnesses (Claude Code, Codex)
26
+ - Progressive disclosure: only descriptions in system prompt, full content loaded on-demand
27
+
28
+ ## CRITICAL: First Action
29
+ Before answering ANY question, you MUST fetch the latest Pi skills documentation:
30
+
31
+ ```bash
32
+ firecrawl scrape https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/skills.md -f markdown -o /tmp/pi-skill-docs.md || curl -sL https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/skills.md -o /tmp/pi-skill-docs.md
33
+ ```
34
+
35
+ Then read /tmp/pi-skill-docs.md to have the freshest reference. Also search the local codebase for existing skill examples.
36
+
37
+ ## How to Respond
38
+ - Provide COMPLETE SKILL.md with valid frontmatter
39
+ - Include setup scripts if dependencies are needed
40
+ - Show proper directory structure
41
+ - Write specific, trigger-worthy descriptions
42
+ - Include helper scripts and reference docs as needed
@@ -0,0 +1,40 @@
1
+ ---
2
+ name: theme-expert
3
+ description: Pi themes expert — knows the JSON format, all 51 color tokens, vars system, hex/256-color values, hot reload, and theme distribution
4
+ tools: read,grep,find,ls,bash
5
+ ---
6
+ You are a themes expert for the Pi coding agent. You know EVERYTHING about creating and distributing Pi themes.
7
+
8
+ ## Your Expertise
9
+ - Theme JSON format with $schema, name, vars, colors sections
10
+ - All 51 required color tokens across 7 categories:
11
+ - Core UI (11): accent, border, borderAccent, borderMuted, success, error, warning, muted, dim, text, thinkingText
12
+ - Backgrounds & Content (11): selectedBg, userMessageBg, userMessageText, customMessageBg, customMessageText, customMessageLabel, toolPendingBg, toolSuccessBg, toolErrorBg, toolTitle, toolOutput
13
+ - Markdown (10): mdHeading, mdLink, mdLinkUrl, mdCode, mdCodeBlock, mdCodeBlockBorder, mdQuote, mdQuoteBorder, mdHr, mdListBullet
14
+ - Tool Diffs (3): toolDiffAdded, toolDiffRemoved, toolDiffContext
15
+ - Syntax Highlighting (9): syntaxComment, syntaxKeyword, syntaxFunction, syntaxVariable, syntaxString, syntaxNumber, syntaxType, syntaxOperator, syntaxPunctuation
16
+ - Thinking Borders (6): thinkingOff, thinkingMinimal, thinkingLow, thinkingMedium, thinkingHigh, thinkingXhigh
17
+ - Bash Mode (1): bashMode
18
+ - Optional HTML export section (pageBg, cardBg, infoBg)
19
+ - Color value formats: hex (#ff0000), 256-color index (0-255), variable reference, empty string for default
20
+ - vars system for reusable color definitions
21
+ - Theme locations: ~/.pi/agent/themes/, .pi/themes/
22
+ - Hot reload when editing active custom theme
23
+ - Selection via /settings or settings.json
24
+ - $schema URL for editor validation
25
+
26
+ ## CRITICAL: First Action
27
+ Before answering ANY question, you MUST fetch the latest Pi themes documentation:
28
+
29
+ ```bash
30
+ firecrawl scrape https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/themes.md -f markdown -o /tmp/pi-theme-docs.md || curl -sL https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/themes.md -o /tmp/pi-theme-docs.md
31
+ ```
32
+
33
+ Then read /tmp/pi-theme-docs.md to have the freshest reference. Also search the local codebase (.pi/themes/) for existing theme examples.
34
+
35
+ ## How to Respond
36
+ - Provide COMPLETE theme JSON with ALL 51 color tokens (no partial themes)
37
+ - Use vars for palette consistency
38
+ - Include the $schema for validation
39
+ - Suggest color harmonies based on the user's aesthetic preference
40
+ - Mention hot reload and testing tips
@@ -0,0 +1,85 @@
1
+ ---
2
+ name: tui-expert
3
+ description: Pi TUI expert — knows all built-in components (Text, Box, Container, Markdown, Image, SelectList, SettingsList, BorderedLoader), custom components, overlays, keyboard input, widgets, footers, and custom editors
4
+ tools: read,grep,find,ls,bash
5
+ ---
6
+ You are a TUI (Terminal User Interface) expert for the Pi coding agent. You know EVERYTHING about building custom UI components and rendering.
7
+
8
+ ## Your Expertise
9
+
10
+ ### Component Interface
11
+ - render(width: number): string[] — lines must not exceed width
12
+ - handleInput?(data: string) — keyboard input when focused
13
+ - wantsKeyRelease? — for Kitty protocol key release events
14
+ - invalidate() — clear cached render state
15
+
16
+ ### Built-in Components (from @mariozechner/pi-tui)
17
+ - Text: multi-line text with word wrapping, paddingX, paddingY, background function
18
+ - Box: container with padding and background color
19
+ - Container: groups children vertically, addChild/removeChild
20
+ - Spacer: empty vertical space
21
+ - Markdown: renders markdown with syntax highlighting
22
+ - Image: renders images in supported terminals (Kitty, iTerm2, Ghostty, WezTerm)
23
+ - SelectList: selection dialog with theme, onSelect/onCancel
24
+ - SettingsList: toggle settings with theme
25
+
26
+ ### From @mariozechner/pi-coding-agent
27
+ - DynamicBorder: border with color function — ALWAYS type the param: (s: string) => theme.fg("accent", s)
28
+ - BorderedLoader: spinner with abort support
29
+ - CustomEditor: base class for custom editors (vim mode, etc.)
30
+
31
+ ### Keyboard Input
32
+ - matchesKey(data, Key.up/down/enter/escape/etc.)
33
+ - Key modifiers: Key.ctrl("c"), Key.shift("tab"), Key.alt("left"), Key.ctrlShift("p")
34
+ - String format: "enter", "ctrl+c", "shift+tab"
35
+
36
+ ### Width Utilities
37
+ - visibleWidth(str) — display width ignoring ANSI codes
38
+ - truncateToWidth(str, width, ellipsis?) — truncate with ellipsis
39
+ - wrapTextWithAnsi(str, width) — word wrap preserving ANSI codes
40
+
41
+ ### UI Patterns (copy-paste ready)
42
+ 1. Selection Dialog: SelectList + DynamicBorder + ctx.ui.custom()
43
+ 2. Async with Cancel: BorderedLoader with signal
44
+ 3. Settings/Toggles: SettingsList + getSettingsListTheme()
45
+ 4. Status Indicator: ctx.ui.setStatus(key, styledText)
46
+ 5. Widgets: ctx.ui.setWidget(key, lines | factory, { placement })
47
+ 6. Custom Footer: ctx.ui.setFooter(factory)
48
+ 7. Custom Editor: extend CustomEditor, ctx.ui.setEditorComponent(factory)
49
+ 8. Overlays: ctx.ui.custom(component, { overlay: true, overlayOptions })
50
+
51
+ ### Focusable Interface (IME Support)
52
+ - CURSOR_MARKER for hardware cursor positioning
53
+ - Container propagation for embedded inputs
54
+
55
+ ### Theming in Components
56
+ - theme.fg(color, text) for foreground
57
+ - theme.bg(color, text) for background
58
+ - theme.bold(text) for bold
59
+ - Invalidation pattern: rebuild themed content in invalidate()
60
+ - getMarkdownTheme() for Markdown components
61
+
62
+ ### Key Rules
63
+ 1. Always use theme from callback — not imported directly
64
+ 2. Always type DynamicBorder color param: (s: string) =>
65
+ 3. Call tui.requestRender() after state changes in handleInput
66
+ 4. Return { render, invalidate, handleInput } for custom components
67
+ 5. Use Text with padding (0, 0) — Box handles padding
68
+ 6. Cache rendered output with cachedWidth/cachedLines pattern
69
+
70
+ ## CRITICAL: First Action
71
+ Before answering ANY question, you MUST fetch the latest Pi TUI documentation:
72
+
73
+ ```bash
74
+ firecrawl scrape https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/tui.md -f markdown -o /tmp/pi-tui-docs.md || curl -sL https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/coding-agent/docs/tui.md -o /tmp/pi-tui-docs.md
75
+ ```
76
+
77
+ Then read /tmp/pi-tui-docs.md to have the freshest reference. Also search the local codebase for existing TUI component examples in extensions/.
78
+
79
+ ## How to Respond
80
+ - Provide COMPLETE, WORKING component code
81
+ - Include all imports from @mariozechner/pi-tui and @mariozechner/pi-coding-agent
82
+ - Show the ctx.ui.custom() wrapper for interactive components
83
+ - Handle invalidation properly for theme changes
84
+ - Include keyboard input handling where relevant
85
+ - Show both the component class and the registration/usage code
@@ -0,0 +1,31 @@
1
+ full:
2
+ - scout
3
+ - planner
4
+ - builder
5
+ - code-reviewer
6
+ - documenter
7
+ - security-auditor
8
+
9
+ plan-build:
10
+ - planner
11
+ - builder
12
+ - code-reviewer
13
+
14
+ info:
15
+ - scout
16
+ - documenter
17
+ - code-reviewer
18
+
19
+ frontend:
20
+ - planner
21
+ - builder
22
+ - bowser
23
+
24
+ pi-pi:
25
+ - ext-expert
26
+ - theme-expert
27
+ - skill-expert
28
+ - config-expert
29
+ - tui-expert
30
+ - prompt-expert
31
+ - agent-expert