agentic-toolbox 0.5.3 → 0.7.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 (476) hide show
  1. package/AGENTS.md +26 -14
  2. package/CHANGELOG.md +223 -0
  3. package/README.md +98 -35
  4. package/dist/cjs/agents/index.cjs +9 -0
  5. package/dist/cjs/agents/index.cjs.map +1 -0
  6. package/dist/cjs/cli/args/flags.d.cts +3 -0
  7. package/dist/cjs/cli/args/flags.d.cts.map +1 -0
  8. package/dist/cjs/cli/args/index.d.cts +5 -0
  9. package/dist/cjs/cli/args/index.d.cts.map +1 -0
  10. package/dist/{cli/args/parser.d.ts → cjs/cli/args/parser.d.cts} +2 -2
  11. package/dist/cjs/cli/args/parser.d.cts.map +1 -0
  12. package/dist/{cli/args/strategies.d.ts → cjs/cli/args/strategies.d.cts} +2 -2
  13. package/dist/cjs/cli/args/strategies.d.cts.map +1 -0
  14. package/dist/cjs/cli/args/subcommands.d.cts +3 -0
  15. package/dist/cjs/cli/args/subcommands.d.cts.map +1 -0
  16. package/dist/cjs/cli/commands/diff.d.cts +3 -0
  17. package/dist/cjs/cli/commands/diff.d.cts.map +1 -0
  18. package/dist/cjs/cli/commands/doctor.d.cts +8 -0
  19. package/dist/cjs/cli/commands/doctor.d.cts.map +1 -0
  20. package/dist/cjs/cli/commands/index.d.cts +6 -0
  21. package/dist/cjs/cli/commands/index.d.cts.map +1 -0
  22. package/dist/cjs/cli/commands/init.d.cts +3 -0
  23. package/dist/cjs/cli/commands/init.d.cts.map +1 -0
  24. package/dist/cjs/cli/commands/sync.d.cts +3 -0
  25. package/dist/cjs/cli/commands/sync.d.cts.map +1 -0
  26. package/dist/cjs/cli/commands/validate.d.cts +3 -0
  27. package/dist/cjs/cli/commands/validate.d.cts.map +1 -0
  28. package/dist/cjs/cli/help/index.d.cts +3 -0
  29. package/dist/cjs/cli/help/index.d.cts.map +1 -0
  30. package/dist/{cli/help/print-help.d.ts → cjs/cli/help/print-help.d.cts} +1 -1
  31. package/dist/cjs/cli/help/print-help.d.cts.map +1 -0
  32. package/dist/{cli/help/templates.d.ts → cjs/cli/help/templates.d.cts} +1 -1
  33. package/dist/cjs/cli/help/templates.d.cts.map +1 -0
  34. package/dist/cjs/cli/index.d.cts +5 -0
  35. package/dist/cjs/cli/index.d.cts.map +1 -0
  36. package/dist/cjs/cli/run-cli.d.cts +3 -0
  37. package/dist/cjs/cli/run-cli.d.cts.map +1 -0
  38. package/dist/{core/config/discovery.d.ts → cjs/core/config/discovery.d.cts} +2 -2
  39. package/dist/cjs/core/config/discovery.d.cts.map +1 -0
  40. package/dist/cjs/core/config/index.d.cts +4 -0
  41. package/dist/cjs/core/config/index.d.cts.map +1 -0
  42. package/dist/cjs/core/config/loader.d.cts +3 -0
  43. package/dist/cjs/core/config/loader.d.cts.map +1 -0
  44. package/dist/{core/config/schema.d.ts → cjs/core/config/schema.d.cts} +3 -3
  45. package/dist/cjs/core/config/schema.d.cts.map +1 -0
  46. package/dist/cjs/core/index.d.cts +4 -0
  47. package/dist/cjs/core/index.d.cts.map +1 -0
  48. package/dist/{core/sync/engine-internal.d.ts → cjs/core/sync/engine-internal.d.cts} +2 -2
  49. package/dist/cjs/core/sync/engine-internal.d.cts.map +1 -0
  50. package/dist/{core/sync/engine.d.ts → cjs/core/sync/engine.d.cts} +2 -2
  51. package/dist/cjs/core/sync/engine.d.cts.map +1 -0
  52. package/dist/cjs/core/sync/index.d.cts +5 -0
  53. package/dist/cjs/core/sync/index.d.cts.map +1 -0
  54. package/dist/{core/sync/manifest.d.ts → cjs/core/sync/manifest.d.cts} +2 -13
  55. package/dist/cjs/core/sync/manifest.d.cts.map +1 -0
  56. package/dist/{core/sync/merger.d.ts → cjs/core/sync/merger.d.cts} +2 -2
  57. package/dist/cjs/core/sync/merger.d.cts.map +1 -0
  58. package/dist/cjs/core/sync/targets/index.d.cts +2 -0
  59. package/dist/cjs/core/sync/targets/index.d.cts.map +1 -0
  60. package/dist/{core/sync/targets/target-configs.d.ts → cjs/core/sync/targets/target-configs.d.cts} +2 -2
  61. package/dist/cjs/core/sync/targets/target-configs.d.cts.map +1 -0
  62. package/dist/cjs/core/transform/index.d.cts +7 -0
  63. package/dist/cjs/core/transform/index.d.cts.map +1 -0
  64. package/dist/cjs/core/transform/parser.d.cts +16 -0
  65. package/dist/cjs/core/transform/parser.d.cts.map +1 -0
  66. package/dist/cjs/core/transform/pipeline.d.cts +3 -0
  67. package/dist/cjs/core/transform/pipeline.d.cts.map +1 -0
  68. package/dist/{core/transform/reassembler.d.ts → cjs/core/transform/reassembler.d.cts} +2 -2
  69. package/dist/cjs/core/transform/reassembler.d.cts.map +1 -0
  70. package/dist/{core/transform/stripper.d.ts → cjs/core/transform/stripper.d.cts} +2 -2
  71. package/dist/cjs/core/transform/stripper.d.cts.map +1 -0
  72. package/dist/cjs/core/transform/transform-agent.d.cts +3 -0
  73. package/dist/cjs/core/transform/transform-agent.d.cts.map +1 -0
  74. package/dist/cjs/index.cjs +1749 -0
  75. package/dist/cjs/index.cjs.map +1 -0
  76. package/dist/cjs/index.d.cts +3 -0
  77. package/dist/cjs/index.d.cts.map +1 -0
  78. package/dist/cjs/skills/index.cjs +14 -0
  79. package/dist/cjs/skills/index.cjs.map +1 -0
  80. package/dist/{types/cli.d.ts → cjs/types/cli.d.cts} +2 -1
  81. package/dist/cjs/types/cli.d.cts.map +1 -0
  82. package/dist/{types/config.d.ts → cjs/types/config.d.cts} +2 -2
  83. package/dist/cjs/types/config.d.cts.map +1 -0
  84. package/dist/cjs/types/constants.d.cts +2 -0
  85. package/dist/cjs/types/constants.d.cts.map +1 -0
  86. package/dist/cjs/types/errors.d.cts +40 -0
  87. package/dist/cjs/types/errors.d.cts.map +1 -0
  88. package/dist/cjs/types/index.d.cts +8 -0
  89. package/dist/cjs/types/index.d.cts.map +1 -0
  90. package/dist/{types/sync.d.ts → cjs/types/sync.d.cts} +3 -3
  91. package/dist/cjs/types/sync.d.cts.map +1 -0
  92. package/dist/{types/targets.d.ts → cjs/types/targets.d.cts} +2 -2
  93. package/dist/cjs/types/targets.d.cts.map +1 -0
  94. package/dist/{types/transform.d.ts → cjs/types/transform.d.cts} +7 -2
  95. package/dist/cjs/types/transform.d.cts.map +1 -0
  96. package/dist/cjs/utils/errors/classes.d.cts +76 -0
  97. package/dist/cjs/utils/errors/classes.d.cts.map +1 -0
  98. package/dist/cjs/utils/errors/codes.d.cts +2 -0
  99. package/dist/cjs/utils/errors/codes.d.cts.map +1 -0
  100. package/dist/cjs/utils/errors/index.d.cts +4 -0
  101. package/dist/cjs/utils/errors/index.d.cts.map +1 -0
  102. package/dist/cjs/utils/errors/messages.d.cts +11 -0
  103. package/dist/cjs/utils/errors/messages.d.cts.map +1 -0
  104. package/dist/{utils/fs/atomic.d.ts → cjs/utils/fs/atomic.d.cts} +1 -1
  105. package/dist/cjs/utils/fs/atomic.d.cts.map +1 -0
  106. package/dist/cjs/utils/fs/index.d.cts +5 -0
  107. package/dist/cjs/utils/fs/index.d.cts.map +1 -0
  108. package/dist/{utils/fs/operations.d.ts → cjs/utils/fs/operations.d.cts} +1 -1
  109. package/dist/cjs/utils/fs/operations.d.cts.map +1 -0
  110. package/dist/{utils/fs/paths.d.ts → cjs/utils/fs/paths.d.cts} +1 -1
  111. package/dist/cjs/utils/fs/paths.d.cts.map +1 -0
  112. package/dist/{utils/fs/sanitization.d.ts → cjs/utils/fs/sanitization.d.cts} +1 -1
  113. package/dist/cjs/utils/fs/sanitization.d.cts.map +1 -0
  114. package/dist/cjs/utils/index.d.cts +4 -0
  115. package/dist/cjs/utils/index.d.cts.map +1 -0
  116. package/dist/{utils/logging/console.d.ts → cjs/utils/logging/console.d.cts} +9 -2
  117. package/dist/cjs/utils/logging/console.d.cts.map +1 -0
  118. package/dist/cjs/utils/logging/index.d.cts +3 -0
  119. package/dist/cjs/utils/logging/index.d.cts.map +1 -0
  120. package/dist/{utils/logging/levels.d.ts → cjs/utils/logging/levels.d.cts} +5 -1
  121. package/dist/cjs/utils/logging/levels.d.cts.map +1 -0
  122. package/dist/esm/agents/Agent.md.sample +384 -0
  123. package/dist/esm/agents/agentic-tools-creator.md +143 -0
  124. package/dist/esm/agents/index.js +9 -0
  125. package/dist/esm/agents/index.js.map +1 -0
  126. package/dist/esm/cli/args/flags.d.mts +3 -0
  127. package/dist/esm/cli/args/flags.d.mts.map +1 -0
  128. package/dist/esm/cli/args/index.d.mts +5 -0
  129. package/dist/esm/cli/args/index.d.mts.map +1 -0
  130. package/dist/esm/cli/args/parser.d.mts +5 -0
  131. package/dist/esm/cli/args/parser.d.mts.map +1 -0
  132. package/dist/esm/cli/args/strategies.d.mts +7 -0
  133. package/dist/esm/cli/args/strategies.d.mts.map +1 -0
  134. package/dist/esm/cli/args/subcommands.d.mts +3 -0
  135. package/dist/esm/cli/args/subcommands.d.mts.map +1 -0
  136. package/dist/esm/cli/commands/diff.d.mts +3 -0
  137. package/dist/esm/cli/commands/diff.d.mts.map +1 -0
  138. package/dist/esm/cli/commands/doctor.d.mts +8 -0
  139. package/dist/esm/cli/commands/doctor.d.mts.map +1 -0
  140. package/dist/esm/cli/commands/index.d.mts +6 -0
  141. package/dist/esm/cli/commands/index.d.mts.map +1 -0
  142. package/dist/esm/cli/commands/init.d.mts +3 -0
  143. package/dist/esm/cli/commands/init.d.mts.map +1 -0
  144. package/dist/esm/cli/commands/sync.d.mts +3 -0
  145. package/dist/esm/cli/commands/sync.d.mts.map +1 -0
  146. package/dist/esm/cli/commands/validate.d.mts +3 -0
  147. package/dist/esm/cli/commands/validate.d.mts.map +1 -0
  148. package/dist/esm/cli/help/index.d.mts +3 -0
  149. package/dist/esm/cli/help/index.d.mts.map +1 -0
  150. package/dist/esm/cli/help/print-help.d.mts +2 -0
  151. package/dist/esm/cli/help/print-help.d.mts.map +1 -0
  152. package/dist/esm/cli/help/templates.d.mts +3 -0
  153. package/dist/esm/cli/help/templates.d.mts.map +1 -0
  154. package/dist/esm/cli/index.d.mts +5 -0
  155. package/dist/esm/cli/index.d.mts.map +1 -0
  156. package/dist/esm/cli/run-cli.d.mts +3 -0
  157. package/dist/esm/cli/run-cli.d.mts.map +1 -0
  158. package/dist/esm/core/config/discovery.d.mts +4 -0
  159. package/dist/esm/core/config/discovery.d.mts.map +1 -0
  160. package/dist/esm/core/config/index.d.mts +4 -0
  161. package/dist/esm/core/config/index.d.mts.map +1 -0
  162. package/dist/esm/core/config/loader.d.mts +3 -0
  163. package/dist/esm/core/config/loader.d.mts.map +1 -0
  164. package/dist/esm/core/config/schema.d.mts +8 -0
  165. package/dist/esm/core/config/schema.d.mts.map +1 -0
  166. package/dist/esm/core/index.d.mts +4 -0
  167. package/dist/esm/core/index.d.mts.map +1 -0
  168. package/dist/esm/core/sync/engine-internal.d.mts +3 -0
  169. package/dist/esm/core/sync/engine-internal.d.mts.map +1 -0
  170. package/dist/esm/core/sync/engine.d.mts +4 -0
  171. package/dist/esm/core/sync/engine.d.mts.map +1 -0
  172. package/dist/esm/core/sync/index.d.mts +5 -0
  173. package/dist/esm/core/sync/index.d.mts.map +1 -0
  174. package/dist/esm/core/sync/manifest.d.mts +10 -0
  175. package/dist/esm/core/sync/manifest.d.mts.map +1 -0
  176. package/dist/esm/core/sync/merger.d.mts +9 -0
  177. package/dist/esm/core/sync/merger.d.mts.map +1 -0
  178. package/dist/esm/core/sync/targets/index.d.mts +2 -0
  179. package/dist/esm/core/sync/targets/index.d.mts.map +1 -0
  180. package/dist/esm/core/sync/targets/target-configs.d.mts +5 -0
  181. package/dist/esm/core/sync/targets/target-configs.d.mts.map +1 -0
  182. package/dist/esm/core/transform/index.d.mts +7 -0
  183. package/dist/esm/core/transform/index.d.mts.map +1 -0
  184. package/dist/esm/core/transform/parser.d.mts +16 -0
  185. package/dist/esm/core/transform/parser.d.mts.map +1 -0
  186. package/dist/esm/core/transform/pipeline.d.mts +3 -0
  187. package/dist/esm/core/transform/pipeline.d.mts.map +1 -0
  188. package/dist/esm/core/transform/reassembler.d.mts +3 -0
  189. package/dist/esm/core/transform/reassembler.d.mts.map +1 -0
  190. package/dist/esm/core/transform/stripper.d.mts +3 -0
  191. package/dist/esm/core/transform/stripper.d.mts.map +1 -0
  192. package/dist/esm/core/transform/transform-agent.d.mts +3 -0
  193. package/dist/esm/core/transform/transform-agent.d.mts.map +1 -0
  194. package/dist/esm/index.d.mts +3 -0
  195. package/dist/esm/index.d.mts.map +1 -0
  196. package/dist/esm/index.js +1815 -0
  197. package/dist/esm/index.js.map +1 -0
  198. package/dist/esm/skills/SKILL.md.sample +322 -0
  199. package/dist/esm/skills/agent-creator/SKILL.md +110 -0
  200. package/dist/esm/skills/agent-creator/assets/examples/code-reviewer.md +68 -0
  201. package/dist/esm/skills/agent-creator/assets/examples/docs-writer.md +67 -0
  202. package/dist/esm/skills/agent-creator/assets/examples/read-only-researcher.md +64 -0
  203. package/dist/esm/skills/agent-creator/references/AGENT_TEMPLATE.md +391 -0
  204. package/dist/esm/skills/agent-creator/references/frontmatter.md +544 -0
  205. package/dist/esm/skills/agent-creator/references/prompt.md +449 -0
  206. package/dist/esm/skills/agent-creator/references/validation.md +309 -0
  207. package/dist/esm/skills/agentic-resource-gatherer/SKILL.md +249 -0
  208. package/dist/esm/skills/agentic-resource-gatherer/assets/examples/frontend-developer-agent.md +52 -0
  209. package/dist/esm/skills/agentic-resource-gatherer/assets/examples/git-formatter-skill.md +52 -0
  210. package/dist/esm/skills/agentic-resource-gatherer/references/agent-repos.md +190 -0
  211. package/dist/esm/skills/agentic-resource-gatherer/references/skill-repos.md +225 -0
  212. package/dist/esm/skills/index.js +14 -0
  213. package/dist/esm/skills/index.js.map +1 -0
  214. package/dist/esm/skills/skill-creator/SKILL.md +178 -0
  215. package/dist/esm/skills/skill-creator/assets/examples/background-knowledge-skill.md +25 -0
  216. package/dist/esm/skills/skill-creator/assets/examples/code-generation-skill.md +51 -0
  217. package/dist/esm/skills/skill-creator/assets/examples/simple-git-skill.md +36 -0
  218. package/dist/esm/skills/skill-creator/references/SKILL_TEMPLATE.md +322 -0
  219. package/dist/esm/skills/skill-creator/references/frontmatter.md +441 -0
  220. package/dist/esm/skills/skill-creator/references/prompt.md +384 -0
  221. package/dist/esm/skills/skill-creator/references/validation.md +282 -0
  222. package/dist/esm/types/cli.d.mts +68 -0
  223. package/dist/esm/types/cli.d.mts.map +1 -0
  224. package/dist/esm/types/config.d.mts +22 -0
  225. package/dist/esm/types/config.d.mts.map +1 -0
  226. package/dist/esm/types/constants.d.mts +2 -0
  227. package/dist/esm/types/constants.d.mts.map +1 -0
  228. package/dist/esm/types/errors.d.mts +40 -0
  229. package/dist/esm/types/errors.d.mts.map +1 -0
  230. package/dist/esm/types/index.d.mts +8 -0
  231. package/dist/esm/types/index.d.mts.map +1 -0
  232. package/dist/esm/types/sync.d.mts +26 -0
  233. package/dist/esm/types/sync.d.mts.map +1 -0
  234. package/dist/esm/types/targets.d.mts +25 -0
  235. package/dist/esm/types/targets.d.mts.map +1 -0
  236. package/dist/esm/types/transform.d.mts +24 -0
  237. package/dist/esm/types/transform.d.mts.map +1 -0
  238. package/dist/esm/utils/errors/classes.d.mts +76 -0
  239. package/dist/esm/utils/errors/classes.d.mts.map +1 -0
  240. package/dist/esm/utils/errors/codes.d.mts +2 -0
  241. package/dist/esm/utils/errors/codes.d.mts.map +1 -0
  242. package/dist/esm/utils/errors/index.d.mts +4 -0
  243. package/dist/esm/utils/errors/index.d.mts.map +1 -0
  244. package/dist/esm/utils/errors/messages.d.mts +11 -0
  245. package/dist/esm/utils/errors/messages.d.mts.map +1 -0
  246. package/dist/esm/utils/fs/atomic.d.mts +2 -0
  247. package/dist/esm/utils/fs/atomic.d.mts.map +1 -0
  248. package/dist/esm/utils/fs/index.d.mts +5 -0
  249. package/dist/esm/utils/fs/index.d.mts.map +1 -0
  250. package/dist/esm/utils/fs/operations.d.mts +12 -0
  251. package/dist/esm/utils/fs/operations.d.mts.map +1 -0
  252. package/dist/esm/utils/fs/paths.d.mts +9 -0
  253. package/dist/esm/utils/fs/paths.d.mts.map +1 -0
  254. package/dist/esm/utils/fs/sanitization.d.mts +11 -0
  255. package/dist/esm/utils/fs/sanitization.d.mts.map +1 -0
  256. package/dist/esm/utils/index.d.mts +4 -0
  257. package/dist/esm/utils/index.d.mts.map +1 -0
  258. package/dist/esm/utils/logging/console.d.mts +34 -0
  259. package/dist/esm/utils/logging/console.d.mts.map +1 -0
  260. package/dist/esm/utils/logging/index.d.mts +3 -0
  261. package/dist/esm/utils/logging/index.d.mts.map +1 -0
  262. package/dist/esm/utils/logging/levels.d.mts +23 -0
  263. package/dist/esm/utils/logging/levels.d.mts.map +1 -0
  264. package/package.json +31 -14
  265. package/dist/cli/args/flags.d.ts +0 -3
  266. package/dist/cli/args/flags.d.ts.map +0 -1
  267. package/dist/cli/args/flags.js +0 -45
  268. package/dist/cli/args/flags.js.map +0 -1
  269. package/dist/cli/args/index.d.ts +0 -5
  270. package/dist/cli/args/index.d.ts.map +0 -1
  271. package/dist/cli/args/index.js +0 -6
  272. package/dist/cli/args/index.js.map +0 -1
  273. package/dist/cli/args/parser.d.ts.map +0 -1
  274. package/dist/cli/args/parser.js +0 -86
  275. package/dist/cli/args/parser.js.map +0 -1
  276. package/dist/cli/args/strategies.d.ts.map +0 -1
  277. package/dist/cli/args/strategies.js +0 -47
  278. package/dist/cli/args/strategies.js.map +0 -1
  279. package/dist/cli/args/subcommands.d.ts +0 -4
  280. package/dist/cli/args/subcommands.d.ts.map +0 -1
  281. package/dist/cli/args/subcommands.js +0 -50
  282. package/dist/cli/args/subcommands.js.map +0 -1
  283. package/dist/cli/commands/diff.d.ts +0 -3
  284. package/dist/cli/commands/diff.d.ts.map +0 -1
  285. package/dist/cli/commands/diff.js +0 -142
  286. package/dist/cli/commands/diff.js.map +0 -1
  287. package/dist/cli/commands/index.d.ts +0 -5
  288. package/dist/cli/commands/index.d.ts.map +0 -1
  289. package/dist/cli/commands/index.js +0 -6
  290. package/dist/cli/commands/index.js.map +0 -1
  291. package/dist/cli/commands/init.d.ts +0 -3
  292. package/dist/cli/commands/init.d.ts.map +0 -1
  293. package/dist/cli/commands/init.js +0 -66
  294. package/dist/cli/commands/init.js.map +0 -1
  295. package/dist/cli/commands/sync.d.ts +0 -3
  296. package/dist/cli/commands/sync.d.ts.map +0 -1
  297. package/dist/cli/commands/sync.js +0 -50
  298. package/dist/cli/commands/sync.js.map +0 -1
  299. package/dist/cli/commands/validate.d.ts +0 -3
  300. package/dist/cli/commands/validate.d.ts.map +0 -1
  301. package/dist/cli/commands/validate.js +0 -70
  302. package/dist/cli/commands/validate.js.map +0 -1
  303. package/dist/cli/help/index.d.ts +0 -3
  304. package/dist/cli/help/index.d.ts.map +0 -1
  305. package/dist/cli/help/index.js +0 -4
  306. package/dist/cli/help/index.js.map +0 -1
  307. package/dist/cli/help/print-help.d.ts.map +0 -1
  308. package/dist/cli/help/print-help.js +0 -12
  309. package/dist/cli/help/print-help.js.map +0 -1
  310. package/dist/cli/help/templates.d.ts.map +0 -1
  311. package/dist/cli/help/templates.js +0 -83
  312. package/dist/cli/help/templates.js.map +0 -1
  313. package/dist/cli/index.d.ts +0 -5
  314. package/dist/cli/index.d.ts.map +0 -1
  315. package/dist/cli/index.js +0 -6
  316. package/dist/cli/index.js.map +0 -1
  317. package/dist/cli/run-cli.d.ts +0 -3
  318. package/dist/cli/run-cli.d.ts.map +0 -1
  319. package/dist/cli/run-cli.js +0 -51
  320. package/dist/cli/run-cli.js.map +0 -1
  321. package/dist/core/config/discovery.d.ts.map +0 -1
  322. package/dist/core/config/discovery.js +0 -21
  323. package/dist/core/config/discovery.js.map +0 -1
  324. package/dist/core/config/index.d.ts +0 -4
  325. package/dist/core/config/index.d.ts.map +0 -1
  326. package/dist/core/config/index.js +0 -5
  327. package/dist/core/config/index.js.map +0 -1
  328. package/dist/core/config/loader.d.ts +0 -3
  329. package/dist/core/config/loader.d.ts.map +0 -1
  330. package/dist/core/config/loader.js +0 -54
  331. package/dist/core/config/loader.js.map +0 -1
  332. package/dist/core/config/schema.d.ts.map +0 -1
  333. package/dist/core/config/schema.js +0 -129
  334. package/dist/core/config/schema.js.map +0 -1
  335. package/dist/core/index.d.ts +0 -4
  336. package/dist/core/index.d.ts.map +0 -1
  337. package/dist/core/index.js +0 -5
  338. package/dist/core/index.js.map +0 -1
  339. package/dist/core/sync/engine-internal.d.ts.map +0 -1
  340. package/dist/core/sync/engine-internal.js +0 -118
  341. package/dist/core/sync/engine-internal.js.map +0 -1
  342. package/dist/core/sync/engine.d.ts.map +0 -1
  343. package/dist/core/sync/engine.js +0 -17
  344. package/dist/core/sync/engine.js.map +0 -1
  345. package/dist/core/sync/index.d.ts +0 -5
  346. package/dist/core/sync/index.d.ts.map +0 -1
  347. package/dist/core/sync/index.js +0 -6
  348. package/dist/core/sync/index.js.map +0 -1
  349. package/dist/core/sync/manifest.d.ts.map +0 -1
  350. package/dist/core/sync/manifest.js +0 -68
  351. package/dist/core/sync/manifest.js.map +0 -1
  352. package/dist/core/sync/merger.d.ts.map +0 -1
  353. package/dist/core/sync/merger.js +0 -63
  354. package/dist/core/sync/merger.js.map +0 -1
  355. package/dist/core/sync/targets/index.d.ts +0 -2
  356. package/dist/core/sync/targets/index.d.ts.map +0 -1
  357. package/dist/core/sync/targets/index.js +0 -3
  358. package/dist/core/sync/targets/index.js.map +0 -1
  359. package/dist/core/sync/targets/target-configs.d.ts.map +0 -1
  360. package/dist/core/sync/targets/target-configs.js +0 -8
  361. package/dist/core/sync/targets/target-configs.js.map +0 -1
  362. package/dist/core/transform/index.d.ts +0 -5
  363. package/dist/core/transform/index.d.ts.map +0 -1
  364. package/dist/core/transform/index.js +0 -6
  365. package/dist/core/transform/index.js.map +0 -1
  366. package/dist/core/transform/parser.d.ts +0 -8
  367. package/dist/core/transform/parser.d.ts.map +0 -1
  368. package/dist/core/transform/parser.js +0 -57
  369. package/dist/core/transform/parser.js.map +0 -1
  370. package/dist/core/transform/reassembler.d.ts.map +0 -1
  371. package/dist/core/transform/reassembler.js +0 -13
  372. package/dist/core/transform/reassembler.js.map +0 -1
  373. package/dist/core/transform/stripper.d.ts.map +0 -1
  374. package/dist/core/transform/stripper.js +0 -10
  375. package/dist/core/transform/stripper.js.map +0 -1
  376. package/dist/core/transform/transform-agent.d.ts +0 -3
  377. package/dist/core/transform/transform-agent.d.ts.map +0 -1
  378. package/dist/core/transform/transform-agent.js +0 -23
  379. package/dist/core/transform/transform-agent.js.map +0 -1
  380. package/dist/index.d.ts +0 -3
  381. package/dist/index.d.ts.map +0 -1
  382. package/dist/index.js +0 -7
  383. package/dist/index.js.map +0 -1
  384. package/dist/shared/targets.d.ts +0 -19
  385. package/dist/shared/targets.d.ts.map +0 -1
  386. package/dist/shared/targets.js +0 -69
  387. package/dist/shared/targets.js.map +0 -1
  388. package/dist/types/cli.d.ts.map +0 -1
  389. package/dist/types/cli.js +0 -3
  390. package/dist/types/cli.js.map +0 -1
  391. package/dist/types/config.d.ts.map +0 -1
  392. package/dist/types/config.js +0 -2
  393. package/dist/types/config.js.map +0 -1
  394. package/dist/types/errors.d.ts +0 -14
  395. package/dist/types/errors.d.ts.map +0 -1
  396. package/dist/types/errors.js +0 -2
  397. package/dist/types/errors.js.map +0 -1
  398. package/dist/types/index.d.ts +0 -7
  399. package/dist/types/index.d.ts.map +0 -1
  400. package/dist/types/index.js +0 -8
  401. package/dist/types/index.js.map +0 -1
  402. package/dist/types/sync.d.ts.map +0 -1
  403. package/dist/types/sync.js +0 -2
  404. package/dist/types/sync.js.map +0 -1
  405. package/dist/types/targets.d.ts.map +0 -1
  406. package/dist/types/targets.js +0 -92
  407. package/dist/types/targets.js.map +0 -1
  408. package/dist/types/transform.d.ts.map +0 -1
  409. package/dist/types/transform.js +0 -2
  410. package/dist/types/transform.js.map +0 -1
  411. package/dist/utils/errors/classes.d.ts +0 -69
  412. package/dist/utils/errors/classes.d.ts.map +0 -1
  413. package/dist/utils/errors/classes.js +0 -118
  414. package/dist/utils/errors/classes.js.map +0 -1
  415. package/dist/utils/errors/codes.d.ts +0 -28
  416. package/dist/utils/errors/codes.d.ts.map +0 -1
  417. package/dist/utils/errors/codes.js +0 -35
  418. package/dist/utils/errors/codes.js.map +0 -1
  419. package/dist/utils/errors/index.d.ts +0 -3
  420. package/dist/utils/errors/index.d.ts.map +0 -1
  421. package/dist/utils/errors/index.js +0 -4
  422. package/dist/utils/errors/index.js.map +0 -1
  423. package/dist/utils/fs/atomic.d.ts.map +0 -1
  424. package/dist/utils/fs/atomic.js +0 -24
  425. package/dist/utils/fs/atomic.js.map +0 -1
  426. package/dist/utils/fs/index.d.ts +0 -5
  427. package/dist/utils/fs/index.d.ts.map +0 -1
  428. package/dist/utils/fs/index.js +0 -6
  429. package/dist/utils/fs/index.js.map +0 -1
  430. package/dist/utils/fs/operations.d.ts.map +0 -1
  431. package/dist/utils/fs/operations.js +0 -60
  432. package/dist/utils/fs/operations.js.map +0 -1
  433. package/dist/utils/fs/paths.d.ts.map +0 -1
  434. package/dist/utils/fs/paths.js +0 -58
  435. package/dist/utils/fs/paths.js.map +0 -1
  436. package/dist/utils/fs/sanitization.d.ts.map +0 -1
  437. package/dist/utils/fs/sanitization.js +0 -57
  438. package/dist/utils/fs/sanitization.js.map +0 -1
  439. package/dist/utils/index.d.ts +0 -4
  440. package/dist/utils/index.d.ts.map +0 -1
  441. package/dist/utils/index.js +0 -5
  442. package/dist/utils/index.js.map +0 -1
  443. package/dist/utils/logging/console.d.ts.map +0 -1
  444. package/dist/utils/logging/console.js +0 -112
  445. package/dist/utils/logging/console.js.map +0 -1
  446. package/dist/utils/logging/index.d.ts +0 -3
  447. package/dist/utils/logging/index.d.ts.map +0 -1
  448. package/dist/utils/logging/index.js +0 -4
  449. package/dist/utils/logging/index.js.map +0 -1
  450. package/dist/utils/logging/levels.d.ts.map +0 -1
  451. package/dist/utils/logging/levels.js +0 -2
  452. package/dist/utils/logging/levels.js.map +0 -1
  453. /package/dist/{agents → cjs/agents}/Agent.md.sample +0 -0
  454. /package/dist/{agents → cjs/agents}/agentic-tools-creator.md +0 -0
  455. /package/dist/{skills → cjs/skills}/SKILL.md.sample +0 -0
  456. /package/dist/{skills → cjs/skills}/agent-creator/SKILL.md +0 -0
  457. /package/dist/{skills → cjs/skills}/agent-creator/assets/examples/code-reviewer.md +0 -0
  458. /package/dist/{skills → cjs/skills}/agent-creator/assets/examples/docs-writer.md +0 -0
  459. /package/dist/{skills → cjs/skills}/agent-creator/assets/examples/read-only-researcher.md +0 -0
  460. /package/dist/{skills → cjs/skills}/agent-creator/references/AGENT_TEMPLATE.md +0 -0
  461. /package/dist/{skills → cjs/skills}/agent-creator/references/frontmatter.md +0 -0
  462. /package/dist/{skills → cjs/skills}/agent-creator/references/prompt.md +0 -0
  463. /package/dist/{skills → cjs/skills}/agent-creator/references/validation.md +0 -0
  464. /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/SKILL.md +0 -0
  465. /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/assets/examples/frontend-developer-agent.md +0 -0
  466. /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/assets/examples/git-formatter-skill.md +0 -0
  467. /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/references/agent-repos.md +0 -0
  468. /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/references/skill-repos.md +0 -0
  469. /package/dist/{skills → cjs/skills}/skill-creator/SKILL.md +0 -0
  470. /package/dist/{skills → cjs/skills}/skill-creator/assets/examples/background-knowledge-skill.md +0 -0
  471. /package/dist/{skills → cjs/skills}/skill-creator/assets/examples/code-generation-skill.md +0 -0
  472. /package/dist/{skills → cjs/skills}/skill-creator/assets/examples/simple-git-skill.md +0 -0
  473. /package/dist/{skills → cjs/skills}/skill-creator/references/SKILL_TEMPLATE.md +0 -0
  474. /package/dist/{skills → cjs/skills}/skill-creator/references/frontmatter.md +0 -0
  475. /package/dist/{skills → cjs/skills}/skill-creator/references/prompt.md +0 -0
  476. /package/dist/{skills → cjs/skills}/skill-creator/references/validation.md +0 -0
