xtrm-tools 0.5.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 (333) hide show
  1. package/CHANGELOG.md +504 -0
  2. package/README.md +201 -0
  3. package/cli/dist/index.cjs +57378 -0
  4. package/cli/dist/index.cjs.map +1 -0
  5. package/cli/dist/index.d.cts +2 -0
  6. package/cli/package.json +47 -0
  7. package/config/.env.example +40 -0
  8. package/config/hooks.json +72 -0
  9. package/config/instructions/agents-top.md +30 -0
  10. package/config/instructions/claude-top.md +30 -0
  11. package/config/mcp_servers.json +57 -0
  12. package/config/mcp_servers_optional.json +53 -0
  13. package/config/pi/auth.json.template +14 -0
  14. package/config/pi/extensions/auto-session-name/index.ts +29 -0
  15. package/config/pi/extensions/auto-session-name/package.json +16 -0
  16. package/config/pi/extensions/auto-update/index.ts +71 -0
  17. package/config/pi/extensions/auto-update/package.json +16 -0
  18. package/config/pi/extensions/beads/index.ts +166 -0
  19. package/config/pi/extensions/beads/package.json +16 -0
  20. package/config/pi/extensions/bg-process/index.ts +230 -0
  21. package/config/pi/extensions/bg-process/package.json +16 -0
  22. package/config/pi/extensions/compact-header/index.ts +69 -0
  23. package/config/pi/extensions/compact-header/package.json +16 -0
  24. package/config/pi/extensions/core/adapter.ts +52 -0
  25. package/config/pi/extensions/core/guard-rules.ts +102 -0
  26. package/config/pi/extensions/core/lib.ts +3 -0
  27. package/config/pi/extensions/core/logger.ts +45 -0
  28. package/config/pi/extensions/core/runner.ts +71 -0
  29. package/config/pi/extensions/core/session-state.ts +59 -0
  30. package/config/pi/extensions/custom-footer/index.ts +160 -0
  31. package/config/pi/extensions/custom-footer/package.json +16 -0
  32. package/config/pi/extensions/custom-provider-qwen-cli/index.ts +363 -0
  33. package/config/pi/extensions/custom-provider-qwen-cli/package.json +1 -0
  34. package/config/pi/extensions/git-checkpoint/index.ts +53 -0
  35. package/config/pi/extensions/git-checkpoint/package.json +16 -0
  36. package/config/pi/extensions/minimal-mode/index.ts +201 -0
  37. package/config/pi/extensions/minimal-mode/package.json +16 -0
  38. package/config/pi/extensions/plan-mode/README.md +65 -0
  39. package/config/pi/extensions/plan-mode/index.ts +417 -0
  40. package/config/pi/extensions/plan-mode/package.json +12 -0
  41. package/config/pi/extensions/plan-mode/utils.ts +324 -0
  42. package/config/pi/extensions/quality-gates/index.ts +67 -0
  43. package/config/pi/extensions/quality-gates/package.json +16 -0
  44. package/config/pi/extensions/service-skills/index.ts +108 -0
  45. package/config/pi/extensions/service-skills/package.json +16 -0
  46. package/config/pi/extensions/session-flow/index.ts +131 -0
  47. package/config/pi/extensions/session-flow/package.json +16 -0
  48. package/config/pi/extensions/todo/index.ts +299 -0
  49. package/config/pi/extensions/todo/package.json +16 -0
  50. package/config/pi/extensions/xtrm-loader/index.ts +89 -0
  51. package/config/pi/extensions/xtrm-loader/package.json +16 -0
  52. package/config/pi/install-schema.json +44 -0
  53. package/config/pi/models.json.template +76 -0
  54. package/config/pi/pi-worktrees-settings.json +6 -0
  55. package/config/pi/settings.json.template +16 -0
  56. package/config/settings.json +70 -0
  57. package/hooks/README.md +75 -0
  58. package/hooks/agent_context.py +105 -0
  59. package/hooks/beads-claim-sync.mjs +166 -0
  60. package/hooks/beads-commit-gate.mjs +55 -0
  61. package/hooks/beads-compact-restore.mjs +69 -0
  62. package/hooks/beads-compact-save.mjs +51 -0
  63. package/hooks/beads-edit-gate.mjs +45 -0
  64. package/hooks/beads-gate-core.mjs +215 -0
  65. package/hooks/beads-gate-messages.mjs +87 -0
  66. package/hooks/beads-gate-utils.mjs +185 -0
  67. package/hooks/beads-memory-gate.mjs +61 -0
  68. package/hooks/beads-stop-gate.mjs +32 -0
  69. package/hooks/branch-state.mjs +39 -0
  70. package/hooks/gitnexus/gitnexus-hook.cjs +222 -0
  71. package/hooks/guard-rules.mjs +118 -0
  72. package/hooks/hooks.json +116 -0
  73. package/hooks/main-guard-post-push.mjs +71 -0
  74. package/hooks/main-guard.mjs +119 -0
  75. package/hooks/quality-check.cjs +1286 -0
  76. package/hooks/quality-check.py +345 -0
  77. package/hooks/serena-workflow-reminder.py +74 -0
  78. package/package.json +77 -0
  79. package/project-skills/quality-gates/.claude/hooks/hook-config.json +66 -0
  80. package/project-skills/quality-gates/.claude/hooks/quality-check.cjs +1286 -0
  81. package/project-skills/quality-gates/.claude/hooks/quality-check.py +334 -0
  82. package/project-skills/quality-gates/.claude/settings.json +3 -0
  83. package/project-skills/quality-gates/.claude/skills/using-quality-gates/SKILL.md +254 -0
  84. package/project-skills/quality-gates/README.md +109 -0
  85. package/project-skills/quality-gates/evals/evals.json +181 -0
  86. package/project-skills/quality-gates/workspace/iteration-1/FINAL-EVAL-SUMMARY.md +75 -0
  87. package/project-skills/quality-gates/workspace/iteration-1/edge-case-auto-fix-verification/with_skill/outputs/response.md +59 -0
  88. package/project-skills/quality-gates/workspace/iteration-1/edge-case-mixed-language-project/with_skill/outputs/response.md +60 -0
  89. package/project-skills/quality-gates/workspace/iteration-1/eval-summary.md +105 -0
  90. package/project-skills/quality-gates/workspace/iteration-1/partial-install-python-only/with_skill/outputs/response.md +93 -0
  91. package/project-skills/quality-gates/workspace/iteration-1/python-refactor-request/with_skill/outputs/response.md +104 -0
  92. package/project-skills/quality-gates/workspace/iteration-1/quality-gate-error-fix/with_skill/outputs/response.md +74 -0
  93. package/project-skills/quality-gates/workspace/iteration-1/should-not-trigger-general-chat/with_skill/outputs/response.md +18 -0
  94. package/project-skills/quality-gates/workspace/iteration-1/should-not-trigger-math-question/with_skill/outputs/response.md +18 -0
  95. package/project-skills/quality-gates/workspace/iteration-1/should-not-trigger-unrelated-coding/with_skill/outputs/response.md +56 -0
  96. package/project-skills/quality-gates/workspace/iteration-1/tdd-guard-blocking-confusion/with_skill/outputs/response.md +67 -0
  97. package/project-skills/quality-gates/workspace/iteration-1/typescript-feature-with-tests/with_skill/outputs/response.md +97 -0
  98. package/project-skills/service-skills-set/.claude/git-hooks/doc_reminder.py +67 -0
  99. package/project-skills/service-skills-set/.claude/git-hooks/skill_staleness.py +194 -0
  100. package/project-skills/service-skills-set/.claude/service-registry.json +4 -0
  101. package/project-skills/service-skills-set/.claude/settings.json +37 -0
  102. package/project-skills/service-skills-set/.claude/skills/creating-service-skills/SKILL.md +433 -0
  103. package/project-skills/service-skills-set/.claude/skills/creating-service-skills/references/script_quality_standards.md +425 -0
  104. package/project-skills/service-skills-set/.claude/skills/creating-service-skills/references/service_skill_system_guide.md +278 -0
  105. package/project-skills/service-skills-set/.claude/skills/creating-service-skills/scripts/bootstrap.py +308 -0
  106. package/project-skills/service-skills-set/.claude/skills/creating-service-skills/scripts/deep_dive.py +304 -0
  107. package/project-skills/service-skills-set/.claude/skills/creating-service-skills/scripts/scaffolder.py +482 -0
  108. package/project-skills/service-skills-set/.claude/skills/scoping-service-skills/SKILL.md +231 -0
  109. package/project-skills/service-skills-set/.claude/skills/scoping-service-skills/scripts/scope.py +74 -0
  110. package/project-skills/service-skills-set/.claude/skills/updating-service-skills/SKILL.md +136 -0
  111. package/project-skills/service-skills-set/.claude/skills/updating-service-skills/scripts/drift_detector.py +222 -0
  112. package/project-skills/service-skills-set/.claude/skills/using-service-skills/SKILL.md +108 -0
  113. package/project-skills/service-skills-set/.claude/skills/using-service-skills/scripts/cataloger.py +74 -0
  114. package/project-skills/service-skills-set/.claude/skills/using-service-skills/scripts/skill_activator.py +152 -0
  115. package/project-skills/service-skills-set/README.md +93 -0
  116. package/project-skills/service-skills-set/install-service-skills.py +193 -0
  117. package/project-skills/service-skills-set/service-skills-readme.md +236 -0
  118. package/skills/README.txt +31 -0
  119. package/skills/clean-code/SKILL.md +201 -0
  120. package/skills/creating-service-skills/SKILL.md +433 -0
  121. package/skills/creating-service-skills/references/script_quality_standards.md +425 -0
  122. package/skills/creating-service-skills/references/service_skill_system_guide.md +278 -0
  123. package/skills/creating-service-skills/scripts/bootstrap.py +326 -0
  124. package/skills/creating-service-skills/scripts/deep_dive.py +304 -0
  125. package/skills/creating-service-skills/scripts/scaffolder.py +482 -0
  126. package/skills/delegating/SKILL.md +196 -0
  127. package/skills/delegating/config.yaml +210 -0
  128. package/skills/delegating/references/orchestration-protocols.md +41 -0
  129. package/skills/docker-expert/SKILL.md +409 -0
  130. package/skills/documenting/CHANGELOG.md +23 -0
  131. package/skills/documenting/README.md +148 -0
  132. package/skills/documenting/SKILL.md +113 -0
  133. package/skills/documenting/examples/example_pattern.md +70 -0
  134. package/skills/documenting/examples/example_reference.md +70 -0
  135. package/skills/documenting/examples/example_ssot_analytics.md +64 -0
  136. package/skills/documenting/examples/example_workflow.md +141 -0
  137. package/skills/documenting/references/changelog-format.md +97 -0
  138. package/skills/documenting/references/metadata-schema.md +136 -0
  139. package/skills/documenting/references/taxonomy.md +81 -0
  140. package/skills/documenting/references/versioning-rules.md +78 -0
  141. package/skills/documenting/scripts/bump_version.sh +60 -0
  142. package/skills/documenting/scripts/changelog/__init__.py +0 -0
  143. package/skills/documenting/scripts/changelog/add_entry.py +216 -0
  144. package/skills/documenting/scripts/changelog/bump_release.py +117 -0
  145. package/skills/documenting/scripts/changelog/init_changelog.py +54 -0
  146. package/skills/documenting/scripts/changelog/validate_changelog.py +128 -0
  147. package/skills/documenting/scripts/drift_detector.py +266 -0
  148. package/skills/documenting/scripts/generate_template.py +311 -0
  149. package/skills/documenting/scripts/list_by_category.sh +84 -0
  150. package/skills/documenting/scripts/orchestrator.py +255 -0
  151. package/skills/documenting/scripts/validate_metadata.py +242 -0
  152. package/skills/documenting/templates/CHANGELOG.md.template +13 -0
  153. package/skills/find-skills/SKILL.md +133 -0
  154. package/skills/gitnexus-debugging/SKILL.md +85 -0
  155. package/skills/gitnexus-exploring/SKILL.md +75 -0
  156. package/skills/gitnexus-impact-analysis/SKILL.md +94 -0
  157. package/skills/gitnexus-refactoring/SKILL.md +113 -0
  158. package/skills/hook-development/SKILL.md +797 -0
  159. package/skills/hook-development/examples/load-context.sh +55 -0
  160. package/skills/hook-development/examples/quality-check.js +1168 -0
  161. package/skills/hook-development/examples/validate-bash.sh +43 -0
  162. package/skills/hook-development/examples/validate-write.sh +38 -0
  163. package/skills/hook-development/references/advanced.md +527 -0
  164. package/skills/hook-development/references/migration.md +369 -0
  165. package/skills/hook-development/references/patterns.md +412 -0
  166. package/skills/hook-development/scripts/README.md +164 -0
  167. package/skills/hook-development/scripts/hook-linter.sh +153 -0
  168. package/skills/hook-development/scripts/test-hook.sh +252 -0
  169. package/skills/hook-development/scripts/validate-hook-schema.sh +159 -0
  170. package/skills/obsidian-cli/SKILL.md +106 -0
  171. package/skills/orchestrating-agents/SKILL.md +135 -0
  172. package/skills/orchestrating-agents/config.yaml +45 -0
  173. package/skills/orchestrating-agents/references/agent-context-integration.md +37 -0
  174. package/skills/orchestrating-agents/references/examples.md +45 -0
  175. package/skills/orchestrating-agents/references/handover-protocol.md +31 -0
  176. package/skills/orchestrating-agents/references/workflows.md +42 -0
  177. package/skills/orchestrating-agents/scripts/detect_neighbors.py +23 -0
  178. package/skills/prompt-improving/README.md +162 -0
  179. package/skills/prompt-improving/SKILL.md +74 -0
  180. package/skills/prompt-improving/references/analysis_commands.md +24 -0
  181. package/skills/prompt-improving/references/chain_of_thought.md +24 -0
  182. package/skills/prompt-improving/references/mcp_definitions.md +20 -0
  183. package/skills/prompt-improving/references/multishot.md +23 -0
  184. package/skills/prompt-improving/references/xml_core.md +60 -0
  185. package/skills/python-testing/SKILL.md +815 -0
  186. package/skills/scoping-service-skills/SKILL.md +231 -0
  187. package/skills/scoping-service-skills/scripts/scope.py +74 -0
  188. package/skills/senior-backend/SKILL.md +209 -0
  189. package/skills/senior-backend/references/api_design_patterns.md +103 -0
  190. package/skills/senior-backend/references/backend_security_practices.md +103 -0
  191. package/skills/senior-backend/references/database_optimization_guide.md +103 -0
  192. package/skills/senior-backend/scripts/api_load_tester.py +114 -0
  193. package/skills/senior-backend/scripts/api_scaffolder.py +114 -0
  194. package/skills/senior-backend/scripts/database_migration_tool.py +114 -0
  195. package/skills/senior-data-scientist/SKILL.md +226 -0
  196. package/skills/senior-data-scientist/references/experiment_design_frameworks.md +80 -0
  197. package/skills/senior-data-scientist/references/feature_engineering_patterns.md +80 -0
  198. package/skills/senior-data-scientist/references/statistical_methods_advanced.md +80 -0
  199. package/skills/senior-data-scientist/scripts/experiment_designer.py +100 -0
  200. package/skills/senior-data-scientist/scripts/feature_engineering_pipeline.py +100 -0
  201. package/skills/senior-data-scientist/scripts/model_evaluation_suite.py +100 -0
  202. package/skills/senior-devops/SKILL.md +209 -0
  203. package/skills/senior-devops/references/cicd_pipeline_guide.md +103 -0
  204. package/skills/senior-devops/references/deployment_strategies.md +103 -0
  205. package/skills/senior-devops/references/infrastructure_as_code.md +103 -0
  206. package/skills/senior-devops/scripts/deployment_manager.py +114 -0
  207. package/skills/senior-devops/scripts/pipeline_generator.py +114 -0
  208. package/skills/senior-devops/scripts/terraform_scaffolder.py +114 -0
  209. package/skills/senior-security/SKILL.md +209 -0
  210. package/skills/senior-security/references/cryptography_implementation.md +103 -0
  211. package/skills/senior-security/references/penetration_testing_guide.md +103 -0
  212. package/skills/senior-security/references/security_architecture_patterns.md +103 -0
  213. package/skills/senior-security/scripts/pentest_automator.py +114 -0
  214. package/skills/senior-security/scripts/security_auditor.py +114 -0
  215. package/skills/senior-security/scripts/threat_modeler.py +114 -0
  216. package/skills/skill-creator/LICENSE.txt +202 -0
  217. package/skills/skill-creator/SKILL.md +479 -0
  218. package/skills/skill-creator/agents/analyzer.md +274 -0
  219. package/skills/skill-creator/agents/comparator.md +202 -0
  220. package/skills/skill-creator/agents/grader.md +223 -0
  221. package/skills/skill-creator/assets/eval_review.html +146 -0
  222. package/skills/skill-creator/eval-viewer/generate_review.py +471 -0
  223. package/skills/skill-creator/eval-viewer/viewer.html +1325 -0
  224. package/skills/skill-creator/references/schemas.md +430 -0
  225. package/skills/skill-creator/scripts/__init__.py +0 -0
  226. package/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
  227. package/skills/skill-creator/scripts/generate_report.py +326 -0
  228. package/skills/skill-creator/scripts/improve_description.py +248 -0
  229. package/skills/skill-creator/scripts/package_skill.py +136 -0
  230. package/skills/skill-creator/scripts/quick_validate.py +103 -0
  231. package/skills/skill-creator/scripts/run_eval.py +310 -0
  232. package/skills/skill-creator/scripts/run_loop.py +332 -0
  233. package/skills/skill-creator/scripts/utils.py +47 -0
  234. package/skills/sync-docs/SKILL.md +132 -0
  235. package/skills/sync-docs/evals/evals.json +89 -0
  236. package/skills/sync-docs/references/doc-structure.md +99 -0
  237. package/skills/sync-docs/references/schema.md +103 -0
  238. package/skills/sync-docs/scripts/changelog/add_entry.py +216 -0
  239. package/skills/sync-docs/scripts/context_gatherer.py +240 -0
  240. package/skills/sync-docs/scripts/doc_structure_analyzer.py +495 -0
  241. package/skills/sync-docs/scripts/drift_detector.py +327 -0
  242. package/skills/sync-docs/scripts/validate_doc.py +365 -0
  243. package/skills/sync-docs/scripts/validate_metadata.py +185 -0
  244. package/skills/sync-docs-workspace/iteration-1/benchmark.json +293 -0
  245. package/skills/sync-docs-workspace/iteration-1/benchmark.md +13 -0
  246. package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/eval_metadata.json +27 -0
  247. package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/outputs/result.md +210 -0
  248. package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/run-1/grading.json +28 -0
  249. package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/run-1/timing.json +1 -0
  250. package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/outputs/result.md +101 -0
  251. package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/run-1/grading.json +28 -0
  252. package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/run-1/timing.json +5 -0
  253. package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/timing.json +5 -0
  254. package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/eval_metadata.json +27 -0
  255. package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/outputs/result.md +198 -0
  256. package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/run-1/grading.json +28 -0
  257. package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/run-1/timing.json +1 -0
  258. package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/outputs/result.md +94 -0
  259. package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/run-1/grading.json +28 -0
  260. package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/run-1/timing.json +1 -0
  261. package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/eval_metadata.json +27 -0
  262. package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/outputs/result.md +237 -0
  263. package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/run-1/grading.json +28 -0
  264. package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/run-1/timing.json +1 -0
  265. package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/outputs/result.md +134 -0
  266. package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/run-1/grading.json +28 -0
  267. package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/run-1/timing.json +1 -0
  268. package/skills/sync-docs-workspace/iteration-2/benchmark.json +297 -0
  269. package/skills/sync-docs-workspace/iteration-2/benchmark.md +13 -0
  270. package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/eval_metadata.json +27 -0
  271. package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/outputs/result.md +137 -0
  272. package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/run-1/grading.json +92 -0
  273. package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/run-1/timing.json +1 -0
  274. package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/outputs/result.md +134 -0
  275. package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/run-1/grading.json +86 -0
  276. package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/run-1/timing.json +1 -0
  277. package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/eval_metadata.json +27 -0
  278. package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/outputs/result.md +193 -0
  279. package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/run-1/grading.json +72 -0
  280. package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/run-1/timing.json +1 -0
  281. package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/outputs/result.md +211 -0
  282. package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/run-1/grading.json +91 -0
  283. package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/run-1/timing.json +5 -0
  284. package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/eval_metadata.json +27 -0
  285. package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/outputs/result.md +182 -0
  286. package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/run-1/grading.json +95 -0
  287. package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/run-1/timing.json +1 -0
  288. package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/outputs/result.md +222 -0
  289. package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/run-1/grading.json +88 -0
  290. package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/run-1/timing.json +5 -0
  291. package/skills/sync-docs-workspace/iteration-3/benchmark.json +298 -0
  292. package/skills/sync-docs-workspace/iteration-3/benchmark.md +13 -0
  293. package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/eval_metadata.json +27 -0
  294. package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/outputs/result.md +125 -0
  295. package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/run-1/grading.json +97 -0
  296. package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/run-1/timing.json +5 -0
  297. package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/outputs/result.md +144 -0
  298. package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/run-1/grading.json +78 -0
  299. package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/run-1/timing.json +5 -0
  300. package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/eval_metadata.json +27 -0
  301. package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/outputs/result.md +104 -0
  302. package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/run-1/grading.json +91 -0
  303. package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/run-1/timing.json +5 -0
  304. package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/outputs/result.md +79 -0
  305. package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/run-1/grading.json +82 -0
  306. package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/run-1/timing.json +5 -0
  307. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/eval_metadata.json +27 -0
  308. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase1_context.json +302 -0
  309. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase2_drift.txt +33 -0
  310. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase3_analysis.json +114 -0
  311. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase4_fix.txt +118 -0
  312. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase5_validate.txt +38 -0
  313. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/result.md +158 -0
  314. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/run-1/grading.json +95 -0
  315. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/run-1/timing.json +5 -0
  316. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/outputs/result.md +71 -0
  317. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/run-1/grading.json +90 -0
  318. package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/run-1/timing.json +5 -0
  319. package/skills/test-planning/SKILL.md +208 -0
  320. package/skills/test-planning/evals/evals.json +23 -0
  321. package/skills/updating-service-skills/SKILL.md +136 -0
  322. package/skills/updating-service-skills/scripts/drift_detector.py +222 -0
  323. package/skills/using-TDD/SKILL.md +410 -0
  324. package/skills/using-quality-gates/SKILL.md +254 -0
  325. package/skills/using-serena-lsp/README.md +8 -0
  326. package/skills/using-serena-lsp/REFERENCE.md +194 -0
  327. package/skills/using-serena-lsp/SKILL.md +82 -0
  328. package/skills/using-service-skills/SKILL.md +108 -0
  329. package/skills/using-service-skills/scripts/cataloger.py +74 -0
  330. package/skills/using-service-skills/scripts/skill_activator.py +152 -0
  331. package/skills/using-service-skills/scripts/test_skill_activator.py +58 -0
  332. package/skills/using-xtrm/SKILL.md +245 -0
  333. package/skills/xt-end/SKILL.md +128 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,504 @@
