@yandy-r/ycc-opencode 0.0.0-stage → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (410) hide show
  1. package/AGENTS.md +39 -0
  2. package/LICENSE +21 -0
  3. package/README.md +50 -2
  4. package/agents/ansible-automation-expert.md +115 -0
  5. package/agents/api-docs-expert.md +146 -0
  6. package/agents/api-documenter.md +105 -0
  7. package/agents/architect.md +264 -0
  8. package/agents/architecture-analyst.md +99 -0
  9. package/agents/backport-conflict-resolver.md +476 -0
  10. package/agents/cloudflare-architect.md +85 -0
  11. package/agents/cloudflare-developer.md +196 -0
  12. package/agents/code-architect.md +101 -0
  13. package/agents/code-documenter.md +114 -0
  14. package/agents/code-explorer.md +99 -0
  15. package/agents/code-finder.md +83 -0
  16. package/agents/code-researcher.md +102 -0
  17. package/agents/code-reviewer.md +268 -0
  18. package/agents/code-simplifier.md +77 -0
  19. package/agents/codebase-advisor.md +130 -0
  20. package/agents/db-modifier.md +577 -0
  21. package/agents/docs-git-committer.md +220 -0
  22. package/agents/documentation-writer.md +92 -0
  23. package/agents/feature-researcher.md +121 -0
  24. package/agents/feature-writer.md +89 -0
  25. package/agents/frontend-ui-developer.md +98 -0
  26. package/agents/git-cleanup.md +174 -0
  27. package/agents/go-api-architect.md +172 -0
  28. package/agents/go-expert-architect.md +147 -0
  29. package/agents/implementor.md +167 -0
  30. package/agents/library-docs-writer.md +128 -0
  31. package/agents/nextjs-ux-ui-expert.md +127 -0
  32. package/agents/nodejs-backend-architect.md +112 -0
  33. package/agents/nodejs-backend-developer.md +184 -0
  34. package/agents/planner.md +257 -0
  35. package/agents/pr-comment-fixer.md +626 -0
  36. package/agents/practices-researcher.md +80 -0
  37. package/agents/project-file-cleaner.md +140 -0
  38. package/agents/prp-researcher.md +231 -0
  39. package/agents/python-developer.md +171 -0
  40. package/agents/python-expert-architect.md +188 -0
  41. package/agents/readme-generator.md +100 -0
  42. package/agents/release-fix-applier.md +558 -0
  43. package/agents/releaser.md +147 -0
  44. package/agents/research-specialist.md +106 -0
  45. package/agents/reverse-proxy-architect.md +131 -0
  46. package/agents/review-fixer.md +609 -0
  47. package/agents/root-cause-analyzer.md +105 -0
  48. package/agents/rust-build-resolver.md +183 -0
  49. package/agents/rust-expert-architect.md +149 -0
  50. package/agents/rust-reviewer.md +126 -0
  51. package/agents/sql-database-developer.md +195 -0
  52. package/agents/systems-engineering-expert.md +203 -0
  53. package/agents/terraform-architect.md +109 -0
  54. package/agents/terraform-developer.md +229 -0
  55. package/agents/test-strategy-planner.md +126 -0
  56. package/agents/turso-database-architect.md +139 -0
  57. package/agents/typescript-developer.md +170 -0
  58. package/agents/typescript-expert-architect.md +167 -0
  59. package/index.js +523 -0
  60. package/package.json +36 -4
  61. package/registration.json +7259 -0
  62. package/shared/references/agent-native-setup.md +121 -0
  63. package/shared/references/branch-prep.md +31 -0
  64. package/shared/references/branching-model.md +162 -0
  65. package/shared/references/ci-monitoring.md +455 -0
  66. package/shared/references/forge-detection.md +162 -0
  67. package/shared/references/goal-pairing.md +55 -0
  68. package/shared/references/pr-base-and-backport.md +143 -0
  69. package/shared/references/question-policy.md +99 -0
  70. package/shared/references/review-artifact-format.md +141 -0
  71. package/shared/references/review-checklist.md +161 -0
  72. package/shared/references/review-dispatch.md +73 -0
  73. package/shared/references/session-state.md +159 -0
  74. package/shared/references/standalone-dispatch.md +300 -0
  75. package/shared/references/target-capability-matrix.md +516 -0
  76. package/shared/references/visual-mode.md +155 -0
  77. package/shared/references/worktree-strategy.md +326 -0
  78. package/shared/scripts/backport-audit.sh +283 -0
  79. package/shared/scripts/ci-monitor.sh +637 -0
  80. package/shared/scripts/lib/backport-lib.sh +47 -0
  81. package/shared/scripts/lib/ci-classify.sh +103 -0
  82. package/shared/scripts/lib/forge.sh +264 -0
  83. package/shared/scripts/lib/release-state-lib.sh +300 -0
  84. package/shared/scripts/list-worktrees.sh +178 -0
  85. package/shared/scripts/merge-children.sh +82 -0
  86. package/shared/scripts/move-plan-to-worktree.sh +231 -0
  87. package/shared/scripts/pr-guard.sh +283 -0
  88. package/shared/scripts/prepare-feature-branch.sh +326 -0
  89. package/shared/scripts/release-ci-monitor.sh +671 -0
  90. package/shared/scripts/release-state-update.sh +216 -0
  91. package/shared/scripts/release-state.sh +178 -0
  92. package/shared/scripts/report-bundle-drift.sh +343 -0
  93. package/shared/scripts/require-python.sh +17 -0
  94. package/shared/scripts/resolve-plans-dir.sh +262 -0
  95. package/shared/scripts/rules-pointer.sh +20 -0
  96. package/shared/scripts/rules_pointer.py +267 -0
  97. package/shared/scripts/setup-worktree.sh +288 -0
  98. package/shared/scripts/validate-file-paths.sh +249 -0
  99. package/shared/scripts/visual-egress-guard.sh +303 -0
  100. package/shared/scripts/visual-recap-collect.sh +247 -0
  101. package/shared/scripts/worktree-paths.sh +91 -0
  102. package/skills/backport/SKILL.md +293 -0
  103. package/skills/backport/scripts/cherry-pick-pr.sh +232 -0
  104. package/skills/backport/scripts/find-pending.sh +199 -0
  105. package/skills/blueprint/SKILL.md +412 -0
  106. package/skills/blueprint/references/bootstrap-mapping.md +87 -0
  107. package/skills/bundle-author/SKILL.md +121 -0
  108. package/skills/bundle-author/references/surface-map.md +128 -0
  109. package/skills/bundle-author/references/templates/agent-template.md +21 -0
  110. package/skills/bundle-author/references/templates/skill-template.md +36 -0
  111. package/skills/bundle-author/references/when-not-to-scaffold.md +85 -0
  112. package/skills/bundle-author/scripts/scaffold-skill.sh +156 -0
  113. package/skills/bundle-release/SKILL.md +192 -0
  114. package/skills/bundle-release/references/release-checklist.md +196 -0
  115. package/skills/bundle-release/references/release-notes-template.md +48 -0
  116. package/skills/bundle-release/references/version-policy.md +156 -0
  117. package/skills/bundle-release/scripts/bump-version.sh +99 -0
  118. package/skills/bundle-release/scripts/draft-notes.sh +222 -0
  119. package/skills/bundle-release/scripts/preflight.sh +165 -0
  120. package/skills/bundle-release/scripts/release_versions.py +375 -0
  121. package/skills/clean/SKILL.md +109 -0
  122. package/skills/clean/references/agent-prompts.md +199 -0
  123. package/skills/clean/references/safety-config.md +125 -0
  124. package/skills/clean/scripts/detect-project-type.sh +423 -0
  125. package/skills/clean/scripts/generate-report.sh +245 -0
  126. package/skills/clean/scripts/validate-safety.sh +401 -0
  127. package/skills/code-report/SKILL.md +377 -0
  128. package/skills/code-report/scripts/check-prerequisites.sh +65 -0
  129. package/skills/code-report/templates/report-structure.md +202 -0
  130. package/skills/code-review/SKILL.md +155 -0
  131. package/skills/code-review/references/pr-procedure.md +311 -0
  132. package/skills/compatibility-audit/SKILL.md +229 -0
  133. package/skills/compatibility-audit/references/reading-the-report.md +162 -0
  134. package/skills/compatibility-audit/scripts/audit-install-assumptions.sh +431 -0
  135. package/skills/compatibility-audit/scripts/audit-target-features.sh +596 -0
  136. package/skills/deep-research/SKILL.md +251 -0
  137. package/skills/deep-research/references/analysis-prompts.md +702 -0
  138. package/skills/deep-research/references/completion-summary-template.md +66 -0
  139. package/skills/deep-research/references/persona-analogical.md +159 -0
  140. package/skills/deep-research/references/persona-archaeological.md +69 -0
  141. package/skills/deep-research/references/persona-contrarian.md +155 -0
  142. package/skills/deep-research/references/persona-futurist.md +70 -0
  143. package/skills/deep-research/references/persona-historical.md +142 -0
  144. package/skills/deep-research/references/persona-journalistic.md +69 -0
  145. package/skills/deep-research/references/persona-negative-space.md +70 -0
  146. package/skills/deep-research/references/persona-systems.md +69 -0
  147. package/skills/deep-research/references/synthesis-template.md +569 -0
  148. package/skills/deep-research/references/verification-log-template.md +32 -0
  149. package/skills/deep-research/scripts/check-prerequisites.sh +153 -0
  150. package/skills/deep-research/scripts/validate-research.sh +244 -0
  151. package/skills/feature-research/SKILL.md +294 -0
  152. package/skills/feature-research/scripts/validate-research.sh +159 -0
  153. package/skills/feature-research/scripts/validate-spec.sh +270 -0
  154. package/skills/feature-research/templates/research-agents.md +569 -0
  155. package/skills/feature-research/templates/spec-structure.md +437 -0
  156. package/skills/formatters/SKILL.md +209 -0
  157. package/skills/formatters/references/best-practices.md +78 -0
  158. package/skills/formatters/references/flag-reference.md +178 -0
  159. package/skills/formatters/references/stack-detection.md +119 -0
  160. package/skills/formatters/references/templates/husky-pre-commit.tmpl +13 -0
  161. package/skills/formatters/references/templates/justfile-snippet.just.tmpl +31 -0
  162. package/skills/formatters/references/templates/lefthook.yml.tmpl +22 -0
  163. package/skills/formatters/references/templates/lint-autofix.yml.tmpl +94 -0
  164. package/skills/formatters/references/templates/lint.yml.tmpl +85 -0
  165. package/skills/formatters/references/templates/makefile-snippet.mk.tmpl +34 -0
  166. package/skills/formatters/references/templates/package-json-scripts.json.tmpl +14 -0
  167. package/skills/formatters/references/templates/readme-section.md.tmpl +118 -0
  168. package/skills/formatters/scripts/apply-aliases.sh +245 -0
  169. package/skills/formatters/scripts/apply-ci.sh +136 -0
  170. package/skills/formatters/scripts/apply-docs.sh +187 -0
  171. package/skills/formatters/scripts/apply-hooks.sh +261 -0
  172. package/skills/formatters/scripts/bundle/format.sh +15 -0
  173. package/skills/formatters/scripts/bundle/go-tools.sh +119 -0
  174. package/skills/formatters/scripts/bundle/init-formatters.sh +517 -0
  175. package/skills/formatters/scripts/bundle/install-shellcheck.sh +85 -0
  176. package/skills/formatters/scripts/bundle/lib/excludes.sh +179 -0
  177. package/skills/formatters/scripts/bundle/lib/modified-files.sh +222 -0
  178. package/skills/formatters/scripts/bundle/lib/shellcheck-resolve.sh +81 -0
  179. package/skills/formatters/scripts/bundle/lib/shellcheck-version.sh +5 -0
  180. package/skills/formatters/scripts/bundle/lint.sh +15 -0
  181. package/skills/formatters/scripts/bundle/style.sh +1410 -0
  182. package/skills/formatters/scripts/bundle/templates/biome.json +81 -0
  183. package/skills/formatters/scripts/bundle/templates/clippy.toml +2 -0
  184. package/skills/formatters/scripts/bundle/templates/markdownlint.json +14 -0
  185. package/skills/formatters/scripts/bundle/templates/markdownlintignore +38 -0
  186. package/skills/formatters/scripts/bundle/templates/prettierignore +45 -0
  187. package/skills/formatters/scripts/bundle/templates/prettierrc.json +11 -0
  188. package/skills/formatters/scripts/bundle/templates/python-pyproject.toml +80 -0
  189. package/skills/formatters/scripts/bundle/templates/rustfmt.toml +41 -0
  190. package/skills/formatters/scripts/bundle/templates/tsconfig.json +21 -0
  191. package/skills/formatters/scripts/profile-style.sh +264 -0
  192. package/skills/frontend-design/SKILL.md +151 -0
  193. package/skills/frontend-patterns/SKILL.md +66 -0
  194. package/skills/frontend-patterns/references/animation.md +21 -0
  195. package/skills/frontend-patterns/references/components-and-state.md +40 -0
  196. package/skills/frontend-patterns/references/data-and-performance.md +34 -0
  197. package/skills/frontend-patterns/references/forms-errors-a11y.md +35 -0
  198. package/skills/git-cleanup/SKILL.md +300 -0
  199. package/skills/git-cleanup/references/active-code-rules.md +323 -0
  200. package/skills/git-cleanup/references/host-detection.md +217 -0
  201. package/skills/git-workflow/SKILL.md +132 -0
  202. package/skills/git-workflow/references/ci-monitoring-phase.md +130 -0
  203. package/skills/git-workflow/references/commit-phases.md +247 -0
  204. package/skills/git-workflow/references/examples-and-troubleshooting.md +47 -0
  205. package/skills/git-workflow/references/goal-pairing.md +23 -0
  206. package/skills/git-workflow/references/pr-creation.md +269 -0
  207. package/skills/git-workflow/scripts/analyze-changes.sh +266 -0
  208. package/skills/git-workflow/scripts/create-pr.sh +464 -0
  209. package/skills/git-workflow/scripts/validate-commit.sh +235 -0
  210. package/skills/git-workflow/templates/agent-prompts.md +518 -0
  211. package/skills/git-workflow/templates/commit-types.md +504 -0
  212. package/skills/git-workflow/templates/documentation-decision.md +509 -0
  213. package/skills/git-workflow/templates/pr-template.md +772 -0
  214. package/skills/go-patterns/SKILL.md +89 -0
  215. package/skills/go-patterns/references/design-and-tooling.md +336 -0
  216. package/skills/go-patterns/references/errors-and-concurrency.md +292 -0
  217. package/skills/go-testing/SKILL.md +133 -0
  218. package/skills/go-testing/references/advanced-testing.md +349 -0
  219. package/skills/go-testing/references/test-structure.md +277 -0
  220. package/skills/hooks-workflow/SKILL.md +232 -0
  221. package/skills/hooks-workflow/references/support-notes.md +134 -0
  222. package/skills/hooks-workflow/references/templates/claude-settings.json.tmpl +13 -0
  223. package/skills/hooks-workflow/references/templates/codex-config-fragment.toml.tmpl +9 -0
  224. package/skills/hooks-workflow/references/templates/cursor-rule-fragment.mdc.tmpl +16 -0
  225. package/skills/hooks-workflow/scripts/build-hook-config.sh +487 -0
  226. package/skills/hooks-workflow/scripts/verify-hooks.sh +257 -0
  227. package/skills/implement-plan/SKILL.md +223 -0
  228. package/skills/implement-plan/references/agent-task-prompt.md +214 -0
  229. package/skills/implement-plan/references/output-formats.md +150 -0
  230. package/skills/implement-plan/references/plan-inputs.md +126 -0
  231. package/skills/implement-plan/scripts/check-prerequisites.sh +78 -0
  232. package/skills/implement-plan/scripts/parse-dependencies.sh +206 -0
  233. package/skills/init/SKILL.md +274 -0
  234. package/skills/init/references/conventional-commits.md +114 -0
  235. package/skills/init/references/flag-reference.md +236 -0
  236. package/skills/init/references/label-taxonomy.md +115 -0
  237. package/skills/init/references/project-profile-heuristics.md +156 -0
  238. package/skills/init/references/template-library.md +129 -0
  239. package/skills/init/scripts/count-source-files.sh +60 -0
  240. package/skills/init/scripts/generate-agent-catalog.sh +193 -0
  241. package/skills/init/scripts/generate-mcp-catalog.sh +214 -0
  242. package/skills/init/scripts/migrate-rules.py +459 -0
  243. package/skills/init/scripts/migrate-rules.sh +26 -0
  244. package/skills/init/scripts/profile-project.sh +453 -0
  245. package/skills/init/scripts/render-template.py +226 -0
  246. package/skills/init/scripts/render-template.sh +25 -0
  247. package/skills/init/scripts/rules-report.sh +31 -0
  248. package/skills/init/scripts/rules_file_lib.py +41 -0
  249. package/skills/init/templates/AGENTS.md.tmpl +38 -0
  250. package/skills/init/templates/CLAUDE.md.tmpl +7 -0
  251. package/skills/init/templates/ai-rule.md.tmpl +3 -0
  252. package/skills/init/templates/cursor-rule.mdc.tmpl +7 -0
  253. package/skills/init/templates/git/commitlint.config.cjs.tmpl +40 -0
  254. package/skills/init/templates/git/gitignore.tmpl +121 -0
  255. package/skills/init/templates/git/gitmessage.tmpl +27 -0
  256. package/skills/init/templates/git/install-lefthook.sh.tmpl +131 -0
  257. package/skills/init/templates/git/lefthook-usage.md.tmpl +101 -0
  258. package/skills/init/templates/git/lefthook.yml.tmpl +64 -0
  259. package/skills/init/templates/github/bug_report.yml.tmpl +78 -0
  260. package/skills/init/templates/github/config.yml.tmpl +5 -0
  261. package/skills/init/templates/github/copilot-instructions.md.tmpl +24 -0
  262. package/skills/init/templates/github/docs_request.yml.tmpl +41 -0
  263. package/skills/init/templates/github/feature_request.yml.tmpl +59 -0
  264. package/skills/init/templates/github/labels.md.tmpl +75 -0
  265. package/skills/init/templates/github/pull_request_template.md.tmpl +66 -0
  266. package/skills/init/templates/github/workflows/pr-title-autofix.yml.tmpl +101 -0
  267. package/skills/init/templates/github/workflows/pr-title.yml.tmpl +55 -0
  268. package/skills/init/templates/workspace-report.md +83 -0
  269. package/skills/orchestrate/SKILL.md +165 -0
  270. package/skills/orchestrate/references/agent-catalog.md +601 -0
  271. package/skills/orchestrate/references/agent-prompts.md +495 -0
  272. package/skills/orchestrate/references/dispatch-playbook.md +333 -0
  273. package/skills/orchestrate/references/task-breakdown.md +410 -0
  274. package/skills/orchestrate/scripts/analyze-task.sh +139 -0
  275. package/skills/orchestrate/scripts/summarize-results.sh +160 -0
  276. package/skills/orchestrate/scripts/validate-agents.sh +92 -0
  277. package/skills/parallel-plan/SKILL.md +124 -0
  278. package/skills/plan/SKILL.md +136 -0
  279. package/skills/plan/references/enhanced-personas.md +131 -0
  280. package/skills/plan/references/personas-and-merge.md +77 -0
  281. package/skills/plan/references/plan-validation.md +65 -0
  282. package/skills/plan/references/planner-prompts.md +68 -0
  283. package/skills/plan/references/planning-tracks.md +73 -0
  284. package/skills/plan-workflow/SKILL.md +409 -0
  285. package/skills/plan-workflow/references/checkpoint-messages.md +370 -0
  286. package/skills/plan-workflow/references/plan-structure.md +238 -0
  287. package/skills/plan-workflow/references/planning-agents.md +511 -0
  288. package/skills/plan-workflow/references/research-agents-optimized.md +348 -0
  289. package/skills/plan-workflow/references/research-agents.md +436 -0
  290. package/skills/plan-workflow/references/shared-structure.md +152 -0
  291. package/skills/plan-workflow/references/validation-agents.md +363 -0
  292. package/skills/plan-workflow/scripts/check-prerequisites.sh +65 -0
  293. package/skills/plan-workflow/scripts/check-state.sh +190 -0
  294. package/skills/plan-workflow/scripts/persist-or-fail.sh +135 -0
  295. package/skills/plan-workflow/scripts/validate-analysis-artifacts.sh +216 -0
  296. package/skills/plan-workflow/scripts/validate-research-artifacts.sh +225 -0
  297. package/skills/plan-workflow/scripts/validate-shared.sh +229 -0
  298. package/skills/plan-workflow/scripts/validate-workflow-plan.sh +256 -0
  299. package/skills/pr-autofix/SKILL.md +309 -0
  300. package/skills/pr-autofix/references/ci-loop.md +64 -0
  301. package/skills/pr-autofix/references/comment-sources.md +197 -0
  302. package/skills/pr-autofix/references/data-shapes.md +87 -0
  303. package/skills/pr-autofix/references/goal-example.md +30 -0
  304. package/skills/pr-autofix/references/output-templates.md +162 -0
  305. package/skills/pr-autofix/references/prompt-injection-safety.md +165 -0
  306. package/skills/pr-autofix/references/related-skills.md +11 -0
  307. package/skills/pr-autofix/references/severity-mapping.md +146 -0
  308. package/skills/pr-autofix/scripts/fetch-pr-comments.sh +364 -0
  309. package/skills/pr-autofix/scripts/post-summary.sh +226 -0
  310. package/skills/pr-autofix/scripts/resolve-thread.sh +251 -0
  311. package/skills/prp-commit/SKILL.md +128 -0
  312. package/skills/prp-implement/SKILL.md +179 -0
  313. package/skills/prp-implement/references/agent-task-prompt.md +36 -0
  314. package/skills/prp-implement/references/detection.md +49 -0
  315. package/skills/prp-implement/references/dry-run.md +0 -0
  316. package/skills/prp-implement/references/report-output.md +204 -0
  317. package/skills/prp-implement/references/validation-and-failures.md +118 -0
  318. package/skills/prp-plan/SKILL.md +323 -0
  319. package/skills/prp-plan/references/enhanced-researchers.md +425 -0
  320. package/skills/prp-plan/references/parallel-additions.md +56 -0
  321. package/skills/prp-plan/references/plan-template.md +264 -0
  322. package/skills/prp-plan/references/synthesis-map.md +25 -0
  323. package/skills/prp-plan/scripts/validate-prp-plan.sh +368 -0
  324. package/skills/prp-pr/SKILL.md +404 -0
  325. package/skills/prp-prd/SKILL.md +444 -0
  326. package/skills/prp-spec/SKILL.md +276 -0
  327. package/skills/python-patterns/SKILL.md +103 -0
  328. package/skills/python-patterns/references/core-idioms.md +304 -0
  329. package/skills/python-patterns/references/design-and-tooling.md +407 -0
  330. package/skills/python-testing/SKILL.md +114 -0
  331. package/skills/python-testing/references/mocking-and-integration.md +395 -0
  332. package/skills/python-testing/references/pytest-core.md +366 -0
  333. package/skills/quick-fix/SKILL.md +246 -0
  334. package/skills/quick-review/SKILL.md +306 -0
  335. package/skills/release-model/SKILL.md +233 -0
  336. package/skills/release-model/references/pointer-and-labels.md +83 -0
  337. package/skills/release-model/references/signals-and-proposal.md +68 -0
  338. package/skills/release-model/references/template-placeholders.md +42 -0
  339. package/skills/release-model/references/upgrade-and-audit.md +131 -0
  340. package/skills/release-model/scripts/collect-signals.sh +459 -0
  341. package/skills/release-model/scripts/pointer-targets.sh +29 -0
  342. package/skills/release-model/templates/RELEASING.md.tmpl +151 -0
  343. package/skills/releaser/SKILL.md +253 -0
  344. package/skills/releaser/references/ci-optimization-checklist.md +149 -0
  345. package/skills/releaser/references/ci-templates/docker-release.yml +88 -0
  346. package/skills/releaser/references/ci-templates/generic-release.yml +69 -0
  347. package/skills/releaser/references/ci-templates/go-release.yml +50 -0
  348. package/skills/releaser/references/ci-templates/node-release.yml +126 -0
  349. package/skills/releaser/references/ci-templates/python-release.yml +95 -0
  350. package/skills/releaser/references/ci-templates/rust-release.yml +128 -0
  351. package/skills/releaser/references/ci-workflow-modes.md +42 -0
  352. package/skills/releaser/references/goal-pairing.md +37 -0
  353. package/skills/releaser/references/output-templates.md +143 -0
  354. package/skills/releaser/references/project-type-matrix.md +144 -0
  355. package/skills/releaser/references/release-branches.md +138 -0
  356. package/skills/releaser/references/release-ci-loop.md +249 -0
  357. package/skills/releaser/references/release-notes-template.md +42 -0
  358. package/skills/releaser/references/release-preparation.md +210 -0
  359. package/skills/releaser/scripts/check-release-branch.sh +235 -0
  360. package/skills/releaser/scripts/detect-project.sh +234 -0
  361. package/skills/releaser/scripts/draft-changelog.sh +387 -0
  362. package/skills/releaser/scripts/publish-release.sh +302 -0
  363. package/skills/research-to-issues/SKILL.md +287 -0
  364. package/skills/research-to-issues/references/label-taxonomy.md +48 -0
  365. package/skills/research-to-issues/references/parse-deep-research.md +86 -0
  366. package/skills/research-to-issues/references/parse-feature-spec.md +143 -0
  367. package/skills/research-to-issues/references/parse-parallel-plan.md +124 -0
  368. package/skills/research-to-issues/references/parse-prd.md +184 -0
  369. package/skills/research-to-issues/references/parse-prp-plan.md +237 -0
  370. package/skills/research-to-issues/references/plan-display-format.md +136 -0
  371. package/skills/research-to-issues/scripts/validate-prerequisites.sh +312 -0
  372. package/skills/research-to-issues/templates/feature-issue.md +131 -0
  373. package/skills/research-to-issues/templates/task-issue.md +104 -0
  374. package/skills/research-to-issues/templates/tracking-issue.md +126 -0
  375. package/skills/resume-session/SKILL.md +154 -0
  376. package/skills/review-fix/SKILL.md +231 -0
  377. package/skills/review-fix/references/fix-report.md +121 -0
  378. package/skills/review-fix/references/fixer-dispatch.md +79 -0
  379. package/skills/review-fix/references/plan.md +119 -0
  380. package/skills/rust-patterns/SKILL.md +85 -0
  381. package/skills/rust-patterns/references/concurrency-unsafe-modules.md +243 -0
  382. package/skills/rust-patterns/references/ownership-errors-types.md +262 -0
  383. package/skills/rust-testing/SKILL.md +99 -0
  384. package/skills/rust-testing/references/advanced-testing.md +247 -0
  385. package/skills/rust-testing/references/unit-and-integration.md +193 -0
  386. package/skills/save-session/SKILL.md +161 -0
  387. package/skills/shared-context/SKILL.md +101 -0
  388. package/skills/ts-patterns/SKILL.md +159 -0
  389. package/skills/ts-patterns/references/async-runtimes-tooling.md +375 -0
  390. package/skills/ts-patterns/references/types-errors-modules.md +336 -0
  391. package/skills/ts-testing/SKILL.md +151 -0
  392. package/skills/ts-testing/references/advanced-testing.md +350 -0
  393. package/skills/ts-testing/references/vitest-core.md +318 -0
  394. package/skills/visual-plan/SKILL.md +221 -0
  395. package/skills/visual-plan/references/canvas.md +132 -0
  396. package/skills/visual-plan/references/document-quality.md +178 -0
  397. package/skills/visual-plan/references/exemplar.md +120 -0
  398. package/skills/visual-plan/references/wireframe.md +212 -0
  399. package/skills/visual-plan/scripts/derive-visual-dir.sh +77 -0
  400. package/skills/visual-recap/SKILL.md +238 -0
  401. package/skills/visual-recap/references/wireframe.md +237 -0
  402. package/skills/write-docs/SKILL.md +354 -0
  403. package/skills/write-docs/scripts/audit-documentation.sh +190 -0
  404. package/skills/write-docs/scripts/generate-doc-index.sh +125 -0
  405. package/skills/write-docs/scripts/verify-links.sh +81 -0
  406. package/skills/write-docs/templates/docs-readme.md +34 -0
  407. package/skills/write-docs/templates/documentation-strategy.md +91 -0
  408. package/ycc-sensitive-guard/index.js +621 -0
  409. package/ycc-sensitive-guard/package.json +7 -0
  410. package/ycc-sensitive-guard/policy.json +40 -0