@@ -0,0 +1,309 @@
1
+ # Agent Validation Reference
2
+
3
+ Complete validation checklist for agent files.
4
+
5
+ ---
6
+
7
+ ## File Structure Validation
8
+
9
+ ### File Name and Location
10
+
11
+ | Rule | Constraint |
12
+ |------|------------|
13
+ | File name | Must be `[AgentName].md` (case-sensitive) |
14
+ | Location | Must be inside `agents/` directory |
15
+ | Directory structure | Single file, no directory required |
16
+
17
+ **Valid structure:**
18
+ ```
19
+ agents/
20
+ ├── code-researcher.md # ✓ Correct
21
+ ├── docs-writer.md # ✓ Correct
22
+ └── senior-dev.md # ✓ Correct
23
+ ```
24
+
25
+ **Invalid structure:**
26
+ ```
27
+ agents/
28
+ ├── Code-Researcher.md # ✗ Wrong case
29
+ ├── code_researcher.md # ✗ Underscore not allowed
30
+ └── code-researcher/ # ✗ Directory not required
31
+ └── agent.md # ✗ Wrong file name
32
+ ```
33
+
34
+ ---
35
+
36
+ ## Frontmatter Validation
37
+
38
+ ### `name` Field (Required)
39
+
40
+ | Rule | Constraint |
41
+ |------|------------|
42
+ | Characters | Lowercase letters, numbers, hyphens only |
43
+ | Start | Cannot start with hyphen |
44
+ | End | Cannot end with hyphen |
45
+ | Consecutive | Cannot contain consecutive hyphens (`--`) |
46
+ | Match | Should match file name (without `.md` extension) |
47
+
48
+ **Valid examples:**
49
+ ```yaml
50
+ name: code-researcher
51
+ name: docs-writer
52
+ name: senior-dev
53
+ ```
54
+
55
+ **Invalid examples:**
56
+ ```yaml
57
+ name: Code-Researcher # uppercase not allowed
58
+ name: -code # cannot start with hyphen
59
+ name: code- # cannot end with hyphen
60
+ name: code--researcher # consecutive hyphens not allowed
61
+ name: code_researcher # underscore not allowed
62
+ ```
63
+
64
+ ### `description` Field (Required)
65
+
66
+ | Rule | Constraint |
67
+ |------|------------|
68
+ | Format | Free-flowing paragraph |
69
+ | Content | Must describe what it does AND when to call it |
70
+
71
+ **Description must include:**
72
+ 1. What this agent does (core capability)
73
+ 2. When to call this agent (trigger conditions)
74
+ 3. What NOT to use it for (exclusions)
75
+ 4. What it returns (for subagents, omit for primary agents)
76
+
77
+ **Good example:**
78
+ ```yaml
79
+ description: >
80
+ Explores codebases and provides detailed analysis of code structure,
81
+ patterns, and relationships. Call this agent when you need to understand
82
+ code architecture, find specific implementations, trace function calls,
83
+ or get summaries of code modules. Do not use for making code changes,
84
+ writing new code, or executing shell commands that modify the filesystem.
85
+ Returns structured analysis with file paths, line numbers, function names,
86
+ and code relationships including dependency graphs and architecture notes.
87
+ ```
88
+
89
+ **Poor examples:**
90
+ ```yaml
91
+ description: Analyzes code # Missing context
92
+ description: Helps with code stuff # Too vague
93
+ description: Code analysis agent # Missing "when to call"
94
+ ```
95
+
96
+ ### `model` Field (Required)
97
+
98
+ | Rule | Constraint |
99
+ |------|------------|
100
+ | Format | String |
101
+ | Values | Platform-specific |
102
+
103
+ **Valid examples:**
104
+ ```yaml
105
+ model: inherit
106
+ model: sonnet
107
+ model: anthropic/claude-sonnet-4-20250514
108
+ ```
109
+
110
+ **Invalid examples:**
111
+ ```yaml
112
+ model: Claude # Wrong format
113
+ model: gpt-4 # Not supported
114
+ ```
115
+
116
+ ### `color` Field (Optional)
117
+
118
+ | Rule | Constraint |
119
+ |------|------------|
120
+ | Format | String |
121
+ | Values | Platform-specific |
122
+
123
+ **Valid examples:**
124
+ ```yaml
125
+ color: primary
126
+ color: blue
127
+ color: "#4CAF50"
128
+ ```
129
+
130
+ **Invalid examples:**
131
+ ```yaml
132
+ color: red-blue # Not a valid color
133
+ color: 123456 # Not a color
134
+ ```
135
+
136
+ ---
137
+
138
+ ## System Prompt Validation
139
+
140
+ ### Structure
141
+
142
+ | Rule | Constraint |
143
+ |------|------------|
144
+ | Format | Markdown after frontmatter |
145
+ | Sections | Recommended but not required |
146
+
147
+ **Recommended sections:**
148
+ - Role/Persona
149
+ - Core Responsibilities
150
+ - Behavioral Guidelines
151
+ - Technical Domain
152
+ - Constraints
153
+ - Workflow
154
+ - Output Format
155
+
156
+ ### Quality
157
+
158
+ | Rule | Constraint |
159
+ |------|------------|
160
+ | Clarity | Clear, actionable instructions |
161
+ | Specificity | Specific role and responsibilities |
162
+ | Constraints | Clear "NEVER" rules |
163
+ | Completeness | Covers edge cases |
164
+
165
+ **Good system prompt:**
166
+ ```markdown
167
+ You are a code researcher. Your job is to explore codebases and provide
168
+ accurate information about code structure, patterns, and relationships.
169
+
170
+ Always cite file paths and line numbers when referencing code.
171
+ ```
172
+
173
+ **Poor system prompt:**
174
+ ```markdown
175
+ You are a helpful assistant. Do good work.
176
+ ```
177
+
178
+ ---
179
+
180
+ ## Platform-Specific Validation
181
+
182
+ ### OpenCode
183
+
184
+ | Rule | Constraint |
185
+ |------|------------|
186
+ | `name` | Required, must match file name |
187
+ | `description` | Required, free-flowing paragraph |
188
+ | `mode` | Optional, default: `all` |
189
+ | Other fields | Optional |
190
+
191
+ ### Claude
192
+
193
+ | Rule | Constraint |
194
+ |------|------------|
195
+ | `name` | Required |
196
+ | `description` | Required |
197
+ | `model` | Required |
198
+ | `tools` | Optional, comma-separated |
199
+ | Other fields | Optional |
200
+
201
+ ### Cross-Platform
202
+
203
+ | Rule | Constraint |
204
+ |------|------------|
205
+ | File format | Markdown with YAML frontmatter |
206
+ | File location | `agents/` directory |
207
+ | File name | `[AgentName].md` |
208
+
209
+ ---
210
+
211
+ ## Validation Checklist
212
+
213
+ Use this checklist to validate your agent:
214
+
215
+ ### File Structure
216
+ - [ ] File is named `[AgentName].md`
217
+ - [ ] File is in `agents/` directory
218
+
219
+ ### Frontmatter
220
+ - [ ] `name` contains only lowercase letters, numbers, hyphens
221
+ - [ ] `name` does not start or end with hyphen
222
+ - [ ] `name` does not contain consecutive hyphens
223
+ - [ ] `name` matches file name (without extension)
224
+ - [ ] `description` includes what, when, not-for, returns
225
+ - [ ] `model` is specified
226
+
227
+ ### System Prompt
228
+ - [ ] Has clear role/persona definition
229
+ - [ ] Has core responsibilities listed
230
+ - [ ] Has behavioral guidelines
231
+ - [ ] Has constraints (NEVER rules)
232
+ - [ ] Has workflow or process
233
+ - [ ] Has output format
234
+
235
+ ### Optional
236
+ - [ ] `color` field included if applicable
237
+ - [ ] `tools` field included if applicable (Claude)
238
+ - [ ] `permission` field included if applicable (OpenCode)
239
+ - [ ] `memory` field included if applicable (Claude)
240
+
241
+ ---
242
+
243
+ ## Platform-Specific Validation
244
+
245
+ ### OpenCode
246
+
247
+ | Rule | Constraint |
248
+ |------|------------|
249
+ | `mode` | Must be `primary`, `subagent`, or `all` |
250
+ | `temperature` | Must be 0.0-1.0 |
251
+ | `steps` | Must be integer |
252
+ | `permission` | Must be object with valid keys |
253
+
254
+ ### Claude
255
+
256
+ | Rule | Constraint |
257
+ |------|------------|
258
+ | `tools` | Must be comma-separated tool names |
259
+ | `permissionMode` | Must be valid mode |
260
+ | `maxTurns` | Must be integer |
261
+ | `memory` | Must be `user`, `project`, or `local` |
262
+
263
+ ---
264
+
265
+ ## Common Errors
266
+
267
+ ### Missing Required Fields
268
+
269
+ ```yaml
270
+ ---
271
+ name: my-agent
272
+ ---
273
+ ```
274
+
275
+ **Error:** Missing `description` and `model` fields.
276
+
277
+ ### Invalid Name Format
278
+
279
+ ```yaml
280
+ ---
281
+ name: My-Agent
282
+ description: ...
283
+ ---
284
+ ```
285
+
286
+ **Error:** Uppercase letters not allowed.
287
+
288
+ ### Vague Description
289
+
290
+ ```yaml
291
+ ---
292
+ name: my-agent
293
+ description: Helps with stuff
294
+ ---
295
+ ```
296
+
297
+ **Error:** Description must include what, when, not-for, returns.
298
+
299
+ ### Missing System Prompt
300
+
301
+ ```yaml
302
+ ---
303
+ name: my-agent
304
+ description: ...
305
+ model: inherit
306
+ ---
307
+ ```
308
+
309
+ **Error:** System prompt body is empty.
@@ -0,0 +1,249 @@
1
+ ---
2
+ name: agentic-resource-gatherer
3
+ description: >
4
+ Gathers requirements for creating new agents or skills by asking minimal
5
+ questions and searching public repositories for similar examples. Use when
6
+ starting a new agent or skill creation project. Returns structured
7
+ requirements with reference materials from public repositories.
8
+ license: MIT
9
+ compatibility: Requires web access for repository search
10
+ metadata:
11
+ author: project-team
12
+ version: "1.0"
13
+ ---
14
+
15
+ ## What I Do
16
+
17
+ I gather requirements for creating new agents or skills by:
18
+ - Accepting type and initial description as input
19
+ - Searching public repositories for similar agents/skills
20
+ - Studying reference materials and examples
21
+ - Returning a requirements draft for user confirmation
22
+ - Finalizing requirements after user approval
23
+
24
+ ## When to Use Me
25
+
26
+ Use this skill when:
27
+ - Starting a new agent creation project
28
+ - Starting a new skill creation project
29
+ - You need to find similar examples before creating
30
+ - You want structured requirements with references
31
+
32
+ ## Instructions
33
+
34
+ ### Input Parameters
35
+
36
+ When invoked, expect these parameters:
37
+ - **type**: "agent" or "skill" — what to create (provided by calling agent)
38
+ - **description**: Initial description of what the user wants
39
+
40
+ ### Step 1: Understand Initial Requirements
41
+
42
+ Parse the user's description to extract:
43
+ - Core purpose
44
+ - Key features
45
+ - Technologies/frameworks mentioned
46
+ - Any constraints or requirements
47
+
48
+ ### Step 2: Search Repositories
49
+
50
+ Based on the user's answers, search public repositories for similar examples.
51
+
52
+ Read [agent-repos.md](references/agent-repos.md) or [skill-repos.md](references/skill-repos.md) for the curated list of repositories with detailed search instructions.
53
+
54
+ **Search Strategy**:
55
+
56
+ **Phase 1: Identify Keywords**
57
+
58
+ From the user's description, extract:
59
+ - Primary domain (e.g., "frontend", "backend", "data", "security", "testing")
60
+ - Technologies (e.g., "React", "Python", "Docker", "Kubernetes", "TypeScript")
61
+ - Use case (e.g., "review", "generate", "analyze", "deploy", "document")
62
+ - Role type for agents (e.g., "developer", "reviewer", "architect", "engineer")
63
+
64
+ **Phase 2: Web Search for Discovering New Repositories**
65
+
66
+ Use `websearch` with targeted queries to discover repositories not in the curated list:
67
+ ```
68
+ site:github.com [keyword] claude skill SKILL.md
69
+ site:github.com [keyword] claude skill collection
70
+ site:github.com [keyword] claude code subagents
71
+ site:github.com [keyword] agent.md frontmatter
72
+ ```
73
+
74
+ **Phase 3: Browse Curated Repositories**
75
+
76
+ Start with the largest collections and work through relevant ones:
77
+ 1. For skills: Start with ComposioHQ/awesome-claude-skills (1000+ skills), then anthropics/skills (official), then obra/superpowers (development workflows)
78
+ 2. For agents: Start with VoltAgent/awesome-claude-code-subagents (154+ agents), then avelikiy/great_cto (SDLC pipeline), then modu-ai/moai-adk (24 specialized agents)
79
+
80
+ For each repository, follow the detailed "How to Search" instructions in the reference file to extract relevant examples.
81
+
82
+ ### Step 3: Gather References
83
+
84
+ For each relevant reference found:
85
+
86
+ **URL Handling:**
87
+ - Always use raw GitHub URLs for fetching markdown content
88
+ - Convert blob URLs to raw URLs: `https://github.com/[user]/[repo]/blob/[branch]/[path]` → `https://raw.githubusercontent.com/[user]/[repo]/[branch]/[path]`
89
+ - Raw URLs return clean markdown without HTML noise
90
+
91
+ **Multi-File Skills:**
92
+ Skills can contain multiple files beyond SKILL.md:
93
+ - `SKILL.md` — Main skill definition (required)
94
+ - `scripts/` — Optional executable code
95
+ - `references/` — Optional documentation
96
+ - `assets/` — Optional templates, examples
97
+
98
+ For each skill found:
99
+ 1. Fetch the SKILL.md
100
+ 2. Check for additional files in scripts/, references/, assets/ directories
101
+ 3. Fetch all important files using raw URLs
102
+ 4. Pass ALL file links to the creator skill
103
+
104
+ **For each reference:**
105
+ 1. Note the URL (use raw format)
106
+ 2. Extract key features
107
+ 3. Note the structure and approach
108
+ 4. Collect system prompt excerpts (for agents)
109
+ 5. List all files found in the skill directory
110
+
111
+ ### Step 4: Present Draft for User Confirmation
112
+
113
+ After studying similar resources, you MUST present a **requirements draft** to the user for confirmation using the `question` MCP tool. This is critical — even if the requirement seems clear, always get user confirmation.
114
+
115
+ **CRITICAL: All user-facing questions MUST use the `question` MCP tool.** Never use plain text, bullet lists, or emoji options to ask questions. The `question` tool is the only acceptable way to present choices to the user.
116
+
117
+ **What to include in the draft:**
118
+ - Your understanding of the requirements
119
+ - Similar resources found and patterns to follow
120
+ - Any assumptions you made
121
+ - Open questions or ambiguities for the user to clarify
122
+
123
+ **Presenting the draft:**
124
+ Use the `question` tool to present the draft summary AND confirmation options in a single call. The question text should contain the full draft — do NOT present the draft in plain text first.
125
+
126
+ ```json
127
+ {
128
+ "questions": [{
129
+ "question": "Here is the requirements draft:\n\n## Requirements\n### Type\n[Agent or Skill]\n### Basic Information\n- **Name**: [suggested-name]\n- **Purpose**: [user's description]\n- **Trigger**: [when to invoke]\n### Similar Resources Found\n[summary of references]\n### Suggested Patterns\n[patterns]\n\nDoes this draft accurately capture what you want to create?",
130
+ "header": "Confirm Requirements",
131
+ "options": [
132
+ {"label": "Yes, proceed (Recommended)", "description": "The draft is accurate, continue with creation"},
133
+ {"label": "Needs changes", "description": "I have feedback to refine the requirements"},
134
+ {"label": "Custom", "description": "I have specific requirements not covered"}
135
+ ]
136
+ }]
137
+ }
138
+ ```
139
+
140
+ **Guidelines for using `question` tool:**
141
+ - Include the FULL draft in the question text — the user sees everything in one place
142
+ - Provide 2-4 clear options with descriptions
143
+ - Mark the recommended option with "(Recommended)"
144
+ - Ask one question at a time to avoid overwhelming the user
145
+ - Wait for user response before proceeding
146
+
147
+ **Important:**
148
+ - ALWAYS use the `question` tool — never return plain text drafts
149
+ - Present the draft AND ask for confirmation in the same `question` tool call
150
+ - Wait for user confirmation before proceeding to final output
151
+
152
+ ### Step 5: After Confirmation
153
+
154
+ Once the user confirms the draft via the `question` tool response:
155
+
156
+ 1. Parse the user's feedback (if any)
157
+ 2. Refine the requirements based on feedback
158
+ 3. Return the final structured requirements for the calling agent to pass to the appropriate creation skill (skill-creator or agent-creator)
159
+
160
+ **Return format:**
161
+
162
+ ```markdown
163
+ ## Requirements
164
+
165
+ ### Type
166
+ [Agent or Skill]
167
+
168
+ ### Basic Information
169
+ - **Name**: [name]
170
+ - **Purpose**: [description]
171
+ - **Trigger**: [when to invoke]
172
+
173
+ ### Technical Requirements
174
+ - **Technologies**: [list]
175
+ - **Capabilities**: [list]
176
+ - **Platform**: [platforms]
177
+
178
+ ## Reference Materials
179
+
180
+ ### Similar Found
181
+
182
+ 1. **[Name]**
183
+ - URL: [raw-link]
184
+ - Key Features: [features]
185
+ - Files:
186
+ - SKILL.md: [raw-url]
187
+ - [other files]: [raw-url]
188
+
189
+ ### Suggested Patterns
190
+ - [pattern]
191
+ ```
192
+
193
+ ### Step 6: Summary
194
+
195
+ Provide a brief summary of what was gathered:
196
+
197
+ ```markdown
198
+ ## Summary
199
+
200
+ Gathered requirements for: [agent/skill-name]
201
+ - Type: [Agent/Skill]
202
+ - References found: [count]
203
+ - Key patterns: [list]
204
+ ```
205
+
206
+ ## Output Format
207
+
208
+ This skill returns structured requirements for the calling agent to pass to the next skill (skill-creator or agent-creator).
209
+
210
+ **Note:** The parent agent is responsible for passing these requirements to the appropriate creation skill. This skill only provides the structured requirements and reference materials.
211
+
212
+ **Single output format:**
213
+
214
+ ```markdown
215
+ ## Requirements
216
+
217
+ ### Type
218
+ [Agent or Skill]
219
+
220
+ ### Basic Information
221
+ - **Name**: [name]
222
+ - **Purpose**: [description]
223
+ - **Trigger**: [when to invoke]
224
+
225
+ ### Technical Requirements
226
+ - **Technologies**: [list]
227
+ - **Capabilities**: [list]
228
+ - **Platform**: [platforms]
229
+
230
+ ## Reference Materials
231
+
232
+ ### Similar Found
233
+
234
+ 1. **[Name]**
235
+ - URL: [raw-link]
236
+ - Key Features: [features]
237
+ - Files:
238
+ - SKILL.md: [raw-url]
239
+ - [other files]: [raw-url]
240
+
241
+ ### Suggested Patterns
242
+ - [pattern]
243
+ ```
244
+
245
+ ## Examples
246
+
247
+ See the [assets/examples/](assets/examples/) directory for complete examples:
248
+ - [frontend-developer-agent.md](assets/examples/frontend-developer-agent.md) - Example agent requirements
249
+ - [git-formatter-skill.md](assets/examples/git-formatter-skill.md) - Example skill requirements
@@ -0,0 +1,52 @@
1
+ ## Requirements
2
+
3
+ ### Type
4
+ Agent
5
+
6
+ ### Basic Information
7
+ - **Name**: frontend-developer-react
8
+ - **Purpose**: Frontend development with React and TypeScript, including component architecture, testing, and build processes
9
+ - **Trigger**: When user asks to create React components, debug frontend issues, or implement UI features
10
+
11
+ ### Technical Requirements
12
+ - **Technologies**: React, TypeScript, JavaScript, HTML, CSS
13
+ - **Capabilities**: Component development, state management, testing, build optimization
14
+ - **Platform**: Claude, OpenCode
15
+
16
+ ### Clarified Requirements
17
+ - **Exclusions**: Not for backend development, database operations, or DevOps tasks
18
+ - **Input**: Component specifications, design requirements, bug reports
19
+ - **Output**: React components, tests, documentation
20
+
21
+ ## Reference Materials
22
+
23
+ ### Similar Agents Found
24
+
25
+ 1. **Frontend Developer Agent**
26
+ - URL: https://github.com/VoltAgent/awesome-claude-code-subagents/blob/main/categories/01-core-development/frontend-developer.md
27
+ - Key Features: UI/UX specialist for React, Vue, and Angular
28
+ - Relevance: High
29
+
30
+ 2. **React Specialist Agent**
31
+ - URL: https://github.com/VoltAgent/awesome-claude-code-subagents/blob/main/categories/02-language-specialists/react-specialist.md
32
+ - Key Features: React 18+ modern patterns expert
33
+ - Relevance: High
34
+
35
+ 3. **UI Designer Agent**
36
+ - URL: https://github.com/VoltAgent/awesome-claude-code-subagents/blob/main/categories/01-core-development/ui-designer.md
37
+ - Key Features: Visual design and interaction specialist
38
+ - Relevance: Medium
39
+
40
+ ### Suggested Patterns
41
+ - Use component-based architecture
42
+ - Include testing capabilities (Jest, React Testing Library)
43
+ - Add build tool integration (Vite, Webpack)
44
+ - Support state management (Redux, Zustand, Context API)
45
+ - Include accessibility best practices
46
+
47
+ ## Summary
48
+
49
+ Gathered requirements for: frontend-developer-react
50
+ - Type: Agent
51
+ - References found: 3
52
+ - Key patterns: Component architecture, testing, build optimization
@@ -0,0 +1,52 @@
1
+ ## Requirements
2
+
3
+ ### Type
4
+ Skill
5
+
6
+ ### Basic Information
7
+ - **Name**: git-status-formatter
8
+ - **Purpose**: Format git status output in a readable, structured way with categorized file changes
9
+ - **Trigger**: When user asks to see git status, check repository state, or view working tree changes
10
+
11
+ ### Technical Requirements
12
+ - **Technologies**: Git, Bash
13
+ - **Capabilities**: Parse git status output, categorize changes, format output
14
+ - **Platform**: Claude, OpenCode
15
+
16
+ ### Clarified Requirements
17
+ - **Exclusions**: Not for viewing diffs, commit history, or branch listings
18
+ - **Input**: Git repository path
19
+ - **Output**: Formatted status summary with sections
20
+
21
+ ## Reference Materials
22
+
23
+ ### Similar Skills Found
24
+
25
+ 1. **Git Release Skill**
26
+ - URL: https://github.com/ComposioHQ/awesome-claude-skills/blob/master/skill-creator
27
+ - Key Features: Git workflow automation
28
+ - Relevance: Medium
29
+
30
+ 2. **Git Pushing Skill**
31
+ - URL: https://github.com/mhattingpete/claude-skills-marketplace/tree/main/engineering-workflow-plugin/skills/git-pushing
32
+ - Key Features: Automate git operations
33
+ - Relevance: Medium
34
+
35
+ 3. **Git Workflow Manager**
36
+ - URL: https://github.com/VoltAgent/awesome-claude-code-subagents/blob/main/categories/06-developer-experience/git-workflow-manager.md
37
+ - Key Features: Git workflow and branching expert
38
+ - Relevance: Medium
39
+
40
+ ### Suggested Patterns
41
+ - Use `git status --porcelain` for machine-readable output
42
+ - Categorize files by status (staged, modified, untracked)
43
+ - Include summary statistics
44
+ - Use clear section headers
45
+ - Support relative file paths
46
+
47
+ ## Summary
48
+
49
+ Gathered requirements for: git-status-formatter
50
+ - Type: Skill
51
+ - References found: 3
52
+ - Key patterns: Git status parsing, categorization, formatting