agentic-toolbox 0.6.0 → 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 (481) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +14 -6
  3. package/dist/cjs/agents/index.cjs +9 -0
  4. package/dist/cjs/agents/index.cjs.map +1 -0
  5. package/dist/cjs/cli/args/flags.d.cts +3 -0
  6. package/dist/cjs/cli/args/flags.d.cts.map +1 -0
  7. package/dist/cjs/cli/args/index.d.cts +5 -0
  8. package/dist/cjs/cli/args/index.d.cts.map +1 -0
  9. package/dist/{cli/args/parser.d.ts → cjs/cli/args/parser.d.cts} +2 -2
  10. package/dist/cjs/cli/args/parser.d.cts.map +1 -0
  11. package/dist/{cli/args/strategies.d.ts → cjs/cli/args/strategies.d.cts} +2 -2
  12. package/dist/cjs/cli/args/strategies.d.cts.map +1 -0
  13. package/dist/cjs/cli/args/subcommands.d.cts +3 -0
  14. package/dist/cjs/cli/args/subcommands.d.cts.map +1 -0
  15. package/dist/cjs/cli/commands/diff.d.cts +3 -0
  16. package/dist/cjs/cli/commands/diff.d.cts.map +1 -0
  17. package/dist/{cli/commands/doctor.d.ts → cjs/cli/commands/doctor.d.cts} +2 -2
  18. package/dist/cjs/cli/commands/doctor.d.cts.map +1 -0
  19. package/dist/cjs/cli/commands/index.d.cts +6 -0
  20. package/dist/cjs/cli/commands/index.d.cts.map +1 -0
  21. package/dist/cjs/cli/commands/init.d.cts +3 -0
  22. package/dist/cjs/cli/commands/init.d.cts.map +1 -0
  23. package/dist/cjs/cli/commands/sync.d.cts +3 -0
  24. package/dist/cjs/cli/commands/sync.d.cts.map +1 -0
  25. package/dist/cjs/cli/commands/validate.d.cts +3 -0
  26. package/dist/cjs/cli/commands/validate.d.cts.map +1 -0
  27. package/dist/cjs/cli/help/index.d.cts +3 -0
  28. package/dist/cjs/cli/help/index.d.cts.map +1 -0
  29. package/dist/{cli/help/print-help.d.ts → cjs/cli/help/print-help.d.cts} +1 -1
  30. package/dist/cjs/cli/help/print-help.d.cts.map +1 -0
  31. package/dist/{cli/help/templates.d.ts → cjs/cli/help/templates.d.cts} +1 -1
  32. package/dist/cjs/cli/help/templates.d.cts.map +1 -0
  33. package/dist/cjs/cli/index.d.cts +5 -0
  34. package/dist/cjs/cli/index.d.cts.map +1 -0
  35. package/dist/cjs/cli/run-cli.d.cts +3 -0
  36. package/dist/cjs/cli/run-cli.d.cts.map +1 -0
  37. package/dist/{core/config/discovery.d.ts → cjs/core/config/discovery.d.cts} +2 -2
  38. package/dist/cjs/core/config/discovery.d.cts.map +1 -0
  39. package/dist/cjs/core/config/index.d.cts +4 -0
  40. package/dist/cjs/core/config/index.d.cts.map +1 -0
  41. package/dist/cjs/core/config/loader.d.cts +3 -0
  42. package/dist/cjs/core/config/loader.d.cts.map +1 -0
  43. package/dist/{core/config/schema.d.ts → cjs/core/config/schema.d.cts} +2 -2
  44. package/dist/cjs/core/config/schema.d.cts.map +1 -0
  45. package/dist/cjs/core/index.d.cts +4 -0
  46. package/dist/cjs/core/index.d.cts.map +1 -0
  47. package/dist/{core/sync/engine-internal.d.ts → cjs/core/sync/engine-internal.d.cts} +2 -2
  48. package/dist/cjs/core/sync/engine-internal.d.cts.map +1 -0
  49. package/dist/{core/sync/engine.d.ts → cjs/core/sync/engine.d.cts} +2 -2
  50. package/dist/cjs/core/sync/engine.d.cts.map +1 -0
  51. package/dist/cjs/core/sync/index.d.cts +5 -0
  52. package/dist/cjs/core/sync/index.d.cts.map +1 -0
  53. package/dist/{core/sync/manifest.d.ts → cjs/core/sync/manifest.d.cts} +2 -2
  54. package/dist/cjs/core/sync/manifest.d.cts.map +1 -0
  55. package/dist/{core/sync/merger.d.ts → cjs/core/sync/merger.d.cts} +2 -2
  56. package/dist/cjs/core/sync/merger.d.cts.map +1 -0
  57. package/dist/cjs/core/sync/targets/index.d.cts +2 -0
  58. package/dist/cjs/core/sync/targets/index.d.cts.map +1 -0
  59. package/dist/{core/sync/targets/target-configs.d.ts → cjs/core/sync/targets/target-configs.d.cts} +2 -2
  60. package/dist/cjs/core/sync/targets/target-configs.d.cts.map +1 -0
  61. package/dist/cjs/core/transform/index.d.cts +7 -0
  62. package/dist/cjs/core/transform/index.d.cts.map +1 -0
  63. package/dist/{core/transform/parser.d.ts → cjs/core/transform/parser.d.cts} +3 -3
  64. package/dist/cjs/core/transform/parser.d.cts.map +1 -0
  65. package/dist/cjs/core/transform/pipeline.d.cts +3 -0
  66. package/dist/cjs/core/transform/pipeline.d.cts.map +1 -0
  67. package/dist/{core/transform/reassembler.d.ts → cjs/core/transform/reassembler.d.cts} +2 -2
  68. package/dist/cjs/core/transform/reassembler.d.cts.map +1 -0
  69. package/dist/{core/transform/stripper.d.ts → cjs/core/transform/stripper.d.cts} +2 -2
  70. package/dist/cjs/core/transform/stripper.d.cts.map +1 -0
  71. package/dist/{core/transform/transform-agent.d.ts → cjs/core/transform/transform-agent.d.cts} +2 -2
  72. package/dist/cjs/core/transform/transform-agent.d.cts.map +1 -0
  73. package/dist/cjs/index.cjs +1749 -0
  74. package/dist/cjs/index.cjs.map +1 -0
  75. package/dist/cjs/index.d.cts +3 -0
  76. package/dist/cjs/index.d.cts.map +1 -0
  77. package/dist/cjs/skills/index.cjs +14 -0
  78. package/dist/cjs/skills/index.cjs.map +1 -0
  79. package/dist/{types/cli.d.ts → cjs/types/cli.d.cts} +1 -1
  80. package/dist/cjs/types/cli.d.cts.map +1 -0
  81. package/dist/{types/config.d.ts → cjs/types/config.d.cts} +1 -1
  82. package/dist/cjs/types/config.d.cts.map +1 -0
  83. package/dist/{types/constants.d.ts → cjs/types/constants.d.cts} +1 -1
  84. package/dist/cjs/types/constants.d.cts.map +1 -0
  85. package/dist/cjs/types/errors.d.cts +40 -0
  86. package/dist/cjs/types/errors.d.cts.map +1 -0
  87. package/dist/cjs/types/index.d.cts +8 -0
  88. package/dist/cjs/types/index.d.cts.map +1 -0
  89. package/dist/{types/sync.d.ts → cjs/types/sync.d.cts} +3 -3
  90. package/dist/cjs/types/sync.d.cts.map +1 -0
  91. package/dist/{types/targets.d.ts → cjs/types/targets.d.cts} +2 -2
  92. package/dist/cjs/types/targets.d.cts.map +1 -0
  93. package/dist/{types/transform.d.ts → cjs/types/transform.d.cts} +2 -2
  94. package/dist/cjs/types/transform.d.cts.map +1 -0
  95. package/dist/{utils/errors/classes.d.ts → cjs/utils/errors/classes.d.cts} +2 -2
  96. package/dist/cjs/utils/errors/classes.d.cts.map +1 -0
  97. package/dist/cjs/utils/errors/codes.d.cts +2 -0
  98. package/dist/cjs/utils/errors/codes.d.cts.map +1 -0
  99. package/dist/cjs/utils/errors/index.d.cts +4 -0
  100. package/dist/cjs/utils/errors/index.d.cts.map +1 -0
  101. package/dist/{utils/errors/messages.d.ts → cjs/utils/errors/messages.d.cts} +2 -2
  102. package/dist/cjs/utils/errors/messages.d.cts.map +1 -0
  103. package/dist/{utils/fs/atomic.d.ts → cjs/utils/fs/atomic.d.cts} +1 -1
  104. package/dist/cjs/utils/fs/atomic.d.cts.map +1 -0
  105. package/dist/cjs/utils/fs/index.d.cts +5 -0
  106. package/dist/cjs/utils/fs/index.d.cts.map +1 -0
  107. package/dist/{utils/fs/operations.d.ts → cjs/utils/fs/operations.d.cts} +1 -1
  108. package/dist/cjs/utils/fs/operations.d.cts.map +1 -0
  109. package/dist/{utils/fs/paths.d.ts → cjs/utils/fs/paths.d.cts} +1 -1
  110. package/dist/cjs/utils/fs/paths.d.cts.map +1 -0
  111. package/dist/{utils/fs/sanitization.d.ts → cjs/utils/fs/sanitization.d.cts} +1 -1
  112. package/dist/cjs/utils/fs/sanitization.d.cts.map +1 -0
  113. package/dist/cjs/utils/index.d.cts +4 -0
  114. package/dist/cjs/utils/index.d.cts.map +1 -0
  115. package/dist/{utils/logging/console.d.ts → cjs/utils/logging/console.d.cts} +2 -2
  116. package/dist/cjs/utils/logging/console.d.cts.map +1 -0
  117. package/dist/cjs/utils/logging/index.d.cts +3 -0
  118. package/dist/cjs/utils/logging/index.d.cts.map +1 -0
  119. package/dist/{utils/logging/levels.d.ts → cjs/utils/logging/levels.d.cts} +1 -1
  120. package/dist/cjs/utils/logging/levels.d.cts.map +1 -0
  121. package/dist/esm/agents/Agent.md.sample +384 -0
  122. package/dist/esm/agents/agentic-tools-creator.md +143 -0
  123. package/dist/esm/agents/index.js +9 -0
  124. package/dist/esm/agents/index.js.map +1 -0
  125. package/dist/esm/cli/args/flags.d.mts +3 -0
  126. package/dist/esm/cli/args/flags.d.mts.map +1 -0
  127. package/dist/esm/cli/args/index.d.mts +5 -0
  128. package/dist/esm/cli/args/index.d.mts.map +1 -0
  129. package/dist/esm/cli/args/parser.d.mts +5 -0
  130. package/dist/esm/cli/args/parser.d.mts.map +1 -0
  131. package/dist/esm/cli/args/strategies.d.mts +7 -0
  132. package/dist/esm/cli/args/strategies.d.mts.map +1 -0
  133. package/dist/esm/cli/args/subcommands.d.mts +3 -0
  134. package/dist/esm/cli/args/subcommands.d.mts.map +1 -0
  135. package/dist/esm/cli/commands/diff.d.mts +3 -0
  136. package/dist/esm/cli/commands/diff.d.mts.map +1 -0
  137. package/dist/esm/cli/commands/doctor.d.mts +8 -0
  138. package/dist/esm/cli/commands/doctor.d.mts.map +1 -0
  139. package/dist/esm/cli/commands/index.d.mts +6 -0
  140. package/dist/esm/cli/commands/index.d.mts.map +1 -0
  141. package/dist/esm/cli/commands/init.d.mts +3 -0
  142. package/dist/esm/cli/commands/init.d.mts.map +1 -0
  143. package/dist/esm/cli/commands/sync.d.mts +3 -0
  144. package/dist/esm/cli/commands/sync.d.mts.map +1 -0
  145. package/dist/esm/cli/commands/validate.d.mts +3 -0
  146. package/dist/esm/cli/commands/validate.d.mts.map +1 -0
  147. package/dist/esm/cli/help/index.d.mts +3 -0
  148. package/dist/esm/cli/help/index.d.mts.map +1 -0
  149. package/dist/esm/cli/help/print-help.d.mts +2 -0
  150. package/dist/esm/cli/help/print-help.d.mts.map +1 -0
  151. package/dist/esm/cli/help/templates.d.mts +3 -0
  152. package/dist/esm/cli/help/templates.d.mts.map +1 -0
  153. package/dist/esm/cli/index.d.mts +5 -0
  154. package/dist/esm/cli/index.d.mts.map +1 -0
  155. package/dist/esm/cli/run-cli.d.mts +3 -0
  156. package/dist/esm/cli/run-cli.d.mts.map +1 -0
  157. package/dist/esm/core/config/discovery.d.mts +4 -0
  158. package/dist/esm/core/config/discovery.d.mts.map +1 -0
  159. package/dist/esm/core/config/index.d.mts +4 -0
  160. package/dist/esm/core/config/index.d.mts.map +1 -0
  161. package/dist/esm/core/config/loader.d.mts +3 -0
  162. package/dist/esm/core/config/loader.d.mts.map +1 -0
  163. package/dist/esm/core/config/schema.d.mts +8 -0
  164. package/dist/esm/core/config/schema.d.mts.map +1 -0
  165. package/dist/esm/core/index.d.mts +4 -0
  166. package/dist/esm/core/index.d.mts.map +1 -0
  167. package/dist/esm/core/sync/engine-internal.d.mts +3 -0
  168. package/dist/esm/core/sync/engine-internal.d.mts.map +1 -0
  169. package/dist/esm/core/sync/engine.d.mts +4 -0
  170. package/dist/esm/core/sync/engine.d.mts.map +1 -0
  171. package/dist/esm/core/sync/index.d.mts +5 -0
  172. package/dist/esm/core/sync/index.d.mts.map +1 -0
  173. package/dist/esm/core/sync/manifest.d.mts +10 -0
  174. package/dist/esm/core/sync/manifest.d.mts.map +1 -0
  175. package/dist/esm/core/sync/merger.d.mts +9 -0
  176. package/dist/esm/core/sync/merger.d.mts.map +1 -0
  177. package/dist/esm/core/sync/targets/index.d.mts +2 -0
  178. package/dist/esm/core/sync/targets/index.d.mts.map +1 -0
  179. package/dist/esm/core/sync/targets/target-configs.d.mts +5 -0
  180. package/dist/esm/core/sync/targets/target-configs.d.mts.map +1 -0
  181. package/dist/esm/core/transform/index.d.mts +7 -0
  182. package/dist/esm/core/transform/index.d.mts.map +1 -0
  183. package/dist/esm/core/transform/parser.d.mts +16 -0
  184. package/dist/esm/core/transform/parser.d.mts.map +1 -0
  185. package/dist/esm/core/transform/pipeline.d.mts +3 -0
  186. package/dist/esm/core/transform/pipeline.d.mts.map +1 -0
  187. package/dist/esm/core/transform/reassembler.d.mts +3 -0
  188. package/dist/esm/core/transform/reassembler.d.mts.map +1 -0
  189. package/dist/esm/core/transform/stripper.d.mts +3 -0
  190. package/dist/esm/core/transform/stripper.d.mts.map +1 -0
  191. package/dist/esm/core/transform/transform-agent.d.mts +3 -0
  192. package/dist/esm/core/transform/transform-agent.d.mts.map +1 -0
  193. package/dist/esm/index.d.mts +3 -0
  194. package/dist/esm/index.d.mts.map +1 -0
  195. package/dist/esm/index.js +1815 -0
  196. package/dist/esm/index.js.map +1 -0
  197. package/dist/esm/skills/SKILL.md.sample +322 -0
  198. package/dist/esm/skills/agent-creator/SKILL.md +110 -0
  199. package/dist/esm/skills/agent-creator/assets/examples/code-reviewer.md +68 -0
  200. package/dist/esm/skills/agent-creator/assets/examples/docs-writer.md +67 -0
  201. package/dist/esm/skills/agent-creator/assets/examples/read-only-researcher.md +64 -0
  202. package/dist/esm/skills/agent-creator/references/AGENT_TEMPLATE.md +391 -0
  203. package/dist/esm/skills/agent-creator/references/frontmatter.md +544 -0
  204. package/dist/esm/skills/agent-creator/references/prompt.md +449 -0
  205. package/dist/esm/skills/agent-creator/references/validation.md +309 -0
  206. package/dist/esm/skills/agentic-resource-gatherer/SKILL.md +249 -0
  207. package/dist/esm/skills/agentic-resource-gatherer/assets/examples/frontend-developer-agent.md +52 -0
  208. package/dist/esm/skills/agentic-resource-gatherer/assets/examples/git-formatter-skill.md +52 -0
  209. package/dist/esm/skills/agentic-resource-gatherer/references/agent-repos.md +190 -0
  210. package/dist/esm/skills/agentic-resource-gatherer/references/skill-repos.md +225 -0
  211. package/dist/esm/skills/index.js +14 -0
  212. package/dist/esm/skills/index.js.map +1 -0
  213. package/dist/esm/skills/skill-creator/SKILL.md +178 -0
  214. package/dist/esm/skills/skill-creator/assets/examples/background-knowledge-skill.md +25 -0
  215. package/dist/esm/skills/skill-creator/assets/examples/code-generation-skill.md +51 -0
  216. package/dist/esm/skills/skill-creator/assets/examples/simple-git-skill.md +36 -0
  217. package/dist/esm/skills/skill-creator/references/SKILL_TEMPLATE.md +322 -0
  218. package/dist/esm/skills/skill-creator/references/frontmatter.md +441 -0
  219. package/dist/esm/skills/skill-creator/references/prompt.md +384 -0
  220. package/dist/esm/skills/skill-creator/references/validation.md +282 -0
  221. package/dist/esm/types/cli.d.mts +68 -0
  222. package/dist/esm/types/cli.d.mts.map +1 -0
  223. package/dist/esm/types/config.d.mts +22 -0
  224. package/dist/esm/types/config.d.mts.map +1 -0
  225. package/dist/esm/types/constants.d.mts +2 -0
  226. package/dist/esm/types/constants.d.mts.map +1 -0
  227. package/dist/esm/types/errors.d.mts +40 -0
  228. package/dist/esm/types/errors.d.mts.map +1 -0
  229. package/dist/esm/types/index.d.mts +8 -0
  230. package/dist/esm/types/index.d.mts.map +1 -0
  231. package/dist/esm/types/sync.d.mts +26 -0
  232. package/dist/esm/types/sync.d.mts.map +1 -0
  233. package/dist/esm/types/targets.d.mts +25 -0
  234. package/dist/esm/types/targets.d.mts.map +1 -0
  235. package/dist/esm/types/transform.d.mts +24 -0
  236. package/dist/esm/types/transform.d.mts.map +1 -0
  237. package/dist/esm/utils/errors/classes.d.mts +76 -0
  238. package/dist/esm/utils/errors/classes.d.mts.map +1 -0
  239. package/dist/esm/utils/errors/codes.d.mts +2 -0
  240. package/dist/esm/utils/errors/codes.d.mts.map +1 -0
  241. package/dist/esm/utils/errors/index.d.mts +4 -0
  242. package/dist/esm/utils/errors/index.d.mts.map +1 -0
  243. package/dist/esm/utils/errors/messages.d.mts +11 -0
  244. package/dist/esm/utils/errors/messages.d.mts.map +1 -0
  245. package/dist/esm/utils/fs/atomic.d.mts +2 -0
  246. package/dist/esm/utils/fs/atomic.d.mts.map +1 -0
  247. package/dist/esm/utils/fs/index.d.mts +5 -0
  248. package/dist/esm/utils/fs/index.d.mts.map +1 -0
  249. package/dist/esm/utils/fs/operations.d.mts +12 -0
  250. package/dist/esm/utils/fs/operations.d.mts.map +1 -0
  251. package/dist/esm/utils/fs/paths.d.mts +9 -0
  252. package/dist/esm/utils/fs/paths.d.mts.map +1 -0
  253. package/dist/esm/utils/fs/sanitization.d.mts +11 -0
  254. package/dist/esm/utils/fs/sanitization.d.mts.map +1 -0
  255. package/dist/esm/utils/index.d.mts +4 -0
  256. package/dist/esm/utils/index.d.mts.map +1 -0
  257. package/dist/esm/utils/logging/console.d.mts +34 -0
  258. package/dist/esm/utils/logging/console.d.mts.map +1 -0
  259. package/dist/esm/utils/logging/index.d.mts +3 -0
  260. package/dist/esm/utils/logging/index.d.mts.map +1 -0
  261. package/dist/esm/utils/logging/levels.d.mts +23 -0
  262. package/dist/esm/utils/logging/levels.d.mts.map +1 -0
  263. package/package.json +22 -13
  264. package/dist/cli/args/flags.d.ts +0 -3
  265. package/dist/cli/args/flags.d.ts.map +0 -1
  266. package/dist/cli/args/flags.js +0 -50
  267. package/dist/cli/args/flags.js.map +0 -1
  268. package/dist/cli/args/index.d.ts +0 -5
  269. package/dist/cli/args/index.d.ts.map +0 -1
  270. package/dist/cli/args/index.js +0 -6
  271. package/dist/cli/args/index.js.map +0 -1
  272. package/dist/cli/args/parser.d.ts.map +0 -1
  273. package/dist/cli/args/parser.js +0 -88
  274. package/dist/cli/args/parser.js.map +0 -1
  275. package/dist/cli/args/strategies.d.ts.map +0 -1
  276. package/dist/cli/args/strategies.js +0 -49
  277. package/dist/cli/args/strategies.js.map +0 -1
  278. package/dist/cli/args/subcommands.d.ts +0 -3
  279. package/dist/cli/args/subcommands.d.ts.map +0 -1
  280. package/dist/cli/args/subcommands.js +0 -55
  281. package/dist/cli/args/subcommands.js.map +0 -1
  282. package/dist/cli/commands/diff.d.ts +0 -3
  283. package/dist/cli/commands/diff.d.ts.map +0 -1
  284. package/dist/cli/commands/diff.js +0 -142
  285. package/dist/cli/commands/diff.js.map +0 -1
  286. package/dist/cli/commands/doctor.d.ts.map +0 -1
  287. package/dist/cli/commands/doctor.js +0 -104
  288. package/dist/cli/commands/doctor.js.map +0 -1
  289. package/dist/cli/commands/index.d.ts +0 -6
  290. package/dist/cli/commands/index.d.ts.map +0 -1
  291. package/dist/cli/commands/index.js +0 -7
  292. package/dist/cli/commands/index.js.map +0 -1
  293. package/dist/cli/commands/init.d.ts +0 -3
  294. package/dist/cli/commands/init.d.ts.map +0 -1
  295. package/dist/cli/commands/init.js +0 -66
  296. package/dist/cli/commands/init.js.map +0 -1
  297. package/dist/cli/commands/sync.d.ts +0 -3
  298. package/dist/cli/commands/sync.d.ts.map +0 -1
  299. package/dist/cli/commands/sync.js +0 -56
  300. package/dist/cli/commands/sync.js.map +0 -1
  301. package/dist/cli/commands/validate.d.ts +0 -3
  302. package/dist/cli/commands/validate.d.ts.map +0 -1
  303. package/dist/cli/commands/validate.js +0 -71
  304. package/dist/cli/commands/validate.js.map +0 -1
  305. package/dist/cli/help/index.d.ts +0 -3
  306. package/dist/cli/help/index.d.ts.map +0 -1
  307. package/dist/cli/help/index.js +0 -4
  308. package/dist/cli/help/index.js.map +0 -1
  309. package/dist/cli/help/print-help.d.ts.map +0 -1
  310. package/dist/cli/help/print-help.js +0 -13
  311. package/dist/cli/help/print-help.js.map +0 -1
  312. package/dist/cli/help/templates.d.ts.map +0 -1
  313. package/dist/cli/help/templates.js +0 -83
  314. package/dist/cli/help/templates.js.map +0 -1
  315. package/dist/cli/index.d.ts +0 -5
  316. package/dist/cli/index.d.ts.map +0 -1
  317. package/dist/cli/index.js +0 -6
  318. package/dist/cli/index.js.map +0 -1
  319. package/dist/cli/run-cli.d.ts +0 -3
  320. package/dist/cli/run-cli.d.ts.map +0 -1
  321. package/dist/cli/run-cli.js +0 -58
  322. package/dist/cli/run-cli.js.map +0 -1
  323. package/dist/core/config/discovery.d.ts.map +0 -1
  324. package/dist/core/config/discovery.js +0 -21
  325. package/dist/core/config/discovery.js.map +0 -1
  326. package/dist/core/config/index.d.ts +0 -4
  327. package/dist/core/config/index.d.ts.map +0 -1
  328. package/dist/core/config/index.js +0 -5
  329. package/dist/core/config/index.js.map +0 -1
  330. package/dist/core/config/loader.d.ts +0 -3
  331. package/dist/core/config/loader.d.ts.map +0 -1
  332. package/dist/core/config/loader.js +0 -70
  333. package/dist/core/config/loader.js.map +0 -1
  334. package/dist/core/config/schema.d.ts.map +0 -1
  335. package/dist/core/config/schema.js +0 -129
  336. package/dist/core/config/schema.js.map +0 -1
  337. package/dist/core/index.d.ts +0 -4
  338. package/dist/core/index.d.ts.map +0 -1
  339. package/dist/core/index.js +0 -5
  340. package/dist/core/index.js.map +0 -1
  341. package/dist/core/sync/engine-internal.d.ts.map +0 -1
  342. package/dist/core/sync/engine-internal.js +0 -244
  343. package/dist/core/sync/engine-internal.js.map +0 -1
  344. package/dist/core/sync/engine.d.ts.map +0 -1
  345. package/dist/core/sync/engine.js +0 -17
  346. package/dist/core/sync/engine.js.map +0 -1
  347. package/dist/core/sync/index.d.ts +0 -5
  348. package/dist/core/sync/index.d.ts.map +0 -1
  349. package/dist/core/sync/index.js +0 -6
  350. package/dist/core/sync/index.js.map +0 -1
  351. package/dist/core/sync/manifest.d.ts.map +0 -1
  352. package/dist/core/sync/manifest.js +0 -68
  353. package/dist/core/sync/manifest.js.map +0 -1
  354. package/dist/core/sync/merger.d.ts.map +0 -1
  355. package/dist/core/sync/merger.js +0 -65
  356. package/dist/core/sync/merger.js.map +0 -1
  357. package/dist/core/sync/targets/index.d.ts +0 -2
  358. package/dist/core/sync/targets/index.d.ts.map +0 -1
  359. package/dist/core/sync/targets/index.js +0 -3
  360. package/dist/core/sync/targets/index.js.map +0 -1
  361. package/dist/core/sync/targets/target-configs.d.ts.map +0 -1
  362. package/dist/core/sync/targets/target-configs.js +0 -8
  363. package/dist/core/sync/targets/target-configs.js.map +0 -1
  364. package/dist/core/transform/index.d.ts +0 -7
  365. package/dist/core/transform/index.d.ts.map +0 -1
  366. package/dist/core/transform/index.js +0 -7
  367. package/dist/core/transform/index.js.map +0 -1
  368. package/dist/core/transform/parser.d.ts.map +0 -1
  369. package/dist/core/transform/parser.js +0 -152
  370. package/dist/core/transform/parser.js.map +0 -1
  371. package/dist/core/transform/pipeline.d.ts +0 -3
  372. package/dist/core/transform/pipeline.d.ts.map +0 -1
  373. package/dist/core/transform/pipeline.js +0 -10
  374. package/dist/core/transform/pipeline.js.map +0 -1
  375. package/dist/core/transform/reassembler.d.ts.map +0 -1
  376. package/dist/core/transform/reassembler.js +0 -13
  377. package/dist/core/transform/reassembler.js.map +0 -1
  378. package/dist/core/transform/stripper.d.ts.map +0 -1
  379. package/dist/core/transform/stripper.js +0 -10
  380. package/dist/core/transform/stripper.js.map +0 -1
  381. package/dist/core/transform/transform-agent.d.ts.map +0 -1
  382. package/dist/core/transform/transform-agent.js +0 -42
  383. package/dist/core/transform/transform-agent.js.map +0 -1
  384. package/dist/index.d.ts +0 -3
  385. package/dist/index.d.ts.map +0 -1
  386. package/dist/index.js +0 -7
  387. package/dist/index.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/constants.d.ts.map +0 -1
  395. package/dist/types/constants.js +0 -3
  396. package/dist/types/constants.js.map +0 -1
  397. package/dist/types/errors.d.ts +0 -40
  398. package/dist/types/errors.d.ts.map +0 -1
  399. package/dist/types/errors.js +0 -36
  400. package/dist/types/errors.js.map +0 -1
  401. package/dist/types/index.d.ts +0 -8
  402. package/dist/types/index.d.ts.map +0 -1
  403. package/dist/types/index.js +0 -9
  404. package/dist/types/index.js.map +0 -1
  405. package/dist/types/sync.d.ts.map +0 -1
  406. package/dist/types/sync.js +0 -2
  407. package/dist/types/sync.js.map +0 -1
  408. package/dist/types/targets.d.ts.map +0 -1
  409. package/dist/types/targets.js +0 -92
  410. package/dist/types/targets.js.map +0 -1
  411. package/dist/types/transform.d.ts.map +0 -1
  412. package/dist/types/transform.js +0 -2
  413. package/dist/types/transform.js.map +0 -1
  414. package/dist/utils/errors/classes.d.ts.map +0 -1
  415. package/dist/utils/errors/classes.js +0 -113
  416. package/dist/utils/errors/classes.js.map +0 -1
  417. package/dist/utils/errors/codes.d.ts +0 -2
  418. package/dist/utils/errors/codes.d.ts.map +0 -1
  419. package/dist/utils/errors/codes.js +0 -3
  420. package/dist/utils/errors/codes.js.map +0 -1
  421. package/dist/utils/errors/index.d.ts +0 -4
  422. package/dist/utils/errors/index.d.ts.map +0 -1
  423. package/dist/utils/errors/index.js +0 -5
  424. package/dist/utils/errors/index.js.map +0 -1
  425. package/dist/utils/errors/messages.d.ts.map +0 -1
  426. package/dist/utils/errors/messages.js +0 -13
  427. package/dist/utils/errors/messages.js.map +0 -1
  428. package/dist/utils/fs/atomic.d.ts.map +0 -1
  429. package/dist/utils/fs/atomic.js +0 -24
  430. package/dist/utils/fs/atomic.js.map +0 -1
  431. package/dist/utils/fs/index.d.ts +0 -5
  432. package/dist/utils/fs/index.d.ts.map +0 -1
  433. package/dist/utils/fs/index.js +0 -6
  434. package/dist/utils/fs/index.js.map +0 -1
  435. package/dist/utils/fs/operations.d.ts.map +0 -1
  436. package/dist/utils/fs/operations.js +0 -60
  437. package/dist/utils/fs/operations.js.map +0 -1
  438. package/dist/utils/fs/paths.d.ts.map +0 -1
  439. package/dist/utils/fs/paths.js +0 -58
  440. package/dist/utils/fs/paths.js.map +0 -1
  441. package/dist/utils/fs/sanitization.d.ts.map +0 -1
  442. package/dist/utils/fs/sanitization.js +0 -57
  443. package/dist/utils/fs/sanitization.js.map +0 -1
  444. package/dist/utils/index.d.ts +0 -4
  445. package/dist/utils/index.d.ts.map +0 -1
  446. package/dist/utils/index.js +0 -5
  447. package/dist/utils/index.js.map +0 -1
  448. package/dist/utils/logging/console.d.ts.map +0 -1
  449. package/dist/utils/logging/console.js +0 -133
  450. package/dist/utils/logging/console.js.map +0 -1
  451. package/dist/utils/logging/index.d.ts +0 -3
  452. package/dist/utils/logging/index.d.ts.map +0 -1
  453. package/dist/utils/logging/index.js +0 -4
  454. package/dist/utils/logging/index.js.map +0 -1
  455. package/dist/utils/logging/levels.d.ts.map +0 -1
  456. package/dist/utils/logging/levels.js +0 -2
  457. package/dist/utils/logging/levels.js.map +0 -1
  458. /package/dist/{agents → cjs/agents}/Agent.md.sample +0 -0
  459. /package/dist/{agents → cjs/agents}/agentic-tools-creator.md +0 -0
  460. /package/dist/{skills → cjs/skills}/SKILL.md.sample +0 -0
  461. /package/dist/{skills → cjs/skills}/agent-creator/SKILL.md +0 -0
  462. /package/dist/{skills → cjs/skills}/agent-creator/assets/examples/code-reviewer.md +0 -0
  463. /package/dist/{skills → cjs/skills}/agent-creator/assets/examples/docs-writer.md +0 -0
  464. /package/dist/{skills → cjs/skills}/agent-creator/assets/examples/read-only-researcher.md +0 -0
  465. /package/dist/{skills → cjs/skills}/agent-creator/references/AGENT_TEMPLATE.md +0 -0
  466. /package/dist/{skills → cjs/skills}/agent-creator/references/frontmatter.md +0 -0
  467. /package/dist/{skills → cjs/skills}/agent-creator/references/prompt.md +0 -0
  468. /package/dist/{skills → cjs/skills}/agent-creator/references/validation.md +0 -0
  469. /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/SKILL.md +0 -0
  470. /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/assets/examples/frontend-developer-agent.md +0 -0
  471. /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/assets/examples/git-formatter-skill.md +0 -0
  472. /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/references/agent-repos.md +0 -0
  473. /package/dist/{skills → cjs/skills}/agentic-resource-gatherer/references/skill-repos.md +0 -0
  474. /package/dist/{skills → cjs/skills}/skill-creator/SKILL.md +0 -0
  475. /package/dist/{skills → cjs/skills}/skill-creator/assets/examples/background-knowledge-skill.md +0 -0
  476. /package/dist/{skills → cjs/skills}/skill-creator/assets/examples/code-generation-skill.md +0 -0
  477. /package/dist/{skills → cjs/skills}/skill-creator/assets/examples/simple-git-skill.md +0 -0
  478. /package/dist/{skills → cjs/skills}/skill-creator/references/SKILL_TEMPLATE.md +0 -0
  479. /package/dist/{skills → cjs/skills}/skill-creator/references/frontmatter.md +0 -0
  480. /package/dist/{skills → cjs/skills}/skill-creator/references/prompt.md +0 -0
  481. /package/dist/{skills → cjs/skills}/skill-creator/references/validation.md +0 -0