@@ -0,0 +1,516 @@
1
+ # Target Capability Matrix
2
+
3
+ ## Contents
4
+
5
+ - Parser Grammar
6
+ - Capability Matrix
7
+ - Native vs install.sh Fallback
8
+ - Notes
9
+ - How to Update This Document
10
+
11
+ As of 2026-10-19
12
+
13
+ This file is the authoritative source for which ycc bundle capabilities are supported on each
14
+ deployment target. Downstream scripts parse the table below; read the Parser Grammar section
15
+ before editing the table.
16
+
17
+ ---
18
+
19
+ ## Parser Grammar
20
+
21
+ The first table below (Capability Matrix) is parsed by `ycc/skills/compatibility-audit/scripts/audit-target-features.sh`.
22
+ Follow these rules exactly or the parser will misread cells:
23
+
24
+ - **Column order**: `capability, claude, cursor, codex, opencode, omp` — do not reorder.
25
+ - **Cell vocabulary**: exactly one of `supported`, `partial`, or `unsupported` — no other tokens,
26
+ no trailing punctuation, no parenthetical notes inside the cell.
27
+ - **Notes** belong in the Notes section below the table, keyed as `capability:target`.
28
+ - The Native vs install.sh Fallback table comes after the parsed table and is descriptive only.
29
+ The audit parser stops at the first non-table line after the Capability Matrix, so keep a
30
+ heading or prose line between the two tables. Add a target column only by appending it and
31
+ updating the scripts that parse it.
32
+ - Do not change column order or cell vocabulary without updating the parser in
33
+ `ycc/skills/compatibility-audit/scripts/audit-target-features.sh`. Separator cells are dashes
34
+ only (`---`); alignment colons are not allowed. Every header target must be a runtime in
35
+ `ycc/settings/packages.schema.json`, and every `partial` or `unsupported` cell needs a
36
+ `**CAPABILITY:target**` note; `scripts/validate_capability_matrix.py` enforces both.
37
+ - **Rows are pinned**: the capability rows and their order are fixed in
38
+ `CANONICAL_CAPABILITIES` in `scripts/validate_capability_matrix.py`. Adding, removing, or
39
+ reordering a capability requires updating that tuple and the capability detection in
40
+ `audit-target-features.sh`.
41
+
42
+ ---
43
+
44
+ ## Capability Matrix
45
+
46
+ | capability | claude | cursor | codex | opencode | omp |
47
+ | ----------------- | --------- | ----------- | ----------- | ----------- | ----------- |
48
+ | SKILLS | supported | supported | supported | supported | partial |
49
+ | COMMANDS | supported | partial | unsupported | supported | partial |
50
+ | AGENTS | supported | partial | supported | supported | partial |
51
+ | HOOKS.PreToolUse | supported | partial | unsupported | partial | unsupported |
52
+ | HOOKS.PostToolUse | supported | partial | unsupported | partial | unsupported |
53
+ | HOOKS.Stop | supported | partial | unsupported | partial | unsupported |
54
+ | MCP | supported | supported | partial | supported | partial |
55
+ | INSTALL_PATH | supported | supported | supported | supported | partial |
56
+ | DANGEROUS_MODE | supported | unsupported | unsupported | unsupported | unsupported |
57
+ | WORKTREE | supported | partial | partial | partial | partial |
58
+ | MODS | supported | unsupported | unsupported | unsupported | unsupported |
59
+
60
+ ---
61
+
62
+ ## Native vs install.sh Fallback
63
+
64
+ Packaging status as of v6.0.0 (2026-10-18). This descriptive companion separates shipping native packages
65
+ from installer-managed artifacts and gated work in `ycc/settings/packages.json`.
66
+ `listed: false` packages are not published catalog entries; generated trees and successful spikes
67
+ alone do not make them shipping user install paths. This does not revise the capability verdicts above.
68
+
69
+ | target | native, listed today | install.sh fallback today | unlisted or gated native packages |
70
+ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------- |
71
+ | Claude | `ycc@ycc`, `ycc-mcp@ycc`, `ycc-hooks@ycc` (2.1.300+), `ycc-all@ycc`; `status-bar@ycc-mods` | Rules, settings, statusline, hooks link, MCP, standalone skills/agents | `ycc-agents@ycc` in v7.0.0 |
72
+ | Cursor | `ycc`, `ycc-rules`, `ycc-mcp`, `ycc-hooks` via the root `.cursor-plugin/marketplace.json` (interactive `/plugins`); hooks `sessionStart` only | Skills, agents, commands, rules, settings under `~/.cursor/`; optional hooks | None |
73
+ | Codex | `ycc@ycc`, `ycc-mcp@ycc` via the root `.agents/plugins/marketplace.json` | Agent TOMLs, `AGENTS.md`, `config.toml` | `ycc-hooks` excluded (YAN-1149) |
74
+ | opencode | None | Skills, agents, commands, shared, `opencode.json`, `AGENTS.md` | `@yandy-r/ycc-opencode` npm plugin: experimental, opt-in, unpublished |
75
+ | `agents` | None | Skills and `ycc-shared` copied into `~/.agents/` | None planned |
76
+ | `omp` | `ycc@ycc`, `ycc-mcp@ycc`, `ycc-rules@ycc` via the root `.omp-plugin/marketplace.json` (omp `>=18.12.2`) | `install.sh --target omp`: local export (`--mode local`) or the repository catalog (`--mode repo`) installed through `omp plugin` (user or project scope); opt-in `--rules` (`AGENTS.md`) and `--settings` (`config.yml`), user scope only | `ycc-hooks` and `ycc-all` excluded (herdr: `herdr integration install omp`) |
77
+
78
+ Native dependency resolution is a Claude platform feature, not a cross-runtime guarantee.
79
+ The Claude `ycc-all` meta plugin's automatic dependency install was verified on Claude Code 2.1.301 and in the v6.0.0 maintainer clean-host verification; Cursor and Codex have no
80
+ dependency field, and the `agents` target is a directory convention, not a package system.
81
+ Claude rules, settings, and statusline stay on `install.sh`.
82
+
83
+ The recommendation in `docs/research/ystack/recommendation.md` is qualified by
84
+ `ycc/settings/packages.json` and the later verdicts in `docs/internal/spikes/`:
85
+
86
+ - `claude-hooks.md`: plugin `WorktreeCreate` was observed on 2.1.300, not 2.1.143. The
87
+ hooks package requires a documented 2.1.300 minimum and tested command-level migration dedupe
88
+ that preserves user-owned hooks. `claude-namespace.md` rejects a shared-name agents split;
89
+ the qualified `ycc-agents:` namespace is deferred to v7.0.0.
90
+ - `codex-marketplace.md`: native catalog discovery is verified on 0.161.0, but `WorktreeCreate`
91
+ is dropped and trusted plugin hook dispatch is unverified. Hooks remain excluded.
92
+ - `cursor-plugin.md`: user-scope GitHub marketplace registration is verified; interactive
93
+ install was verified in the v6.0.0 maintainer release verification (YAN-1141). YAN-1132
94
+ generates the native packages with a tested Cursor floor of 3.24.12, listed in the root marketplace.
95
+ Native hooks are limited to `sessionStart`; do not infer `WorktreeCreate` or other Claude hook parity.
96
+ - `opencode-config-hook.md`: V2 registrations and context-hook instructions were verified on
97
+ v2.0.29, not the V1 config-hook approach. The experimental npm path still needs CI publishing;
98
+ `install.sh` file copy remains primary.
99
+ - `omp-runtime-contract.md`: tested on omp 18.12.2 (supported floor `>=18.12.2`). OMP gets a
100
+ dedicated generated `.omp-plugin/` tree; shell hooks, `hooks.json`, and `WorktreeCreate` never
101
+ run, and `ycc-all` is omitted because OMP ignores plugin dependencies. See ADR 0002. The
102
+ opt-in harness installs a generated export of `ycc` (its catalog includes unlisted rows) from
103
+ a local pinned fixture on omp 18.12.3 (YAN-1171). `install.sh install --target omp` installs the
104
+ same export, now `ycc`, `ycc-mcp` and `ycc-rules`, from a checkout through `omp plugin`
105
+ (YAN-1172, YAN-1173, YAN-1175). Since YAN-1180 the three rows are listed and the repository
106
+ publishes the root `.omp-plugin/marketplace.json`.
107
+ YAN-1174: ycc ships no OMP hooks; herdr reporting is herdr's own OMP integration.
108
+
109
+ ---
110
+
111
+ ## Notes
112
+
113
+ **COMMANDS:claude**
114
+ Claude Code has no separate ycc command-wrapper layer. Public skills are native slash
115
+ invocations (`/ycc:<name>`); `user-invocable: false` hides a skill from the slash menu.
116
+ The standalone installer's Claude `commands` intent aliases `skills`. It retires only
117
+ legacy wrappers recorded in installer ownership state, and only after a successful
118
+ skills install. Foreign wrappers are never touched.
119
+
120
+ **INVOCATION POLICY**
121
+ `disable-model-invocation: true` is source frontmatter for manual-only skills; it is
122
+ distinct from `user-invocable: false`. Claude and Cursor keep the native flag. Codex
123
+ emits a skill-local `agents/openai.yaml` with `policy.allow_implicit_invocation: false`.
124
+ opencode emits skill metadata `opencode/autoinvoke: 'false'`. The cross-tool `agents`
125
+ target has no portable key, so it omits the flag and keeps the description.
126
+
127
+ **COMMANDS:cursor**
128
+ The native `packages/cursor/ycc/commands/` contains thin commands derived from
129
+ user-invocable skills in `ycc/skills/`; each loads its package-local skill. This is not
130
+ an installed-plugin dispatch proof. The file-copy installer's `commands` intent installs
131
+ owned wrappers into `~/.cursor/commands/` that reference the installed skills, and its
132
+ `hooks` intent is an optional explicit carrier that registers `sessionStart` only.
133
+ Native plugin install is interactive (`/plugins`); the agent CLI has no non-interactive
134
+ `plugin install`.
135
+
136
+ **COMMANDS:codex**
137
+ The Codex customization platform does not support a slash-command layer. Skills are exposed
138
+ via the plugin bundle; there is no Codex analog for slash commands.
139
+
140
+ **AGENTS:cursor**
141
+ Agents from `ycc/agents/` are adapted into `packages/cursor/ycc/agents/` and copied by
142
+ the installer to `~/.cursor/agents/`. The same generated definitions are packaged in the
143
+ native `ycc` package.
144
+
145
+ **HOOKS.PreToolUse:cursor**
146
+ Cursor does not expose a native PreToolUse hook execution surface equivalent to Claude Code's
147
+ `~/.claude/settings.json` hooks. Existing repo hook guidance (e.g., `ycc/rules/*/hooks.md`)
148
+ is embedded as rule-file notes, not executed by a hook runner.
149
+
150
+ **HOOKS.PostToolUse:cursor**
151
+ Same constraint as HOOKS.PreToolUse:cursor. PostToolUse hook guidance is rule-embedded only.
152
+
153
+ **HOOKS.Stop:cursor**
154
+ Same constraint as HOOKS.PreToolUse:cursor. Stop hook guidance is rule-embedded only.
155
+
156
+ **HOOKS.PreToolUse:codex**
157
+ The Codex config reference documents `features.codex_hooks` as under development as of
158
+ the April 2026 research audit. No primary source confirms production availability. Marked
159
+ `unsupported` pending a verified Codex GA announcement.
160
+
161
+ **HOOKS.PostToolUse:codex**
162
+ Same constraint as HOOKS.PreToolUse:codex.
163
+
164
+ **HOOKS.Stop:codex**
165
+ Same constraint as HOOKS.PreToolUse:codex.
166
+
167
+ **MCP:codex**
168
+ MCP integration is referenced in the Codex customization docs
169
+ (`developers.openai.com/codex/concepts/customization`) but is less mature than the Claude Code
170
+ or Cursor MCP surfaces. Treat as partial until a verified stable API is documented.
171
+
172
+ **DANGEROUS_MODE:cursor**
173
+ The `--dangerously-skip-permissions` flag is a Claude Code CLI concept with no equivalent in
174
+ Cursor.
175
+
176
+ **DANGEROUS_MODE:codex**
177
+ No equivalent to Claude Code's dangerous mode exists in the Codex runtime.
178
+
179
+ **INSTALL_PATH:claude**
180
+ `install.sh install --target claude` registers the `ycc` marketplace through the `claude` CLI, then
181
+ runs `claude plugin install ycc@ycc --scope user`. Directory mode (default) runs
182
+ `claude plugin marketplace add <absolute-repo-root> --scope user`, so the marketplace
183
+ points at the repo checkout (`.claude-plugin/marketplace.json`, name `ycc`) and edits in `ycc/`
184
+ apply on `/reload-plugins` with no rsync or cache clear; rerun `--only base` if the repo moves.
185
+ Repo mode runs `claude plugin marketplace add yandy-r/ystack --scope user`, a GitHub
186
+ source; update with `claude plugin install ycc@ycc --scope user` or the `/plugins` UI. The CLI
187
+ writes to `~/.claude/settings.json`. The installer first replaces a symlink there with a real
188
+ file so the committed `ycc/settings/settings.json` is not modified, and the `settings` step
189
+ later merges repo-managed keys while preserving the CLI-written marketplace entry. It also
190
+ removes legacy `local-ycc-plugins` marketplace and `ycc@local-ycc-plugins` entries from
191
+ `~/.claude.json` and `~/.claude/settings.local.json`, deleting `settings.local.json` if that
192
+ leaves it empty. Other steps: `rules` links `~/.claude/CLAUDE.md`, `hooks` links
193
+ `~/.claude/hooks`, `mods` registers the `ycc-mods` directory marketplace, and `skills`/`agents`
194
+ install standalone copies into `~/.claude/` (warning about duplicate names if `ycc@ycc` is also
195
+ installed). `remove --target claude` uninstalls `ycc@ycc` and the `ycc` marketplace.
196
+
197
+ **INSTALL_PATH:cursor**
198
+ Sources under `ycc/` generate `packages/cursor/ycc/{skills,agents,commands}/`,
199
+ `packages/cursor/ycc-rules/rules/`, `packages/cursor/ycc-mcp/mcp.json`, and
200
+ `packages/cursor/ycc-hooks/hooks/`. Canonical `ycc/settings/cursor/cli-config.json`
201
+ is copied byte-for-byte to `packages/cursor/installer-fallback/config/cli-config.json`.
202
+ The file-copy installer copies skills, agents, and rules into `~/.cursor/`, installs
203
+ owned `commands` wrappers into `~/.cursor/commands/`, and merges the config there. The
204
+ `hooks` step is an optional explicit carrier that installs the `sessionStart` hook only
205
+ (no `WorktreeCreate`) and is not inherited by other selections. All four native packages
206
+ are listed in the generated root `.cursor-plugin/marketplace.json`; native installation is
207
+ interactive (`/plugins`). See `docs/internal/cursor-native-packages.md`.
208
+
209
+ **INSTALL_PATH:codex**
210
+ `install.sh install --target codex` symlinks `~/.codex/plugins/ycc/` to the repo's
211
+ `.codex-plugin/ycc/`, also symlinks `~/.agents/plugins/ycc` to the same bundle,
212
+ rsyncs custom agents to `~/.codex/agents/`, registers `./.agents/plugins/ycc`
213
+ (resolved from the marketplace root, `$HOME`) as the local marketplace source in
214
+ `~/.agents/plugins/marketplace.json`, and installs + enables the plugin with
215
+ `codex plugin add ycc@local-ycc-plugins`, which snapshots it into
216
+ `~/.codex/plugins/cache/local-ycc-plugins/ycc/<version>/`. Codex builds without
217
+ the plugin CLI get the legacy hand-written flat cache instead. Rerun the base
218
+ install step after regenerating the bundle via `./scripts/sync.sh --only codex`
219
+ or after clearing `~/.codex/plugins/cache/`.
220
+
221
+ **INSTALL_PATH:opencode**
222
+ Generated bundle lives at `.opencode-plugin/` (skills, agents, commands, AGENTS.md,
223
+ opencode.json). Consumed by opencode from `~/.config/opencode/` (global) or `.opencode/`
224
+ (project-local) after `install.sh install --target opencode` rsyncs the files.
225
+
226
+ **SKILLS:opencode**
227
+ Native support at `.opencode/skills/<name>/SKILL.md` with strict YAML frontmatter
228
+ (`name`, `description` required; `license`, `compatibility`, `metadata` optional). Descriptions
229
+ are limited to 1024 chars. opencode also reads `.claude/skills/*/SKILL.md` and
230
+ `.agents/skills/*/SKILL.md` as compatibility fallbacks. Source: opencode.ai/docs/skills/.
231
+
232
+ **COMMANDS:opencode**
233
+ Generated thin native commands, one per public skill, sourced from that skill's
234
+ `SKILL.md` (frontmatter drives description, argument hint, and model mapping). Each
235
+ command body loads the skill through the `skill` tool and forwards `$ARGUMENTS`;
236
+ workflow logic stays in the skill. They exist for commands-only compatibility; use
237
+ the skill tool rather than chaining commands. Source: opencode.ai/docs/commands/.
238
+
239
+ **AGENTS:opencode**
240
+ Native agent support at `.opencode/agents/<name>.md`. Frontmatter: `description` (required),
241
+ `mode` (`primary` | `subagent` | `all`), `model` (`provider/model-id[#variant]`), `system`,
242
+ ordered `permissions` rules, `steps`, `hidden`, `color`, `disabled`, and `request`. Legacy
243
+ fields such as `prompt`, `tools`, `permission`, `temperature`, `top_p`, and `disable` must not
244
+ be generated for V2 agents. Invoke subagents via `@mention` or the native
245
+ `subagent(agent, description, prompt, sessionID?, background?)` tool. Sources:
246
+ opencode.ai/v2/docs/agents/ and opencode.ai/v2/docs/tools/.
247
+
248
+ **HOOKS.PreToolUse:opencode**
249
+ opencode has a TypeScript plugin system with a `tool.execute.before` event that covers the
250
+ same surface area as Claude Code's PreToolUse hook. Marked `partial` because the `ycc` bundle
251
+ does not ship a TypeScript plugin in v1 — hook guidance is emitted as rule-embedded notes
252
+ only. Upgrading to `supported` requires publishing an `@yandy/opencode-ycc-hooks` npm package.
253
+
254
+ **HOOKS.PostToolUse:opencode**
255
+ Same constraint as HOOKS.PreToolUse:opencode. The underlying opencode event is
256
+ `tool.execute.after`.
257
+
258
+ **HOOKS.Stop:opencode**
259
+ Same constraint as HOOKS.PreToolUse:opencode. Closest opencode event is `session.idle`
260
+ (fires when a session's agentic loop halts).
261
+
262
+ **MCP:opencode**
263
+ Native MCP support in the top-level `"mcp"` key of `opencode.json`. Server values are either
264
+ `{type: "local", command: [argv0, …args], environment, timeout}` or
265
+ `{type: "remote", url, headers, oauth, timeout}`. Note the critical shape difference from
266
+ Claude Code: opencode's `command` is a single array containing both argv0 and args (no
267
+ separate `args` key), and `env` is spelled `environment`. OAuth uses RFC 7591 Dynamic Client
268
+ Registration when `clientId` is omitted. Source: opencode.ai/docs/mcp-servers/.
269
+
270
+ **DANGEROUS_MODE:opencode**
271
+ No equivalent to Claude Code's `--dangerously-skip-permissions` flag exists in opencode. The
272
+ OpenCode V2 permission model uses ordered `{action, resource, effect}` rules. Native actions
273
+ include `edit`, `shell`, `subagent`, `read`, `glob`, `grep`, `webfetch`, and `websearch`; the
274
+ last matching rule wins. Source: opencode.ai/v2/docs/permissions/.
275
+
276
+ **WORKTREE:claude**
277
+ Full support. Worktree isolation is **on by default** for the 9 worktree-aware skills; pass
278
+ `--no-worktree` to opt out. The legacy `--worktree` flag is accepted as a silent no-op.
279
+ Harness-managed worktrees exist (`Agent(isolation: "worktree")`, `EnterWorktree`, plus the
280
+ `WorktreeCreate` hook registered in `ycc/settings/settings.json`), but the current ycc
281
+ single-worktree contract should not use per-agent tool-side isolation for parallel task fan-out.
282
+ Instead, pre-create one feature worktree and point every agent at it via `Working directory:`.
283
+ A Bash fallback (`git worktree add`) is always available. See
284
+ `ycc/skills/_shared/references/worktree-strategy.md` for the single-worktree naming scheme.
285
+
286
+ **WORKTREE:cursor**
287
+ Partial. Worktree mode is on by default for the 9 worktree-aware skills; pass `--no-worktree`
288
+ to opt out. The legacy `--worktree` flag is a silent no-op. Skills emit `git worktree add`
289
+ instructions for the user; no auto-creation from the skill layer. Worktree support is
290
+ editor-side in Cursor and is not skill-programmable. See
291
+ `ycc/skills/_shared/references/worktree-strategy.md` for Cursor-specific guidance.
292
+
293
+ **WORKTREE:codex**
294
+ Partial. Worktree mode is on by default for the 9 worktree-aware skills; pass `--no-worktree`
295
+ to opt out. The legacy `--worktree` flag is a silent no-op. No tool-side isolation equivalent.
296
+ Skills instruct the agent to run `git worktree add` via Bash; auto-creation happens when the
297
+ instruction is embedded in the agent prompt. See
298
+ `ycc/skills/_shared/references/worktree-strategy.md` for the Bash-fallback protocol.
299
+
300
+ **WORKTREE:opencode**
301
+ Partial. Worktree mode is on by default for the 9 worktree-aware skills; pass `--no-worktree`
302
+ to opt out. The legacy `--worktree` flag is a silent no-op. Same as Codex — Bash via prompt,
303
+ no tool-side isolation. Skills embed `git worktree add` commands in agent prompts. See
304
+ `ycc/skills/_shared/references/worktree-strategy.md` for the Bash-fallback protocol.
305
+
306
+ **MODS:claude**
307
+ Supported from Claude Code 2.1.287 (CLI and desktop app). Mods live under `ycc/mods/` with their
308
+ own `ycc-mods` marketplace and install via `ycc sync --target claude --intent mods`.
309
+
310
+ **MODS:cursor**
311
+ Unsupported. `--intent mods` is reported and skipped; a translator step would map a mod's hooks
312
+ module onto Cursor's extension surface.
313
+
314
+ **MODS:codex**
315
+ Unsupported. Codex has no in-process hook module API; the intent is reported and skipped.
316
+
317
+ **MODS:opencode**
318
+ Unsupported. opencode plugins are the closest analogue, but no translator exists yet; the intent
319
+ is reported and skipped.
320
+
321
+ **SKILLS:omp**
322
+ Partial: `scripts/generate_omp_skills.py` generates every skill under `packages/omp/ycc/skills/`,
323
+ and it loads via `omp --plugin-dir`. Skills run as `/skill:<name>`, and `disable-model-invocation`
324
+ maps natively. `${CLAUDE_PLUGIN_ROOT}` and `_shared` paths become `skill://` URLs, and `_shared`
325
+ ships once as the hidden `ycc-shared` skill. `/ycc:<name>` becomes `/skill:<name>`. The tree ships
326
+ in the generated `ycc` package (YAN-1171), which is unlisted until release; `install.sh install
327
+ --target omp` installs it from a checkout (see INSTALL_PATH:omp). Workflow semantics (YAN-1170):
328
+ repo-local worktrees under `.omp/worktrees` (see WORKTREE:omp); fan-out uses one `task` batch and
329
+ calls `wait` until every owned job settles, because `-p`/JSON runs exit and drop pending async
330
+ results; `ask` exists only in the TUI and `--mode rpc-ui`, so `-p`, `--mode json`, `--mode rpc`
331
+ and subagents take each skill's declared default from `question-policy.md`; `--team` is
332
+ unsupported and fails closed. Per-skill status: `docs/internal/omp-workflow-semantics.md`.
333
+ Coexistence (YAN-1176): OMP also reads `~/.agents/skills` by default and lists a differing
334
+ same-name copy as `agents/<name>`. The default-on `dedupe` step of `install.sh install --target
335
+ omp` adds hash-owned `agents/<name>`, `codex/<name>` and `opencode/<name>` entries for
336
+ ycc-installed skills to the user `<agentDir>/config.yml` `skills.ignoredSkills` (never project
337
+ config), so each skill loads once from the package; `--only base` skips it and `remove --target
338
+ omp --only dedupe` takes the entries back. With `enabledProviders` including `claude`, standalone
339
+ `~/.claude/skills` copies outrank the package, and the installer warns.
340
+ Source: ADR 0002; spike §3; `docs/install/omp.md` (Coexistence With Other Runtimes).
341
+
342
+ **COMMANDS:omp**
343
+ Partial: `scripts/generate_omp_commands.py` writes one thin command per public skill to
344
+ `packages/omp/ycc/commands/<skill>.md`. Public means the directory is not `_`-prefixed and
345
+ `user-invocable` is not `false`; manual-only skills (`disable-model-invocation: true`) still get
346
+ one. Each command keeps the skill's `description` and `argument-hint`, reads `skill://<skill>`,
347
+ and passes `$ARGUMENTS`. OMP registers plugin commands as `<plugin>:<stem>`; the prefix is the catalog plugin name
348
+ for marketplace installs, else the `name` in `.claude-plugin/plugin.json` (or root
349
+ `plugin.json`), else the `--plugin-dir` basename. `.omp-plugin/plugin.json` does not set it, but
350
+ OMP keeps agent `model:` only with it, so the package root ships both manifests, named `ycc`,
351
+ for `/ycc:<skill>` (verified live on omp 18.12.3).
352
+ `omp plugin link` registers bare names, and OMP's built-ins (such as `/plan`) and bundled file
353
+ commands (such as `/init`) shadow them. Generation fails on names OMP cannot dispatch, duplicate
354
+ names, a `ycc` namespace or `ycc:<name>` equal to an OMP built-in name or alias (the set is pinned
355
+ from omp 18.12.3), empty descriptions, non-string hints and a non-boolean `user-invocable`.
356
+ `/skill:<name>` is an alternative when `skills.enableSkillCommands` is on (the default). The
357
+ generated root carries both manifests (YAN-1171); a checkout installs it with `install.sh install
358
+ --target omp`, and the repository publishes no OMP catalog until the package is listed (see
359
+ INSTALL_PATH:omp).
360
+ Source: spike §3.
361
+
362
+ **AGENTS:omp**
363
+ Partial: `scripts/generate_omp_agents.py` generates every agent as an OMP task agent under
364
+ `packages/omp/ycc/agents/`, and it loads via `omp --plugin-dir`. `name` and `description` are kept.
365
+ Tools map to OMP IDs (`WebSearch` → `web_search`, `WebFetch` → `read`, `NotebookEdit` → `edit`).
366
+ Claude tool names in agent prose are rewritten the same way, but only in tool contexts; fenced
367
+ code and other code spans stay verbatim. An `mcp__<server>__<tool>` entry must name a server
368
+ configured in `mcp-configs/mcp.json` (an unknown server fails generation) and is not a frontmatter
369
+ tool: OMP mounts every MCP tool in every agent. Models map to roles from `ycc/settings/models.json`
370
+ `targets.omp.agentModels`: `opus` → `@slow`, `sonnet` → `@task`, and `inherit` emits no `model:`.
371
+ `@slow` and `@task` resolve through the user's `modelRoles`, which `install.sh --target omp --settings`
372
+ can set (opt-in). `color` is dropped. Generation fails on any
373
+ other key, tool or model. It also fails on OMP's reserved session names (`main`, `sub`) and on
374
+ names that would shadow OMP's bundled agents (`task`, `sonic`, `scout`, `reviewer`,
375
+ `security-reviewer`, `seance`). Agent tool scope is enforced (YAN-1250): the generator renders each
376
+ agent's `Bash(<prefix>:*)` prefixes and `mcp__*` tools once, into
377
+ `packages/omp/ycc/extensions/agent-scopes.json`, and the scope guard extension beside it
378
+ (`extensions/scope-guard.ts`, declared in the package's `package.json` `omp.extensions`) reads that
379
+ file at load. Its `tool_call` handler acts only when `ctx.agent.kind` is `sub` and `ctx.agent.name`
380
+ is a ycc agent; the main session and other agents pass through. A scoped agent's `bash` command is
381
+ split into every pipeline, `&&`/`||`/`;`/`&`/newline chain, `( )` subshell and `{ }` group segment,
382
+ and each must match a prefix token by token after quote removal (`*` is exactly one argument). The
383
+ guard fails closed on `$` expansions, command substitution, backticks, process substitution,
384
+ here-documents, output redirection other than `/dev/null`, leading `VAR=value`, unbalanced quotes
385
+ or groups, and `find -exec`; wrappers such as `sudo`, `env`, `xargs` or `bash -c` are blocked unless
386
+ a prefix names them. The same data renders the agent's `## Shell scope (OMP)` prompt section. MCP
387
+ calls (`mcp__*`, top-level or through `write xd://mcp__*`, which OMP re-emits as a nested
388
+ `tool_call`) are blocked for agents that declared none and limited to the declared
389
+ `<server>`/`ycc-mcp:<server>` tools otherwise; `mcp://` resource reads are blocked for agents with a
390
+ declared MCP list. Plain `Bash` keeps full shell access. Limits: an allowed prefix trusts that
391
+ command's own options (`git -c`, `gh api`); MCP resources read through a server's native URI scheme
392
+ are not caught; the guard loads only from an installed package (`install.sh --target omp`, `omp
393
+ plugin install` or `link`), not from `omp --plugin-dir`, and not under `--no-extensions`; OMP
394
+ loads extensions at session start, so a running session needs a restart. Verified live on omp
395
+ 18.12.5 (`ctx.agent` since 18.12.2) with a scripted model provider. OMP drops
396
+ agent `model:` only for Claude-dialect roots (a `.claude-plugin/plugin.json` without an
397
+ `.omp-plugin/plugin.json`). The generated `packages/omp/ycc` root ships `.omp-plugin/plugin.json`,
398
+ so it keeps agent `model:` both under `--plugin-dir` and as a marketplace install (YAN-1171).
399
+ Delegation: OMP `task` runs agents in the background
400
+ when `async.enabled` is set and inline otherwise; worktree isolation is the per-call `isolated`
401
+ flag (`task.isolation.enabled`, default off). Since YAN-1170 the generated dispatch reference
402
+ uses the `task({context, tasks: [...]})` batch shape (`agent`, not `subagent_type`), never sets
403
+ `isolated` for ycc fan-out, calls `wait` before yielding, and reads `agent://<id>` when an inline
404
+ summary is truncated at 5000 chars. Subagents have no `ask` tool and return choices to the
405
+ parent. OMP has no team tools; `--team` aborts, and `write agent://<id>` peer messaging is not a
406
+ team lifecycle.
407
+ Source: ADR 0002.
408
+
409
+ **HOOKS.PreToolUse:omp**
410
+ Unsupported. OMP never runs shell hooks or `hooks/hooks.json`; hooks load only as TypeScript
411
+ `ExtensionAPI` factories (`pi.on` events such as `tool_call`, `tool_result`, `session_stop`).
412
+ ycc ships no OMP hooks; herdr session reporting is herdr's own integration (`herdr integration install omp`)
413
+ and `WorktreeCreate` has no OMP event (YAN-1174). The one ycc OMP extension is the agent scope guard
414
+ (`tool_call`, see AGENTS:omp); it ports no Claude hook. Source: ADR 0002; spike §2.4.
415
+
416
+ **HOOKS.PostToolUse:omp**
417
+ Same constraint as HOOKS.PreToolUse:omp. The closest OMP event is `tool_result`.
418
+
419
+ **HOOKS.Stop:omp**
420
+ Same constraint as HOOKS.PreToolUse:omp. The closest OMP event is `session_stop`.
421
+
422
+ **MCP:omp**
423
+ Partial: `scripts/generate_omp_packages.py` builds `packages/omp/ycc-mcp/` whose `.mcp.json` is
424
+ `mcp-configs/mcp.json` after a secret-literal audit (credential keys must hold only `${VAR}`
425
+ placeholders). `install.sh install --target omp` installs it as
426
+ `ycc-mcp@ycc` with `ycc@ycc` (see INSTALL_PATH:omp). OMP's plugin MCP loader reads it natively,
427
+ names servers `ycc-mcp:<server>`, and expands `${VAR}` in `env`, `url` and `headers` at load
428
+ (unset variables arrive literally). The generated `.mcp.json` differs from the source in one
429
+ way (YAN-1291): a later http/sse server whose connection equals an earlier one gets
430
+ `?ycc-server=<name>` on its URL, so `ycc-mcp:linear-personal` loads beside `ycc-mcp:linear`
431
+ with its own OAuth login; the other targets keep the source URL. Listed in the root OMP catalog
432
+ since YAN-1180, after the YAN-1178 live acceptance on the real tree. Gaps:
433
+ `ycc-mcp:playwright` is dropped while `browser.enabled` is on; plugin timeouts below 1000 ms are
434
+ ignored; per-server disable is the user `disabledServers` list, and `plugin-overrides.json` does
435
+ not hide plugin MCP; with `enabledProviders` including `claude`, equivalent `~/.claude.json`
436
+ servers shadow `ycc-mcp:*`.
437
+ Source: spike §2.5, §3; `docs/install/omp.md` (MCP Servers).
438
+
439
+ **INSTALL_PATH:omp**
440
+ Partial: native catalog plus `install.sh install --target omp` (omp `>=18.12.2` on PATH), with
441
+ live acceptance on Linux x86_64 only. `scripts/generate_omp_packages.py` builds `packages/omp/ycc/`,
442
+ `packages/omp/ycc-mcp/` and `packages/omp/ycc-rules/` with `.omp-plugin/plugin.json`,
443
+ `.claude-plugin/plugin.json` and `package.json` at the lockstep version, and the root
444
+ `.omp-plugin/marketplace.json` (relative `./packages/omp/<package>` sources) listing every row
445
+ `listed` in `ycc/settings/packages.json`: `ycc`, `ycc-mcp` and `ycc-rules` since YAN-1180. So
446
+ `omp plugin marketplace add https://github.com/yandy-r/ystack.git` then
447
+ `omp plugin install ycc@ycc` works without a checkout. `scripts/omp_install.py` either exports
448
+ the packages to `${XDG_DATA_HOME:-~/.local/share}/ycc/omp-marketplace` (`--mode local`, the
449
+ default) or uses `https://github.com/yandy-r/ystack.git` (`--mode repo`), registers that as the
450
+ `ycc` marketplace, and runs `omp plugin install --scope user <package>@ycc`
451
+ for `ycc`, `ycc-mcp` and `ycc-rules`
452
+ (`--project`: `--scope project` in the git root). Ownership is recorded per omp profile in
453
+ `~/.config/ycc/omp-native-install.json`; a re-run updates the marketplace and upgrades only on a
454
+ version change, and `remove` uninstalls only recorded installs. `--dry-run` previews every `omp`
455
+ call. `--target all` includes omp when omp `>=18.12.2` is on PATH and skips it otherwise.
456
+ `ycc-hooks` is excluded on OMP. Opt-in `--rules` symlinks `ycc/settings/rules/AGENTS.md` to
457
+ `<agentDir>/AGENTS.md`, and `--settings` merges `modelRoles.{default,slow,task}`,
458
+ `retry.fallbackChains.{default,slow,task}` (request-failure fallback to the bare fallback model,
459
+ keeping the turn's thinking level; OMP also uses `default` for chat roles without a chain and
460
+ single-model subagents, while `@slow`/`@task` subagents retry along the role's comma list) and
461
+ `tools.approvalMode: write` into the user `<agentDir>/config.yml` (hash-owned per leaf; user edits
462
+ win). Both are user scope only: `--project` with either is rejected. The default-on `dedupe` step
463
+ writes the user `config.yml` `skills.ignoredSkills` (see SKILLS:omp), also with `--project`;
464
+ `remove --project` also deletes the empty `.omp/plugins/` files omp leaves. OMP has no trust
465
+ prompt: installed plugin code runs in-process with full user privileges. Platforms (YAN-1556):
466
+ live acceptance covers Linux x86_64 only; macOS, Linux arm64/musl and WSL 2 are expected but
467
+ unverified, and native Windows (including Git Bash/MSYS) is unsupported: `install.sh` and the OMP
468
+ harnesses are Bash and use Bash 4+ features, `--rules` needs a symlink, and no Windows host has
469
+ run them. Source: ADR 0002;
470
+ `docs/install/omp.md` (Platform Support); `docs/internal/omp-acceptance.md`.
471
+
472
+ **DANGEROUS_MODE:omp**
473
+ Unsupported. ycc ships no mapping for `--dangerously-skip-permissions`. OMP's default
474
+ `tools.approvalMode` is already `yolo` and subagents are forced to yolo, so there is no Claude
475
+ flag analogue to emit. The opt-in `install.sh --target omp --settings` sets the user
476
+ `tools.approvalMode: write` (exec prompts in the main session); subagents still run as `yolo`, and a
477
+ project `.omp/config.yml` overrides it. Source: spike §2.10; `docs/install/omp.md` (Approvals).
478
+
479
+ **WORKTREE:omp**
480
+ Partial: skill-managed worktrees use `<repo-root>/.omp/worktrees/`. The OMP generator rewrites the
481
+ `worktree-paths.sh` default to `.omp`, and the portable `agents` bundle resolves `.omp` from
482
+ `OMPCODE=1` (OMP bash also sets `CLAUDECODE=1`, which `OMPCODE` consumes). Tested by
483
+ `scripts/test-worktree-roots.sh` (omp bundle and agents-bundle OMP cases). Gaps: OMP has no
484
+ `WorktreeCreate` event, so there is no native hook. OMP's own task isolation and
485
+ `omp worktree` place workspaces under `~/.omp/wt` (`OMP_WORKTREE_DIR`); ycc never sets
486
+ `isolated` and never deletes `~/.omp/wt`. The bash tool rewrites a literal `git worktree add`
487
+ to clone-first `omp worktree add`, which falls back to a plain checkout for in-repo roots.
488
+ No native-parity claim. Source: ADR 0002; `worktree-strategy.md` §1.
489
+
490
+ **MODS:omp**
491
+ Unsupported. The Claude Code mod API differs from OMP's `ExtensionAPI`; the status-bar mod is
492
+ not ported. Source: ADR 0002.
493
+
494
+ ---
495
+
496
+ ## How to Update This Document
497
+
498
+ Before changing any cell value, consult the three primary research artifacts that produced the
499
+ current verdicts:
500
+
501
+ 1. `research/plugin-additions/report.md` — executive synthesis with platform source citations.
502
+ 2. `research/plugin-additions/synthesis/innovation.md` — prioritized recommendations and
503
+ rejected ideas, including the explicit warning against claiming cross-platform hook parity.
504
+ 3. `research/plugin-additions/evidence/verification-log.md` — contradiction log and confidence
505
+ ratings; specifically the Codex hook contradiction entry which drives the `unsupported`
506
+ verdict for all HOOKS.\*:codex cells.
507
+
508
+ After updating a cell value, also update the corresponding note in the Notes section (or add
509
+ one if absent), and re-run the compatibility audit:
510
+
511
+ ```
512
+ ycc:compatibility-audit
513
+ ```
514
+
515
+ If the change affects generated bundles, follow the regeneration steps in `AGENTS.md` under
516
+ "Testing Changes".