1
+ # Changelog
2
+
3
+ All notable changes to Claude Code skills and configuration will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ---
9
+
10
+ ## [Unreleased]
11
+
12
+ ### Added
13
+
14
+ - **`AGENTS.md` — bd (beads) issue tracking section**: Comprehensive reference for the `bd` CLI covering session protocol, issue creation, dependency management, search/view commands, advanced features (`agent`, `gate`, `mol`, `audit`), and a bd vs TodoWrite decision table.
15
+ - **`xtrm install project all` / `xtrm install project '*'`**: Non-interactive install of every available project skill into the current repository.
16
+
17
+ ### Fixed
18
+
19
+ - **Claude-only target detection**: `xtrm install all` now enumerates Claude Code targets only, instead of surfacing stale Gemini/Qwen/Agents paths.
20
+ - **Project-skill install-all coverage**: Added regression tests to verify merged hook counts and copied assets across all shipped project skills.
21
+
22
+ ### Roadmap
23
+
24
+ - `AGENTS.md` should be included in the `jaggers-config install-service-skills` installation flow so all target projects get agent context out of the box (see ROADMAP.md).
25
+
26
+ ---
27
+
28
+ ## [2.0.0] - 2026-03-12
29
+
30
+ ### Added
31
+
32
+ #### Project Skills Engine
33
+ - **`cli/src/commands/install-project.ts`**: Generic "Plug & Play" project skill installer with deep merge for `settings.json` hooks
34
+ - **`cli/src/commands/help.ts`**: Self-documenting help command with full CLI reference
35
+ - **Project skills directory structure**: `project-skills/<skill>/.claude/` standard for modular tool packages
36
+
37
+ #### Project Skills (5 skills shipped)
38
+ - **`service-skills-set`**: Docker service expertise with SessionStart, PreToolUse, PostToolUse hooks
39
+ - **`tdd-guard`**: Test-Driven Development enforcement with PreToolUse, UserPromptSubmit, SessionStart hooks
40
+ - **`ts-quality-gate`**: TypeScript/ESLint/Prettier quality gate with `quality-check.cjs` (ported from bartolli/claude-code-typescript-hooks)
41
+ - **`py-quality-gate`**: Python ruff/mypy quality gate with `quality-check.py` (custom implementation)
42
+ - **`main-guard`**: Git branch protection with `main-guard.cjs` (blocks direct edits to main/master)
43
+
44
+ #### Installation Commands
45
+ - **`xtrm install`**: Global installation (replaces `sync`)
46
+ - **`xtrm install all` / `xtrm install '*'`**: Non-interactive global install across all known targets
47
+ - **`~/.agents/skills`**: Skills-only target added so the installed `skills/` tree is available without touching hooks/config
48
+ - **`xtrm install project all` / `xtrm install project '*'`**: Install every project-specific skill package into the current repository
49
+ - **`xtrm install project <tool-name>`**: Install project-specific skill package
50
+ - **`xtrm install project list`**: List available project skills with descriptions
51
+
52
+ ### Changed
53
+
54
+ #### CLI Rebranding
55
+ - **Package renamed**: `jaggers-agent-tools` → `xtrm-tools`
56
+ - **Binary renamed**: `jaggers-config` → `xtrm`
57
+ - **Version bumped**: 1.7.0 → 2.0.0 (breaking changes)
58
+
59
+ #### Command Restructure
60
+ - **`sync` command** → renamed to `install` with updated messaging
61
+ - **Default action**: Now shows help instead of running sync automatically
62
+ - **`add-optional` command**: Removed (optional MCP servers now part of `install`)
63
+
64
+ #### Architecture Decision
65
+ - **Claude Code only support**: Removed multi-agent hook translation for Gemini/Qwen
66
+ - **Focus**: Robust, well-tested Claude Code installation engine
67
+
68
+ ### Removed
69
+
70
+ #### Multi-Agent Support
71
+ - **`cli/src/utils/transform-gemini.ts`**: Deleted (Gemini hook translation)
72
+ - **`cli/src/adapters/gemini.ts`**: Deleted (Gemini adapter)
73
+ - **`cli/src/adapters/qwen.ts`**: Deleted (Qwen adapter)
74
+ - **`transformToGeminiHooks`**, **`transformToGeminiFormat`**: Removed from `config-adapter.ts`
75
+ - **Gemini/Qwen command generation**: Removed from `sync-executor.ts`
76
+
77
+ #### Deprecated Commands
78
+ - **`jaggers-config add-optional`**: Superseded by `xtrm install`
79
+ - **`jaggers-config sync`**: Superseded by `xtrm install`
80
+
81
+ ### Fixed
82
+
83
+ - **Project skills structure**: Standardized `.claude/settings.json` + `.claude/skills/` format
84
+ - **Hook paths**: Corrected `$CLAUDE_PROJECT_DIR` references in all project skills
85
+ - **Documentation**: README.md updated with accurate skill list and installation instructions
86
+
87
+ ### Documentation
88
+
89
+ - **README.md**: Added Project Skills section, manual setup guide for Gemini/Qwen users
90
+ - **Updated installation instructions**: `npm install -g github:Jaggerxtrm/xtrm-tools` recommended
91
+ - **Each project skill**: Includes `README.md` and `SKILL.md` with usage guide
92
+
93
+ ### Migration Guide
94
+
95
+ #### For Existing Users
96
+
97
+ ```bash
98
+ # Old command (no longer works)
99
+ jaggers-config sync
100
+
101
+ # New command
102
+ xtrm install
103
+
104
+ # Global installation (recommended)
105
+ npm install -g github:Jaggerxtrm/xtrm-tools
106
+
107
+ # One-time run
108
+ npx -y github:Jaggerxtrm/xtrm-tools install
109
+ ```
110
+
111
+ #### For Gemini/Qwen Users
112
+
113
+ Automated hook translation is no longer supported. See README.md "Manual Setup for Gemini/Qwen" section for manual configuration instructions.
114
+
115
+ ---
116
+
117
+ ## [1.7.0] - 2026-02-25
118
+
119
+ ### Added
120
+
121
+ #### GitNexus Integration
122
+ - **Optional MCP server**: `gitnexus` added to `config/mcp_servers_optional.json` with auto-install support (`npm install -g gitnexus`)
123
+ - **PreToolUse hook**: `hooks/gitnexus/gitnexus-hook.cjs` — enriches Grep/Glob/Bash tool calls with knowledge-graph context via `gitnexus augment`
124
+ - **4 knowledge-graph skills**: `skills/gitnexus/{exploring,debugging,impact-analysis,refactoring}/SKILL.md` — synced via standard pipeline
125
+
126
+ #### Unified 3-Phase Sync Flow
127
+ - **`cli/src/core/preflight.ts`**: Parallel `Promise.all` preflight checks across all targets. Returns `PreflightPlan` with file diffs, MCP status, and optional server list. Per-target error isolation — one bad target never aborts the rest.
128
+ - **`cli/src/core/interactive-plan.ts`**: Single `prompts` multiselect plan — all targets, files, MCP servers, and optional servers in one view. `[~]` drifted and `[?]` optional items pre-unchecked by default.
129
+
130
+ #### MCP CLI Sync
131
+ - **`sync-mcp-cli.ts`**: Unified MCP CLI sync for Claude, Gemini, and Qwen via official `mcp add/remove/list` commands. Idempotent — re-running is always safe.
132
+ - **Env file management**: `~/.config/jaggers-agent-tools/.env` — auto-created on first sync, validates required env vars (e.g. `CONTEXT7_API_KEY`), preserves existing values.
133
+ - **ConfigAdapter enhancements**: Qwen and Antigravity support added; `type` field auto-handled per agent; `EnvVarTransformer` extended for cross-agent compatibility.
134
+
135
+ ### Changed
136
+
137
+ #### Sync Command — 3-Phase Rewrite
138
+ - `cli/src/commands/sync.ts` fully rewritten: Phase 1 preflight spinner → Phase 2 multiselect plan → Phase 3 ordered execution (prerequisite installs → file sync → MCP sync → post-install messages)
139
+ - `--dry-run`: displays full plan grouped by target, prints "Dry run — no changes written", exits cleanly
140
+ - `-y`/`--yes`: auto-applies pre-checked defaults without prompting
141
+ - `--prune`: propagated through `plan.syncMode` to `executeSync` correctly
142
+ - `--backport`: reverses sync direction (local → repo)
143
+
144
+ #### sync-executor.ts
145
+ - Removed inline `promptOptionalServers` call and manifest-based prompt tracking
146
+ - Added `selectedMcpServers?: string[]` parameter — optional server names pre-selected upstream in Phase 2
147
+
148
+ #### MCP Configuration
149
+ - Split into `config/mcp_servers.json` (core: serena, context7, github-grep, deepwiki) and `config/mcp_servers_optional.json` (optional: unitAI, omni-search-engine, gitnexus)
150
+ - `_notes.install_cmd` and `_notes.post_install_message` metadata — drives Phase 3 auto-install
151
+ - Core servers: removed unused `filesystem`, `git`, `memory`, `gmail`, `yfinance-market-intelligence`
152
+ - `serena` command updated to uvx-from-git with auto project detection
153
+
154
+ #### Exported Symbols
155
+ - `getCurrentServers(agent)` and `AgentName` exported from `cli/src/utils/sync-mcp-cli.ts` (consumed by `preflight.ts`)
156
+
157
+ ### Deprecated
158
+ - **`jaggers-config add-optional`**: now prints a redirect notice — optional servers are part of `jaggers-config sync`
159
+ - **JSON file sync for Claude/Gemini/Qwen MCP**: superseded by official `mcp` CLI method
160
+ - **Repo `.env` files**: use centralized `~/.config/jaggers-agent-tools/.env`
161
+
162
+ ### Removed
163
+ - **Old Claude-specific sync**: `cli/lib/sync-claude-mcp.js` (replaced by unified `sync-mcp-cli.ts`)
164
+
165
+ ### Fixed
166
+ - **`--prune` propagation**: `runPreflight` now sets `syncMode: 'prune'` when `--prune` passed (was hardcoded `'copy'`)
167
+ - **Optional server "already installed" filter**: now uses live `getCurrentServers()` call per agent instead of only checking core MCP names
168
+
169
+ ### Documentation
170
+ - Updated SSoT: `ssot_jaggers-agent-tools_installer_architecture` → v1.4.0
171
+ - Updated SSoT: `ssot_cli_ux_improvements` → v2.0.0
172
+ - Updated SSoT: `ssot_cli_universal_hub` → v2.2.0
173
+ - Updated SSoT: `ssot_cli_mcp_servers` → v3.2.1
174
+
175
+ ---
176
+
177
+ ## [1.6.0] - 2026-02-24
178
+
179
+ ### Added
180
+
181
+ #### Documenting Skill Hardening
182
+ - **`drift_detector.py`**: New script with `scan`, `check`, and `hook` subcommands — detects stale memories by cross-referencing `tracks:` globs against git-modified files
183
+ - **`tracks:` frontmatter field**: Each memory now declares which file globs it documents; added to schema, all templates, and all 11 existing memories
184
+ - **Intra-memory INDEX blocks**: `validate_metadata.py` now auto-generates a `<!-- INDEX -->` TOC table inside each memory from `##` headings + first-sentence summaries — allows agents to navigate without reading full documents
185
+ - **Stop hook**: `config/settings.json` wired with Stop hook → `drift_detector.py hook`; fires at session end, injects a one-line reminder only when stale memories detected (zero token cost when clean)
186
+ - **23 tests**: `test_validate_metadata.py` (4) and `test_drift_detector.py` (8, including `**` glob regression tests) added to existing suite
187
+
188
+ ### Changed
189
+ - **`validate_metadata.py`**: INDEX generation now unconditional (no longer blocked by schema validation errors)
190
+ - **`SKILL.md` workflow**: Rewritten with drift-first 5-step protocol and decision table (new feature → SSOT, bug fix → changelog only, etc.)
191
+ - **All 11 existing memories**: `tracks:` globs added; INDEX blocks regenerated
192
+
193
+ ### Fixed
194
+ - `extract_headings`: closing ` ``` ` was captured as section summary due to `in_code` toggle firing before capture check — fixed with `continue`
195
+ - `match_files_to_tracks`: `**/` expansion was producing `*.py` (too broad); replaced with recursive segment-by-segment `_match_glob` helper
196
+ - `inject_index`: frontmatter split hardened with anchored regex to prevent corruption on non-standard file openings
197
+ - `generate_index_table`: anchor generation collapsed consecutive hyphens from stripped `()/` chars
198
+
199
+ ### Documentation
200
+ - Updated SSOT: `ssot_jaggers-agent-tools_documenting_workflow_2026-02-03` → v2.0.0
201
+
202
+ ---
203
+
204
+ ## [1.5.0] - 2026-02-23
205
+
206
+ ### Added
207
+
208
+ #### Service Skills Set (`project-skills/service-skills-set/`)
209
+ - **Complete rewrite** of project-specific service skill infrastructure — replaces deprecated `service-skill-builder`
210
+ - **Trinity skills** installed into `.claude/skills/` of any target project:
211
+ - `creating-service-skills` — 3-phase workflow: scaffold → Serena LSP deep dive → hook registration
212
+ - `using-service-skills` — SessionStart catalog injection + PreToolUse skill enforcement
213
+ - `updating-service-skills` — PostToolUse drift detection
214
+ - **Scripts**:
215
+ - `scaffolder.py` — generates SKILL.md skeleton, script stubs, and auto-detects official docs from 30+ technology mappings (Docker images, requirements.txt, Cargo.toml, package.json)
216
+ - `deep_dive.py` — prints Serena LSP-driven research protocol with tool table for Phase 2
217
+ - `cataloger.py` — SessionStart hook; outputs ~150-token XML service catalog
218
+ - `skill_activator.py` — PreToolUse hook; territory glob + Bash command matching; injects skill load enforcement
219
+ - `drift_detector.py` — PostToolUse hook (`check-hook` stdin mode) + manual `check`, `sync`, `scan` subcommands
220
+ - `bootstrap.py` — shared registry CRUD and project root resolution via git
221
+ - **Service registry**: `.claude/skills/service-registry.json` with territory globs, skill path, last sync
222
+ - **Git hooks** (`pre-commit`, `pre-push`): idempotent marker-based installation for SSOT reminder and skill staleness warning
223
+ - **Installer** (`install-service-skills.py`): single-purpose ~90-line script; copies trinity, merges settings.json hooks, activates git hooks; idempotent
224
+ - **Phase 3 — Hook Registration**: new phase in `creating-service-skills` workflow verifies PreToolUse wiring, confirms territory globs in registry, communicates auto-activation to user
225
+
226
+ ### Changed
227
+ - Project structure: moved into `project-skills/service-skills-set/` with `.claude/` subdirectory
228
+ - `settings.json` PostToolUse hook moved to project-level (was only in skill frontmatter — now always-on)
229
+ - PreToolUse added to `settings.json` for territory-based skill auto-enforcement
230
+
231
+ ### Fixed
232
+ - `allowed-tools` in skill frontmatter: corrected to Claude Code native tool names — removed invalid MCP/Serena names
233
+ - `SessionStart` removed from skill frontmatter (unsupported); moved to `settings.json`
234
+ - Removed `disable-model-invocation: true` from workflow skill and scaffolder template
235
+ - `project_root.glob()` type error in `bootstrap.py` fixed by wrapping with `Path()`
236
+
237
+ ### Documentation
238
+ - Added `project-skills/service-skills-set/service-skills-readme.md`
239
+ - New SSOT memory: `ssot_jaggers-agent-tools_service_skills_set_2026-02-23`
240
+
241
+ ---
242
+
243
+ ## [1.4.0] - 2026-02-23
244
+
245
+ ### Changed
246
+
247
+ #### Delegating Skill Hardening
248
+ - **Description rewrite**: Proactive language with trigger keywords (`tests`, `typos`, `refactors`, `code reviews`, `debugging`) — auto-discovery now fires without explicit "delegate" keyword
249
+ - **Frontmatter cleanup**: Removed unsupported fields (`version`, `gemini-command`, `gemini-prompt`); added `allowed-tools: Bash`
250
+ - **CCS nested session fix**: All CCS execution commands now use `env -u CLAUDECODE ccs {profile} -p "{task}"` — confirmed working inside Claude Code sessions
251
+ - **Interactive menu**: Replaced TypeScript `ask_user()` pseudocode with prose `AskUserQuestion` instructions
252
+
253
+ #### skill-suggestion.py Hook
254
+ - **Orchestration patterns**: Added `ORCHESTRATION_PATTERNS` — hook now fires for code reviews, feature implementation, debugging, security audits, commit validation
255
+ - **CLAUDECODE detection**: Hints correctly say "Gemini or Qwen directly" when running inside Claude Code (CCS unavailable), "CCS backend" otherwise
256
+ - **Security exclusion fix**: Narrowed `security` exclude pattern to only block auth/vuln *implementation* — security *reviews* now correctly route to orchestration
257
+
258
+ ### Files Modified
259
+ - `skills/delegating/SKILL.md` — Description, frontmatter, pseudocode, CCS command
260
+ - `hooks/skill-suggestion.py` — Orchestration patterns, CLAUDECODE detection, security exclusion
261
+
262
+ ### Documentation
263
+ - Updated SSOT: `ssot_cli_hooks_2026-02-03` → v1.1.0
264
+ - New SSOT: `ssot_jaggers-agent-tools_delegating_skill_2026-02-23` v1.0.0
265
+
266
+ ---
267
+
268
+ ## [1.3.0] - 2026-02-22
269
+
270
+ ### Added
271
+
272
+ #### CLI UX Improvements (vsync-inspired)
273
+ - **Ora Spinners**: Visual feedback for all async operations (detect, diff, sync)
274
+ - **Enhanced Status**: Last sync time, item counts, health indicators, actionable hints
275
+ - **Single Confirmation**: Collect all changesets, display full plan, ask once
276
+ - **Drifted Items Feedback**: Report skipped drifted items post-sync with backport hint
277
+
278
+ ### Changed
279
+
280
+ #### Safety Improvements
281
+ - **Prune Mode Guard**: Added `PruneModeReadError` — aborts if system read fails in prune mode
282
+ - **Repo Root Detection**: Dynamic detection via `findRepoRoot()` utility (walks up looking for `skills/` + `hooks/`)
283
+ - **Dry-Run Banner**: Moved from before target selection to after plan display
284
+ - **Error Handling**: Global handlers for clean error messages (no stack traces)
285
+ - **Ignored Items**: Filter `__pycache__`, `.DS_Store`, `node_modules` from diff scanning
286
+
287
+ ### Dependencies
288
+ - Added `ora` for spinner UI
289
+
290
+ ### Files Modified
291
+ - `cli/src/core/diff.ts` — Prune guard, ignored items filtering
292
+ - `cli/src/utils/repo-root.ts` — New utility
293
+ - `cli/src/commands/sync.ts` — Spinners, single confirm, feedback improvements
294
+ - `cli/src/commands/status.ts` — Enhanced output with timestamps
295
+ - `cli/src/core/manifest.ts` — Added `getManifestPath()`
296
+ - `cli/src/index.ts` — Global error handlers
297
+
298
+ ### Documentation
299
+ - New SSOT: `ssot_cli_ux_improvements_2026-02-22.md`
300
+
301
+ ---
302
+
303
+ ## [1.2.0] - 2026-02-21
304
+
305
+ ### Added
306
+
307
+ #### CLI: TypeScript Migration
308
+ - **Full TypeScript rewrite** of `cli/` — all modules ported from plain JavaScript ESM to strict TypeScript
309
+ - **Commander.js** replaces `minimist` for structured sub-command routing
310
+ - **Zod schemas** for runtime validation of `ChangeSet`, `SyncMode`, `Manifest`, `MCPServer`
311
+ - **Adapter Pattern** — `ToolAdapter` base class with `ClaudeAdapter`, `GeminiAdapter`, `QwenAdapter` implementations
312
+ - `detectAdapter(systemRoot)` factory replaces scattered `includes('.claude')` checks codebase-wide
313
+ - **Rollback protection** — `core/rollback.ts` backs up every file before write; restores all on any failure
314
+ - **Hash-only diffing** — Pure MD5 comparison via `utils/hash.ts`; mtime used only as drift tie-breaker
315
+ - **`prepare` npm script** — auto-builds on `npm install`, restoring `npx github:Jaggerxtrm/jaggers-agent-tools` support
316
+ - **`vitest` test infrastructure** added to devDependencies (tests deferred, see `docs/plans/cli-testing.md`)
317
+
318
+ #### New sub-commands
319
+ - `jaggers-config sync [--dry-run] [-y] [--prune] [--backport]` — main sync
320
+ - `jaggers-config status` — read-only diff view (no file writes)
321
+ - `jaggers-config reset` — replaces `--reset` flag from old CLI
322
+
323
+ #### Windows Compatibility (baked in)
324
+ - `registry.ts` normalises backslashes before path matching
325
+ - `config-adapter.ts` uses `python` (not `python3`) on Windows for hook scripts
326
+ - `sync-executor.ts` falls back from symlinks to copy on Windows with a user warning
327
+
328
+ ### Changed
329
+ - `cli/package.json` `bin` and root `package.json` `bin` now point to `cli/dist/index.js` (compiled output)
330
+ - `cli/package.json` `scripts` updated: `build` (tsup), `dev` (tsx), `typecheck` (tsc), `test` (vitest), `start` (node dist)
331
+ - Old `cli/index.js` and `cli/lib/*.js` preserved on disk but no longer referenced
332
+
333
+ ### Fixed
334
+ - **Double-shebang bug** in tsup output — removed `banner` config, relying on tsup's auto-detection from `src/index.ts`
335
+
336
+ ---
337
+
338
+ ## [1.1.1] - 2026-02-03
339
+
340
+ ### Added
341
+ - **Orchestrating Agents Skill**: Multi-model collaboration skill for Gemini and Qwen.
342
+ - **Handshaking Workflows**: Deep multi-turn loops (Collaborative Design, Adversarial Review, Troubleshoot Session).
343
+ - **Gemini Command Sync**: CLI support for synchronizing `.toml` commands and auto-generating them from skills.
344
+ - **Cross-Agent Interactivity**: Support for both Gemini (`ask_user`) and Claude (`AskUserQuestion`) interactive menus.
345
+ - Implement specialized Gemini slash commands (/delegate, /document, /prompt)
346
+ - Enable zero-cloning installation via npx github:Jaggerxtrm/jaggers-agent-tools
347
+ - Implement Vault Sync Architecture for non-destructive settings management. Protects local secrets, MCP servers, and auth data during sync. Includes atomic writes and dry-run mode.
348
+ - **Architecture Roadmap**: Document CLI architectural improvements in ROADMAP.md based on multi-agent orchestration findings (Transactional Sync, Manifest Versioning, Namespace Prefixes, Observability).
349
+
350
+ ### Changed
351
+ - **CLI Enhancement**: Automatically transforms `SKILL.md` into Gemini `.toml` command files during sync.
352
+ - **Hook Migration**: Refined hook transformation logic for cross-agent compatibility.
353
+ - Update SSOT and CHANGELOG for cross-agent compatibility and CLI improvements
354
+ - Consolidate all v1.1.0 improvements: Zero-Cloning, Metadata-driven commands, and multi-turn orchestration
355
+ - **ROADMAP.md**: Added "CLI Architecture Improvements" section with 5 phases addressing transactional sync, versioning, collision detection, observability, and transformation refactoring.
356
+
357
+ ### Fixed
358
+ - Fix hook execution timeouts by updating settings.json to use milliseconds and enhancing transform-gemini.js to handle unit mismatches and improve hook naming.
359
+ - Prevent redundant auto-generation of commands for core skills in CLI
360
+ - Fix hardcoded paths in settings.json during sync
361
+ - Fix ReferenceError in sync.js by adding missing import and verify via Qwen handshake
362
+
363
+ ---
364
+
365
+ ## [6.0.0] - 2026-02-01
366
+
367
+ ### Added
368
+
369
+ #### `delegating` Skill (Unified)
370
+ - **New `delegating` skill** replaces `ccs-delegation`
371
+ - **Unified Backends**: Supports both CCS (cost-optimized) and unitAI (multi-agent workflows)
372
+ - **Configuration-Driven**: All logic defined in `config.yaml`
373
+ - **Auto-Focus**: Detects security/performance/quality focus from keywords
374
+ - **Autonomous Workflow Selection**: Claude picks optimal unitAI workflow based on patterns
375
+
376
+ ### Removed
377
+
378
+ #### `ccs-delegation` Skill
379
+ - **Deprecated**: Fully replaced by `delegating` skill
380
+ - **Removed**: `skills/ccs-delegation` directory deleted
381
+
382
+ ### Changed
383
+
384
+ #### Skill Suggestions Hook
385
+ - **Updated**: Suggests `/delegation` instead of `/ccs-delegation`
386
+ - **Renamed**: `skill-suggestion.sh` → `skill-suggestion.py` for Python implementation
387
+
388
+ ---
389
+
390
+ ## [5.1.0] - 2026-01-30
391
+
392
+ ### Changed
393
+
394
+ #### Naming Convention Alignment
395
+ - **Skill `p` renamed to `prompt-improving`**
396
+ - Updated skill directory: `~/.claude/skills/p` → `~/.claude/skills/prompt-improving`
397
+ - Updated YAML frontmatter: `name: p` → `name: prompt-improving`
398
+ - Updated trigger syntax: `/p` → `/prompt-improving`
399
+ - Updated hook suggestions to reference `/prompt-improving`
400
+ - Follows Claude's naming convention with `-ing` suffix for improved clarity
401
+
402
+ #### Breaking Changes
403
+ - **`/p` command no longer works** - Use `/prompt-improving` instead
404
+ - Users with muscle memory for `/p` will need to adapt to `/prompt-improving`
405
+ - Hook suggestions now display `/prompt-improving` in systemMessage
406
+
407
+ #### Migration Guide (5.0.0 → 5.1.0)
408
+ **For Users:**
409
+ - Replace all `/p "prompt"` invocations with `/prompt-improving "prompt"`
410
+ - Update any documentation or workflows referencing the `/p` skill
411
+
412
+ **For Backward Compatibility (Optional):**
413
+ If you prefer to keep `/p` working via symlink:
414
+ ```bash
415
+ ln -s ~/.claude/skills/prompt-improving ~/.claude/skills/p
416
+ ```
417
+
418
+ ---
419
+
420
+ ## [5.0.0] - 2026-01-30
421
+
422
+ ### Added
423
+
424
+ #### Skills Enhancement
425
+ - **UserPromptSubmit Hook** (`~/.claude/hooks/skill-suggestion.sh`)
426
+ - Proactive skill suggestions for `/p` and `/ccs` based on prompt analysis
427
+ - Bilingual pattern matching (Italian + English)
428
+ - Flexible synonym detection (e.g., "correggi|fix|sistema|repair")
429
+ - Sub-100ms execution time, no LLM calls
430
+ - Opt-in configuration via `settings.json`
431
+ - Detects simple tasks (typo, test, refactor, docs) → suggests `/ccs`
432
+ - Detects short/generic prompts → suggests `/p` for structure
433
+
434
+ #### Configuration
435
+ - **skillSuggestions config** in `settings.json`
436
+ - `enabled: true` - Hook active by default
437
+ - Can be disabled without restart
438
+ - **UserPromptSubmit hook registration** in `settings.json`
439
+ - Timeout: 1s
440
+ - Command: `/home/dawid/.claude/hooks/skill-suggestion.sh`
441
+
442
+ #### Skill Features
443
+ - **AskUserQuestion dialogs** in `ccs-delegation` skill for interactive delegation choice
444
+ - **AskUserQuestion clarification** in `p` skill for ambiguous prompts (<8 words)
445
+
446
+ ### Changed
447
+
448
+ #### Skill `p` (Prompt Improver)
449
+ - **SKILL.md**: Reduced from 118 to 64 lines (-46% size)
450
+ - **Simplified context detection**: From 10 categories to 3 (ANALYSIS, DEV, REFACTOR)
451
+ - **Removed multi-iteration improvement loop**: Single-pass processing only
452
+ - **Inline scoring heuristics**: Replaced complex quality metrics with simple keyword checks
453
+ - **Reference structure**: Merged prefill patterns into `xml_core.md` (+20 lines)
454
+
455
+ #### Skill `ccs-delegation`
456
+ - **SKILL.md**: Reduced from 486 to 151 lines (-69% size)
457
+ - **Keyword-based profile selection**: Replaced quantitative complexity scoring (0-10 scale)
458
+ - Simple patterns: `typo|test|doc` → glm
459
+ - Reasoning patterns: `analiz|think|reason` → gemini
460
+ - Architecture patterns: `architecture|entire|codebase` → gemini
461
+ - **Bilingual support**: IT+EN keywords throughout (e.g., "correggi|fix", "aggiungi.*test|add.*test")
462
+ - **Simplified execution flow**: Detect → Ask → Select Profile → Execute (removed fallback chains)
463
+
464
+ #### Performance Improvements
465
+ - **Skill load time**: 5-8s → <1s (-80-85% reduction)
466
+ - **Total token overhead**: 155KB → 16KB (-90% reduction)
467
+ - **Pattern matching**: Extended from basic English to IT+EN with wildcards
468
+
469
+ ### Removed
470
+
471
+ #### Skill `p` References (46KB total)
472
+ - `quality_metrics.md` (12.7KB, 511 lines) - Complex 0-100 scoring system
473
+ - `context_detection_rules.md` (10.4KB) - 10-category detection rules
474
+ - `prefill_patterns.md` (10KB) - Standalone prefill examples (merged into xml_core.md)
475
+ - `before_after_examples.md` (12.9KB) - Redundant examples
476
+
477
+ #### Skill `ccs-delegation` References (95KB total)
478
+ - `task_complexity_scoring.md` (14.4KB, 478 lines) - Quantitative complexity algorithm
479
+ - `smart_context_gathering.md` (16.6KB, 643 lines) - Multi-level context system
480
+ - `fallback_chain.md` (15.5KB) - Edge-case fallback handling
481
+ - `parallel_delegation.md` (17.1KB) - Multi-agent parallel execution
482
+ - `delegation_history_analysis.md` (15.7KB) - Learning/persistence system
483
+
484
+ ### Fixed
485
+
486
+ #### Pattern Matching
487
+ - **Too rigid English-only patterns** → Extended to bilingual IT+EN with synonyms
488
+ - **Missing common terms** → Added: "rimuovi|remove", "modifica|modify", "sistema|repair"
489
+ - **Case sensitivity issues** → All patterns use case-insensitive matching (`grep -i`)
490
+
491
+ #### Hook Configuration
492
+ - **Hook script not executable** → Added `chmod +x` to deployment checklist
493
+ - **Missing skillSuggestions config** → Added to `settings.json` with `enabled: true`
494
+
495
+ ---
496
+
497
+ ## [4.2.0] - Pre-refactoring baseline
498
+
499
+ ### Changed
500
+ #### Skills State Before Refactoring
501
+ - **Skill `p`**: 118 lines, 52KB references (9 files)
502
+ - **Skill `ccs-delegation`**: 486 lines, 103KB references (6 files)
503
+ - **Total overhead**: 155KB token cost per skill activation
504
+ - **Load time**: 5-8 seconds per skill invocation