@open-agent-toolkit/cli 0.0.10
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/README.md +50 -0
- package/assets/agents/oat-codebase-mapper.md +275 -0
- package/assets/agents/oat-reviewer.md +350 -0
- package/assets/agents/skeptical-evaluator.md +126 -0
- package/assets/docs/contributing/code.md +95 -0
- package/assets/docs/contributing/commit-conventions.md +41 -0
- package/assets/docs/contributing/design-principles.md +124 -0
- package/assets/docs/contributing/documentation.md +69 -0
- package/assets/docs/contributing/hooks-and-safety.md +31 -0
- package/assets/docs/contributing/index.md +18 -0
- package/assets/docs/contributing/markdown-features.md +117 -0
- package/assets/docs/contributing/skills.md +68 -0
- package/assets/docs/guide/cli-reference.md +211 -0
- package/assets/docs/guide/concepts.md +88 -0
- package/assets/docs/guide/configuration.md +130 -0
- package/assets/docs/guide/documentation/commands.md +157 -0
- package/assets/docs/guide/documentation/index.md +27 -0
- package/assets/docs/guide/documentation/quickstart.md +164 -0
- package/assets/docs/guide/documentation/workflows.md +67 -0
- package/assets/docs/guide/getting-started.md +63 -0
- package/assets/docs/guide/ideas/index.md +34 -0
- package/assets/docs/guide/ideas/lifecycle.md +106 -0
- package/assets/docs/guide/index.md +20 -0
- package/assets/docs/guide/provider-sync/commands.md +100 -0
- package/assets/docs/guide/provider-sync/config.md +77 -0
- package/assets/docs/guide/provider-sync/index.md +65 -0
- package/assets/docs/guide/provider-sync/manifest-and-drift.md +55 -0
- package/assets/docs/guide/provider-sync/providers.md +67 -0
- package/assets/docs/guide/provider-sync/scope-and-surface.md +64 -0
- package/assets/docs/guide/skills/index.md +115 -0
- package/assets/docs/guide/tool-packs.md +167 -0
- package/assets/docs/guide/workflow/artifacts.md +44 -0
- package/assets/docs/guide/workflow/hill-checkpoints.md +53 -0
- package/assets/docs/guide/workflow/index.md +34 -0
- package/assets/docs/guide/workflow/lifecycle.md +207 -0
- package/assets/docs/guide/workflow/pr-flow.md +55 -0
- package/assets/docs/guide/workflow/repo-analysis.md +96 -0
- package/assets/docs/guide/workflow/reviews.md +98 -0
- package/assets/docs/guide/workflow/state-machine.md +74 -0
- package/assets/docs/index.md +45 -0
- package/assets/docs/quickstart.md +162 -0
- package/assets/docs/reference/docs-index-contract.md +53 -0
- package/assets/docs/reference/file-locations.md +109 -0
- package/assets/docs/reference/index.md +29 -0
- package/assets/docs/reference/oat-directory-structure.md +236 -0
- package/assets/docs/reference/troubleshooting.md +63 -0
- package/assets/public-package-versions.json +6 -0
- package/assets/scripts/resolve-tracking.sh +233 -0
- package/assets/skills/analyze/SKILL.md +358 -0
- package/assets/skills/compare/SKILL.md +276 -0
- package/assets/skills/create-agnostic-skill/SKILL.md +410 -0
- package/assets/skills/create-agnostic-skill/references/skill-template.md +195 -0
- package/assets/skills/deep-research/SKILL.md +350 -0
- package/assets/skills/deep-research/references/schema-analysis.md +93 -0
- package/assets/skills/deep-research/references/schema-architectural.md +75 -0
- package/assets/skills/deep-research/references/schema-base.md +70 -0
- package/assets/skills/deep-research/references/schema-comparative.md +72 -0
- package/assets/skills/deep-research/references/schema-conceptual.md +68 -0
- package/assets/skills/deep-research/references/schema-technical.md +64 -0
- package/assets/skills/oat-agent-instructions-analyze/SKILL.md +500 -0
- package/assets/skills/oat-agent-instructions-analyze/references/analysis-artifact-template.md +248 -0
- package/assets/skills/oat-agent-instructions-analyze/references/bundle-summary-template.md +31 -0
- package/assets/skills/oat-agent-instructions-analyze/references/directory-assessment-criteria.md +93 -0
- package/assets/skills/oat-agent-instructions-analyze/references/docs/agent-instruction.md +575 -0
- package/assets/skills/oat-agent-instructions-analyze/references/docs/cursor-rules-files.md +510 -0
- package/assets/skills/oat-agent-instructions-analyze/references/docs/provider-reference.md +429 -0
- package/assets/skills/oat-agent-instructions-analyze/references/docs/rules-files.md +594 -0
- package/assets/skills/oat-agent-instructions-analyze/references/file-type-discovery-checklist.md +273 -0
- package/assets/skills/oat-agent-instructions-analyze/references/quality-checklist.md +125 -0
- package/assets/skills/oat-agent-instructions-analyze/references/recommendation-pack-template.md +45 -0
- package/assets/skills/oat-agent-instructions-analyze/references/recommendations-manifest-template.yaml +27 -0
- package/assets/skills/oat-agent-instructions-analyze/scripts/resolve-instruction-files.sh +120 -0
- package/assets/skills/oat-agent-instructions-analyze/scripts/resolve-providers.sh +135 -0
- package/assets/skills/oat-agent-instructions-apply/SKILL.md +507 -0
- package/assets/skills/oat-agent-instructions-apply/references/apply-plan-template.md +80 -0
- package/assets/skills/oat-agent-instructions-apply/references/docs/agent-instruction.md +575 -0
- package/assets/skills/oat-agent-instructions-apply/references/docs/cursor-rules-files.md +510 -0
- package/assets/skills/oat-agent-instructions-apply/references/docs/provider-reference.md +429 -0
- package/assets/skills/oat-agent-instructions-apply/references/docs/rules-files.md +594 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/agents-md-root.md +85 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/agents-md-scoped.md +62 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/frontmatter/claude-rule.md +67 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/frontmatter/copilot-instruction.md +70 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/frontmatter/copilot-shim.md +35 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/frontmatter/cursor-rule.md +84 -0
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/glob-scoped-rule.md +59 -0
- package/assets/skills/oat-docs/SKILL.md +214 -0
- package/assets/skills/oat-docs-analyze/SKILL.md +355 -0
- package/assets/skills/oat-docs-analyze/references/analysis-artifact-template.md +192 -0
- package/assets/skills/oat-docs-analyze/references/directory-assessment-criteria.md +46 -0
- package/assets/skills/oat-docs-analyze/references/quality-checklist.md +48 -0
- package/assets/skills/oat-docs-apply/SKILL.md +339 -0
- package/assets/skills/oat-docs-apply/references/apply-plan-template.md +69 -0
- package/assets/skills/oat-doctor/SKILL.md +293 -0
- package/assets/skills/oat-idea-ideate/SKILL.md +187 -0
- package/assets/skills/oat-idea-new/SKILL.md +152 -0
- package/assets/skills/oat-idea-scratchpad/SKILL.md +115 -0
- package/assets/skills/oat-idea-summarize/SKILL.md +172 -0
- package/assets/skills/oat-pjm-add-backlog-item/SKILL.md +155 -0
- package/assets/skills/oat-pjm-review-backlog/SKILL.md +171 -0
- package/assets/skills/oat-pjm-review-backlog/references/backlog-review-template.md +172 -0
- package/assets/skills/oat-pjm-update-repo-reference/SKILL.md +128 -0
- package/assets/skills/oat-project-capture/SKILL.md +306 -0
- package/assets/skills/oat-project-clear-active/SKILL.md +50 -0
- package/assets/skills/oat-project-complete/SKILL.md +461 -0
- package/assets/skills/oat-project-design/SKILL.md +461 -0
- package/assets/skills/oat-project-discover/SKILL.md +395 -0
- package/assets/skills/oat-project-document/SKILL.md +468 -0
- package/assets/skills/oat-project-implement/SKILL.md +736 -0
- package/assets/skills/oat-project-import-plan/SKILL.md +228 -0
- package/assets/skills/oat-project-import-plan/scripts/find-recent-provider-plans.sh +149 -0
- package/assets/skills/oat-project-new/SKILL.md +74 -0
- package/assets/skills/oat-project-next/SKILL.md +345 -0
- package/assets/skills/oat-project-open/SKILL.md +47 -0
- package/assets/skills/oat-project-plan/SKILL.md +415 -0
- package/assets/skills/oat-project-plan-writing/SKILL.md +116 -0
- package/assets/skills/oat-project-pr-final/SKILL.md +391 -0
- package/assets/skills/oat-project-pr-progress/SKILL.md +354 -0
- package/assets/skills/oat-project-progress/SKILL.md +342 -0
- package/assets/skills/oat-project-promote-spec-driven/SKILL.md +155 -0
- package/assets/skills/oat-project-quick-start/SKILL.md +363 -0
- package/assets/skills/oat-project-reconcile/SKILL.md +738 -0
- package/assets/skills/oat-project-review-provide/SKILL.md +728 -0
- package/assets/skills/oat-project-review-receive/SKILL.md +641 -0
- package/assets/skills/oat-project-review-receive-remote/SKILL.md +235 -0
- package/assets/skills/oat-project-revise/SKILL.md +316 -0
- package/assets/skills/oat-project-spec/SKILL.md +471 -0
- package/assets/skills/oat-project-subagent-implement/SKILL.md +549 -0
- package/assets/skills/oat-project-subagent-implement/examples/pattern-hill-checkpoint.md +110 -0
- package/assets/skills/oat-project-subagent-implement/examples/pattern-parallel-phases.md +118 -0
- package/assets/skills/oat-project-subagent-implement/scripts/dispatch.sh +133 -0
- package/assets/skills/oat-project-subagent-implement/scripts/reconcile.sh +182 -0
- package/assets/skills/oat-project-subagent-implement/scripts/review-gate.sh +187 -0
- package/assets/skills/oat-project-subagent-implement/tests/fixtures/sample-plan.md +234 -0
- package/assets/skills/oat-project-subagent-implement/tests/test-dry-run.sh +126 -0
- package/assets/skills/oat-project-subagent-implement/tests/test-hill-checkpoint.sh +127 -0
- package/assets/skills/oat-project-subagent-implement/tests/test-reconcile.sh +254 -0
- package/assets/skills/oat-project-subagent-implement/tests/test-review-gate.sh +220 -0
- package/assets/skills/oat-project-summary/SKILL.md +227 -0
- package/assets/skills/oat-repo-knowledge-index/SKILL.md +724 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/architecture.md +83 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/concerns.md +97 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/conventions.md +100 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/integrations.md +91 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/stack.md +86 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/structure.md +88 -0
- package/assets/skills/oat-repo-knowledge-index/references/templates/testing.md +137 -0
- package/assets/skills/oat-repo-maintainability-review/SKILL.md +198 -0
- package/assets/skills/oat-repo-maintainability-review/references/dx-checklist.md +33 -0
- package/assets/skills/oat-repo-maintainability-review/references/repo-review-artifact-template.md +72 -0
- package/assets/skills/oat-repo-maintainability-review/references/repo-review-rubric.md +66 -0
- package/assets/skills/oat-repo-maintainability-review/scripts/resolve-analysis-output.sh +162 -0
- package/assets/skills/oat-review-provide/SKILL.md +231 -0
- package/assets/skills/oat-review-provide/references/review-artifact-template.md +55 -0
- package/assets/skills/oat-review-provide/scripts/resolve-review-output.sh +124 -0
- package/assets/skills/oat-review-receive/SKILL.md +238 -0
- package/assets/skills/oat-review-receive-remote/SKILL.md +250 -0
- package/assets/skills/oat-worktree-bootstrap/SKILL.md +208 -0
- package/assets/skills/oat-worktree-bootstrap/references/worktree-conventions.md +58 -0
- package/assets/skills/oat-worktree-bootstrap-auto/SKILL.md +245 -0
- package/assets/skills/oat-worktree-bootstrap-auto/scripts/bootstrap.sh +194 -0
- package/assets/skills/skeptic/SKILL.md +261 -0
- package/assets/skills/synthesize/SKILL.md +361 -0
- package/assets/templates/backlog-item.md +24 -0
- package/assets/templates/design.md +315 -0
- package/assets/templates/discovery.md +135 -0
- package/assets/templates/docs-app-fuma/app/[[...slug]]/page.tsx +30 -0
- package/assets/templates/docs-app-fuma/app/api/search/route.ts +8 -0
- package/assets/templates/docs-app-fuma/app/globals.css +69 -0
- package/assets/templates/docs-app-fuma/app/layout.tsx +26 -0
- package/assets/templates/docs-app-fuma/docs/contributing.md +71 -0
- package/assets/templates/docs-app-fuma/docs/getting-started.md +40 -0
- package/assets/templates/docs-app-fuma/docs/index.md +13 -0
- package/assets/templates/docs-app-fuma/lib/source.ts +8 -0
- package/assets/templates/docs-app-fuma/next.config.js +6 -0
- package/assets/templates/docs-app-fuma/package.json.template +38 -0
- package/assets/templates/docs-app-fuma/postcss.config.mjs +7 -0
- package/assets/templates/docs-app-fuma/source.config.ts +14 -0
- package/assets/templates/docs-app-fuma/tsconfig.json +25 -0
- package/assets/templates/docs-app-mkdocs/docs/contributing.md +122 -0
- package/assets/templates/docs-app-mkdocs/docs/getting-started.md +28 -0
- package/assets/templates/docs-app-mkdocs/docs/index.md +8 -0
- package/assets/templates/docs-app-mkdocs/mkdocs.yml +47 -0
- package/assets/templates/docs-app-mkdocs/package.json.template +19 -0
- package/assets/templates/docs-app-mkdocs/requirements.txt +6 -0
- package/assets/templates/docs-app-mkdocs/setup-docs.sh +18 -0
- package/assets/templates/ideas/idea-discovery.md +39 -0
- package/assets/templates/ideas/idea-summary.md +42 -0
- package/assets/templates/ideas/ideas-backlog.md +21 -0
- package/assets/templates/ideas/ideas-scratchpad.md +10 -0
- package/assets/templates/implementation.md +207 -0
- package/assets/templates/plan.md +171 -0
- package/assets/templates/roadmap.md +24 -0
- package/assets/templates/spec.md +138 -0
- package/assets/templates/state.md +49 -0
- package/assets/templates/summary.md +82 -0
- package/dist/agents/canonical/index.d.ts +4 -0
- package/dist/agents/canonical/index.d.ts.map +1 -0
- package/dist/agents/canonical/index.js +2 -0
- package/dist/agents/canonical/parse.d.ts +4 -0
- package/dist/agents/canonical/parse.d.ts.map +1 -0
- package/dist/agents/canonical/parse.js +97 -0
- package/dist/agents/canonical/render.d.ts +3 -0
- package/dist/agents/canonical/render.d.ts.map +1 -0
- package/dist/agents/canonical/render.js +17 -0
- package/dist/agents/canonical/types.d.ts +22 -0
- package/dist/agents/canonical/types.d.ts.map +1 -0
- package/dist/agents/canonical/types.js +1 -0
- package/dist/app/command-context.d.ts +21 -0
- package/dist/app/command-context.d.ts.map +1 -0
- package/dist/app/command-context.js +18 -0
- package/dist/app/create-program.d.ts +3 -0
- package/dist/app/create-program.d.ts.map +1 -0
- package/dist/app/create-program.js +17 -0
- package/dist/commands/__tests__/helpers.d.ts +12 -0
- package/dist/commands/__tests__/helpers.d.ts.map +1 -0
- package/dist/commands/__tests__/helpers.js +36 -0
- package/dist/commands/backlog/index.d.ts +14 -0
- package/dist/commands/backlog/index.d.ts.map +1 -0
- package/dist/commands/backlog/index.js +80 -0
- package/dist/commands/backlog/init.d.ts +2 -0
- package/dist/commands/backlog/init.d.ts.map +1 -0
- package/dist/commands/backlog/init.js +66 -0
- package/dist/commands/backlog/regenerate-index.d.ts +2 -0
- package/dist/commands/backlog/regenerate-index.d.ts.map +1 -0
- package/dist/commands/backlog/regenerate-index.js +78 -0
- package/dist/commands/backlog/shared/generate-id.d.ts +4 -0
- package/dist/commands/backlog/shared/generate-id.d.ts.map +1 -0
- package/dist/commands/backlog/shared/generate-id.js +65 -0
- package/dist/commands/cleanup/artifacts/artifacts.d.ts +44 -0
- package/dist/commands/cleanup/artifacts/artifacts.d.ts.map +1 -0
- package/dist/commands/cleanup/artifacts/artifacts.js +381 -0
- package/dist/commands/cleanup/artifacts/artifacts.types.d.ts +13 -0
- package/dist/commands/cleanup/artifacts/artifacts.types.d.ts.map +1 -0
- package/dist/commands/cleanup/artifacts/artifacts.types.js +1 -0
- package/dist/commands/cleanup/artifacts/artifacts.utils.d.ts +14 -0
- package/dist/commands/cleanup/artifacts/artifacts.utils.d.ts.map +1 -0
- package/dist/commands/cleanup/artifacts/artifacts.utils.js +74 -0
- package/dist/commands/cleanup/cleanup.types.d.ts +26 -0
- package/dist/commands/cleanup/cleanup.types.d.ts.map +1 -0
- package/dist/commands/cleanup/cleanup.types.js +1 -0
- package/dist/commands/cleanup/cleanup.utils.d.ts +17 -0
- package/dist/commands/cleanup/cleanup.utils.d.ts.map +1 -0
- package/dist/commands/cleanup/cleanup.utils.js +44 -0
- package/dist/commands/cleanup/index.d.ts +3 -0
- package/dist/commands/cleanup/index.d.ts.map +1 -0
- package/dist/commands/cleanup/index.js +9 -0
- package/dist/commands/cleanup/project/project.d.ts +20 -0
- package/dist/commands/cleanup/project/project.d.ts.map +1 -0
- package/dist/commands/cleanup/project/project.js +263 -0
- package/dist/commands/cleanup/project/project.utils.d.ts +8 -0
- package/dist/commands/cleanup/project/project.utils.d.ts.map +1 -0
- package/dist/commands/cleanup/project/project.utils.js +48 -0
- package/dist/commands/config/index.d.ts +16 -0
- package/dist/commands/config/index.d.ts.map +1 -0
- package/dist/commands/config/index.js +700 -0
- package/dist/commands/docs/analyze.d.ts +8 -0
- package/dist/commands/docs/analyze.d.ts.map +1 -0
- package/dist/commands/docs/analyze.js +45 -0
- package/dist/commands/docs/apply.d.ts +8 -0
- package/dist/commands/docs/apply.d.ts.map +1 -0
- package/dist/commands/docs/apply.js +45 -0
- package/dist/commands/docs/index-generate/generator.d.ts +9 -0
- package/dist/commands/docs/index-generate/generator.d.ts.map +1 -0
- package/dist/commands/docs/index-generate/generator.js +114 -0
- package/dist/commands/docs/index-generate/index.d.ts +16 -0
- package/dist/commands/docs/index-generate/index.d.ts.map +1 -0
- package/dist/commands/docs/index-generate/index.js +72 -0
- package/dist/commands/docs/index.d.ts +3 -0
- package/dist/commands/docs/index.d.ts.map +1 -0
- package/dist/commands/docs/index.js +17 -0
- package/dist/commands/docs/init/index.d.ts +18 -0
- package/dist/commands/docs/init/index.d.ts.map +1 -0
- package/dist/commands/docs/init/index.js +129 -0
- package/dist/commands/docs/init/resolve-options.d.ts +41 -0
- package/dist/commands/docs/init/resolve-options.d.ts.map +1 -0
- package/dist/commands/docs/init/resolve-options.js +120 -0
- package/dist/commands/docs/init/scaffold.d.ts +18 -0
- package/dist/commands/docs/init/scaffold.d.ts.map +1 -0
- package/dist/commands/docs/init/scaffold.js +233 -0
- package/dist/commands/docs/migrate/codemod.d.ts +6 -0
- package/dist/commands/docs/migrate/codemod.d.ts.map +1 -0
- package/dist/commands/docs/migrate/codemod.js +62 -0
- package/dist/commands/docs/migrate/frontmatter.d.ts +12 -0
- package/dist/commands/docs/migrate/frontmatter.d.ts.map +1 -0
- package/dist/commands/docs/migrate/frontmatter.js +55 -0
- package/dist/commands/docs/migrate/index.d.ts +18 -0
- package/dist/commands/docs/migrate/index.d.ts.map +1 -0
- package/dist/commands/docs/migrate/index.js +138 -0
- package/dist/commands/docs/nav/contents.d.ts +14 -0
- package/dist/commands/docs/nav/contents.d.ts.map +1 -0
- package/dist/commands/docs/nav/contents.js +106 -0
- package/dist/commands/docs/nav/index.d.ts +3 -0
- package/dist/commands/docs/nav/index.d.ts.map +1 -0
- package/dist/commands/docs/nav/index.js +7 -0
- package/dist/commands/docs/nav/sync.d.ts +20 -0
- package/dist/commands/docs/nav/sync.d.ts.map +1 -0
- package/dist/commands/docs/nav/sync.js +92 -0
- package/dist/commands/doctor/index.d.ts +32 -0
- package/dist/commands/doctor/index.d.ts.map +1 -0
- package/dist/commands/doctor/index.js +373 -0
- package/dist/commands/index-cmd/index.d.ts +11 -0
- package/dist/commands/index-cmd/index.d.ts.map +1 -0
- package/dist/commands/index-cmd/index.js +62 -0
- package/dist/commands/index-cmd/thin-index.d.ts +19 -0
- package/dist/commands/index-cmd/thin-index.d.ts.map +1 -0
- package/dist/commands/index-cmd/thin-index.js +330 -0
- package/dist/commands/index.d.ts +3 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +38 -0
- package/dist/commands/init/detect-docs.d.ts +11 -0
- package/dist/commands/init/detect-docs.d.ts.map +1 -0
- package/dist/commands/init/detect-docs.js +51 -0
- package/dist/commands/init/gitignore.d.ts +6 -0
- package/dist/commands/init/gitignore.d.ts.map +1 -0
- package/dist/commands/init/gitignore.js +41 -0
- package/dist/commands/init/index.d.ts +70 -0
- package/dist/commands/init/index.d.ts.map +1 -0
- package/dist/commands/init/index.js +570 -0
- package/dist/commands/init/tools/core/index.d.ts +12 -0
- package/dist/commands/init/tools/core/index.d.ts.map +1 -0
- package/dist/commands/init/tools/core/index.js +67 -0
- package/dist/commands/init/tools/core/install-core.d.ts +30 -0
- package/dist/commands/init/tools/core/install-core.d.ts.map +1 -0
- package/dist/commands/init/tools/core/install-core.js +50 -0
- package/dist/commands/init/tools/docs/index.d.ts +17 -0
- package/dist/commands/init/tools/docs/index.d.ts.map +1 -0
- package/dist/commands/init/tools/docs/index.js +110 -0
- package/dist/commands/init/tools/docs/install-docs.d.ts +23 -0
- package/dist/commands/init/tools/docs/install-docs.d.ts.map +1 -0
- package/dist/commands/init/tools/docs/install-docs.js +58 -0
- package/dist/commands/init/tools/ideas/index.d.ts +16 -0
- package/dist/commands/init/tools/ideas/index.d.ts.map +1 -0
- package/dist/commands/init/tools/ideas/index.js +94 -0
- package/dist/commands/init/tools/ideas/install-ideas.d.ts +25 -0
- package/dist/commands/init/tools/ideas/install-ideas.d.ts.map +1 -0
- package/dist/commands/init/tools/ideas/install-ideas.js +78 -0
- package/dist/commands/init/tools/index.d.ts +51 -0
- package/dist/commands/init/tools/index.d.ts.map +1 -0
- package/dist/commands/init/tools/index.js +387 -0
- package/dist/commands/init/tools/project-management/index.d.ts +12 -0
- package/dist/commands/init/tools/project-management/index.d.ts.map +1 -0
- package/dist/commands/init/tools/project-management/index.js +61 -0
- package/dist/commands/init/tools/project-management/install-project-management.d.ts +22 -0
- package/dist/commands/init/tools/project-management/install-project-management.d.ts.map +1 -0
- package/dist/commands/init/tools/project-management/install-project-management.js +52 -0
- package/dist/commands/init/tools/research/index.d.ts +17 -0
- package/dist/commands/init/tools/research/index.d.ts.map +1 -0
- package/dist/commands/init/tools/research/index.js +110 -0
- package/dist/commands/init/tools/research/install-research.d.ts +23 -0
- package/dist/commands/init/tools/research/install-research.d.ts.map +1 -0
- package/dist/commands/init/tools/research/install-research.js +52 -0
- package/dist/commands/init/tools/shared/copy-helpers.d.ts +12 -0
- package/dist/commands/init/tools/shared/copy-helpers.d.ts.map +1 -0
- package/dist/commands/init/tools/shared/copy-helpers.js +52 -0
- package/dist/commands/init/tools/shared/skill-manifest.d.ts +22 -0
- package/dist/commands/init/tools/shared/skill-manifest.d.ts.map +1 -0
- package/dist/commands/init/tools/shared/skill-manifest.js +102 -0
- package/dist/commands/init/tools/shared/version.d.ts +3 -0
- package/dist/commands/init/tools/shared/version.d.ts.map +1 -0
- package/dist/commands/init/tools/shared/version.js +27 -0
- package/dist/commands/init/tools/utility/index.d.ts +17 -0
- package/dist/commands/init/tools/utility/index.d.ts.map +1 -0
- package/dist/commands/init/tools/utility/index.js +109 -0
- package/dist/commands/init/tools/utility/install-utility.d.ts +20 -0
- package/dist/commands/init/tools/utility/install-utility.d.ts.map +1 -0
- package/dist/commands/init/tools/utility/install-utility.js +35 -0
- package/dist/commands/init/tools/workflows/index.d.ts +14 -0
- package/dist/commands/init/tools/workflows/index.d.ts.map +1 -0
- package/dist/commands/init/tools/workflows/index.js +84 -0
- package/dist/commands/init/tools/workflows/install-workflows.d.ts +32 -0
- package/dist/commands/init/tools/workflows/install-workflows.d.ts.map +1 -0
- package/dist/commands/init/tools/workflows/install-workflows.js +135 -0
- package/dist/commands/instructions/index.d.ts +3 -0
- package/dist/commands/instructions/index.d.ts.map +1 -0
- package/dist/commands/instructions/index.js +9 -0
- package/dist/commands/instructions/instructions.types.d.ts +52 -0
- package/dist/commands/instructions/instructions.types.d.ts.map +1 -0
- package/dist/commands/instructions/instructions.types.js +1 -0
- package/dist/commands/instructions/instructions.utils.d.ts +13 -0
- package/dist/commands/instructions/instructions.utils.d.ts.map +1 -0
- package/dist/commands/instructions/instructions.utils.js +211 -0
- package/dist/commands/instructions/sync/sync.d.ts +4 -0
- package/dist/commands/instructions/sync/sync.d.ts.map +1 -0
- package/dist/commands/instructions/sync/sync.js +142 -0
- package/dist/commands/instructions/validate/validate.d.ts +4 -0
- package/dist/commands/instructions/validate/validate.d.ts.map +1 -0
- package/dist/commands/instructions/validate/validate.js +53 -0
- package/dist/commands/internal/index.d.ts +3 -0
- package/dist/commands/internal/index.d.ts.map +1 -0
- package/dist/commands/internal/index.js +7 -0
- package/dist/commands/internal/validate-oat-skills.d.ts +10 -0
- package/dist/commands/internal/validate-oat-skills.d.ts.map +1 -0
- package/dist/commands/internal/validate-oat-skills.js +66 -0
- package/dist/commands/local/apply.d.ts +6 -0
- package/dist/commands/local/apply.d.ts.map +1 -0
- package/dist/commands/local/apply.js +56 -0
- package/dist/commands/local/expand.d.ts +8 -0
- package/dist/commands/local/expand.d.ts.map +1 -0
- package/dist/commands/local/expand.js +83 -0
- package/dist/commands/local/index.d.ts +3 -0
- package/dist/commands/local/index.d.ts.map +1 -0
- package/dist/commands/local/index.js +248 -0
- package/dist/commands/local/manage.d.ts +18 -0
- package/dist/commands/local/manage.d.ts.map +1 -0
- package/dist/commands/local/manage.js +66 -0
- package/dist/commands/local/status.d.ts +7 -0
- package/dist/commands/local/status.d.ts.map +1 -0
- package/dist/commands/local/status.js +46 -0
- package/dist/commands/local/sync.d.ts +20 -0
- package/dist/commands/local/sync.d.ts.map +1 -0
- package/dist/commands/local/sync.js +40 -0
- package/dist/commands/project/archive/archive-utils.d.ts +70 -0
- package/dist/commands/project/archive/archive-utils.d.ts.map +1 -0
- package/dist/commands/project/archive/archive-utils.js +236 -0
- package/dist/commands/project/archive/index.d.ts +20 -0
- package/dist/commands/project/archive/index.d.ts.map +1 -0
- package/dist/commands/project/archive/index.js +217 -0
- package/dist/commands/project/index.d.ts +3 -0
- package/dist/commands/project/index.d.ts.map +1 -0
- package/dist/commands/project/index.js +15 -0
- package/dist/commands/project/new/index.d.ts +17 -0
- package/dist/commands/project/new/index.d.ts.map +1 -0
- package/dist/commands/project/new/index.js +76 -0
- package/dist/commands/project/new/scaffold.d.ts +24 -0
- package/dist/commands/project/new/scaffold.d.ts.map +1 -0
- package/dist/commands/project/new/scaffold.js +177 -0
- package/dist/commands/project/open/index.d.ts +26 -0
- package/dist/commands/project/open/index.d.ts.map +1 -0
- package/dist/commands/project/open/index.js +139 -0
- package/dist/commands/project/pause/index.d.ts +27 -0
- package/dist/commands/project/pause/index.d.ts.map +1 -0
- package/dist/commands/project/pause/index.js +120 -0
- package/dist/commands/project/set-mode/index.d.ts +14 -0
- package/dist/commands/project/set-mode/index.d.ts.map +1 -0
- package/dist/commands/project/set-mode/index.js +115 -0
- package/dist/commands/providers/index.d.ts +4 -0
- package/dist/commands/providers/index.d.ts.map +1 -0
- package/dist/commands/providers/index.js +11 -0
- package/dist/commands/providers/inspect/inspect.d.ts +4 -0
- package/dist/commands/providers/inspect/inspect.d.ts.map +1 -0
- package/dist/commands/providers/inspect/inspect.js +156 -0
- package/dist/commands/providers/list/list.d.ts +4 -0
- package/dist/commands/providers/list/list.d.ts.map +1 -0
- package/dist/commands/providers/list/list.js +163 -0
- package/dist/commands/providers/providers.types.d.ts +63 -0
- package/dist/commands/providers/providers.types.d.ts.map +1 -0
- package/dist/commands/providers/providers.types.js +1 -0
- package/dist/commands/providers/set/index.d.ts +4 -0
- package/dist/commands/providers/set/index.d.ts.map +1 -0
- package/dist/commands/providers/set/index.js +138 -0
- package/dist/commands/remove/index.d.ts +3 -0
- package/dist/commands/remove/index.d.ts.map +1 -0
- package/dist/commands/remove/index.js +9 -0
- package/dist/commands/remove/skill/index.d.ts +2 -0
- package/dist/commands/remove/skill/index.d.ts.map +1 -0
- package/dist/commands/remove/skill/index.js +1 -0
- package/dist/commands/remove/skill/remove-skill.d.ts +23 -0
- package/dist/commands/remove/skill/remove-skill.d.ts.map +1 -0
- package/dist/commands/remove/skill/remove-skill.js +231 -0
- package/dist/commands/remove/skills/index.d.ts +2 -0
- package/dist/commands/remove/skills/index.d.ts.map +1 -0
- package/dist/commands/remove/skills/index.js +1 -0
- package/dist/commands/remove/skills/remove-skills.d.ts +14 -0
- package/dist/commands/remove/skills/remove-skills.d.ts.map +1 -0
- package/dist/commands/remove/skills/remove-skills.js +98 -0
- package/dist/commands/repo/index.d.ts +3 -0
- package/dist/commands/repo/index.d.ts.map +1 -0
- package/dist/commands/repo/index.js +7 -0
- package/dist/commands/repo/pr-comments/collect/collect-comments.d.ts +9 -0
- package/dist/commands/repo/pr-comments/collect/collect-comments.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/collect/collect-comments.js +284 -0
- package/dist/commands/repo/pr-comments/collect/graphql-queries.d.ts +3 -0
- package/dist/commands/repo/pr-comments/collect/graphql-queries.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/collect/graphql-queries.js +56 -0
- package/dist/commands/repo/pr-comments/collect/index.d.ts +4 -0
- package/dist/commands/repo/pr-comments/collect/index.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/collect/index.js +25 -0
- package/dist/commands/repo/pr-comments/collect/pr-comments.types.d.ts +62 -0
- package/dist/commands/repo/pr-comments/collect/pr-comments.types.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/collect/pr-comments.types.js +1 -0
- package/dist/commands/repo/pr-comments/index.d.ts +3 -0
- package/dist/commands/repo/pr-comments/index.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/index.js +9 -0
- package/dist/commands/repo/pr-comments/triage-collection/index.d.ts +4 -0
- package/dist/commands/repo/pr-comments/triage-collection/index.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/triage-collection/index.js +21 -0
- package/dist/commands/repo/pr-comments/triage-collection/triage-comments.d.ts +13 -0
- package/dist/commands/repo/pr-comments/triage-collection/triage-comments.d.ts.map +1 -0
- package/dist/commands/repo/pr-comments/triage-collection/triage-comments.js +81 -0
- package/dist/commands/shared/adopt-stray.d.ts +22 -0
- package/dist/commands/shared/adopt-stray.d.ts.map +1 -0
- package/dist/commands/shared/adopt-stray.js +135 -0
- package/dist/commands/shared/agents-md.d.ts +18 -0
- package/dist/commands/shared/agents-md.d.ts.map +1 -0
- package/dist/commands/shared/agents-md.js +81 -0
- package/dist/commands/shared/codex-strays.d.ts +16 -0
- package/dist/commands/shared/codex-strays.d.ts.map +1 -0
- package/dist/commands/shared/codex-strays.js +116 -0
- package/dist/commands/shared/frontmatter-write.d.ts +8 -0
- package/dist/commands/shared/frontmatter-write.d.ts.map +1 -0
- package/dist/commands/shared/frontmatter-write.js +27 -0
- package/dist/commands/shared/frontmatter.d.ts +6 -0
- package/dist/commands/shared/frontmatter.d.ts.map +1 -0
- package/dist/commands/shared/frontmatter.js +35 -0
- package/dist/commands/shared/messages.d.ts +2 -0
- package/dist/commands/shared/messages.d.ts.map +1 -0
- package/dist/commands/shared/messages.js +1 -0
- package/dist/commands/shared/oat-paths.d.ts +2 -0
- package/dist/commands/shared/oat-paths.d.ts.map +1 -0
- package/dist/commands/shared/oat-paths.js +13 -0
- package/dist/commands/shared/shared.prompts.d.ts +21 -0
- package/dist/commands/shared/shared.prompts.d.ts.map +1 -0
- package/dist/commands/shared/shared.prompts.js +107 -0
- package/dist/commands/shared/shared.utils.d.ts +6 -0
- package/dist/commands/shared/shared.utils.d.ts.map +1 -0
- package/dist/commands/shared/shared.utils.js +9 -0
- package/dist/commands/state/generate.d.ts +21 -0
- package/dist/commands/state/generate.d.ts.map +1 -0
- package/dist/commands/state/generate.js +440 -0
- package/dist/commands/state/index.d.ts +11 -0
- package/dist/commands/state/index.d.ts.map +1 -0
- package/dist/commands/state/index.js +58 -0
- package/dist/commands/status/index.d.ts +44 -0
- package/dist/commands/status/index.d.ts.map +1 -0
- package/dist/commands/status/index.js +340 -0
- package/dist/commands/sync/apply.d.ts +4 -0
- package/dist/commands/sync/apply.d.ts.map +1 -0
- package/dist/commands/sync/apply.js +100 -0
- package/dist/commands/sync/dry-run.d.ts +4 -0
- package/dist/commands/sync/dry-run.d.ts.map +1 -0
- package/dist/commands/sync/dry-run.js +74 -0
- package/dist/commands/sync/index.d.ts +4 -0
- package/dist/commands/sync/index.d.ts.map +1 -0
- package/dist/commands/sync/index.js +225 -0
- package/dist/commands/sync/sync.types.d.ts +80 -0
- package/dist/commands/sync/sync.types.d.ts.map +1 -0
- package/dist/commands/sync/sync.types.js +1 -0
- package/dist/commands/sync/sync.utils.d.ts +3 -0
- package/dist/commands/sync/sync.utils.d.ts.map +1 -0
- package/dist/commands/sync/sync.utils.js +8 -0
- package/dist/commands/tools/index.d.ts +3 -0
- package/dist/commands/tools/index.d.ts.map +1 -0
- package/dist/commands/tools/index.js +17 -0
- package/dist/commands/tools/info/index.d.ts +4 -0
- package/dist/commands/tools/info/index.d.ts.map +1 -0
- package/dist/commands/tools/info/index.js +74 -0
- package/dist/commands/tools/info/info-tool.d.ts +21 -0
- package/dist/commands/tools/info/info-tool.d.ts.map +1 -0
- package/dist/commands/tools/info/info-tool.js +52 -0
- package/dist/commands/tools/install/index.d.ts +4 -0
- package/dist/commands/tools/install/index.d.ts.map +1 -0
- package/dist/commands/tools/install/index.js +34 -0
- package/dist/commands/tools/list/index.d.ts +4 -0
- package/dist/commands/tools/list/index.d.ts.map +1 -0
- package/dist/commands/tools/list/index.js +25 -0
- package/dist/commands/tools/list/list-tools.d.ts +13 -0
- package/dist/commands/tools/list/list-tools.d.ts.map +1 -0
- package/dist/commands/tools/list/list-tools.js +43 -0
- package/dist/commands/tools/outdated/index.d.ts +4 -0
- package/dist/commands/tools/outdated/index.d.ts.map +1 -0
- package/dist/commands/tools/outdated/index.js +25 -0
- package/dist/commands/tools/outdated/outdated-tools.d.ts +13 -0
- package/dist/commands/tools/outdated/outdated-tools.d.ts.map +1 -0
- package/dist/commands/tools/outdated/outdated-tools.js +43 -0
- package/dist/commands/tools/remove/index.d.ts +5 -0
- package/dist/commands/tools/remove/index.d.ts.map +1 -0
- package/dist/commands/tools/remove/index.js +122 -0
- package/dist/commands/tools/remove/remove-tools.d.ts +31 -0
- package/dist/commands/tools/remove/remove-tools.d.ts.map +1 -0
- package/dist/commands/tools/remove/remove-tools.js +41 -0
- package/dist/commands/tools/shared/auto-sync.d.ts +16 -0
- package/dist/commands/tools/shared/auto-sync.d.ts.map +1 -0
- package/dist/commands/tools/shared/auto-sync.js +17 -0
- package/dist/commands/tools/shared/scan-tools.d.ts +18 -0
- package/dist/commands/tools/shared/scan-tools.d.ts.map +1 -0
- package/dist/commands/tools/shared/scan-tools.js +128 -0
- package/dist/commands/tools/shared/types.d.ts +12 -0
- package/dist/commands/tools/shared/types.d.ts.map +1 -0
- package/dist/commands/tools/shared/types.js +1 -0
- package/dist/commands/tools/update/index.d.ts +8 -0
- package/dist/commands/tools/update/index.d.ts.map +1 -0
- package/dist/commands/tools/update/index.js +149 -0
- package/dist/commands/tools/update/update-tools.d.ts +29 -0
- package/dist/commands/tools/update/update-tools.d.ts.map +1 -0
- package/dist/commands/tools/update/update-tools.js +148 -0
- package/dist/config/index.d.ts +4 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +2 -0
- package/dist/config/oat-config.d.ts +61 -0
- package/dist/config/oat-config.d.ts.map +1 -0
- package/dist/config/oat-config.js +319 -0
- package/dist/config/runtime.d.ts +2 -0
- package/dist/config/runtime.d.ts.map +1 -0
- package/dist/config/runtime.js +3 -0
- package/dist/config/sync-config.d.ts +49 -0
- package/dist/config/sync-config.d.ts.map +1 -0
- package/dist/config/sync-config.js +94 -0
- package/dist/drift/detector.d.ts +4 -0
- package/dist/drift/detector.d.ts.map +1 -0
- package/dist/drift/detector.js +69 -0
- package/dist/drift/drift.types.d.ts +17 -0
- package/dist/drift/drift.types.d.ts.map +1 -0
- package/dist/drift/drift.types.js +1 -0
- package/dist/drift/index.d.ts +4 -0
- package/dist/drift/index.d.ts.map +1 -0
- package/dist/drift/index.js +2 -0
- package/dist/drift/strays.d.ts +7 -0
- package/dist/drift/strays.d.ts.map +1 -0
- package/dist/drift/strays.js +153 -0
- package/dist/engine/compute-plan.d.ts +16 -0
- package/dist/engine/compute-plan.d.ts.map +1 -0
- package/dist/engine/compute-plan.js +234 -0
- package/dist/engine/engine.types.d.ts +28 -0
- package/dist/engine/engine.types.d.ts.map +1 -0
- package/dist/engine/engine.types.js +8 -0
- package/dist/engine/execute-plan.d.ts +5 -0
- package/dist/engine/execute-plan.d.ts.map +1 -0
- package/dist/engine/execute-plan.js +141 -0
- package/dist/engine/hook.d.ts +23 -0
- package/dist/engine/hook.d.ts.map +1 -0
- package/dist/engine/hook.js +254 -0
- package/dist/engine/index.d.ts +9 -0
- package/dist/engine/index.d.ts.map +1 -0
- package/dist/engine/index.js +6 -0
- package/dist/engine/markers.d.ts +6 -0
- package/dist/engine/markers.d.ts.map +1 -0
- package/dist/engine/markers.js +24 -0
- package/dist/engine/scanner.d.ts +11 -0
- package/dist/engine/scanner.d.ts.map +1 -0
- package/dist/engine/scanner.js +65 -0
- package/dist/engine/test-helpers.d.ts +3 -0
- package/dist/engine/test-helpers.d.ts.map +1 -0
- package/dist/engine/test-helpers.js +31 -0
- package/dist/errors/cli-error.d.ts +5 -0
- package/dist/errors/cli-error.d.ts.map +1 -0
- package/dist/errors/cli-error.js +8 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +1 -0
- package/dist/fs/assets.d.ts +2 -0
- package/dist/fs/assets.d.ts.map +1 -0
- package/dist/fs/assets.js +22 -0
- package/dist/fs/index.d.ts +4 -0
- package/dist/fs/index.d.ts.map +1 -0
- package/dist/fs/index.js +3 -0
- package/dist/fs/io.d.ts +9 -0
- package/dist/fs/io.d.ts.map +1 -0
- package/dist/fs/io.js +74 -0
- package/dist/fs/paths.d.ts +9 -0
- package/dist/fs/paths.d.ts.map +1 -0
- package/dist/fs/paths.js +42 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +48 -0
- package/dist/manifest/hash.d.ts +5 -0
- package/dist/manifest/hash.d.ts.map +1 -0
- package/dist/manifest/hash.js +75 -0
- package/dist/manifest/index.d.ts +5 -0
- package/dist/manifest/index.d.ts.map +1 -0
- package/dist/manifest/index.js +3 -0
- package/dist/manifest/manager.d.ts +8 -0
- package/dist/manifest/manager.d.ts.map +1 -0
- package/dist/manifest/manager.js +86 -0
- package/dist/manifest/manifest.types.d.ts +157 -0
- package/dist/manifest/manifest.types.d.ts.map +1 -0
- package/dist/manifest/manifest.types.js +56 -0
- package/dist/providers/claude/adapter.d.ts +3 -0
- package/dist/providers/claude/adapter.d.ts.map +1 -0
- package/dist/providers/claude/adapter.js +20 -0
- package/dist/providers/claude/index.d.ts +3 -0
- package/dist/providers/claude/index.d.ts.map +1 -0
- package/dist/providers/claude/index.js +2 -0
- package/dist/providers/claude/paths.d.ts +4 -0
- package/dist/providers/claude/paths.d.ts.map +1 -0
- package/dist/providers/claude/paths.js +38 -0
- package/dist/providers/claude/rule-transform.d.ts +3 -0
- package/dist/providers/claude/rule-transform.d.ts.map +1 -0
- package/dist/providers/claude/rule-transform.js +22 -0
- package/dist/providers/codex/adapter.d.ts +3 -0
- package/dist/providers/codex/adapter.d.ts.map +1 -0
- package/dist/providers/codex/adapter.js +20 -0
- package/dist/providers/codex/codec/config-merge.d.ts +17 -0
- package/dist/providers/codex/codec/config-merge.d.ts.map +1 -0
- package/dist/providers/codex/codec/config-merge.js +61 -0
- package/dist/providers/codex/codec/export-to-codex.d.ts +9 -0
- package/dist/providers/codex/codec/export-to-codex.d.ts.map +1 -0
- package/dist/providers/codex/codec/export-to-codex.js +45 -0
- package/dist/providers/codex/codec/import-from-codex.d.ts +9 -0
- package/dist/providers/codex/codec/import-from-codex.d.ts.map +1 -0
- package/dist/providers/codex/codec/import-from-codex.js +52 -0
- package/dist/providers/codex/codec/shared.d.ts +7 -0
- package/dist/providers/codex/codec/shared.d.ts.map +1 -0
- package/dist/providers/codex/codec/shared.js +21 -0
- package/dist/providers/codex/codec/sync-extension.d.ts +32 -0
- package/dist/providers/codex/codec/sync-extension.d.ts.map +1 -0
- package/dist/providers/codex/codec/sync-extension.js +227 -0
- package/dist/providers/codex/index.d.ts +6 -0
- package/dist/providers/codex/index.d.ts.map +1 -0
- package/dist/providers/codex/index.js +5 -0
- package/dist/providers/codex/paths.d.ts +4 -0
- package/dist/providers/codex/paths.d.ts.map +1 -0
- package/dist/providers/codex/paths.js +28 -0
- package/dist/providers/copilot/adapter.d.ts +3 -0
- package/dist/providers/copilot/adapter.d.ts.map +1 -0
- package/dist/providers/copilot/adapter.js +30 -0
- package/dist/providers/copilot/index.d.ts +3 -0
- package/dist/providers/copilot/index.d.ts.map +1 -0
- package/dist/providers/copilot/index.js +2 -0
- package/dist/providers/copilot/paths.d.ts +4 -0
- package/dist/providers/copilot/paths.d.ts.map +1 -0
- package/dist/providers/copilot/paths.js +38 -0
- package/dist/providers/copilot/rule-transform.d.ts +3 -0
- package/dist/providers/copilot/rule-transform.d.ts.map +1 -0
- package/dist/providers/copilot/rule-transform.js +58 -0
- package/dist/providers/cursor/adapter.d.ts +3 -0
- package/dist/providers/cursor/adapter.d.ts.map +1 -0
- package/dist/providers/cursor/adapter.js +20 -0
- package/dist/providers/cursor/index.d.ts +3 -0
- package/dist/providers/cursor/index.d.ts.map +1 -0
- package/dist/providers/cursor/index.js +2 -0
- package/dist/providers/cursor/paths.d.ts +4 -0
- package/dist/providers/cursor/paths.d.ts.map +1 -0
- package/dist/providers/cursor/paths.js +38 -0
- package/dist/providers/cursor/rule-transform.d.ts +3 -0
- package/dist/providers/cursor/rule-transform.d.ts.map +1 -0
- package/dist/providers/cursor/rule-transform.js +48 -0
- package/dist/providers/gemini/adapter.d.ts +3 -0
- package/dist/providers/gemini/adapter.d.ts.map +1 -0
- package/dist/providers/gemini/adapter.js +20 -0
- package/dist/providers/gemini/index.d.ts +3 -0
- package/dist/providers/gemini/index.d.ts.map +1 -0
- package/dist/providers/gemini/index.js +2 -0
- package/dist/providers/gemini/paths.d.ts +4 -0
- package/dist/providers/gemini/paths.d.ts.map +1 -0
- package/dist/providers/gemini/paths.js +28 -0
- package/dist/providers/shared/adapter.types.d.ts +21 -0
- package/dist/providers/shared/adapter.types.d.ts.map +1 -0
- package/dist/providers/shared/adapter.types.js +1 -0
- package/dist/providers/shared/adapter.utils.d.ts +12 -0
- package/dist/providers/shared/adapter.utils.d.ts.map +1 -0
- package/dist/providers/shared/adapter.utils.js +57 -0
- package/dist/providers/shared/agent-codec.types.d.ts +13 -0
- package/dist/providers/shared/agent-codec.types.d.ts.map +1 -0
- package/dist/providers/shared/agent-codec.types.js +1 -0
- package/dist/providers/shared/index.d.ts +6 -0
- package/dist/providers/shared/index.d.ts.map +1 -0
- package/dist/providers/shared/index.js +2 -0
- package/dist/providers/shared/markdown-agent-codec.d.ts +5 -0
- package/dist/providers/shared/markdown-agent-codec.d.ts.map +1 -0
- package/dist/providers/shared/markdown-agent-codec.js +12 -0
- package/dist/release/public-package-contract.d.ts +14 -0
- package/dist/release/public-package-contract.d.ts.map +1 -0
- package/dist/release/public-package-contract.js +97 -0
- package/dist/rules/canonical/index.d.ts +6 -0
- package/dist/rules/canonical/index.d.ts.map +1 -0
- package/dist/rules/canonical/index.js +4 -0
- package/dist/rules/canonical/parse.d.ts +9 -0
- package/dist/rules/canonical/parse.d.ts.map +1 -0
- package/dist/rules/canonical/parse.js +103 -0
- package/dist/rules/canonical/provider-filenames.d.ts +3 -0
- package/dist/rules/canonical/provider-filenames.d.ts.map +1 -0
- package/dist/rules/canonical/provider-filenames.js +13 -0
- package/dist/rules/canonical/render.d.ts +5 -0
- package/dist/rules/canonical/render.d.ts.map +1 -0
- package/dist/rules/canonical/render.js +32 -0
- package/dist/rules/canonical/types.d.ts +16 -0
- package/dist/rules/canonical/types.d.ts.map +1 -0
- package/dist/rules/canonical/types.js +6 -0
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +1 -0
- package/dist/shared/types.d.ts +10 -0
- package/dist/shared/types.d.ts.map +1 -0
- package/dist/shared/types.js +14 -0
- package/dist/ui/ansi.d.ts +2 -0
- package/dist/ui/ansi.d.ts.map +1 -0
- package/dist/ui/ansi.js +19 -0
- package/dist/ui/index.d.ts +7 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +3 -0
- package/dist/ui/logger.d.ts +15 -0
- package/dist/ui/logger.d.ts.map +1 -0
- package/dist/ui/logger.js +52 -0
- package/dist/ui/output.d.ts +16 -0
- package/dist/ui/output.d.ts.map +1 -0
- package/dist/ui/output.js +135 -0
- package/dist/ui/spinner.d.ts +16 -0
- package/dist/ui/spinner.d.ts.map +1 -0
- package/dist/ui/spinner.js +46 -0
- package/dist/validation/index.d.ts +3 -0
- package/dist/validation/index.d.ts.map +1 -0
- package/dist/validation/index.js +1 -0
- package/dist/validation/skills.d.ts +10 -0
- package/dist/validation/skills.d.ts.map +1 -0
- package/dist/validation/skills.js +166 -0
- package/package.json +62 -0
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: compare
|
|
3
|
+
version: 0.1.0
|
|
4
|
+
description: Domain-aware comparative analysis with clear recommendations. Compares options across auto-detected or user-specified dimensions and produces a qualitative assessment with a clear winner.
|
|
5
|
+
argument-hint: 'item1 item2 [item3...] [--save] [--context path] [--dimensions "dim1, dim2, ..."]'
|
|
6
|
+
user-invocable: true
|
|
7
|
+
allowed-tools: Read, Glob, Grep, Bash, WebSearch, WebFetch, AskUserQuestion, Agent, mcp__*
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /compare
|
|
11
|
+
|
|
12
|
+
Domain-aware comparative analysis that evaluates two or more options across auto-detected or user-specified dimensions and produces a qualitative assessment with a clear winner.
|
|
13
|
+
|
|
14
|
+
## When to Use
|
|
15
|
+
|
|
16
|
+
Use when:
|
|
17
|
+
|
|
18
|
+
- Comparing npm packages, libraries, frameworks, or tools
|
|
19
|
+
- Evaluating architectural approaches or design patterns
|
|
20
|
+
- Comparing business strategies, vendors, or options
|
|
21
|
+
- Any side-by-side evaluation where a recommendation is needed
|
|
22
|
+
|
|
23
|
+
## When NOT to Use
|
|
24
|
+
|
|
25
|
+
Don't use when:
|
|
26
|
+
|
|
27
|
+
- Single-item analysis (use /analyze instead)
|
|
28
|
+
- Deep research on a single topic (use /deep-research instead)
|
|
29
|
+
- Adversarial claim verification (use /skeptic instead)
|
|
30
|
+
|
|
31
|
+
## Arguments
|
|
32
|
+
|
|
33
|
+
Parse from `$ARGUMENTS`:
|
|
34
|
+
|
|
35
|
+
- **items**: 2 or more items to compare (required)
|
|
36
|
+
- **--save**: Write artifact instead of inline output (optional)
|
|
37
|
+
- **--context path**: Path to file or directory of supplementary context (optional)
|
|
38
|
+
- **--dimensions "dim1, dim2, ..."**: User-specified evaluation dimensions (optional, overrides auto-detection)
|
|
39
|
+
|
|
40
|
+
## Progress Indicators (User-Facing)
|
|
41
|
+
|
|
42
|
+
Print this banner once at start:
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
46
|
+
/compare
|
|
47
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Then print step indicators before beginning work:
|
|
51
|
+
|
|
52
|
+
- `[1/5] Parsing arguments…`
|
|
53
|
+
- `[2/5] Classifying domain…`
|
|
54
|
+
- `[3/5] Researching options…`
|
|
55
|
+
- `[4/5] Scoring and ranking…`
|
|
56
|
+
- `[5/5] Producing output…`
|
|
57
|
+
|
|
58
|
+
For long-running operations (web fetches, registry lookups), print a start line and a completion line:
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
→ Researching {item}…
|
|
62
|
+
→ Complete.
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Keep it concise; don't print a line for every shell command.
|
|
66
|
+
|
|
67
|
+
## Workflow
|
|
68
|
+
|
|
69
|
+
### Step 1: Parse arguments
|
|
70
|
+
|
|
71
|
+
`[1/5] Parsing arguments…`
|
|
72
|
+
|
|
73
|
+
Parse from `$ARGUMENTS`:
|
|
74
|
+
|
|
75
|
+
- **items**: Extract 2 or more items to compare. Items may be bare words or quoted strings.
|
|
76
|
+
- **--save**: If present, output will be written as an artifact file.
|
|
77
|
+
- **--context path**: If present, read supplementary context from the specified path.
|
|
78
|
+
- **--dimensions "dim1, dim2, ..."**: If present, use these dimensions instead of auto-detecting.
|
|
79
|
+
|
|
80
|
+
If fewer than 2 items are provided, ask the user for clarification:
|
|
81
|
+
|
|
82
|
+
- **Claude Code**: use `AskUserQuestion`
|
|
83
|
+
- **Codex**: use structured user-input tooling when available
|
|
84
|
+
- **Fallback**: ask in plain text
|
|
85
|
+
|
|
86
|
+
The prompt should ask: _"Please provide at least 2 items to compare."_
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
### Step 2: Read context (if provided)
|
|
91
|
+
|
|
92
|
+
If `--context` is specified:
|
|
93
|
+
|
|
94
|
+
- If path is a **file**: read and incorporate as supplementary evaluation criteria
|
|
95
|
+
- If path is a **directory**: read all `.md` files and incorporate
|
|
96
|
+
- If path is **not found**: warn and proceed without context
|
|
97
|
+
|
|
98
|
+
Context shapes dimension selection and evaluation focus but does not replace the skill's methodology.
|
|
99
|
+
|
|
100
|
+
If `--context` is not specified, skip this step.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
### Step 3: Domain classification and dimension selection
|
|
105
|
+
|
|
106
|
+
`[2/5] Classifying domain…`
|
|
107
|
+
|
|
108
|
+
Classify the comparison domain based on the items provided to determine default evaluation dimensions:
|
|
109
|
+
|
|
110
|
+
| Domain | Default Dimensions |
|
|
111
|
+
| ------------------------ | -------------------------------------------------------------------------------- |
|
|
112
|
+
| npm packages | bundle size, API ergonomics, maintenance health, TypeScript support, performance |
|
|
113
|
+
| architectural approaches | tradeoffs, constraints, operational complexity, team fit |
|
|
114
|
+
| business strategies | cost, risk, reach, timing |
|
|
115
|
+
| tools/apps | feature set, pricing, integration ecosystem, UX |
|
|
116
|
+
| general | auto-detected from item characteristics |
|
|
117
|
+
|
|
118
|
+
Dimension override rules:
|
|
119
|
+
|
|
120
|
+
- If user provided `--dimensions`, use those instead of defaults.
|
|
121
|
+
- If `--context` was provided, let context criteria influence dimension selection (add or reweight dimensions as appropriate).
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
### Step 4: Research each option
|
|
126
|
+
|
|
127
|
+
`[3/5] Researching options…`
|
|
128
|
+
|
|
129
|
+
For each item, research against each dimension using available sources:
|
|
130
|
+
|
|
131
|
+
- **npm packages** → npm registry, package repos, bundlephobia, documentation
|
|
132
|
+
- **architectural** → web search, authoritative sources, prior art
|
|
133
|
+
- **tools/apps** → web search, official docs, community reviews
|
|
134
|
+
- **general** → web search, available documentation
|
|
135
|
+
|
|
136
|
+
Print progress for each item:
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
→ Researching {item}…
|
|
140
|
+
→ Complete.
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
### Step 5: Score and recommend
|
|
146
|
+
|
|
147
|
+
`[4/5] Scoring and ranking…`
|
|
148
|
+
|
|
149
|
+
- **Qualitative scoring by default** — assess each option per dimension using descriptive language (e.g., strong, adequate, weak).
|
|
150
|
+
- Produce a **clear winner declaration** with rationale. Avoid ties; if options are genuinely close, pick the one with the strongest overall fit and explain the close call.
|
|
151
|
+
- For **N-way comparisons** (3+ items), produce a ranked recommendation.
|
|
152
|
+
- Only use numeric scoring if the user explicitly requests a matrix.
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
### Step 6: Output
|
|
157
|
+
|
|
158
|
+
`[5/5] Producing output…`
|
|
159
|
+
|
|
160
|
+
**Inline output (default):**
|
|
161
|
+
|
|
162
|
+
Condensed comparison with:
|
|
163
|
+
|
|
164
|
+
- Brief dimension-by-dimension comparison
|
|
165
|
+
- Clear recommendation with rationale
|
|
166
|
+
- Key caveats
|
|
167
|
+
|
|
168
|
+
**Artifact output (`--save` flag):**
|
|
169
|
+
|
|
170
|
+
Write artifact using the `comparative` extended schema from `.agents/skills/deep-research/references/schema-comparative.md`:
|
|
171
|
+
|
|
172
|
+
- Include artifact frontmatter contract:
|
|
173
|
+
|
|
174
|
+
```yaml
|
|
175
|
+
---
|
|
176
|
+
skill: compare
|
|
177
|
+
schema: comparative
|
|
178
|
+
topic: '{item1} vs {item2} [vs ...]'
|
|
179
|
+
model: { self-detected model identifier }
|
|
180
|
+
generated_at: { today's date }
|
|
181
|
+
---
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
- Model-tagged filename: `{topic}-{model-id}.md` (e.g., `express-vs-koa-opus-4-6.md`)
|
|
185
|
+
|
|
186
|
+
**Output destination resolution** (only when `--save` is specified):
|
|
187
|
+
|
|
188
|
+
If an explicit output path was provided in `$ARGUMENTS`, use it directly — no prompt.
|
|
189
|
+
|
|
190
|
+
Otherwise, determine a default suggestion using OAT-aware detection:
|
|
191
|
+
|
|
192
|
+
1. Check for `.oat/` at repo root (project-level OAT) → suggest `.oat/repo/analysis/`
|
|
193
|
+
2. Check for `~/.oat/` (user-level OAT) → suggest `~/.oat/analysis/`
|
|
194
|
+
3. Fall back to current directory
|
|
195
|
+
|
|
196
|
+
Then ask the user via `AskUserQuestion` (Claude Code), structured user-input tooling (Codex), or equivalent:
|
|
197
|
+
|
|
198
|
+
> "Where would you like to write the comparison? (default: {suggested path})"
|
|
199
|
+
|
|
200
|
+
- If the user confirms (empty response or "yes"), use the suggested path.
|
|
201
|
+
- If the user provides a different path, use that instead.
|
|
202
|
+
- Create the target directory if it does not exist.
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
## Sub-Agent Invocation Contract
|
|
207
|
+
|
|
208
|
+
When `/compare` is dispatched as a sub-agent from `/deep-research` or `/analyze`:
|
|
209
|
+
|
|
210
|
+
- Uses the `comparative` schema FORMAT but returns output **INLINE** to the orchestrator (no file write, no model-tagged filename)
|
|
211
|
+
- The orchestrator embeds the comparison as a supplementary section within its own artifact
|
|
212
|
+
- Step logging adapts: lighter logging when running as sub-agent
|
|
213
|
+
- The `--save` flag is **NOT** used in sub-agent mode
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## Examples
|
|
218
|
+
|
|
219
|
+
### Basic two-way comparison
|
|
220
|
+
|
|
221
|
+
```
|
|
222
|
+
/compare react vue
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
### Three-way comparison with artifact output
|
|
226
|
+
|
|
227
|
+
```
|
|
228
|
+
/compare express koa fastify --save
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### Comparison with context
|
|
232
|
+
|
|
233
|
+
```
|
|
234
|
+
/compare "event sourcing" "CQRS" "traditional CRUD" --context requirements.md
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Custom dimensions
|
|
238
|
+
|
|
239
|
+
```
|
|
240
|
+
/compare zustand jotai valtio --dimensions "bundle size, learning curve, devtools"
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
## Troubleshooting
|
|
244
|
+
|
|
245
|
+
**Only one item provided:**
|
|
246
|
+
|
|
247
|
+
- Ask user for at least one more item to compare using `AskUserQuestion` (Claude Code), structured user-input tooling (Codex), or plain text (fallback)
|
|
248
|
+
- Do not proceed until at least 2 items are provided
|
|
249
|
+
|
|
250
|
+
**Domain unclear:**
|
|
251
|
+
|
|
252
|
+
- Default to "general" and auto-detect dimensions from item characteristics
|
|
253
|
+
- Note the classification in output so the user can correct if needed
|
|
254
|
+
|
|
255
|
+
**`--context` file not found:**
|
|
256
|
+
|
|
257
|
+
- Warn and proceed without context
|
|
258
|
+
- Note in output that context was requested but not found
|
|
259
|
+
|
|
260
|
+
**Web search unavailable:**
|
|
261
|
+
|
|
262
|
+
- Use only locally available sources (filesystem, codebase, conversation context)
|
|
263
|
+
- Note limitations in output so the user knows the comparison may be incomplete
|
|
264
|
+
|
|
265
|
+
## Success Criteria
|
|
266
|
+
|
|
267
|
+
- Banner printed at start
|
|
268
|
+
- At least 2 items parsed from arguments
|
|
269
|
+
- Domain correctly classified
|
|
270
|
+
- Dimensions appropriate for domain (or user-specified)
|
|
271
|
+
- Each option researched against each dimension
|
|
272
|
+
- Clear qualitative recommendation produced (not just a tie)
|
|
273
|
+
- Inline output is concise; artifact output uses comparative schema
|
|
274
|
+
- `--save` produces model-tagged filename with artifact frontmatter
|
|
275
|
+
- `--context` correctly incorporated when provided
|
|
276
|
+
- Sub-agent invocation contract respected when dispatched from orchestrators
|
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-agnostic-skill
|
|
3
|
+
version: 1.2.1
|
|
4
|
+
description: Use when adding a reusable workflow skill for AI coding agents. Scaffolds a new .agents/skills skill using the Agent Skills open standard.
|
|
5
|
+
argument-hint: '[skill-name]'
|
|
6
|
+
disable-model-invocation: true
|
|
7
|
+
allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
|
|
8
|
+
user-invocable: true
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Create Skill
|
|
12
|
+
|
|
13
|
+
Create a new skill for AI coding agents using the [Agent Skills open standard](https://agentskills.io). Skills live in `.agents/skills/` (canonical source) and work across Claude Code, Cursor, Codex CLI, Gemini CLI, GitHub Copilot, and 20+ other compatible agents.
|
|
14
|
+
|
|
15
|
+
For deep-dive research on cross-provider compatibility, frontmatter behavior, and distribution patterns, see `.agents/docs/skills-guide.md`.
|
|
16
|
+
|
|
17
|
+
## When to Use
|
|
18
|
+
|
|
19
|
+
Use when:
|
|
20
|
+
|
|
21
|
+
- Creating a new reusable workflow or capability
|
|
22
|
+
- Automating a repeated task that would benefit from structured instructions
|
|
23
|
+
- Adding a new command that should work across Claude Code, Cursor, Codex, and other agents
|
|
24
|
+
- Extending AI assistant capabilities for the repository
|
|
25
|
+
|
|
26
|
+
**If you are creating a new `oat-*` skill:**
|
|
27
|
+
|
|
28
|
+
- Prefer `/create-oat-skill` (it references this baseline guidance and adds OAT-specific conventions like `{PROJECTS_ROOT}` resolution and separator progress banners).
|
|
29
|
+
|
|
30
|
+
## When NOT to Use
|
|
31
|
+
|
|
32
|
+
Don't create a skill when:
|
|
33
|
+
|
|
34
|
+
- The task is a one-time operation
|
|
35
|
+
- The workflow is still evolving rapidly
|
|
36
|
+
- The task is too simple to benefit from structured instructions
|
|
37
|
+
- Existing skills can be composed to achieve the goal
|
|
38
|
+
|
|
39
|
+
## Arguments
|
|
40
|
+
|
|
41
|
+
Parse the following from `$ARGUMENTS`:
|
|
42
|
+
|
|
43
|
+
- **skill-name**: (required) Name for the skill in kebab-case (e.g., `my-new-skill`)
|
|
44
|
+
|
|
45
|
+
## Workflow
|
|
46
|
+
|
|
47
|
+
### Step 1: Gather Skill Information
|
|
48
|
+
|
|
49
|
+
If not provided in arguments, ask for:
|
|
50
|
+
|
|
51
|
+
**Required:**
|
|
52
|
+
|
|
53
|
+
- **Skill name**: kebab-case identifier (e.g., `create-ticket`, `docs-review`)
|
|
54
|
+
- **Description**: Prefer the formula `Use when [trigger condition]. [What it does for disambiguation].` Allowed trigger stems: `Use when`, `Run when`, or `Trigger when`.
|
|
55
|
+
- **Purpose**: What problem does this skill solve?
|
|
56
|
+
|
|
57
|
+
**Optional:**
|
|
58
|
+
|
|
59
|
+
- **Arguments**: What parameters should the skill accept?
|
|
60
|
+
- **Model invocation**: Should the agent be able to invoke this automatically? (default: no)
|
|
61
|
+
- **User invocable**: (Claude Code only) Should this appear in the `/` menu? (default: yes)
|
|
62
|
+
- **Tool restrictions**: (Claude Code only) Which tools should the skill be allowed to use?
|
|
63
|
+
- **Supporting files**: Does the skill need templates, scripts, or reference files?
|
|
64
|
+
|
|
65
|
+
### Step 2: Apply Progressive Disclosure
|
|
66
|
+
|
|
67
|
+
**The context window is a shared resource.** Skills share context with everything else the agent needs. Structure information in three levels:
|
|
68
|
+
|
|
69
|
+
1. **Metadata** (~100 words): Name + description in frontmatter, always loaded
|
|
70
|
+
2. **SKILL.md body** (<5k words): Loads when skill triggers
|
|
71
|
+
3. **Bundled resources**: Files in `references/`, `scripts/`, `assets/` loaded as-needed
|
|
72
|
+
|
|
73
|
+
**Writing principles:**
|
|
74
|
+
|
|
75
|
+
- Challenge each piece of information—does the agent truly need this? Does this paragraph justify its token cost?
|
|
76
|
+
- Description is the primary trigger mechanism—include "when to use" there, not just in the body
|
|
77
|
+
- Prefer concise examples over verbose explanations
|
|
78
|
+
- Use imperative form (direct commands)
|
|
79
|
+
- Avoid duplication between SKILL.md and reference files
|
|
80
|
+
|
|
81
|
+
### Step 3: Plan Skill Structure
|
|
82
|
+
|
|
83
|
+
**Section structure** (adjust based on complexity):
|
|
84
|
+
|
|
85
|
+
1. Title (H1) + brief description
|
|
86
|
+
2. When to Use / When NOT to Use (if applicable)
|
|
87
|
+
3. Arguments (if skill accepts arguments)
|
|
88
|
+
4. Workflow/Steps (use "Step 1, 2, 3..." naming)
|
|
89
|
+
5. Examples (both Basic Usage and Conversational)
|
|
90
|
+
6. Troubleshooting (if applicable)
|
|
91
|
+
7. Success Criteria
|
|
92
|
+
|
|
93
|
+
For detailed guidance, see `references/skill-template.md`.
|
|
94
|
+
|
|
95
|
+
**Template:**
|
|
96
|
+
|
|
97
|
+
```markdown
|
|
98
|
+
---
|
|
99
|
+
name: skill-name
|
|
100
|
+
version: 1.0.0
|
|
101
|
+
description: Use when [trigger condition]. [What it does for disambiguation].
|
|
102
|
+
argument-hint: '[arg1] [--flag]'
|
|
103
|
+
disable-model-invocation: true
|
|
104
|
+
allowed-tools: Read, Write, Glob, Grep
|
|
105
|
+
user-invocable: true
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
# Skill Title
|
|
109
|
+
|
|
110
|
+
Brief description of what this skill does.
|
|
111
|
+
|
|
112
|
+
## When to Use
|
|
113
|
+
|
|
114
|
+
Use when:
|
|
115
|
+
|
|
116
|
+
- Condition 1
|
|
117
|
+
- Condition 2
|
|
118
|
+
|
|
119
|
+
## When NOT to Use
|
|
120
|
+
|
|
121
|
+
Don't use when:
|
|
122
|
+
|
|
123
|
+
- Condition 1
|
|
124
|
+
- Condition 2
|
|
125
|
+
|
|
126
|
+
## Arguments
|
|
127
|
+
|
|
128
|
+
Parse from `$ARGUMENTS`:
|
|
129
|
+
|
|
130
|
+
- **required-arg**: (required) Description
|
|
131
|
+
- **--optional-flag**: (optional) Description with default
|
|
132
|
+
|
|
133
|
+
## Workflow
|
|
134
|
+
|
|
135
|
+
### Step 1: First Step
|
|
136
|
+
|
|
137
|
+
Instructions...
|
|
138
|
+
|
|
139
|
+
### Step 2: Second Step
|
|
140
|
+
|
|
141
|
+
Instructions...
|
|
142
|
+
|
|
143
|
+
## Examples
|
|
144
|
+
|
|
145
|
+
### Basic Usage
|
|
146
|
+
|
|
147
|
+
\`\`\`
|
|
148
|
+
/skill-name arg1 --flag
|
|
149
|
+
\`\`\`
|
|
150
|
+
|
|
151
|
+
### Conversational
|
|
152
|
+
|
|
153
|
+
\`\`\`
|
|
154
|
+
Natural language request that triggers this skill
|
|
155
|
+
\`\`\`
|
|
156
|
+
|
|
157
|
+
## Troubleshooting
|
|
158
|
+
|
|
159
|
+
**Common issue:**
|
|
160
|
+
|
|
161
|
+
- Solution
|
|
162
|
+
|
|
163
|
+
## Success Criteria
|
|
164
|
+
|
|
165
|
+
- ✅ Criterion 1
|
|
166
|
+
- ✅ Criterion 2
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
**Frontmatter notes:**
|
|
170
|
+
|
|
171
|
+
- `argument-hint`, `allowed-tools`, `user-invocable`, `context`, `hooks` are Claude Code specific
|
|
172
|
+
- Other agents ignore unknown frontmatter fields, so it's safe to include Claude-specific fields everywhere
|
|
173
|
+
- `name`: max 64 chars for cross-provider portability (Codex allows 100, but 64 is the spec limit)
|
|
174
|
+
- `version`: include valid semver and start new skills at `1.0.0`
|
|
175
|
+
- `description`: **single line, ≤ 500 chars** (Codex enforces single-line ≤ 500 chars; spec allows 1024)
|
|
176
|
+
- Bump `version` on future edits: patch for fixes/clarifications, minor for backward-compatible behavior additions, major for breaking workflow/interface changes
|
|
177
|
+
|
|
178
|
+
**Writing the `description` field:**
|
|
179
|
+
|
|
180
|
+
The description is your **primary routing mechanism** — agents load only `name` + `description` at startup across all installed skills, then semantic-match against the user's prompt. The SKILL.md body handles "what it does" once loaded. The description's job is to win the routing decision.
|
|
181
|
+
|
|
182
|
+
1. **Lead with triggering conditions**: "Use when…" / "Run this when…"
|
|
183
|
+
2. **Include keywords for disambiguation**: nouns + verbs that differentiate from similar skills
|
|
184
|
+
3. **Don't summarize the workflow**: providers route on description without reading the body
|
|
185
|
+
4. **Front-load trigger keywords in the first 50 characters** (truncation may occur at scale)
|
|
186
|
+
5. **Use this default pattern**: `Use when [trigger condition]. [What it does for disambiguation].` `Run when` and `Trigger when` are also valid trigger stems when wording is clearer.
|
|
187
|
+
|
|
188
|
+
Examples:
|
|
189
|
+
|
|
190
|
+
- Bad: "Reviews code by checking spec compliance, then code quality, then creates PR"
|
|
191
|
+
- Good: "Use when reviewing code or checking PRs. Systematic quality and security analysis."
|
|
192
|
+
|
|
193
|
+
Present the plan and wait for user approval before creating files.
|
|
194
|
+
|
|
195
|
+
### Step 4: Create Skill File
|
|
196
|
+
|
|
197
|
+
Create the skill at `.agents/skills/{skill-name}/SKILL.md`
|
|
198
|
+
|
|
199
|
+
**Key requirements:**
|
|
200
|
+
|
|
201
|
+
- Skill name matches directory name
|
|
202
|
+
- New skills include `version: 1.0.0` in frontmatter
|
|
203
|
+
- Workflow steps use "Step 1, 2, 3..." naming
|
|
204
|
+
- Include both "Basic Usage" and "Conversational" example styles
|
|
205
|
+
- Use imperative form for instructions
|
|
206
|
+
|
|
207
|
+
**Supporting files** (create if needed):
|
|
208
|
+
|
|
209
|
+
Skills can include supporting files in subdirectories:
|
|
210
|
+
|
|
211
|
+
```
|
|
212
|
+
.agents/skills/{skill-name}/
|
|
213
|
+
├── SKILL.md # Main instructions (required)
|
|
214
|
+
├── scripts/ # Executable code agents can run
|
|
215
|
+
│ └── setup.sh
|
|
216
|
+
├── references/ # Additional docs loaded on demand
|
|
217
|
+
│ └── api-spec.md
|
|
218
|
+
└── assets/ # Templates, images, data files
|
|
219
|
+
└── template.md
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
| Directory | Purpose |
|
|
223
|
+
| ------------- | --------------------------------------------- |
|
|
224
|
+
| `scripts/` | Executable code that agents can run |
|
|
225
|
+
| `references/` | Additional documentation loaded on demand |
|
|
226
|
+
| `assets/` | Static resources like templates or data files |
|
|
227
|
+
|
|
228
|
+
### Step 5: Sync and Verify
|
|
229
|
+
|
|
230
|
+
After creating the skill, run OAT sync to update provider views:
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
oat sync
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Verify:
|
|
237
|
+
|
|
238
|
+
- File created at `.agents/skills/{skill-name}/SKILL.md`
|
|
239
|
+
- Frontmatter syntax is valid
|
|
240
|
+
- Frontmatter includes valid semver `version:` (new skills start at `1.0.0`)
|
|
241
|
+
- Skill appears in `AGENTS.md`
|
|
242
|
+
- Examples include both invocation styles
|
|
243
|
+
- If the skill name starts with `oat-`, run `pnpm oat:validate-skills` and fix any findings
|
|
244
|
+
|
|
245
|
+
Provide:
|
|
246
|
+
|
|
247
|
+
- Path to created file
|
|
248
|
+
- Summary of skill capabilities
|
|
249
|
+
- How to invoke: `/skill-name`
|
|
250
|
+
- Next steps (test the skill)
|
|
251
|
+
|
|
252
|
+
## Best Practices
|
|
253
|
+
|
|
254
|
+
### Naming
|
|
255
|
+
|
|
256
|
+
- Use kebab-case for skill names (e.g., `create-pr-description`, `docs-new`)
|
|
257
|
+
- Max 64 chars for cross-provider portability (lowercase letters, numbers, hyphens; no leading/trailing hyphen)
|
|
258
|
+
- Keep names short but descriptive
|
|
259
|
+
- Prefix related skills (e.g., `docs-new`, `docs-update`, `docs-review`)
|
|
260
|
+
- Skill directory name must match the `name` field in frontmatter
|
|
261
|
+
|
|
262
|
+
### Content
|
|
263
|
+
|
|
264
|
+
- **Context window is a public good**—keep skills lean, challenge every paragraph
|
|
265
|
+
- Description is the trigger—include "when to use" in frontmatter, not just body
|
|
266
|
+
- Bump `version` for edits: patch = fixes/clarifications, minor = backward-compatible additions, major = breaking changes
|
|
267
|
+
- Keep SKILL.md **under 500 lines / ~5,000 tokens** (spec constraint)
|
|
268
|
+
- Use clear, task-based headings
|
|
269
|
+
- Include working examples for both invocation styles
|
|
270
|
+
- Document all arguments with defaults
|
|
271
|
+
- Keep command-like skills concise; complex workflows can be detailed
|
|
272
|
+
- Avoid duplication—info lives in SKILL.md or references, not both
|
|
273
|
+
|
|
274
|
+
### Interactive Input
|
|
275
|
+
|
|
276
|
+
Skills that need user decisions (parameter choices, confirmations, disambiguation) should include interactive prompts in their workflow steps.
|
|
277
|
+
|
|
278
|
+
**Write instructions portably:** Use natural language like "Ask the user which approach they prefer" in workflow prose. All providers can handle this conversationally.
|
|
279
|
+
|
|
280
|
+
**Host-specific structured input guidance:** If the skill benefits from structured prompts, document the host split explicitly in the workflow:
|
|
281
|
+
|
|
282
|
+
- Claude Code: use `AskUserQuestion` when available
|
|
283
|
+
- Codex: use structured user-input tooling when available in the current Codex host/runtime
|
|
284
|
+
- Fallback: ask the same question in plain conversational text
|
|
285
|
+
|
|
286
|
+
Do **not** hard-code a specific Codex question tool name in skill prose unless the runtime contract is guaranteed. Prefer capability-based wording ("structured user-input tooling when available") so the skill remains portable across Codex hosts.
|
|
287
|
+
|
|
288
|
+
**Claude Code enhancement:** Add `AskUserQuestion` to `allowed-tools` in frontmatter. Claude Code renders these as structured UI prompts with selectable options, headers, and multi-select support. Other providers ignore the field and handle the same instructions as conversational questions.
|
|
289
|
+
|
|
290
|
+
**When to include interactive input:**
|
|
291
|
+
|
|
292
|
+
- Decisions with 2–4 discrete options (approach, config, scope)
|
|
293
|
+
- Confirmation gates before destructive or high-impact actions
|
|
294
|
+
- Collecting required parameters not provided in arguments
|
|
295
|
+
|
|
296
|
+
**When NOT to:**
|
|
297
|
+
|
|
298
|
+
- Autonomous/subagent skills — use argument defaults or flags to drive decisions instead of prompting mid-execution
|
|
299
|
+
- Questions with open-ended answers — just ask conversationally in the skill prose
|
|
300
|
+
|
|
301
|
+
### Progress Feedback
|
|
302
|
+
|
|
303
|
+
For multi-step skills, print brief progress updates so the user knows what's happening:
|
|
304
|
+
|
|
305
|
+
- Use `[N/N]` step indicators for sequential work (e.g., `[1/3] Resolving dependencies…`)
|
|
306
|
+
- For long-running operations (tests, builds, large diffs), print a start line and a completion line
|
|
307
|
+
- Keep it concise — don't print a line for every shell command
|
|
308
|
+
|
|
309
|
+
### Shared References
|
|
310
|
+
|
|
311
|
+
- If multiple skills need the same reference document, place it in `.agents/docs/` (not duplicated per skill)
|
|
312
|
+
- Skill-specific references go in the skill's own `references/` directory
|
|
313
|
+
- Reference from SKILL.md via relative path: `[guide](../../docs/my-guide.md)`
|
|
314
|
+
|
|
315
|
+
### Frontmatter Reference
|
|
316
|
+
|
|
317
|
+
Legend: ✅ supported | ⚠️ provider-specific | 💤 ignored | ❓ unknown
|
|
318
|
+
|
|
319
|
+
| Field | Spec | Claude Code | Cursor | Codex CLI | Gemini CLI |
|
|
320
|
+
| -------------------------- | --------------- | ----------- | ------ | ----------- | ---------- |
|
|
321
|
+
| `name` | ✅ required | ✅ | ✅ | ✅ required | ✅ |
|
|
322
|
+
| `description` | ✅ required | ✅ | ✅ | ✅ required | ✅ |
|
|
323
|
+
| `license` | ✅ optional | ❓ | ✅ | 💤 | ❓ |
|
|
324
|
+
| `compatibility` | ✅ optional | ❓ | ✅ | 💤 | ❓ |
|
|
325
|
+
| `metadata` | ✅ optional | ❓ | ✅ | 💤 | ❓ |
|
|
326
|
+
| `allowed-tools` | ⚠️ experimental | ✅ | ❓ | 💤 | ❓ |
|
|
327
|
+
| `disable-model-invocation` | ❌ | ✅ | ✅ | 💤 | ❓ |
|
|
328
|
+
| `user-invocable` | ❌ | ✅ | ❓ | 💤 | ❓ |
|
|
329
|
+
| `argument-hint` | ❌ | ✅ | ❓ | 💤 | ❓ |
|
|
330
|
+
| `context` / `agent` | ❌ | ✅ | ❌ | 💤 | ❓ |
|
|
331
|
+
| `hooks` | ❌ | ✅ | ❌ | 💤 | ❓ |
|
|
332
|
+
|
|
333
|
+
**Key takeaway:** `name` + `description` are the only truly portable interface. Codex ignores unknown keys (safe to include Claude fields), so layer tool-specific fields on top of a portable baseline. For the full matrix, see `.agents/docs/skills-guide.md`.
|
|
334
|
+
|
|
335
|
+
### Detail Level
|
|
336
|
+
|
|
337
|
+
| Skill Type | Detail Level | Examples |
|
|
338
|
+
| --------------------- | ------------ | ------------------------------ |
|
|
339
|
+
| Complex workflows | Detailed | docs-new, docs-review |
|
|
340
|
+
| Simple command-like | Concise | update-doc-refs, create-ticket |
|
|
341
|
+
| Reference/standards | Detailed | repo-documentation |
|
|
342
|
+
| Helper (auto-invoked) | Moderate | read-relevant-docs |
|
|
343
|
+
|
|
344
|
+
## Examples
|
|
345
|
+
|
|
346
|
+
### Basic Usage
|
|
347
|
+
|
|
348
|
+
```
|
|
349
|
+
/create-agnostic-skill my-new-skill
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
```
|
|
353
|
+
/create-agnostic-skill deploy-preview
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
### Conversational
|
|
357
|
+
|
|
358
|
+
```
|
|
359
|
+
Create a new skill called code-review that helps review pull requests
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
```
|
|
363
|
+
I need a skill for running database migrations
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
## Reference
|
|
367
|
+
|
|
368
|
+
- [Agent Skills Open Standard](https://agentskills.io) — the spec
|
|
369
|
+
- [Claude Code Skills](https://code.claude.com/docs/en/skills) — Claude-specific features
|
|
370
|
+
- [Cursor Skills](https://cursor.com/docs/context/skills) — Cursor-specific features
|
|
371
|
+
- [Codex CLI Skills](https://developers.openai.com/codex/skills) — Codex-specific features
|
|
372
|
+
- [Gemini CLI Skills](https://geminicli.com/docs/cli/skills/) — Gemini-specific features
|
|
373
|
+
- [npx skills CLI](https://github.com/vercel-labs/skills) — installing remote/community skills
|
|
374
|
+
- [Skills best practices](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices) — authoring guidance
|
|
375
|
+
- `.agents/docs/skills-guide.md` — local deep-dive: compatibility matrix, resolved questions, patterns
|
|
376
|
+
- `.agents/docs/reference-architecture.md` — local: where skills/agents/docs live and why
|
|
377
|
+
|
|
378
|
+
## Troubleshooting
|
|
379
|
+
|
|
380
|
+
**Skill not appearing in menu:**
|
|
381
|
+
|
|
382
|
+
- Run `oat sync` to regenerate provider views
|
|
383
|
+
- Verify YAML frontmatter syntax is valid
|
|
384
|
+
- Check that skill name matches directory name
|
|
385
|
+
- Ensure `user-invocable` is not set to `false` (Claude Code)
|
|
386
|
+
- Restart the AI assistant
|
|
387
|
+
|
|
388
|
+
**Skill invocation fails:**
|
|
389
|
+
|
|
390
|
+
- Verify file created at `.agents/skills/{name}/SKILL.md`
|
|
391
|
+
- Check file path is correct
|
|
392
|
+
- Ensure no syntax errors in SKILL.md
|
|
393
|
+
|
|
394
|
+
**Supporting files not loading:**
|
|
395
|
+
|
|
396
|
+
- Verify files are in the correct subdirectory
|
|
397
|
+
- Check file paths in SKILL.md instructions
|
|
398
|
+
|
|
399
|
+
## Success Criteria
|
|
400
|
+
|
|
401
|
+
Successful skill creation:
|
|
402
|
+
|
|
403
|
+
- ✅ Skill created at `.agents/skills/{name}/SKILL.md`
|
|
404
|
+
- ✅ `oat sync` run successfully
|
|
405
|
+
- ✅ For `oat-*` skills, `pnpm oat:validate-skills` passes
|
|
406
|
+
- ✅ Frontmatter valid
|
|
407
|
+
- ✅ Workflow uses "Step" naming
|
|
408
|
+
- ✅ Both example styles included
|
|
409
|
+
- ✅ Supporting files in skill directory (if applicable)
|
|
410
|
+
- ✅ Skill can be invoked with `/skill-name`
|