@yandy-r/ycc-opencode 0.0.0-bootstrap.0 → 6.0.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.
- package/AGENTS.md +38 -0
- package/LICENSE +21 -0
- package/README.md +42 -0
- package/agents/ansible-automation-expert.md +115 -0
- package/agents/api-docs-expert.md +146 -0
- package/agents/api-documenter.md +105 -0
- package/agents/architect.md +264 -0
- package/agents/architecture-analyst.md +99 -0
- package/agents/backport-conflict-resolver.md +134 -0
- package/agents/cloudflare-architect.md +85 -0
- package/agents/cloudflare-developer.md +196 -0
- package/agents/code-architect.md +101 -0
- package/agents/code-documenter.md +114 -0
- package/agents/code-explorer.md +99 -0
- package/agents/code-finder.md +83 -0
- package/agents/code-researcher.md +102 -0
- package/agents/code-reviewer.md +268 -0
- package/agents/code-simplifier.md +77 -0
- package/agents/codebase-advisor.md +130 -0
- package/agents/db-modifier.md +235 -0
- package/agents/docs-git-committer.md +220 -0
- package/agents/documentation-writer.md +92 -0
- package/agents/feature-researcher.md +121 -0
- package/agents/feature-writer.md +89 -0
- package/agents/frontend-ui-developer.md +98 -0
- package/agents/git-cleanup.md +173 -0
- package/agents/go-api-architect.md +172 -0
- package/agents/go-expert-architect.md +147 -0
- package/agents/implementor.md +167 -0
- package/agents/library-docs-writer.md +128 -0
- package/agents/nextjs-ux-ui-expert.md +127 -0
- package/agents/nodejs-backend-architect.md +112 -0
- package/agents/nodejs-backend-developer.md +184 -0
- package/agents/planner.md +257 -0
- package/agents/pr-comment-fixer.md +284 -0
- package/agents/practices-researcher.md +80 -0
- package/agents/project-file-cleaner.md +140 -0
- package/agents/prp-researcher.md +231 -0
- package/agents/python-developer.md +171 -0
- package/agents/python-expert-architect.md +188 -0
- package/agents/readme-generator.md +100 -0
- package/agents/release-fix-applier.md +194 -0
- package/agents/releaser.md +147 -0
- package/agents/research-specialist.md +106 -0
- package/agents/reverse-proxy-architect.md +131 -0
- package/agents/review-fixer.md +264 -0
- package/agents/root-cause-analyzer.md +105 -0
- package/agents/rust-build-resolver.md +183 -0
- package/agents/rust-expert-architect.md +149 -0
- package/agents/rust-reviewer.md +126 -0
- package/agents/sql-database-developer.md +195 -0
- package/agents/systems-engineering-expert.md +203 -0
- package/agents/terraform-architect.md +109 -0
- package/agents/terraform-developer.md +229 -0
- package/agents/test-strategy-planner.md +126 -0
- package/agents/turso-database-architect.md +139 -0
- package/agents/typescript-developer.md +170 -0
- package/agents/typescript-expert-architect.md +167 -0
- package/index.js +260 -0
- package/package.json +33 -7
- package/registration.json +4384 -0
- package/shared/references/agent-native-setup.md +121 -0
- package/shared/references/branch-prep.md +31 -0
- package/shared/references/branching-model.md +162 -0
- package/shared/references/ci-monitoring.md +445 -0
- package/shared/references/forge-detection.md +162 -0
- package/shared/references/goal-pairing.md +53 -0
- package/shared/references/pr-base-and-backport.md +143 -0
- package/shared/references/review-artifact-format.md +141 -0
- package/shared/references/review-checklist.md +161 -0
- package/shared/references/review-dispatch.md +71 -0
- package/shared/references/session-state.md +159 -0
- package/shared/references/standalone-dispatch.md +298 -0
- package/shared/references/target-capability-matrix.md +325 -0
- package/shared/references/visual-mode.md +155 -0
- package/shared/references/worktree-strategy.md +310 -0
- package/shared/scripts/backport-audit.sh +283 -0
- package/shared/scripts/ci-monitor.sh +637 -0
- package/shared/scripts/lib/backport-lib.sh +47 -0
- package/shared/scripts/lib/ci-classify.sh +103 -0
- package/shared/scripts/lib/forge.sh +264 -0
- package/shared/scripts/lib/release-state-lib.sh +300 -0
- package/shared/scripts/list-worktrees.sh +178 -0
- package/shared/scripts/merge-children.sh +82 -0
- package/shared/scripts/move-plan-to-worktree.sh +231 -0
- package/shared/scripts/pr-guard.sh +283 -0
- package/shared/scripts/prepare-feature-branch.sh +326 -0
- package/shared/scripts/release-ci-monitor.sh +671 -0
- package/shared/scripts/release-state-update.sh +216 -0
- package/shared/scripts/release-state.sh +178 -0
- package/shared/scripts/report-bundle-drift.sh +343 -0
- package/shared/scripts/require-python.sh +17 -0
- package/shared/scripts/resolve-plans-dir.sh +262 -0
- package/shared/scripts/rules-pointer.sh +20 -0
- package/shared/scripts/rules_pointer.py +267 -0
- package/shared/scripts/setup-worktree.sh +288 -0
- package/shared/scripts/validate-file-paths.sh +249 -0
- package/shared/scripts/visual-egress-guard.sh +303 -0
- package/shared/scripts/visual-recap-collect.sh +247 -0
- package/shared/scripts/worktree-paths.sh +86 -0
- package/skills/backport/SKILL.md +291 -0
- package/skills/backport/scripts/cherry-pick-pr.sh +232 -0
- package/skills/backport/scripts/find-pending.sh +199 -0
- package/skills/blueprint/SKILL.md +410 -0
- package/skills/blueprint/references/bootstrap-mapping.md +87 -0
- package/skills/bundle-author/SKILL.md +119 -0
- package/skills/bundle-author/references/surface-map.md +128 -0
- package/skills/bundle-author/references/templates/agent-template.md +21 -0
- package/skills/bundle-author/references/templates/skill-template.md +36 -0
- package/skills/bundle-author/references/when-not-to-scaffold.md +85 -0
- package/skills/bundle-author/scripts/scaffold-skill.sh +156 -0
- package/skills/bundle-release/SKILL.md +188 -0
- package/skills/bundle-release/references/release-checklist.md +196 -0
- package/skills/bundle-release/references/release-notes-template.md +48 -0
- package/skills/bundle-release/references/version-policy.md +150 -0
- package/skills/bundle-release/scripts/bump-version.sh +97 -0
- package/skills/bundle-release/scripts/draft-notes.sh +222 -0
- package/skills/bundle-release/scripts/preflight.sh +164 -0
- package/skills/bundle-release/scripts/release_versions.py +361 -0
- package/skills/clean/SKILL.md +107 -0
- package/skills/clean/references/agent-prompts.md +199 -0
- package/skills/clean/references/safety-config.md +125 -0
- package/skills/clean/scripts/detect-project-type.sh +423 -0
- package/skills/clean/scripts/generate-report.sh +245 -0
- package/skills/clean/scripts/validate-safety.sh +401 -0
- package/skills/code-report/SKILL.md +375 -0
- package/skills/code-report/scripts/check-prerequisites.sh +65 -0
- package/skills/code-report/templates/report-structure.md +202 -0
- package/skills/code-review/SKILL.md +153 -0
- package/skills/code-review/references/pr-procedure.md +311 -0
- package/skills/compatibility-audit/SKILL.md +226 -0
- package/skills/compatibility-audit/references/reading-the-report.md +159 -0
- package/skills/compatibility-audit/scripts/audit-install-assumptions.sh +372 -0
- package/skills/compatibility-audit/scripts/audit-target-features.sh +558 -0
- package/skills/deep-research/SKILL.md +251 -0
- package/skills/deep-research/references/analysis-prompts.md +702 -0
- package/skills/deep-research/references/completion-summary-template.md +66 -0
- package/skills/deep-research/references/persona-analogical.md +159 -0
- package/skills/deep-research/references/persona-archaeological.md +69 -0
- package/skills/deep-research/references/persona-contrarian.md +155 -0
- package/skills/deep-research/references/persona-futurist.md +70 -0
- package/skills/deep-research/references/persona-historical.md +142 -0
- package/skills/deep-research/references/persona-journalistic.md +69 -0
- package/skills/deep-research/references/persona-negative-space.md +70 -0
- package/skills/deep-research/references/persona-systems.md +69 -0
- package/skills/deep-research/references/synthesis-template.md +569 -0
- package/skills/deep-research/references/verification-log-template.md +32 -0
- package/skills/deep-research/scripts/check-prerequisites.sh +153 -0
- package/skills/deep-research/scripts/validate-research.sh +244 -0
- package/skills/feature-research/SKILL.md +292 -0
- package/skills/feature-research/scripts/validate-research.sh +159 -0
- package/skills/feature-research/scripts/validate-spec.sh +270 -0
- package/skills/feature-research/templates/research-agents.md +569 -0
- package/skills/feature-research/templates/spec-structure.md +437 -0
- package/skills/formatters/SKILL.md +207 -0
- package/skills/formatters/references/best-practices.md +78 -0
- package/skills/formatters/references/flag-reference.md +178 -0
- package/skills/formatters/references/stack-detection.md +119 -0
- package/skills/formatters/references/templates/husky-pre-commit.tmpl +13 -0
- package/skills/formatters/references/templates/justfile-snippet.just.tmpl +31 -0
- package/skills/formatters/references/templates/lefthook.yml.tmpl +22 -0
- package/skills/formatters/references/templates/lint-autofix.yml.tmpl +94 -0
- package/skills/formatters/references/templates/lint.yml.tmpl +85 -0
- package/skills/formatters/references/templates/makefile-snippet.mk.tmpl +34 -0
- package/skills/formatters/references/templates/package-json-scripts.json.tmpl +14 -0
- package/skills/formatters/references/templates/readme-section.md.tmpl +118 -0
- package/skills/formatters/scripts/apply-aliases.sh +245 -0
- package/skills/formatters/scripts/apply-ci.sh +136 -0
- package/skills/formatters/scripts/apply-docs.sh +187 -0
- package/skills/formatters/scripts/apply-hooks.sh +261 -0
- package/skills/formatters/scripts/bundle/format.sh +15 -0
- package/skills/formatters/scripts/bundle/go-tools.sh +119 -0
- package/skills/formatters/scripts/bundle/init-formatters.sh +517 -0
- package/skills/formatters/scripts/bundle/install-shellcheck.sh +85 -0
- package/skills/formatters/scripts/bundle/lib/excludes.sh +179 -0
- package/skills/formatters/scripts/bundle/lib/modified-files.sh +222 -0
- package/skills/formatters/scripts/bundle/lib/shellcheck-resolve.sh +81 -0
- package/skills/formatters/scripts/bundle/lib/shellcheck-version.sh +5 -0
- package/skills/formatters/scripts/bundle/lint.sh +15 -0
- package/skills/formatters/scripts/bundle/style.sh +1410 -0
- package/skills/formatters/scripts/bundle/templates/biome.json +81 -0
- package/skills/formatters/scripts/bundle/templates/clippy.toml +2 -0
- package/skills/formatters/scripts/bundle/templates/markdownlint.json +14 -0
- package/skills/formatters/scripts/bundle/templates/markdownlintignore +38 -0
- package/skills/formatters/scripts/bundle/templates/prettierignore +45 -0
- package/skills/formatters/scripts/bundle/templates/prettierrc.json +11 -0
- package/skills/formatters/scripts/bundle/templates/python-pyproject.toml +80 -0
- package/skills/formatters/scripts/bundle/templates/rustfmt.toml +41 -0
- package/skills/formatters/scripts/bundle/templates/tsconfig.json +21 -0
- package/skills/formatters/scripts/profile-style.sh +264 -0
- package/skills/frontend-design/SKILL.md +151 -0
- package/skills/frontend-patterns/SKILL.md +66 -0
- package/skills/frontend-patterns/references/animation.md +21 -0
- package/skills/frontend-patterns/references/components-and-state.md +40 -0
- package/skills/frontend-patterns/references/data-and-performance.md +34 -0
- package/skills/frontend-patterns/references/forms-errors-a11y.md +35 -0
- package/skills/git-cleanup/SKILL.md +286 -0
- package/skills/git-cleanup/references/active-code-rules.md +318 -0
- package/skills/git-cleanup/references/host-detection.md +217 -0
- package/skills/git-workflow/SKILL.md +130 -0
- package/skills/git-workflow/references/ci-monitoring-phase.md +130 -0
- package/skills/git-workflow/references/commit-phases.md +247 -0
- package/skills/git-workflow/references/examples-and-troubleshooting.md +47 -0
- package/skills/git-workflow/references/goal-pairing.md +23 -0
- package/skills/git-workflow/references/pr-creation.md +269 -0
- package/skills/git-workflow/scripts/analyze-changes.sh +266 -0
- package/skills/git-workflow/scripts/create-pr.sh +464 -0
- package/skills/git-workflow/scripts/validate-commit.sh +235 -0
- package/skills/git-workflow/templates/agent-prompts.md +518 -0
- package/skills/git-workflow/templates/commit-types.md +504 -0
- package/skills/git-workflow/templates/documentation-decision.md +509 -0
- package/skills/git-workflow/templates/pr-template.md +772 -0
- package/skills/go-patterns/SKILL.md +89 -0
- package/skills/go-patterns/references/design-and-tooling.md +336 -0
- package/skills/go-patterns/references/errors-and-concurrency.md +292 -0
- package/skills/go-testing/SKILL.md +133 -0
- package/skills/go-testing/references/advanced-testing.md +349 -0
- package/skills/go-testing/references/test-structure.md +277 -0
- package/skills/hooks-workflow/SKILL.md +232 -0
- package/skills/hooks-workflow/references/support-notes.md +134 -0
- package/skills/hooks-workflow/references/templates/claude-settings.json.tmpl +13 -0
- package/skills/hooks-workflow/references/templates/codex-config-fragment.toml.tmpl +9 -0
- package/skills/hooks-workflow/references/templates/cursor-rule-fragment.mdc.tmpl +16 -0
- package/skills/hooks-workflow/scripts/build-hook-config.sh +487 -0
- package/skills/hooks-workflow/scripts/verify-hooks.sh +257 -0
- package/skills/implement-plan/SKILL.md +221 -0
- package/skills/implement-plan/references/agent-task-prompt.md +214 -0
- package/skills/implement-plan/references/output-formats.md +150 -0
- package/skills/implement-plan/references/plan-inputs.md +126 -0
- package/skills/implement-plan/scripts/check-prerequisites.sh +78 -0
- package/skills/implement-plan/scripts/parse-dependencies.sh +206 -0
- package/skills/init/SKILL.md +272 -0
- package/skills/init/references/conventional-commits.md +114 -0
- package/skills/init/references/flag-reference.md +236 -0
- package/skills/init/references/label-taxonomy.md +115 -0
- package/skills/init/references/project-profile-heuristics.md +156 -0
- package/skills/init/references/template-library.md +129 -0
- package/skills/init/scripts/count-source-files.sh +60 -0
- package/skills/init/scripts/generate-agent-catalog.sh +193 -0
- package/skills/init/scripts/generate-mcp-catalog.sh +214 -0
- package/skills/init/scripts/migrate-rules.py +459 -0
- package/skills/init/scripts/migrate-rules.sh +26 -0
- package/skills/init/scripts/profile-project.sh +453 -0
- package/skills/init/scripts/render-template.py +226 -0
- package/skills/init/scripts/render-template.sh +25 -0
- package/skills/init/scripts/rules-report.sh +31 -0
- package/skills/init/scripts/rules_file_lib.py +41 -0
- package/skills/init/templates/AGENTS.md.tmpl +38 -0
- package/skills/init/templates/CLAUDE.md.tmpl +7 -0
- package/skills/init/templates/ai-rule.md.tmpl +3 -0
- package/skills/init/templates/cursor-rule.mdc.tmpl +7 -0
- package/skills/init/templates/git/commitlint.config.cjs.tmpl +40 -0
- package/skills/init/templates/git/gitignore.tmpl +120 -0
- package/skills/init/templates/git/gitmessage.tmpl +27 -0
- package/skills/init/templates/git/install-lefthook.sh.tmpl +131 -0
- package/skills/init/templates/git/lefthook-usage.md.tmpl +101 -0
- package/skills/init/templates/git/lefthook.yml.tmpl +64 -0
- package/skills/init/templates/github/bug_report.yml.tmpl +78 -0
- package/skills/init/templates/github/config.yml.tmpl +5 -0
- package/skills/init/templates/github/copilot-instructions.md.tmpl +24 -0
- package/skills/init/templates/github/docs_request.yml.tmpl +41 -0
- package/skills/init/templates/github/feature_request.yml.tmpl +59 -0
- package/skills/init/templates/github/labels.md.tmpl +75 -0
- package/skills/init/templates/github/pull_request_template.md.tmpl +66 -0
- package/skills/init/templates/github/workflows/pr-title-autofix.yml.tmpl +101 -0
- package/skills/init/templates/github/workflows/pr-title.yml.tmpl +55 -0
- package/skills/init/templates/workspace-report.md +83 -0
- package/skills/orchestrate/SKILL.md +165 -0
- package/skills/orchestrate/references/agent-catalog.md +601 -0
- package/skills/orchestrate/references/agent-prompts.md +495 -0
- package/skills/orchestrate/references/dispatch-playbook.md +333 -0
- package/skills/orchestrate/references/task-breakdown.md +410 -0
- package/skills/orchestrate/scripts/analyze-task.sh +139 -0
- package/skills/orchestrate/scripts/summarize-results.sh +160 -0
- package/skills/orchestrate/scripts/validate-agents.sh +92 -0
- package/skills/parallel-plan/SKILL.md +124 -0
- package/skills/plan/SKILL.md +134 -0
- package/skills/plan/references/enhanced-personas.md +131 -0
- package/skills/plan/references/personas-and-merge.md +77 -0
- package/skills/plan/references/plan-validation.md +65 -0
- package/skills/plan/references/planner-prompts.md +68 -0
- package/skills/plan/references/planning-tracks.md +73 -0
- package/skills/plan-workflow/SKILL.md +406 -0
- package/skills/plan-workflow/references/checkpoint-messages.md +370 -0
- package/skills/plan-workflow/references/plan-structure.md +238 -0
- package/skills/plan-workflow/references/planning-agents.md +511 -0
- package/skills/plan-workflow/references/research-agents-optimized.md +348 -0
- package/skills/plan-workflow/references/research-agents.md +436 -0
- package/skills/plan-workflow/references/shared-structure.md +152 -0
- package/skills/plan-workflow/references/validation-agents.md +363 -0
- package/skills/plan-workflow/scripts/check-prerequisites.sh +65 -0
- package/skills/plan-workflow/scripts/check-state.sh +190 -0
- package/skills/plan-workflow/scripts/persist-or-fail.sh +135 -0
- package/skills/plan-workflow/scripts/validate-analysis-artifacts.sh +216 -0
- package/skills/plan-workflow/scripts/validate-research-artifacts.sh +225 -0
- package/skills/plan-workflow/scripts/validate-shared.sh +229 -0
- package/skills/plan-workflow/scripts/validate-workflow-plan.sh +256 -0
- package/skills/pr-autofix/SKILL.md +307 -0
- package/skills/pr-autofix/references/ci-loop.md +64 -0
- package/skills/pr-autofix/references/comment-sources.md +197 -0
- package/skills/pr-autofix/references/data-shapes.md +87 -0
- package/skills/pr-autofix/references/goal-example.md +30 -0
- package/skills/pr-autofix/references/output-templates.md +162 -0
- package/skills/pr-autofix/references/prompt-injection-safety.md +165 -0
- package/skills/pr-autofix/references/related-skills.md +11 -0
- package/skills/pr-autofix/references/severity-mapping.md +146 -0
- package/skills/pr-autofix/scripts/fetch-pr-comments.sh +364 -0
- package/skills/pr-autofix/scripts/post-summary.sh +226 -0
- package/skills/pr-autofix/scripts/resolve-thread.sh +251 -0
- package/skills/prp-commit/SKILL.md +128 -0
- package/skills/prp-implement/SKILL.md +177 -0
- package/skills/prp-implement/references/agent-task-prompt.md +36 -0
- package/skills/prp-implement/references/detection.md +49 -0
- package/skills/prp-implement/references/dry-run.md +0 -0
- package/skills/prp-implement/references/report-output.md +204 -0
- package/skills/prp-implement/references/validation-and-failures.md +118 -0
- package/skills/prp-plan/SKILL.md +323 -0
- package/skills/prp-plan/references/enhanced-researchers.md +425 -0
- package/skills/prp-plan/references/parallel-additions.md +56 -0
- package/skills/prp-plan/references/plan-template.md +264 -0
- package/skills/prp-plan/references/synthesis-map.md +25 -0
- package/skills/prp-plan/scripts/preflight-enhanced-agents.sh +111 -0
- package/skills/prp-plan/scripts/validate-prp-plan.sh +368 -0
- package/skills/prp-pr/SKILL.md +402 -0
- package/skills/prp-prd/SKILL.md +442 -0
- package/skills/prp-spec/SKILL.md +274 -0
- package/skills/python-patterns/SKILL.md +103 -0
- package/skills/python-patterns/references/core-idioms.md +304 -0
- package/skills/python-patterns/references/design-and-tooling.md +407 -0
- package/skills/python-testing/SKILL.md +114 -0
- package/skills/python-testing/references/mocking-and-integration.md +395 -0
- package/skills/python-testing/references/pytest-core.md +366 -0
- package/skills/quick-fix/SKILL.md +246 -0
- package/skills/quick-review/SKILL.md +304 -0
- package/skills/release-model/SKILL.md +231 -0
- package/skills/release-model/references/pointer-and-labels.md +83 -0
- package/skills/release-model/references/signals-and-proposal.md +68 -0
- package/skills/release-model/references/template-placeholders.md +42 -0
- package/skills/release-model/references/upgrade-and-audit.md +131 -0
- package/skills/release-model/scripts/collect-signals.sh +459 -0
- package/skills/release-model/scripts/pointer-targets.sh +29 -0
- package/skills/release-model/templates/RELEASING.md.tmpl +151 -0
- package/skills/releaser/SKILL.md +251 -0
- package/skills/releaser/references/ci-optimization-checklist.md +149 -0
- package/skills/releaser/references/ci-templates/docker-release.yml +88 -0
- package/skills/releaser/references/ci-templates/generic-release.yml +69 -0
- package/skills/releaser/references/ci-templates/go-release.yml +50 -0
- package/skills/releaser/references/ci-templates/node-release.yml +126 -0
- package/skills/releaser/references/ci-templates/python-release.yml +95 -0
- package/skills/releaser/references/ci-templates/rust-release.yml +128 -0
- package/skills/releaser/references/ci-workflow-modes.md +42 -0
- package/skills/releaser/references/goal-pairing.md +37 -0
- package/skills/releaser/references/output-templates.md +143 -0
- package/skills/releaser/references/project-type-matrix.md +144 -0
- package/skills/releaser/references/release-branches.md +138 -0
- package/skills/releaser/references/release-ci-loop.md +249 -0
- package/skills/releaser/references/release-notes-template.md +42 -0
- package/skills/releaser/references/release-preparation.md +210 -0
- package/skills/releaser/scripts/check-release-branch.sh +235 -0
- package/skills/releaser/scripts/detect-project.sh +234 -0
- package/skills/releaser/scripts/draft-changelog.sh +387 -0
- package/skills/releaser/scripts/publish-release.sh +302 -0
- package/skills/research-to-issues/SKILL.md +285 -0
- package/skills/research-to-issues/references/label-taxonomy.md +48 -0
- package/skills/research-to-issues/references/parse-deep-research.md +86 -0
- package/skills/research-to-issues/references/parse-feature-spec.md +143 -0
- package/skills/research-to-issues/references/parse-parallel-plan.md +124 -0
- package/skills/research-to-issues/references/parse-prd.md +184 -0
- package/skills/research-to-issues/references/parse-prp-plan.md +237 -0
- package/skills/research-to-issues/references/plan-display-format.md +136 -0
- package/skills/research-to-issues/scripts/validate-prerequisites.sh +312 -0
- package/skills/research-to-issues/templates/feature-issue.md +131 -0
- package/skills/research-to-issues/templates/task-issue.md +104 -0
- package/skills/research-to-issues/templates/tracking-issue.md +126 -0
- package/skills/resume-session/SKILL.md +152 -0
- package/skills/review-fix/SKILL.md +229 -0
- package/skills/review-fix/references/fix-report.md +121 -0
- package/skills/review-fix/references/fixer-dispatch.md +79 -0
- package/skills/review-fix/references/plan.md +119 -0
- package/skills/rust-patterns/SKILL.md +85 -0
- package/skills/rust-patterns/references/concurrency-unsafe-modules.md +243 -0
- package/skills/rust-patterns/references/ownership-errors-types.md +262 -0
- package/skills/rust-testing/SKILL.md +99 -0
- package/skills/rust-testing/references/advanced-testing.md +247 -0
- package/skills/rust-testing/references/unit-and-integration.md +193 -0
- package/skills/save-session/SKILL.md +159 -0
- package/skills/shared-context/SKILL.md +101 -0
- package/skills/ts-patterns/SKILL.md +159 -0
- package/skills/ts-patterns/references/async-runtimes-tooling.md +375 -0
- package/skills/ts-patterns/references/types-errors-modules.md +336 -0
- package/skills/ts-testing/SKILL.md +151 -0
- package/skills/ts-testing/references/advanced-testing.md +350 -0
- package/skills/ts-testing/references/vitest-core.md +318 -0
- package/skills/visual-plan/SKILL.md +221 -0
- package/skills/visual-plan/references/canvas.md +132 -0
- package/skills/visual-plan/references/document-quality.md +178 -0
- package/skills/visual-plan/references/exemplar.md +120 -0
- package/skills/visual-plan/references/wireframe.md +212 -0
- package/skills/visual-plan/scripts/derive-visual-dir.sh +77 -0
- package/skills/visual-recap/SKILL.md +238 -0
- package/skills/visual-recap/references/wireframe.md +237 -0
- package/skills/write-docs/SKILL.md +354 -0
- package/skills/write-docs/scripts/audit-documentation.sh +190 -0
- package/skills/write-docs/scripts/generate-doc-index.sh +125 -0
- package/skills/write-docs/scripts/verify-links.sh +81 -0
- package/skills/write-docs/templates/docs-readme.md +34 -0
- package/skills/write-docs/templates/documentation-strategy.md +91 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
# Standalone Dispatch — OpenCode V2 `subagent` Contract
|
|
2
|
+
|
|
3
|
+
This is the generated OpenCode V2 contract for standalone child-agent work. It uses
|
|
4
|
+
the host's native vocabulary directly. OpenCode V2 does not expose Claude Code's
|
|
5
|
+
agent-team tools, and `--team` workflows must abort before dispatch.
|
|
6
|
+
|
|
7
|
+
## 1. Native call shape
|
|
8
|
+
|
|
9
|
+
A new child session uses all required fields and omits `sessionID`:
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
subagent(agent="<agent>", description="<short title>",
|
|
13
|
+
prompt="<complete task prompt>", background=false)
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The fields mean:
|
|
17
|
+
|
|
18
|
+
- `agent`: the configured subagent ID.
|
|
19
|
+
- `description`: a short title for the child session.
|
|
20
|
+
- `prompt`: the complete task, context, ownership boundary, working directory, output
|
|
21
|
+
contract, and artifact paths. A new child starts with fresh context.
|
|
22
|
+
- `background`: set it explicitly on every call. Never depend on a host or plugin
|
|
23
|
+
default.
|
|
24
|
+
|
|
25
|
+
Only configured agents with `mode: subagent` or `mode: all` can be dispatched. The
|
|
26
|
+
default nesting depth is one, so a child normally cannot launch another child.
|
|
27
|
+
|
|
28
|
+
Independent calls may be issued in one parallel tool batch. Keep file ownership
|
|
29
|
+
disjoint when children share a working tree.
|
|
30
|
+
|
|
31
|
+
## 2. Foreground dispatch
|
|
32
|
+
|
|
33
|
+
Use foreground dispatch when the next step depends on the child's report:
|
|
34
|
+
|
|
35
|
+
```text
|
|
36
|
+
subagent(agent="<agent>", description="<short title>",
|
|
37
|
+
prompt="<complete task prompt>", background=false)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The call waits for the child run and returns its response. Treat the response as a
|
|
41
|
+
candidate report, not proof that the requested work exists. Before accepting it:
|
|
42
|
+
|
|
43
|
+
1. Require nonempty report text in the requested format.
|
|
44
|
+
2. Validate every declared file, artifact, or working-tree change independently.
|
|
45
|
+
3. Run the required focused checks for the work.
|
|
46
|
+
4. Treat a host `succeeded` or `completed` lifecycle state only as evidence that the
|
|
47
|
+
child run terminated; it does not verify the deliverables.
|
|
48
|
+
|
|
49
|
+
## 3. Background dispatch
|
|
50
|
+
|
|
51
|
+
Use background dispatch only when useful independent work remains or the workflow
|
|
52
|
+
explicitly supports deferred result retrieval:
|
|
53
|
+
|
|
54
|
+
```text
|
|
55
|
+
subagent(agent="<agent>", description="<short title>",
|
|
56
|
+
prompt="<complete task prompt>", background=true)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
The initial return is an acknowledgement containing a child `sessionID`, not the final
|
|
60
|
+
report. Record that ID immediately. Continue only non-overlapping work. If there is
|
|
61
|
+
nothing productive to do, end the turn so the native terminal notification can be
|
|
62
|
+
delivered.
|
|
63
|
+
|
|
64
|
+
Do not use shell sleeps or tight status loops. After a terminal notification, a host
|
|
65
|
+
plugin may advertise read-only lifecycle and result tools:
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
task_status(sessionID="<child session ID>")
|
|
69
|
+
task_result(sessionID="<child session ID>")
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Use `task_status` for one bounded inspection when the notification is ambiguous. Use
|
|
73
|
+
`task_result` to retrieve verified terminal report text. If either reports
|
|
74
|
+
`running`, `pending`, or `running (unconfirmed)`, stop checking and wait for the next
|
|
75
|
+
native notification. Do not loop.
|
|
76
|
+
|
|
77
|
+
These `task_*` tools are plugin extensions, not guaranteed OpenCode built-ins. When
|
|
78
|
+
they are absent, use foreground dispatch for work whose report is required. Never
|
|
79
|
+
invent a result-retrieval tool.
|
|
80
|
+
|
|
81
|
+
## 4. Resume is not result retrieval
|
|
82
|
+
|
|
83
|
+
Continue an existing child conversation only when more work or clarification is
|
|
84
|
+
required:
|
|
85
|
+
|
|
86
|
+
```text
|
|
87
|
+
subagent(agent="<agent>", description="<follow-up title>",
|
|
88
|
+
prompt="<new follow-up instruction>",
|
|
89
|
+
sessionID="<existing child session ID>", background=false)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Passing `sessionID` resumes the child and may run tools or change files again. Never
|
|
93
|
+
call `subagent` with `sessionID` merely to fetch a prior report. Use `task_result` when
|
|
94
|
+
it is advertised, or report that native result retrieval is unavailable.
|
|
95
|
+
|
|
96
|
+
## 5. Deliverable verification
|
|
97
|
+
|
|
98
|
+
The parent owns final verification. A child report and host lifecycle state are two
|
|
99
|
+
separate signals:
|
|
100
|
+
|
|
101
|
+
| Signal | What it proves |
|
|
102
|
+
| -------------------------- | ----------------------------------------------------- |
|
|
103
|
+
| `succeeded` / `completed` | The host observed a terminal child run. |
|
|
104
|
+
| Nonempty structured report | The child described an outcome in the required shape. |
|
|
105
|
+
| Required files or diff | The requested on-disk work exists. |
|
|
106
|
+
| Focused checks | The produced work satisfies the requested validation. |
|
|
107
|
+
|
|
108
|
+
Do not mark parent work complete until every required signal for that task is present.
|
|
109
|
+
For code-writing children, inspect the working tree and validate the files they owned.
|
|
110
|
+
For research or review children, read the declared artifact as well as the report.
|
|
111
|
+
|
|
112
|
+
## 6. Contentless and failed outcomes
|
|
113
|
+
|
|
114
|
+
A contentless completion is incomplete even when the host reports success. Handle it
|
|
115
|
+
in this order:
|
|
116
|
+
|
|
117
|
+
1. Record and report the child `sessionID`.
|
|
118
|
+
2. Inspect the working tree and every declared artifact before retrying; the child may
|
|
119
|
+
have made edits without returning a report.
|
|
120
|
+
3. Preserve valid existing edits and avoid duplicate work.
|
|
121
|
+
4. Retry at most once with the same child only when a follow-up report is safe, or with
|
|
122
|
+
a new child when the original session cannot continue. State which form of one retry
|
|
123
|
+
you chose.
|
|
124
|
+
5. If the retry is also contentless, report the task as incomplete. Do not synthesize a
|
|
125
|
+
success report.
|
|
126
|
+
|
|
127
|
+
Treat explicit `failed`, `error`, `interrupted`, or `cancelled` outcomes as failures.
|
|
128
|
+
Surface the child ID and available error text. Continue only work that is independent
|
|
129
|
+
of the failed deliverable.
|
|
130
|
+
|
|
131
|
+
## 7. Artifact backstop
|
|
132
|
+
|
|
133
|
+
Content-producing children should write their result to a declared artifact path and
|
|
134
|
+
return the same material in their report. Code-writing children use their owned diff as
|
|
135
|
+
the artifact and finish with the required machine-readable status line.
|
|
136
|
+
|
|
137
|
+
When report text is missing:
|
|
138
|
+
|
|
139
|
+
1. Read the artifact or inspect the owned diff.
|
|
140
|
+
2. Validate it before using it.
|
|
141
|
+
3. Still report the missing child report as incomplete; an artifact can preserve useful
|
|
142
|
+
work but does not turn a contentless run into a verified child response.
|
|
143
|
+
|
|
144
|
+
## 8. Worktree and Branch Preparation
|
|
145
|
+
|
|
146
|
+
Single source for plan, plan-workflow, prp-plan (annotation directive) and the executors
|
|
147
|
+
`implement-plan`, `prp-implement`, `orchestrate`. Applies to standalone runs.
|
|
148
|
+
|
|
149
|
+
### 8.1 How worktree mode is decided
|
|
150
|
+
|
|
151
|
+
1. `--no-worktree` present: `WORKTREE_MODE=false`. Forced off regardless of plan annotations;
|
|
152
|
+
no feature worktree; work on the prepared `feat/<slug>` branch in the current checkout.
|
|
153
|
+
2. Plan contains `## Worktree Setup`: `WORKTREE_MODE=true`. Annotations are the source of truth.
|
|
154
|
+
3. Neither: `WORKTREE_MODE=true` (default). Derive the single path below.
|
|
155
|
+
|
|
156
|
+
`--worktree` is a silent legacy no-op; combining it with `--no-worktree` is an error where the
|
|
157
|
+
skill says so. When the plan has `## Worktree Setup`, read `WT_PARENT_PATH` from its
|
|
158
|
+
`**Parent**:` line and `WT_FEATURE_SLUG` as the segment after `<repo>-`. Set
|
|
159
|
+
`WORKTREE_ACTIVE=true` if annotations exist or `WORKTREE_MODE=true`; false for `--no-worktree`.
|
|
160
|
+
|
|
161
|
+
Default-on deduction (no annotations):
|
|
162
|
+
|
|
163
|
+
- `WT_REPO_NAME` = basename of `git rev-parse --show-toplevel`
|
|
164
|
+
- `WT_FEATURE_SLUG` per skill: `implement-plan` uses the raw feature-name argument;
|
|
165
|
+
`prp-implement` sanitizes the plan basename (cap 40); `orchestrate` sanitizes the task
|
|
166
|
+
description (cap 20); `plan` confirmed execution uses the team sanitization (cap 20,
|
|
167
|
+
fallback `untitled`). Shared sanitizer: lowercase, `[^a-z0-9-]` to `-`, collapse runs, trim
|
|
168
|
+
- `FEATURE_BRANCH` = `feat/${WT_FEATURE_SLUG}`
|
|
169
|
+
- `WT_PARENT_PATH` = `<repo-root>/.opencode/worktrees/${WT_REPO_NAME}-${WT_FEATURE_SLUG}/`
|
|
170
|
+
|
|
171
|
+
### 8.2 Prepare (before any implementor dispatch)
|
|
172
|
+
|
|
173
|
+
Set `REPO_ROOT=$(git rev-parse --show-toplevel)`. Inspect `git status --porcelain`: expected pre-commit plan artifacts may be dirty;
|
|
174
|
+
unrelated dirty files: stop and ask user to stash, commit or clean. Then:
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
FEATURE_BRANCH=$(bash {{package-root}}/shared/scripts/prepare-feature-branch.sh "${WT_FEATURE_SLUG}")
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
Do not skip it. Narrative-only branch instructions let agents commit to `main`. Contract:
|
|
181
|
+
`branch-prep.md`. When `WORKTREE_ACTIVE=true`, once before the first batch (idempotent; adopts
|
|
182
|
+
the prepared branch; echoes path, store as `WT_PARENT_PATH`):
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
WT_PARENT_PATH=$(bash {{package-root}}/shared/scripts/setup-worktree.sh parent "${WT_REPO_NAME}" "${WT_FEATURE_SLUG}")
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
Then move plan artifacts once (never `cp`, `rsync` or sync; never move back); companions such as
|
|
189
|
+
`shared.md` ride as extra arguments. Use `$PLAN_PATH` for every later reference; run later
|
|
190
|
+
validation/reports/archive inside `$WT_PARENT_PATH`:
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
PLAN_PATH=$(bash {{package-root}}/shared/scripts/move-plan-to-worktree.sh "<plan-path>" "$WT_PARENT_PATH" ["<companion>" ...])
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
`WORKTREE_ACTIVE=false`: skip worktree setup and the move; keep original plan path and run in
|
|
197
|
+
the prepared current checkout.
|
|
198
|
+
|
|
199
|
+
### 8.3 Agent prompt lines
|
|
200
|
+
|
|
201
|
+
Active worktree, every agent prompt (parallel and sequential):
|
|
202
|
+
|
|
203
|
+
```
|
|
204
|
+
Working directory: ${WT_PARENT_PATH}
|
|
205
|
+
All parallel agents in this batch share this path; batching guarantees no two agents touch the same file.
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
`--no-worktree`:
|
|
209
|
+
|
|
210
|
+
```
|
|
211
|
+
Working directory: ${REPO_ROOT}
|
|
212
|
+
All parallel agents in this batch share the current feature branch; batching guarantees no two agents touch the same file.
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
Treat that directory as repo root for Read/Write/Edit/Bash. Never pass `isolation: "worktree"` or
|
|
216
|
+
`subagent(isolation: "worktree", background=false)`; it creates separate harness worktrees. Codex/opencode: prompt line is
|
|
217
|
+
sufficient. Cursor: warn and print the manual `git worktree add` command.
|
|
218
|
+
|
|
219
|
+
### 8.4 Planner annotation directive (default WORKTREE_MODE=true; omit for --no-worktree)
|
|
220
|
+
|
|
221
|
+
Append to planner and persona prompts:
|
|
222
|
+
|
|
223
|
+
```
|
|
224
|
+
WORKTREE MODE:
|
|
225
|
+
|
|
226
|
+
The plan consumer will run all tasks in a single shared git worktree.
|
|
227
|
+
In your emitted plan:
|
|
228
|
+
|
|
229
|
+
1. Add a top-level `## Worktree Setup` section BEFORE the Batches summary
|
|
230
|
+
(or before Implementation Steps when there is no Batches section):
|
|
231
|
+
|
|
232
|
+
## Worktree Setup
|
|
233
|
+
|
|
234
|
+
- **Parent**: <repo-root>/.opencode/worktrees/<repo>-<feature>/ (branch: feat/<feature>)
|
|
235
|
+
|
|
236
|
+
Substitute the concrete `<repo>` and `<feature>` values; keep `<repo-root>/.opencode/worktrees/`
|
|
237
|
+
as this runtime's worktree root. All tasks - parallel and sequential - share this one path.
|
|
238
|
+
Do NOT add a `**Children**:` list and do NOT add per-task `**Worktree**:` annotations.
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
## 9. Dependency Resolution and Batching
|
|
242
|
+
|
|
243
|
+
### 9.1 Graph and batches
|
|
244
|
+
|
|
245
|
+
Build the graph from `Depends on [...]` annotations. Tasks with `Depends on [none]` form batch 1.
|
|
246
|
+
A task joins the earliest batch whose dependencies are all in prior batches. Two tasks touching the
|
|
247
|
+
same file never share a batch. Cross-cutting shared types/config get a dedicated early batch.
|
|
248
|
+
Prefer wide-shallow graphs over narrow-deep chains. Dispatch each batch as one message;
|
|
249
|
+
wait for the whole batch before the next.
|
|
250
|
+
|
|
251
|
+
### 9.2 Planner output directives (parallel plans)
|
|
252
|
+
|
|
253
|
+
When a planner is asked for parallel output, append:
|
|
254
|
+
|
|
255
|
+
```
|
|
256
|
+
PARALLEL OUTPUT MODE:
|
|
257
|
+
|
|
258
|
+
Shape the output for parallel execution:
|
|
259
|
+
1. Number steps hierarchically (1.1, 1.2, 2.1); first digit is batch.
|
|
260
|
+
2. Populate Dependencies on every step with explicit IDs (`Depends on [1.1, 1.2]` or `Depends on [none]`).
|
|
261
|
+
3. Add `## Batches` after `## Architecture Changes` and before `## Implementation Steps`:
|
|
262
|
+
|
|
263
|
+
| Batch | Steps | Depends On | Parallel Width |
|
|
264
|
+
| ----- | ------------- | ---------- | -------------- |
|
|
265
|
+
| B1 | 1.1, 1.2, 1.3 | - | 3 |
|
|
266
|
+
|
|
267
|
+
- **Total steps**: N
|
|
268
|
+
- **Total batches**: M
|
|
269
|
+
- **Max parallel width**: X
|
|
270
|
+
4. Apply the batch construction rules from section 9.1.
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### 9.3 Between batches and failures
|
|
274
|
+
|
|
275
|
+
Run the skill's own validation inside the execution tree (worktree path or prepared checkout).
|
|
276
|
+
After each batch update todos and print the skill's verbatim `[done] Batch BN: K tasks — complete` marker (em dash; transcript loops match the marker).
|
|
277
|
+
Do not auto-retry a failed batch (usually file conflict or hidden dependency) and do not skip it;
|
|
278
|
+
later batches may depend on it. Preserve completed work; ask the user (fix/resume, switch to
|
|
279
|
+
sequential, abort). Standalone partial failure: continue only independent tasks.
|
|
280
|
+
|
|
281
|
+
## 10. Executing a Confirmed Plan
|
|
282
|
+
|
|
283
|
+
After a user confirms an in-conversation parallel plan: run section 8 (worktree: plan names parent
|
|
284
|
+
`<repo-root>/.opencode/worktrees/<repo>-<feature>/`; run `setup-worktree.sh parent` once, dispatch with
|
|
285
|
+
`Working directory: <parent path>`; `--no-worktree`: derive the slug with the team-name sanitization
|
|
286
|
+
rules (lowercase, non `[a-z0-9-]` to `-`, collapse, cap 20, fallback `untitled`) and run
|
|
287
|
+
`prepare-feature-branch.sh`). The helper is idempotent, exits 1 on unrelated dirty tree, exits 2 on
|
|
288
|
+
a different feature branch (`--allow-existing-feature-branch` after confirmation) or on `release/*`
|
|
289
|
+
when `RELEASING.md` exists (`--allow-release-branch` for release-only fixes). Do not skip.
|
|
290
|
+
Then process section 9 batches with one `implementor` `subagent` per step in one message; run the
|
|
291
|
+
project type-check and unit-test commands between batches; on failure stop and ask the user.
|
|
292
|
+
|
|
293
|
+
## 11. Unsupported team mode
|
|
294
|
+
|
|
295
|
+
OpenCode V2 standalone dispatch has no team-name argument, shared team roster, or Claude Code
|
|
296
|
+
team lifecycle. If a workflow receives `--team`, abort with a compatibility message and
|
|
297
|
+
instruct the caller to rerun the default standalone mode. Never translate team identity
|
|
298
|
+
into `sessionID`; a child-session resume ID is a different concept.
|
|
@@ -0,0 +1,325 @@
|
|
|
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-03
|
|
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` — 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 and never add columns to the first one.
|
|
31
|
+
- Do not change column order or cell vocabulary without updating the parser in
|
|
32
|
+
`ycc/skills/compatibility-audit/scripts/audit-target-features.sh`.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Capability Matrix
|
|
37
|
+
|
|
38
|
+
| capability | claude | cursor | codex | opencode |
|
|
39
|
+
| ----------------- | --------- | ----------- | ----------- | ----------- |
|
|
40
|
+
| SKILLS | supported | supported | supported | supported |
|
|
41
|
+
| COMMANDS | supported | partial | unsupported | supported |
|
|
42
|
+
| AGENTS | supported | partial | supported | supported |
|
|
43
|
+
| HOOKS.PreToolUse | supported | partial | unsupported | partial |
|
|
44
|
+
| HOOKS.PostToolUse | supported | partial | unsupported | partial |
|
|
45
|
+
| HOOKS.Stop | supported | partial | unsupported | partial |
|
|
46
|
+
| MCP | supported | supported | partial | supported |
|
|
47
|
+
| INSTALL_PATH | supported | supported | supported | supported |
|
|
48
|
+
| DANGEROUS_MODE | supported | unsupported | unsupported | unsupported |
|
|
49
|
+
| WORKTREE | supported | partial | partial | partial |
|
|
50
|
+
| MODS | supported | unsupported | unsupported | unsupported |
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Native vs install.sh Fallback
|
|
55
|
+
|
|
56
|
+
Packaging status as of 2026-10-16. This descriptive companion separates shipping native packages
|
|
57
|
+
from installer-managed artifacts and hidden or gated work in `ycc/settings/packages.json`.
|
|
58
|
+
`listed: false` packages are not published catalog entries; generated trees and successful spikes
|
|
59
|
+
alone do not make them shipping user install paths. This does not revise the capability verdicts above.
|
|
60
|
+
|
|
61
|
+
| target | native, listed today | install.sh fallback today | hidden or gated native packages |
|
|
62
|
+
| -------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
63
|
+
| Claude | `ycc@ycc` (skills, agents, `_shared`); `status-bar@ycc-mods` | Rules, settings, statusline, hooks link, MCP, standalone skills/agents | `ycc-mcp@ycc`, `ycc-hooks@ycc` (2.1.300+), `ycc-all@ycc`; `ycc-agents@ycc` in v7.0.0 |
|
|
64
|
+
| Cursor | None | Skills, agents, commands, rules, settings under `~/.cursor/`; optional hooks | `packages/cursor/{ycc,ycc-rules,ycc-mcp,ycc-hooks}/`, all unlisted; hooks `sessionStart` only |
|
|
65
|
+
| Codex | Installer-managed local marketplace; no public `ycc@ycc` entry | Agent TOMLs, `AGENTS.md`, `config.toml` | `ycc@ycc`, `ycc-mcp@ycc` via `.agents/plugins/marketplace.json`; hooks excluded (YAN-1149) |
|
|
66
|
+
| opencode | None | Skills, agents, commands, shared, `opencode.json`, `AGENTS.md` | `@yandy-r/ycc-opencode` npm plugin: experimental, opt-in, unpublished |
|
|
67
|
+
| `agents` | None | Skills and `ycc-shared` copied into `~/.agents/` | None planned |
|
|
68
|
+
|
|
69
|
+
Native dependency resolution is a Claude platform feature, not a cross-runtime guarantee.
|
|
70
|
+
The hidden `ycc-all` meta plugin still awaits automatic-install proof; Cursor and Codex have no
|
|
71
|
+
dependency field, and the `agents` target is a directory convention, not a package system.
|
|
72
|
+
Claude rules, settings, and statusline stay on `install.sh`.
|
|
73
|
+
|
|
74
|
+
The recommendation in `docs/research/ystack/recommendation.md` is qualified by
|
|
75
|
+
`ycc/settings/packages.json` and the later verdicts in `docs/internal/spikes/`:
|
|
76
|
+
|
|
77
|
+
- `claude-hooks.md`: plugin `WorktreeCreate` was observed on 2.1.300, not 2.1.143. The hidden
|
|
78
|
+
hooks package requires a documented 2.1.300 minimum and tested command-level migration dedupe
|
|
79
|
+
that preserves user-owned hooks. `claude-namespace.md` rejects a shared-name agents split;
|
|
80
|
+
the qualified `ycc-agents:` namespace is deferred to v7.0.0.
|
|
81
|
+
- `codex-marketplace.md`: native catalog discovery is verified on 0.161.0, but `WorktreeCreate`
|
|
82
|
+
is dropped and trusted plugin hook dispatch is unverified. Hooks remain excluded.
|
|
83
|
+
- `cursor-plugin.md`: user-scope GitHub marketplace registration is verified; interactive
|
|
84
|
+
install and installed-plugin runtime behavior remain gates. YAN-1132 generates hidden
|
|
85
|
+
native packages with a tested Cursor floor of 3.24.12, but no root marketplace.
|
|
86
|
+
Native hooks are limited to `sessionStart`; do not infer `WorktreeCreate` or other Claude hook parity.
|
|
87
|
+
- `opencode-config-hook.md`: V2 registrations and context-hook instructions were verified on
|
|
88
|
+
v2.0.29, not the V1 config-hook approach. The experimental npm path still needs CI publishing;
|
|
89
|
+
`install.sh` file copy remains primary.
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Notes
|
|
94
|
+
|
|
95
|
+
**COMMANDS:claude**
|
|
96
|
+
Claude Code has no separate ycc command-wrapper layer. Public skills are native slash
|
|
97
|
+
invocations (`/ycc:<name>`); `user-invocable: false` hides a skill from the slash menu.
|
|
98
|
+
The standalone installer's Claude `commands` intent aliases `skills`. It retires only
|
|
99
|
+
legacy wrappers recorded in installer ownership state, and only after a successful
|
|
100
|
+
skills install. Foreign wrappers are never touched.
|
|
101
|
+
|
|
102
|
+
**INVOCATION POLICY**
|
|
103
|
+
`disable-model-invocation: true` is source frontmatter for manual-only skills; it is
|
|
104
|
+
distinct from `user-invocable: false`. Claude and Cursor keep the native flag. Codex
|
|
105
|
+
emits a skill-local `agents/openai.yaml` with `policy.allow_implicit_invocation: false`.
|
|
106
|
+
opencode emits skill metadata `opencode/autoinvoke: 'false'`. The cross-tool `agents`
|
|
107
|
+
target has no portable key, so it omits the flag and keeps the description.
|
|
108
|
+
|
|
109
|
+
**COMMANDS:cursor**
|
|
110
|
+
The hidden native `packages/cursor/ycc/commands/` contains thin commands derived from
|
|
111
|
+
user-invocable skills in `ycc/skills/`; each loads its package-local skill. This is not
|
|
112
|
+
an installed-plugin dispatch proof. The file-copy installer's `commands` intent installs
|
|
113
|
+
owned wrappers into `~/.cursor/commands/` that reference the installed skills, and its
|
|
114
|
+
`hooks` intent is an optional explicit carrier that registers `sessionStart` only.
|
|
115
|
+
Native plugin activation, interactive installation, and installed-plugin runtime
|
|
116
|
+
verification remain gates.
|
|
117
|
+
|
|
118
|
+
**COMMANDS:codex**
|
|
119
|
+
The Codex customization platform does not support a slash-command layer. Skills are exposed
|
|
120
|
+
via the plugin bundle; there is no Codex analog for slash commands.
|
|
121
|
+
|
|
122
|
+
**AGENTS:cursor**
|
|
123
|
+
Agents from `ycc/agents/` are adapted into `packages/cursor/ycc/agents/` and copied by
|
|
124
|
+
the installer to `~/.cursor/agents/`. The same generated definitions are packaged in the
|
|
125
|
+
hidden native `ycc` package; installed-plugin runtime parity is not yet verified.
|
|
126
|
+
|
|
127
|
+
**HOOKS.PreToolUse:cursor**
|
|
128
|
+
Cursor does not expose a native PreToolUse hook execution surface equivalent to Claude Code's
|
|
129
|
+
`~/.claude/settings.json` hooks. Existing repo hook guidance (e.g., `ycc/rules/*/hooks.md`)
|
|
130
|
+
is embedded as rule-file notes, not executed by a hook runner.
|
|
131
|
+
|
|
132
|
+
**HOOKS.PostToolUse:cursor**
|
|
133
|
+
Same constraint as HOOKS.PreToolUse:cursor. PostToolUse hook guidance is rule-embedded only.
|
|
134
|
+
|
|
135
|
+
**HOOKS.Stop:cursor**
|
|
136
|
+
Same constraint as HOOKS.PreToolUse:cursor. Stop hook guidance is rule-embedded only.
|
|
137
|
+
|
|
138
|
+
**HOOKS.PreToolUse:codex**
|
|
139
|
+
The Codex config reference documents `features.codex_hooks` as under development as of
|
|
140
|
+
the April 2026 research audit. No primary source confirms production availability. Marked
|
|
141
|
+
`unsupported` pending a verified Codex GA announcement.
|
|
142
|
+
|
|
143
|
+
**HOOKS.PostToolUse:codex**
|
|
144
|
+
Same constraint as HOOKS.PreToolUse:codex.
|
|
145
|
+
|
|
146
|
+
**HOOKS.Stop:codex**
|
|
147
|
+
Same constraint as HOOKS.PreToolUse:codex.
|
|
148
|
+
|
|
149
|
+
**MCP:codex**
|
|
150
|
+
MCP integration is referenced in the Codex customization docs
|
|
151
|
+
(`developers.openai.com/codex/concepts/customization`) but is less mature than the Claude Code
|
|
152
|
+
or Cursor MCP surfaces. Treat as partial until a verified stable API is documented.
|
|
153
|
+
|
|
154
|
+
**DANGEROUS_MODE:cursor**
|
|
155
|
+
The `--dangerously-skip-permissions` flag is a Claude Code CLI concept with no equivalent in
|
|
156
|
+
Cursor.
|
|
157
|
+
|
|
158
|
+
**DANGEROUS_MODE:codex**
|
|
159
|
+
No equivalent to Claude Code's dangerous mode exists in the Codex runtime.
|
|
160
|
+
|
|
161
|
+
**INSTALL_PATH:claude**
|
|
162
|
+
`install.sh install --target claude` registers the `ycc` marketplace through the `claude` CLI, then
|
|
163
|
+
runs `claude plugin install ycc@ycc --scope user`. Directory mode (default) runs
|
|
164
|
+
`claude plugin marketplace add <absolute-repo-root> --scope user`, so the marketplace
|
|
165
|
+
points at the repo checkout (`.claude-plugin/marketplace.json`, name `ycc`) and edits in `ycc/`
|
|
166
|
+
apply on `/reload-plugins` with no rsync or cache clear; rerun `--only base` if the repo moves.
|
|
167
|
+
Repo mode runs `claude plugin marketplace add yandy-r/ystack --scope user`, a GitHub
|
|
168
|
+
source; update with `claude plugin install ycc@ycc --scope user` or the `/plugins` UI. The CLI
|
|
169
|
+
writes to `~/.claude/settings.json`. The installer first replaces a symlink there with a real
|
|
170
|
+
file so the committed `ycc/settings/settings.json` is not modified, and the `settings` step
|
|
171
|
+
later merges repo-managed keys while preserving the CLI-written marketplace entry. It also
|
|
172
|
+
removes legacy `local-ycc-plugins` marketplace and `ycc@local-ycc-plugins` entries from
|
|
173
|
+
`~/.claude.json` and `~/.claude/settings.local.json`, deleting `settings.local.json` if that
|
|
174
|
+
leaves it empty. Other steps: `rules` links `~/.claude/CLAUDE.md`, `hooks` links
|
|
175
|
+
`~/.claude/hooks`, `mods` registers the `ycc-mods` directory marketplace, and `skills`/`agents`
|
|
176
|
+
install standalone copies into `~/.claude/` (warning about duplicate names if `ycc@ycc` is also
|
|
177
|
+
installed). `remove --target claude` uninstalls `ycc@ycc` and the `ycc` marketplace.
|
|
178
|
+
|
|
179
|
+
**INSTALL_PATH:cursor**
|
|
180
|
+
Sources under `ycc/` generate `packages/cursor/ycc/{skills,agents,commands}/`,
|
|
181
|
+
`packages/cursor/ycc-rules/rules/`, `packages/cursor/ycc-mcp/mcp.json`, and
|
|
182
|
+
`packages/cursor/ycc-hooks/hooks/`. Canonical `ycc/settings/cursor/cli-config.json`
|
|
183
|
+
is copied byte-for-byte to `packages/cursor/installer-fallback/config/cli-config.json`.
|
|
184
|
+
The file-copy installer copies skills, agents, and rules into `~/.cursor/`, installs
|
|
185
|
+
owned `commands` wrappers into `~/.cursor/commands/`, and merges the config there. The
|
|
186
|
+
`hooks` step is an optional explicit carrier that installs the `sessionStart` hook only
|
|
187
|
+
(no `WorktreeCreate`) and is not inherited by other selections. All four native packages
|
|
188
|
+
remain unlisted; no root `.cursor-plugin/marketplace.json` is generated, and native
|
|
189
|
+
plugin activation remains gated. See `docs/internal/cursor-native-packages.md`.
|
|
190
|
+
|
|
191
|
+
**INSTALL_PATH:codex**
|
|
192
|
+
`install.sh install --target codex` symlinks `~/.codex/plugins/ycc/` to the repo's
|
|
193
|
+
`.codex-plugin/ycc/`, also symlinks `~/.agents/plugins/ycc` to the same bundle,
|
|
194
|
+
rsyncs custom agents to `~/.codex/agents/`, registers `./.agents/plugins/ycc`
|
|
195
|
+
(resolved from the marketplace root, `$HOME`) as the local marketplace source in
|
|
196
|
+
`~/.agents/plugins/marketplace.json`, and installs + enables the plugin with
|
|
197
|
+
`codex plugin add ycc@local-ycc-plugins`, which snapshots it into
|
|
198
|
+
`~/.codex/plugins/cache/local-ycc-plugins/ycc/<version>/`. Codex builds without
|
|
199
|
+
the plugin CLI get the legacy hand-written flat cache instead. Rerun the base
|
|
200
|
+
install step after regenerating the bundle via `./scripts/sync.sh --only codex`
|
|
201
|
+
or after clearing `~/.codex/plugins/cache/`.
|
|
202
|
+
|
|
203
|
+
**INSTALL_PATH:opencode**
|
|
204
|
+
Generated bundle lives at `.opencode-plugin/` (skills, agents, commands, AGENTS.md,
|
|
205
|
+
opencode.json). Consumed by opencode from `~/.config/opencode/` (global) or `.opencode/`
|
|
206
|
+
(project-local) after `install.sh install --target opencode` rsyncs the files.
|
|
207
|
+
|
|
208
|
+
**SKILLS:opencode**
|
|
209
|
+
Native support at `.opencode/skills/<name>/SKILL.md` with strict YAML frontmatter
|
|
210
|
+
(`name`, `description` required; `license`, `compatibility`, `metadata` optional). Descriptions
|
|
211
|
+
are limited to 1024 chars. opencode also reads `.claude/skills/*/SKILL.md` and
|
|
212
|
+
`.agents/skills/*/SKILL.md` as compatibility fallbacks. Source: opencode.ai/docs/skills/.
|
|
213
|
+
|
|
214
|
+
**COMMANDS:opencode**
|
|
215
|
+
Generated thin native commands, one per public skill, sourced from that skill's
|
|
216
|
+
`SKILL.md` (frontmatter drives description, argument hint, and model mapping). Each
|
|
217
|
+
command body loads the skill through the `skill` tool and forwards `$ARGUMENTS`;
|
|
218
|
+
workflow logic stays in the skill. They exist for commands-only compatibility; use
|
|
219
|
+
the skill tool rather than chaining commands. Source: opencode.ai/docs/commands/.
|
|
220
|
+
|
|
221
|
+
**AGENTS:opencode**
|
|
222
|
+
Native agent support at `.opencode/agents/<name>.md`. Frontmatter: `description` (required),
|
|
223
|
+
`mode` (`primary` | `subagent` | `all`), `model` (`provider/model-id[#variant]`), `system`,
|
|
224
|
+
ordered `permissions` rules, `steps`, `hidden`, `color`, `disabled`, and `request`. Legacy
|
|
225
|
+
fields such as `prompt`, `tools`, `permission`, `temperature`, `top_p`, and `disable` must not
|
|
226
|
+
be generated for V2 agents. Invoke subagents via `@mention` or the native
|
|
227
|
+
`subagent(agent, description, prompt, sessionID?, background?)` tool. Sources:
|
|
228
|
+
opencode.ai/v2/docs/agents/ and opencode.ai/v2/docs/tools/.
|
|
229
|
+
|
|
230
|
+
**HOOKS.PreToolUse:opencode**
|
|
231
|
+
opencode has a TypeScript plugin system with a `tool.execute.before` event that covers the
|
|
232
|
+
same surface area as Claude Code's PreToolUse hook. Marked `partial` because the `ycc` bundle
|
|
233
|
+
does not ship a TypeScript plugin in v1 — hook guidance is emitted as rule-embedded notes
|
|
234
|
+
only. Upgrading to `supported` requires publishing an `@yandy/opencode-ycc-hooks` npm package.
|
|
235
|
+
|
|
236
|
+
**HOOKS.PostToolUse:opencode**
|
|
237
|
+
Same constraint as HOOKS.PreToolUse:opencode. The underlying opencode event is
|
|
238
|
+
`tool.execute.after`.
|
|
239
|
+
|
|
240
|
+
**HOOKS.Stop:opencode**
|
|
241
|
+
Same constraint as HOOKS.PreToolUse:opencode. Closest opencode event is `session.idle`
|
|
242
|
+
(fires when a session's agentic loop halts).
|
|
243
|
+
|
|
244
|
+
**MCP:opencode**
|
|
245
|
+
Native MCP support in the top-level `"mcp"` key of `opencode.json`. Server values are either
|
|
246
|
+
`{type: "local", command: [argv0, …args], environment, timeout}` or
|
|
247
|
+
`{type: "remote", url, headers, oauth, timeout}`. Note the critical shape difference from
|
|
248
|
+
Claude Code: opencode's `command` is a single array containing both argv0 and args (no
|
|
249
|
+
separate `args` key), and `env` is spelled `environment`. OAuth uses RFC 7591 Dynamic Client
|
|
250
|
+
Registration when `clientId` is omitted. Source: opencode.ai/docs/mcp-servers/.
|
|
251
|
+
|
|
252
|
+
**DANGEROUS_MODE:opencode**
|
|
253
|
+
No equivalent to Claude Code's `--dangerously-skip-permissions` flag exists in opencode. The
|
|
254
|
+
OpenCode V2 permission model uses ordered `{action, resource, effect}` rules. Native actions
|
|
255
|
+
include `edit`, `shell`, `subagent`, `read`, `glob`, `grep`, `webfetch`, and `websearch`; the
|
|
256
|
+
last matching rule wins. Source: opencode.ai/v2/docs/permissions/.
|
|
257
|
+
|
|
258
|
+
**WORKTREE:claude**
|
|
259
|
+
Full support. Worktree isolation is **on by default** for the 9 worktree-aware skills; pass
|
|
260
|
+
`--no-worktree` to opt out. The legacy `--worktree` flag is accepted as a silent no-op.
|
|
261
|
+
Harness-managed worktrees exist (`Agent(isolation: "worktree")`, `EnterWorktree`, plus the
|
|
262
|
+
`WorktreeCreate` hook registered in `ycc/settings/settings.json`), but the current ycc
|
|
263
|
+
single-worktree contract should not use per-agent tool-side isolation for parallel task fan-out.
|
|
264
|
+
Instead, pre-create one feature worktree and point every agent at it via `Working directory:`.
|
|
265
|
+
A Bash fallback (`git worktree add`) is always available. See
|
|
266
|
+
`ycc/skills/_shared/references/worktree-strategy.md` for the single-worktree naming scheme.
|
|
267
|
+
|
|
268
|
+
**WORKTREE:cursor**
|
|
269
|
+
Partial. Worktree mode is on by default for the 9 worktree-aware skills; pass `--no-worktree`
|
|
270
|
+
to opt out. The legacy `--worktree` flag is a silent no-op. Skills emit `git worktree add`
|
|
271
|
+
instructions for the user; no auto-creation from the skill layer. Worktree support is
|
|
272
|
+
editor-side in Cursor and is not skill-programmable. See
|
|
273
|
+
`ycc/skills/_shared/references/worktree-strategy.md` for Cursor-specific guidance.
|
|
274
|
+
|
|
275
|
+
**WORKTREE:codex**
|
|
276
|
+
Partial. Worktree mode is on by default for the 9 worktree-aware skills; pass `--no-worktree`
|
|
277
|
+
to opt out. The legacy `--worktree` flag is a silent no-op. No tool-side isolation equivalent.
|
|
278
|
+
Skills instruct the agent to run `git worktree add` via Bash; auto-creation happens when the
|
|
279
|
+
instruction is embedded in the agent prompt. See
|
|
280
|
+
`ycc/skills/_shared/references/worktree-strategy.md` for the Bash-fallback protocol.
|
|
281
|
+
|
|
282
|
+
**WORKTREE:opencode**
|
|
283
|
+
Partial. Worktree mode is on by default for the 9 worktree-aware skills; pass `--no-worktree`
|
|
284
|
+
to opt out. The legacy `--worktree` flag is a silent no-op. Same as Codex — Bash via prompt,
|
|
285
|
+
no tool-side isolation. Skills embed `git worktree add` commands in agent prompts. See
|
|
286
|
+
`ycc/skills/_shared/references/worktree-strategy.md` for the Bash-fallback protocol.
|
|
287
|
+
|
|
288
|
+
**MODS:claude**
|
|
289
|
+
Supported from Claude Code 2.1.287 (CLI and desktop app). Mods live under `ycc/mods/` with their
|
|
290
|
+
own `ycc-mods` marketplace and install via `ycc sync --target claude --intent mods`.
|
|
291
|
+
|
|
292
|
+
**MODS:cursor**
|
|
293
|
+
Unsupported. `--intent mods` is reported and skipped; a translator step would map a mod's hooks
|
|
294
|
+
module onto Cursor's extension surface.
|
|
295
|
+
|
|
296
|
+
**MODS:codex**
|
|
297
|
+
Unsupported. Codex has no in-process hook module API; the intent is reported and skipped.
|
|
298
|
+
|
|
299
|
+
**MODS:opencode**
|
|
300
|
+
Unsupported. opencode plugins are the closest analogue, but no translator exists yet; the intent
|
|
301
|
+
is reported and skipped.
|
|
302
|
+
|
|
303
|
+
---
|
|
304
|
+
|
|
305
|
+
## How to Update This Document
|
|
306
|
+
|
|
307
|
+
Before changing any cell value, consult the three primary research artifacts that produced the
|
|
308
|
+
current verdicts:
|
|
309
|
+
|
|
310
|
+
1. `research/plugin-additions/report.md` — executive synthesis with platform source citations.
|
|
311
|
+
2. `research/plugin-additions/synthesis/innovation.md` — prioritized recommendations and
|
|
312
|
+
rejected ideas, including the explicit warning against claiming cross-platform hook parity.
|
|
313
|
+
3. `research/plugin-additions/evidence/verification-log.md` — contradiction log and confidence
|
|
314
|
+
ratings; specifically the Codex hook contradiction entry which drives the `unsupported`
|
|
315
|
+
verdict for all HOOKS.\*:codex cells.
|
|
316
|
+
|
|
317
|
+
After updating a cell value, also update the corresponding note in the Notes section (or add
|
|
318
|
+
one if absent), and re-run the compatibility audit:
|
|
319
|
+
|
|
320
|
+
```
|
|
321
|
+
ycc:compatibility-audit
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
If the change affects generated bundles, follow the regeneration steps in `AGENTS.md` under
|
|
325
|
+
"Testing Changes".
|