@@ -0,0 +1,449 @@
1
+ # Agent System Prompt Reference
2
+
3
+ Complete reference for writing the system prompt (Markdown body) of agent files.
4
+
5
+ ---
6
+
7
+ ## Overview
8
+
9
+ The Markdown body after frontmatter contains the system prompt. This defines the agent's persona, responsibilities, and behavioral guidelines. Write whatever helps the agent perform its task effectively.
10
+
11
+ ---
12
+
13
+ ## Recommended Structure
14
+
15
+ While not required, the following structure is recommended for consistency:
16
+
17
+ ### Role/Persona
18
+
19
+ Define who the agent is and its primary purpose.
20
+
21
+ ```markdown
22
+ You are [Role/Persona]. Your purpose is to [clear statement of what this agent does].
23
+ ```
24
+
25
+ **Examples:**
26
+ ```markdown
27
+ You are a code researcher. Your job is to explore codebases and provide
28
+ accurate information about code structure, patterns, and relationships.
29
+ ```
30
+
31
+ ```markdown
32
+ You are a senior code reviewer. Focus on:
33
+ - Code quality and maintainability
34
+ - Security vulnerabilities
35
+ - Performance implications
36
+ - Best practices and patterns
37
+ ```
38
+
39
+ ### Core Responsibilities
40
+
41
+ List the primary responsibilities of the agent.
42
+
43
+ ```markdown
44
+ ### Core Responsibilities
45
+
46
+ 1. [Primary responsibility]
47
+ 2. [Secondary responsibility]
48
+ 3. [Tertiary responsibility]
49
+ ```
50
+
51
+ **Example:**
52
+ ```markdown
53
+ ### Core Responsibilities
54
+
55
+ 1. Explore codebases and provide detailed analysis
56
+ 2. Find specific implementations and trace function calls
57
+ 3. Generate summaries of code modules and architecture
58
+ ```
59
+
60
+ ### Behavioral Guidelines
61
+
62
+ Define the agent's tone, philosophy, and approach.
63
+
64
+ ```markdown
65
+ ### Behavioral Guidelines
66
+
67
+ - **Tone**: [e.g., Concise, Direct, Authoritative, Pedagogical]
68
+ - **Philosophy**: [e.g., "Zero dependencies, maximum portability"]
69
+ - **Approach**: [e.g., "Fail fast, fail loud", "Explicit over implicit"]
70
+ ```
71
+
72
+ **Example:**
73
+ ```markdown
74
+ ### Behavioral Guidelines
75
+
76
+ - **Tone**: Concise, Direct
77
+ - **Philosophy**: Accuracy over speed
78
+ - **Approach**: Always cite file paths and line numbers
79
+ ```
80
+
81
+ ### Technical Domain
82
+
83
+ Specify the agent's technical expertise.
84
+
85
+ ```markdown
86
+ ### Technical Domain
87
+
88
+ - **Languages**: [e.g., TypeScript, Go, Rust, Python]
89
+ - **Frameworks**: [e.g., React, Node.js, Kubernetes]
90
+ - **Specializations**: [e.g., Distributed systems, Security, Performance]
91
+ ```
92
+
93
+ **Example:**
94
+ ```markdown
95
+ ### Technical Domain
96
+
97
+ - **Languages**: TypeScript, JavaScript, Python
98
+ - **Frameworks**: React, Node.js, Angular
99
+ - **Specializations**: Code analysis, architecture review
100
+ ```
101
+
102
+ ### Constraints
103
+
104
+ Define what the agent should NEVER do.
105
+
106
+ ```markdown
107
+ ### Constraints
108
+
109
+ - ❌ NEVER [specific restriction]
110
+ - ❌ NEVER [specific restriction]
111
+ - ❌ NEVER [specific restriction]
112
+ ```
113
+
114
+ **Example:**
115
+ ```markdown
116
+ ### Constraints
117
+
118
+ - ❌ NEVER make code changes
119
+ - ❌ NEVER execute commands that modify the filesystem
120
+ - ❌ NEVER skip file path citations
121
+ ```
122
+
123
+ ### Workflow
124
+
125
+ Define the agent's step-by-step process.
126
+
127
+ ```markdown
128
+ ### Workflow
129
+
130
+ 1. **Analyze**: [First step]
131
+ 2. **Plan**: [Second step]
132
+ 3. **Execute**: [Third step]
133
+ 4. **Validate**: [Fourth step]
134
+ ```
135
+
136
+ **Example:**
137
+ ```markdown
138
+ ### Workflow
139
+
140
+ 1. **Analyze**: Read the codebase structure
141
+ 2. **Identify**: Find relevant files and functions
142
+ 3. **Trace**: Follow dependencies and relationships
143
+ 4. **Report**: Compile findings with citations
144
+ ```
145
+
146
+ ### Output Format
147
+
148
+ Define how the agent should present its results.
149
+
150
+ ```markdown
151
+ ### Output Format
152
+
153
+ When providing results:
154
+ - [Format requirement 1]
155
+ - [Format requirement 2]
156
+ - [Format requirement 3]
157
+ ```
158
+
159
+ **Example:**
160
+ ```markdown
161
+ ### Output Format
162
+
163
+ When providing results:
164
+ - Always cite file paths and line numbers
165
+ - Use structured format (headers, lists, code blocks)
166
+ - Include confidence levels for findings
167
+ ```
168
+
169
+ ---
170
+
171
+ ## Content Types
172
+
173
+ Agents can contain different types of system prompts:
174
+
175
+ ### Research Agent
176
+
177
+ Focus on analysis and information gathering.
178
+
179
+ ```markdown
180
+ You are a code researcher. Your job is to explore codebases and provide
181
+ accurate information about code structure, patterns, and relationships.
182
+
183
+ Always cite file paths and line numbers when referencing code.
184
+ ```
185
+
186
+ ### Task Agent
187
+
188
+ Focus on completing specific actions.
189
+
190
+ ```markdown
191
+ You are a technical writer. Create clear, comprehensive documentation.
192
+ Focus on clarity, proper structure, and user-friendly language.
193
+ ```
194
+
195
+ ### Review Agent
196
+
197
+ Focus on evaluation and feedback.
198
+
199
+ ```markdown
200
+ You are a senior code reviewer. Focus on:
201
+ - Code quality and maintainability
202
+ - Security vulnerabilities
203
+ - Performance implications
204
+ - Best practices and patterns
205
+
206
+ Provide actionable feedback without making direct changes.
207
+ ```
208
+
209
+ ### Background Agent
210
+
211
+ Focus on long-running, deep investigations.
212
+
213
+ ```markdown
214
+ You are a deep researcher. Perform thorough investigations and compile
215
+ detailed findings. Save important discoveries to your memory for future reference.
216
+ ```
217
+
218
+ ---
219
+
220
+ ## Best Practices
221
+
222
+ ### Be Specific
223
+
224
+ **Vague (avoid):**
225
+ ```markdown
226
+ You are a helpful assistant.
227
+ ```
228
+
229
+ **Specific (prefer):**
230
+ ```markdown
231
+ You are a code researcher specializing in TypeScript and React applications.
232
+ Your job is to explore codebases and provide detailed analysis of code structure,
233
+ patterns, and relationships.
234
+ ```
235
+
236
+ ### Define Constraints Clearly
237
+
238
+ **Unclear (avoid):**
239
+ ```markdown
240
+ Don't do bad things.
241
+ ```
242
+
243
+ **Clear (prefer):**
244
+ ```markdown
245
+ ### Constraints
246
+
247
+ - ❌ NEVER make code changes
248
+ - ❌ NEVER execute commands that modify the filesystem
249
+ - ❌ NEVER skip file path citations
250
+ ```
251
+
252
+ ### Use Structured Format
253
+
254
+ **Unstructured (avoid):**
255
+ ```markdown
256
+ You should look at code and then tell the user about it. Make sure to cite files.
257
+ ```
258
+
259
+ **Structured (prefer):**
260
+ ```markdown
261
+ ### Workflow
262
+
263
+ 1. **Analyze**: Read the codebase structure
264
+ 2. **Identify**: Find relevant files and functions
265
+ 3. **Trace**: Follow dependencies and relationships
266
+ 4. **Report**: Compile findings with citations
267
+
268
+ ### Output Format
269
+
270
+ When providing results:
271
+ - Always cite file paths and line numbers
272
+ - Use structured format (headers, lists, code blocks)
273
+ - Include confidence levels for findings
274
+ ```
275
+
276
+ ### Keep It Concise
277
+
278
+ **Verbose (avoid):**
279
+ ```markdown
280
+ You are a very experienced code researcher who has been working with code
281
+ for many years and has a lot of knowledge about different programming
282
+ languages and frameworks. Your job is to help people understand code
283
+ by looking at it and then telling them about what you found.
284
+ ```
285
+
286
+ **Concise (prefer):**
287
+ ```markdown
288
+ You are a code researcher. Explore codebases and provide accurate
289
+ information about code structure, patterns, and relationships.
290
+ ```
291
+
292
+ ---
293
+
294
+ ## Dynamic Context (Claude Only)
295
+
296
+ ### Inline Shell Commands
297
+
298
+ Use `` !`command` `` to inject shell output into the system prompt. Claude runs the command and replaces the line with its output.
299
+
300
+ **Examples:**
301
+ ```markdown
302
+ ## Current State
303
+ !`git status --short`
304
+
305
+ ## Files
306
+ !`ls -la src/`
307
+ ```
308
+
309
+ This is useful for grounding instructions in actual data.
310
+
311
+ ### String Substitutions
312
+
313
+ | Variable | Description |
314
+ |----------|-------------|
315
+ | `$ARGUMENTS` | All arguments passed when invoking the agent |
316
+ | `${CLAUDE_SESSION_ID}` | Current session ID |
317
+ | `${CLAUDE_EFFORT}` | Current effort level |
318
+
319
+ **Example:**
320
+ ```markdown
321
+ ## Session Log
322
+ Log to logs/${CLAUDE_SESSION_ID}.log:
323
+
324
+ $ARGUMENTS
325
+ ```
326
+
327
+ ---
328
+
329
+ ## Examples from Real Agents
330
+
331
+ ### Simple Research Agent
332
+
333
+ ```markdown
334
+ You are a code researcher. Your job is to explore codebases and provide
335
+ accurate information about code structure, patterns, and relationships.
336
+
337
+ Always cite file paths and line numbers when referencing code.
338
+ ```
339
+
340
+ ### Complex Review Agent
341
+
342
+ ```markdown
343
+ You are a senior code reviewer. Focus on:
344
+
345
+ ### Core Responsibilities
346
+
347
+ 1. Review code for quality, security, and best practices
348
+ 2. Identify potential bugs and issues
349
+ 3. Suggest improvements and optimizations
350
+
351
+ ### Behavioral Guidelines
352
+
353
+ - **Tone**: Professional, Constructive
354
+ - **Philosophy**: "Code is read more than it is written"
355
+ - **Approach**: Be specific, cite examples
356
+
357
+ ### Constraints
358
+
359
+ - ❌ NEVER make code changes directly
360
+ - ❌ NEVER execute deployment commands
361
+ - ❌ NEVER review non-code files
362
+
363
+ ### Output Format
364
+
365
+ When providing results:
366
+ - Use severity levels (critical/major/minor)
367
+ - Cite specific file paths and line numbers
368
+ - Provide concrete improvement suggestions
369
+ ```
370
+
371
+ ### Documentation Agent
372
+
373
+ ```markdown
374
+ You are a technical writer. Create clear, comprehensive documentation.
375
+
376
+ ### Core Responsibilities
377
+
378
+ 1. Create and maintain project documentation
379
+ 2. Generate API references and inline comments
380
+ 3. Write technical guides and tutorials
381
+
382
+ ### Behavioral Guidelines
383
+
384
+ - **Tone**: Clear, Pedagogical
385
+ - **Philosophy**: "Documentation is a love letter to your future self"
386
+ - **Approach**: Use examples, be thorough
387
+
388
+ ### Constraints
389
+
390
+ - ❌ NEVER make code changes
391
+ - ❌ NEVER skip documentation for public APIs
392
+ - ❌ NEVER use jargon without explanation
393
+
394
+ ### Output Format
395
+
396
+ When providing results:
397
+ - Use markdown formatting
398
+ - Include code examples
399
+ - Add cross-references where appropriate
400
+ ```
401
+
402
+ ---
403
+
404
+ ## Common Patterns
405
+
406
+ ### Role Definition Pattern
407
+
408
+ ```markdown
409
+ You are [Role]. Your purpose is to [clear statement].
410
+ ```
411
+
412
+ ### Responsibility List Pattern
413
+
414
+ ```markdown
415
+ ### Core Responsibilities
416
+
417
+ 1. [Primary responsibility]
418
+ 2. [Secondary responsibility]
419
+ 3. [Tertiary responsibility]
420
+ ```
421
+
422
+ ### Constraint Pattern
423
+
424
+ ```markdown
425
+ ### Constraints
426
+
427
+ - ❌ NEVER [restriction]
428
+ - ❌ NEVER [restriction]
429
+ ```
430
+
431
+ ### Workflow Pattern
432
+
433
+ ```markdown
434
+ ### Workflow
435
+
436
+ 1. **[Step]**: [Description]
437
+ 2. **[Step]**: [Description]
438
+ 3. **[Step]**: [Description]
439
+ ```
440
+
441
+ ### Output Format Pattern
442
+
443
+ ```markdown
444
+ ### Output Format
445
+
446
+ When providing results:
447
+ - [Format requirement]
448
+ - [Format requirement]
449
+ ```