goatchain-cli-darwin-x64 0.0.73-beta.9 → 0.1.1
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/bin/goatchain +0 -0
- package/bin/node_modules/skills/bin/cli.mjs +14 -0
- package/bin/node_modules/skills/dist/_chunks/libs/@clack/core.mjs +767 -0
- package/bin/node_modules/skills/dist/_chunks/libs/@clack/prompts.mjs +334 -0
- package/bin/node_modules/skills/dist/_chunks/libs/@kwsites/file-exists.mjs +562 -0
- package/bin/node_modules/skills/dist/_chunks/libs/@kwsites/promise-deferred.mjs +37 -0
- package/bin/node_modules/skills/dist/_chunks/libs/@vercel/detect-agent.mjs +138 -0
- package/bin/node_modules/skills/dist/_chunks/libs/simple-git.mjs +3584 -0
- package/bin/node_modules/skills/dist/_chunks/libs/xdg-basedir.mjs +14 -0
- package/bin/node_modules/skills/dist/_chunks/rolldown-runtime.mjs +24 -0
- package/bin/node_modules/skills/dist/cli.d.mts +1 -0
- package/bin/node_modules/skills/dist/cli.mjs +6199 -0
- package/bin/node_modules/skills/package.json +143 -0
- package/bin/node_modules/yaml/LICENSE +13 -0
- package/bin/node_modules/yaml/README.md +172 -0
- package/bin/node_modules/yaml/bin.mjs +11 -0
- package/bin/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/bin/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/bin/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/bin/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/bin/node_modules/yaml/browser/dist/compose/composer.js +219 -0
- package/bin/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/bin/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/bin/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/bin/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/bin/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/bin/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +225 -0
- package/bin/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/bin/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/bin/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/bin/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/bin/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/bin/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/bin/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/bin/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/bin/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/bin/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/bin/node_modules/yaml/browser/dist/errors.js +57 -0
- package/bin/node_modules/yaml/browser/dist/index.js +17 -0
- package/bin/node_modules/yaml/browser/dist/log.js +11 -0
- package/bin/node_modules/yaml/browser/dist/nodes/Alias.js +116 -0
- package/bin/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/bin/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/bin/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/bin/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/bin/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/bin/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/bin/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/bin/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/bin/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/bin/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/bin/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/bin/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/bin/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/bin/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
- package/bin/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/bin/node_modules/yaml/browser/dist/parse/parser.js +975 -0
- package/bin/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/bin/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/bin/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/bin/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/bin/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/bin/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/bin/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/bin/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/bin/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/bin/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/bin/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/bin/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
- package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/bin/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/bin/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/bin/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/bin/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/bin/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/bin/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
- package/bin/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/bin/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/bin/node_modules/yaml/browser/dist/util.js +11 -0
- package/bin/node_modules/yaml/browser/dist/visit.js +233 -0
- package/bin/node_modules/yaml/browser/index.js +5 -0
- package/bin/node_modules/yaml/browser/package.json +3 -0
- package/bin/node_modules/yaml/dist/cli.d.ts +8 -0
- package/bin/node_modules/yaml/dist/cli.mjs +201 -0
- package/bin/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/bin/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/bin/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/bin/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/bin/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/bin/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/bin/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/bin/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/bin/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/bin/node_modules/yaml/dist/compose/composer.js +224 -0
- package/bin/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/bin/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/bin/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/bin/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/bin/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/bin/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/bin/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/bin/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/bin/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/bin/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/bin/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/bin/node_modules/yaml/dist/compose/resolve-flow-scalar.js +227 -0
- package/bin/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/bin/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/bin/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/bin/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/bin/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/bin/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/bin/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/bin/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/bin/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/bin/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/bin/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/bin/node_modules/yaml/dist/doc/Document.js +337 -0
- package/bin/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/bin/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/bin/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/bin/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/bin/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/bin/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/bin/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/bin/node_modules/yaml/dist/doc/directives.js +178 -0
- package/bin/node_modules/yaml/dist/errors.d.ts +21 -0
- package/bin/node_modules/yaml/dist/errors.js +62 -0
- package/bin/node_modules/yaml/dist/index.d.ts +25 -0
- package/bin/node_modules/yaml/dist/index.js +50 -0
- package/bin/node_modules/yaml/dist/log.d.ts +3 -0
- package/bin/node_modules/yaml/dist/log.js +19 -0
- package/bin/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/bin/node_modules/yaml/dist/nodes/Alias.js +118 -0
- package/bin/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/bin/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/bin/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/bin/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/bin/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/bin/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/bin/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
- package/bin/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/bin/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/bin/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/bin/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/bin/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/bin/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/bin/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/bin/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/bin/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/bin/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/bin/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/bin/node_modules/yaml/dist/options.d.ts +350 -0
- package/bin/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/bin/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/bin/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/bin/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/bin/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/bin/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/bin/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/bin/node_modules/yaml/dist/parse/cst.js +112 -0
- package/bin/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/bin/node_modules/yaml/dist/parse/lexer.js +723 -0
- package/bin/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/bin/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/bin/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/bin/node_modules/yaml/dist/parse/parser.js +980 -0
- package/bin/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/bin/node_modules/yaml/dist/public-api.js +107 -0
- package/bin/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/bin/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/bin/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/bin/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/bin/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/bin/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/bin/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/bin/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/bin/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/bin/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/bin/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/bin/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/bin/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/bin/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/bin/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/bin/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/bin/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/bin/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/bin/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/bin/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/bin/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/bin/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/bin/node_modules/yaml/dist/schema/tags.js +99 -0
- package/bin/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/bin/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/bin/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/bin/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/bin/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/bin/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/bin/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/bin/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/bin/node_modules/yaml/dist/test-events.js +134 -0
- package/bin/node_modules/yaml/dist/util.d.ts +16 -0
- package/bin/node_modules/yaml/dist/util.js +28 -0
- package/bin/node_modules/yaml/dist/visit.d.ts +102 -0
- package/bin/node_modules/yaml/dist/visit.js +236 -0
- package/bin/node_modules/yaml/package.json +97 -0
- package/bin/node_modules/yaml/util.js +2 -0
- package/bin/runtime/sandbox/dim-sandbox-runner +0 -0
- package/bin/runtime/sandbox/manifest.json +15 -0
- package/bin/skills-assets/artifact-static-site/SKILL.md +58 -0
- package/bin/skills-assets/artifact-static-site/agents/openai.yaml +6 -0
- package/bin/skills-assets/chrome-control/SKILL.md +96 -0
- package/bin/skills-assets/computer-use/SKILL.md +34 -0
- package/bin/skills-assets/deep-investigate/SKILL.md +101 -0
- package/bin/skills-assets/deep-investigate/references/prompts.md +75 -0
- package/bin/skills-assets/deep-investigate/references/templates.md +73 -0
- package/bin/skills-assets/deep-investigate/references/thinking-tools.md +36 -0
- package/bin/skills-assets/dim-modality/SKILL.md +88 -0
- package/bin/skills-assets/dim-modality/agents/openai.yaml +4 -0
- package/bin/skills-assets/dim-modality/references/cli-recipes.md +137 -0
- package/bin/skills-assets/dim-modality/references/model-notes.md +56 -0
- package/bin/skills-assets/dim-workflow/SKILL.md +125 -0
- package/bin/skills-assets/dim-workflow/agents/openai.yaml +6 -0
- package/bin/skills-assets/docs-sprint/SKILL.md +73 -0
- package/bin/skills-assets/docs-sprint/agents/openai.yaml +4 -0
- package/bin/skills-assets/docs-sprint/references/contract-discipline.md +30 -0
- package/bin/skills-assets/docs-sprint/references/delivery-plan.md +162 -0
- package/bin/skills-assets/docs-sprint/references/documentation-system.md +109 -0
- package/bin/skills-assets/docs-sprint/references/ui-layout.md +73 -0
- package/bin/skills-assets/docs-sprint/references/worktree-guide.md +45 -0
- package/bin/skills-assets/officecli/SKILL.md +423 -0
- package/bin/skills-assets/pdf/README.md +222 -0
- package/bin/skills-assets/pdf/SKILL.md +191 -0
- package/bin/skills-assets/pdf/design/design.md +381 -0
- package/bin/skills-assets/pdf/scripts/cover.py +1579 -0
- package/bin/skills-assets/pdf/scripts/fill_inspect.py +200 -0
- package/bin/skills-assets/pdf/scripts/fill_write.py +242 -0
- package/bin/skills-assets/pdf/scripts/make.sh +491 -0
- package/bin/skills-assets/pdf/scripts/merge.py +112 -0
- package/bin/skills-assets/pdf/scripts/palette.py +521 -0
- package/bin/skills-assets/pdf/scripts/reformat_parse.py +374 -0
- package/bin/skills-assets/pdf/scripts/render_body.py +1052 -0
- package/bin/skills-assets/pdf/scripts/render_cover.js +111 -0
- package/bin/skills-assets/plugin-creator/SKILL.md +148 -0
- package/bin/skills-assets/plugin-creator/references/installing-and-updating.md +66 -0
- package/bin/skills-assets/plugin-creator/references/plugin-json-spec.md +148 -0
- package/bin/skills-assets/plugin-creator/scripts/create_basic_plugin.py +189 -0
- package/bin/skills-assets/plugin-creator/scripts/validate_plugin.py +269 -0
- package/bin/skills-assets/skill-creator/SKILL.md +368 -0
- package/bin/skills-assets/skill-creator/agents/openai.yaml +5 -0
- package/bin/skills-assets/skill-creator/assets/skill-creator-small.svg +3 -0
- package/bin/skills-assets/skill-creator/assets/skill-creator.png +0 -0
- package/bin/skills-assets/skill-creator/license.txt +202 -0
- package/bin/skills-assets/skill-creator/references/openai_yaml.md +49 -0
- package/bin/skills-assets/skill-creator/scripts/generate_openai_yaml.py +226 -0
- package/bin/skills-assets/skill-creator/scripts/init_skill.py +397 -0
- package/bin/skills-assets/skill-creator/scripts/quick_validate.py +101 -0
- package/bin/skills-assets/skill-installer/LICENSE.txt +202 -0
- package/bin/skills-assets/skill-installer/SKILL.md +58 -0
- package/bin/skills-assets/skill-installer/agents/openai.yaml +5 -0
- package/bin/skills-assets/skill-installer/assets/skill-installer-small.svg +3 -0
- package/bin/skills-assets/skill-installer/assets/skill-installer.png +0 -0
- package/bin/skills-assets/skill-installer/scripts/github_utils.py +21 -0
- package/bin/skills-assets/skill-installer/scripts/install-skill-from-github.py +308 -0
- package/bin/skills-assets/skill-installer/scripts/list-skills.py +107 -0
- package/package.json +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Agent Prompt Templates
|
|
2
|
+
|
|
3
|
+
## Explorer
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
You are a research explorer investigating a specific territory within a larger research effort.
|
|
7
|
+
|
|
8
|
+
RESEARCH PLAN:
|
|
9
|
+
{plan}
|
|
10
|
+
|
|
11
|
+
YOUR TERRITORY:
|
|
12
|
+
{assignment}
|
|
13
|
+
|
|
14
|
+
VERIFIER FEEDBACK FROM LAST ROUND (if any):
|
|
15
|
+
{feedback — read it, decide for yourself how to address the problems}
|
|
16
|
+
|
|
17
|
+
INSTRUCTIONS:
|
|
18
|
+
- Go as deep as possible on your assigned territory
|
|
19
|
+
- Trace claims to primary sources — don't restate summaries
|
|
20
|
+
- Verify empirically when possible (run code, test APIs, check data, read original documents)
|
|
21
|
+
- Distinguish root causes from surface descriptions
|
|
22
|
+
- Flag claims you couldn't verify as [UNVERIFIED]
|
|
23
|
+
- List new questions and dimensions discovered during exploration
|
|
24
|
+
|
|
25
|
+
OUTPUT:
|
|
26
|
+
Findings organized by sub-topic. For each:
|
|
27
|
+
- What you found
|
|
28
|
+
- Source (URL, file path, or document reference)
|
|
29
|
+
- Verified? (how) or [UNVERIFIED]
|
|
30
|
+
- New questions this raises
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Verifier
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
You are a research auditor. Evaluate this investigation's quality with fresh eyes. You have NO prior context — this is deliberate.
|
|
37
|
+
|
|
38
|
+
RESEARCH PLAN:
|
|
39
|
+
{plan}
|
|
40
|
+
|
|
41
|
+
WORKING DOCUMENT:
|
|
42
|
+
{document}
|
|
43
|
+
|
|
44
|
+
CURRENT ROUND: {N} of minimum {min_rounds}
|
|
45
|
+
|
|
46
|
+
## Evaluate on two axes
|
|
47
|
+
|
|
48
|
+
BREADTH — is the problem space covered?
|
|
49
|
+
- For each dimension: COVERED / PARTIAL / NOT COVERED
|
|
50
|
+
- Missing dimensions that should exist?
|
|
51
|
+
- Sources per dimension? (1 source = unreliable)
|
|
52
|
+
|
|
53
|
+
DEPTH — are findings real?
|
|
54
|
+
- For each major finding: DEEP / SURFACE / UNVERIFIED
|
|
55
|
+
- Confident claims that just restate one source?
|
|
56
|
+
- Verifications done or just claimed?
|
|
57
|
+
|
|
58
|
+
## Failure patterns to detect
|
|
59
|
+
- Lazy: lists without analysis
|
|
60
|
+
- Shallow: WHAT without WHY
|
|
61
|
+
- Blind spots: obvious angles unchecked
|
|
62
|
+
- Fake verification: claims verified but no evidence
|
|
63
|
+
- Low count: fewer findings than domain should yield
|
|
64
|
+
|
|
65
|
+
## Output
|
|
66
|
+
|
|
67
|
+
Problem characteristics: {each problem with evidence}
|
|
68
|
+
|
|
69
|
+
DETERMINATION:
|
|
70
|
+
- Round < min_rounds → GAPS (always)
|
|
71
|
+
- Round >= min_rounds, all COVERED, no critical SURFACE/UNVERIFIED → PASS
|
|
72
|
+
- Otherwise → GAPS
|
|
73
|
+
|
|
74
|
+
You describe problems. You do NOT prescribe solutions.
|
|
75
|
+
```
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Document Templates
|
|
2
|
+
|
|
3
|
+
## Research plan (Phase 1 output)
|
|
4
|
+
|
|
5
|
+
```markdown
|
|
6
|
+
# Research Plan: {title}
|
|
7
|
+
|
|
8
|
+
> Core question: {one sentence}
|
|
9
|
+
> min_rounds: {N}
|
|
10
|
+
|
|
11
|
+
## Dimensions
|
|
12
|
+
1. {dimension} — {why it matters}
|
|
13
|
+
|
|
14
|
+
## Completion criteria
|
|
15
|
+
{Derive from the question. Examples:}
|
|
16
|
+
- [ ] Each dimension covered by ≥2 agents from different angles
|
|
17
|
+
- [ ] Key claims verified empirically
|
|
18
|
+
- [ ] Landscape mapped with concrete examples
|
|
19
|
+
- [ ] Verifier PASS (after min_rounds)
|
|
20
|
+
|
|
21
|
+
## Scope
|
|
22
|
+
- In: {list}
|
|
23
|
+
- Out: {list with reasons}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Final document (Phase 4 output)
|
|
27
|
+
|
|
28
|
+
```markdown
|
|
29
|
+
# {Title}
|
|
30
|
+
|
|
31
|
+
> Date: {date}
|
|
32
|
+
> Core question: {one sentence}
|
|
33
|
+
> Related docs: {links}
|
|
34
|
+
> Exploration: {K} rounds, {N} verified, {M} unverified
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 一、Current state
|
|
39
|
+
{Quantified — numbers, not adjectives}
|
|
40
|
+
|
|
41
|
+
## 二、Comparison
|
|
42
|
+
{Tables by dimension}
|
|
43
|
+
|
|
44
|
+
## 三、Gaps
|
|
45
|
+
{Classified by priority, each with: current state → others' approach → suggestion}
|
|
46
|
+
|
|
47
|
+
## 四、Verification records
|
|
48
|
+
| Claim | Method | Result |
|
|
49
|
+
|-------|--------|--------|
|
|
50
|
+
|
|
51
|
+
## 五、Priority roadmap
|
|
52
|
+
| Priority | Item | Scope | Effort | Dependency |
|
|
53
|
+
|----------|------|-------|--------|------------|
|
|
54
|
+
|
|
55
|
+
## 六、Conclusion
|
|
56
|
+
{3-5 concrete next steps}
|
|
57
|
+
|
|
58
|
+
## 七、Blind spots
|
|
59
|
+
{What not covered, why}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Handoff document (optional, for large efforts)
|
|
63
|
+
|
|
64
|
+
```markdown
|
|
65
|
+
# Handoff: {title}
|
|
66
|
+
|
|
67
|
+
## Why — original motivation
|
|
68
|
+
## How — methods, sources, classification
|
|
69
|
+
## What — top 5 findings
|
|
70
|
+
## Progress — done vs remaining
|
|
71
|
+
## Continue — next steps for whoever picks this up
|
|
72
|
+
## Blind spots — deliberately not covered, why
|
|
73
|
+
```
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Thinking Tools for Phase 3
|
|
2
|
+
|
|
3
|
+
Use these during analysis. They are thinking aids, not a checklist — pick what fits.
|
|
4
|
+
|
|
5
|
+
## Boundary drawing
|
|
6
|
+
|
|
7
|
+
"What principle determines whether X belongs in our scope?"
|
|
8
|
+
|
|
9
|
+
Define the principle first, then audit every item against it. Items that fail → explicitly out of scope with documented reason.
|
|
10
|
+
|
|
11
|
+
Example: "Anything affecting whether a request succeeds → our scope. Anything affecting how data is represented → not our scope."
|
|
12
|
+
|
|
13
|
+
## Essential difference vs surface similarity
|
|
14
|
+
|
|
15
|
+
"What is the lifecycle / failure mode / mental model of each thing I'm comparing?"
|
|
16
|
+
|
|
17
|
+
Things that look alike may be fundamentally different. The analysis that distinguishes them is where real insight lives.
|
|
18
|
+
|
|
19
|
+
Example: packet loss, connection reset, and route blackhole all look like "request failed" — but their detection, recovery, and design implications are completely different.
|
|
20
|
+
|
|
21
|
+
## Ecosystem consensus
|
|
22
|
+
|
|
23
|
+
If the entire ecosystem does it one way and we're different, can we articulate why? If not, reconsider.
|
|
24
|
+
|
|
25
|
+
Works both ways: consensus validates ("no one combines HTTP+WS+upload → split is right") and consensus challenges ("every client supports cancellation → we must too").
|
|
26
|
+
|
|
27
|
+
## User-scenario-backward
|
|
28
|
+
|
|
29
|
+
Start from "who needs what when", not "what can we do". Map 3-5 concrete scenarios, list needed capabilities, compare against what exists. Gaps from scenarios are real gaps.
|
|
30
|
+
|
|
31
|
+
## Self-interrogation
|
|
32
|
+
|
|
33
|
+
After reaching a conclusion:
|
|
34
|
+
- "Am I confusing 'we built it' with 'users need it'?"
|
|
35
|
+
- "Is the problem the what or the tempo?"
|
|
36
|
+
- "What would I think seeing this for the first time?"
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: dim-modality
|
|
3
|
+
description: Use DimCode multimodal CLI when the user asks the agent to generate or edit images, generate video, synthesize speech, transcribe audio, generate music or sound effects, create 3D assets or motion data, or inspect available multimodal defaults through `dim modality`. This skill teaches when to use the CLI, the main execution path, failure handling, and model-specific notes.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Dim Modality
|
|
7
|
+
|
|
8
|
+
Use this skill when media work should go through the DimCode multimodal CLI instead of legacy image tools or ad hoc provider calls.
|
|
9
|
+
|
|
10
|
+
## When To Use
|
|
11
|
+
|
|
12
|
+
Use this skill for requests that involve:
|
|
13
|
+
|
|
14
|
+
- Generating, editing, enhancing, upscaling, or restoring images.
|
|
15
|
+
- Generating video from text, or generating video from an input image.
|
|
16
|
+
- Text-to-speech or speech-to-text.
|
|
17
|
+
- Music, sound effects, ambient audio, or audio extraction.
|
|
18
|
+
- 3D assets or motion data.
|
|
19
|
+
- Checking which multimodal defaults are configured.
|
|
20
|
+
- Debugging why a multimodal command failed.
|
|
21
|
+
|
|
22
|
+
Do not look for the old image-generation tool for these tasks. Do not add a native agent tool for each modality. The normal path is `exec` running `dim ... --json`.
|
|
23
|
+
|
|
24
|
+
## Main Path
|
|
25
|
+
|
|
26
|
+
1. Inspect configured multimodal defaults first:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
dim modality list --json
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
2. Map the user request to a capability:
|
|
33
|
+
|
|
34
|
+
| User goal | Capability | CLI entry |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| Generate an image | `image.generate` | `dim image generate` |
|
|
37
|
+
| Edit an image | `image.edit` | `dim image edit` |
|
|
38
|
+
| Enhance an image | `image.enhance` | `dim image enhance` |
|
|
39
|
+
| Generate a video | `video.generate` | `dim video generate` |
|
|
40
|
+
| Synthesize speech | `speech.synthesize` | `dim speech synthesize` |
|
|
41
|
+
| Transcribe speech | `speech.transcribe` | `dim speech transcribe` |
|
|
42
|
+
| Generate music | `music.generate` | `dim music generate` |
|
|
43
|
+
| Generate audio or sound effects | `audio.generate` | `dim audio generate` |
|
|
44
|
+
| Generate a 3D asset | `asset.generate` | `dim asset generate` |
|
|
45
|
+
| Generate motion data | `motion.generate` | `dim motion generate` |
|
|
46
|
+
|
|
47
|
+
3. Write outputs under the current workspace, usually `./artifacts/` unless the user asked for another path.
|
|
48
|
+
|
|
49
|
+
4. Always use `--json`. Read output paths, provider/model ids, and errors from JSON instead of scraping human text.
|
|
50
|
+
|
|
51
|
+
5. After success, reference the absolute output path. Images can be shown with Markdown image syntax. Audio and video should be reported as absolute paths until Desktop preview support is richer.
|
|
52
|
+
|
|
53
|
+
## Operating Rules
|
|
54
|
+
|
|
55
|
+
- If the user did not specify provider/model, use the configured default for that capability.
|
|
56
|
+
- Only pass `--provider` and `--model` when the user explicitly asks for a temporary override. Overrides do not change defaults.
|
|
57
|
+
- If a default is missing, tell the user to configure that capability in Settings / Agent Defaults.
|
|
58
|
+
- Put provider-specific parameters in a JSON object file and pass it with `--options <path>`.
|
|
59
|
+
- Video generation can be slow. Use a generous `--timeout`, and never claim completion unless an output file exists.
|
|
60
|
+
- For failed commands, explain `error.code`, `error.message`, and `details` from the JSON output. Do not hide the original provider or CLI error.
|
|
61
|
+
- Keep LLM model selection separate from multimodal defaults. A chat model change does not change modality defaults.
|
|
62
|
+
- Do not expose API keys, credentials, headers, or provider secrets.
|
|
63
|
+
|
|
64
|
+
## Recipes And References
|
|
65
|
+
|
|
66
|
+
Read `references/cli-recipes.md` when you need command templates.
|
|
67
|
+
|
|
68
|
+
Read `references/model-notes.md` when a provider or model may need special handling. Future model-specific reference docs should be linked from that file.
|
|
69
|
+
|
|
70
|
+
## Failure Handling
|
|
71
|
+
|
|
72
|
+
| Situation | Response |
|
|
73
|
+
|---|---|
|
|
74
|
+
| Missing default model | Ask the user to configure the capability in Settings / Agent Defaults |
|
|
75
|
+
| Provider disconnected or missing key | Ask the user to check provider connection and API key |
|
|
76
|
+
| Model disabled | Ask the user to enable the model in the provider model list |
|
|
77
|
+
| Unsupported capability | Use a model that supports the capability, or ask the user to configure one |
|
|
78
|
+
| Output file missing | Do not report success; explain the CLI JSON error and stderr |
|
|
79
|
+
| Video timeout | Report timeout details and operation id when available |
|
|
80
|
+
|
|
81
|
+
## Final Response Style
|
|
82
|
+
|
|
83
|
+
When reporting back:
|
|
84
|
+
|
|
85
|
+
- Say which capability was used.
|
|
86
|
+
- Give the output file path.
|
|
87
|
+
- If it failed, state the failure point and the next user action.
|
|
88
|
+
- Keep the response short unless the user asks for detailed debugging.
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# CLI Recipes
|
|
2
|
+
|
|
3
|
+
Use `--json` for all agent/script calls. Prefer output paths inside the current workspace.
|
|
4
|
+
|
|
5
|
+
## Check Configuration
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
dim modality list --json
|
|
9
|
+
dim modality get image.generate --json
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Images
|
|
13
|
+
|
|
14
|
+
Generate an image:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
mkdir -p ./artifacts
|
|
18
|
+
dim image generate --prompt "A clean product poster on a white background with soft natural lighting" --out ./artifacts/image.png --json
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Edit an image:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
mkdir -p ./artifacts
|
|
25
|
+
dim image edit --image ./input.png --prompt "Keep the subject, change the lighting to golden hour" --out ./artifacts/edited.png --json
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Multi-image edit:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
dim image edit --image ./person.png --image ./style.png --prompt "Render the person in the illustration style of the reference image" --out ./artifacts/edited.png --json
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Enhance an image:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
dim image enhance --image ./input.png --operation upscale --out ./artifacts/upscaled.png --json
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Video
|
|
41
|
+
|
|
42
|
+
Text-to-video:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
mkdir -p ./artifacts
|
|
46
|
+
dim video generate --prompt "A robot walking slowly through a rainy neon street, cinematic camera movement" --duration 5 --out ./artifacts/video.mp4 --json --timeout 1800000
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Image-to-video:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
dim video generate --prompt "Make the person turn naturally toward the camera" --image ./input.png --duration 5 --out ./artifacts/video.mp4 --json --timeout 1800000
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Edit a video:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
dim video edit --video ./input.mp4 --operation add-audio --audio ./voice.mp3 --out ./artifacts/edited.mp4 --json
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Enhance a video:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
dim video enhance --video ./input.mp4 --operation stabilize --out ./artifacts/stable.mp4 --json
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Speech
|
|
68
|
+
|
|
69
|
+
Text-to-speech:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
mkdir -p ./artifacts
|
|
73
|
+
dim speech synthesize --text "Hello, this is a speech generation test." --out ./artifacts/speech.mp3 --json
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Specify a voice:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
dim speech synthesize --text "Hello, this is a speech generation test." --voice "cosyvoice2:anna" --out ./artifacts/speech.mp3 --json
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Transcribe audio:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
dim speech transcribe --audio ./meeting.mp3 --out ./artifacts/transcript.txt --json
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Music And Audio
|
|
89
|
+
|
|
90
|
+
Generate music:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
mkdir -p ./artifacts
|
|
94
|
+
dim music generate --prompt "Warm lo-fi piano for a podcast intro" --title "warm intro" --out ./artifacts/music.mp3 --json
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Generate a sound effect:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
dim audio generate --operation sound-effect --prompt "Raindrops tapping on a window" --duration 8 --out ./artifacts/rain.mp3 --json
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Extract or generate audio from video:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
dim audio generate --operation video-to-audio --video ./input.mp4 --out ./artifacts/audio.mp3 --json
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## 3D Asset And Motion
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
dim asset generate --prompt "low poly robot game asset" --out ./artifacts/robot.glb --json
|
|
113
|
+
dim motion generate --prompt "walk cycle for a friendly robot" --out ./artifacts/walk.fbx --json
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Temporary Provider Or Model Override
|
|
117
|
+
|
|
118
|
+
Use this only when the user explicitly asks for a specific provider or model:
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
dim image generate --provider siliconflow --model Qwen/Qwen-Image --prompt "..." --out ./artifacts/image.png --json
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Provider-Specific Options
|
|
125
|
+
|
|
126
|
+
Write a JSON object file, then pass it with `--options`:
|
|
127
|
+
|
|
128
|
+
```json
|
|
129
|
+
{
|
|
130
|
+
"seed": 1234,
|
|
131
|
+
"negativePrompt": "blurry, low quality"
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
dim image generate --prompt "..." --options ./options.json --out ./artifacts/image.png --json
|
|
137
|
+
```
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Model Notes
|
|
2
|
+
|
|
3
|
+
This file is the entry point for provider/model experience. When a provider or model needs special handling, add a row here and put detailed notes under `references/models/`.
|
|
4
|
+
|
|
5
|
+
## Current Entries
|
|
6
|
+
|
|
7
|
+
| Provider / model | Capability | Note |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| CosyVoice2 | `speech.synthesize` | `--voice` uses `model-name:voice-name` |
|
|
10
|
+
| Video generation models | `video.generate` | Generation can take a long time; use a generous `--timeout` and keep operation id / JSON errors |
|
|
11
|
+
| Image edit models | `image.edit` | Requires `--image` and `--prompt`; pass repeated `--image` flags for multi-image edit |
|
|
12
|
+
| ASR models | `speech.transcribe` | Input is `--audio`; output should be a text file |
|
|
13
|
+
|
|
14
|
+
## CosyVoice2 Voices
|
|
15
|
+
|
|
16
|
+
CosyVoice2 `--voice` format:
|
|
17
|
+
|
|
18
|
+
```text
|
|
19
|
+
model-name:voice-name
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Available voice names:
|
|
23
|
+
|
|
24
|
+
```text
|
|
25
|
+
alex
|
|
26
|
+
benjamin
|
|
27
|
+
charles
|
|
28
|
+
david
|
|
29
|
+
anna
|
|
30
|
+
bella
|
|
31
|
+
claire
|
|
32
|
+
diana
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
`alex`, `benjamin`, `charles`, and `david` are male voices. `anna`, `bella`, `claire`, and `diana` are female voices.
|
|
36
|
+
|
|
37
|
+
Example:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
dim speech synthesize --text "Hello, this is a test." --voice "CosyVoice2:anna" --out ./artifacts/speech.mp3 --json
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
If the configured model id is not exactly `CosyVoice2`, replace the part before `:` with the configured model name or model id.
|
|
44
|
+
|
|
45
|
+
## Adding Future Model Notes
|
|
46
|
+
|
|
47
|
+
When adding a model note:
|
|
48
|
+
|
|
49
|
+
1. Create a file under `references/models/` named after the provider and model.
|
|
50
|
+
2. Add a row to the table above.
|
|
51
|
+
3. Include:
|
|
52
|
+
- Supported capability.
|
|
53
|
+
- Required inputs.
|
|
54
|
+
- Recommended output format.
|
|
55
|
+
- Known slow paths or failure modes.
|
|
56
|
+
- One runnable `dim ... --json` example.
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: dim-workflow
|
|
3
|
+
description: Use when the user asks to create, modify, or save a reusable Dim workflow script. Do not use it for running, stopping, opening, revealing, or checking workflow runs.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Dim Workflow
|
|
7
|
+
|
|
8
|
+
这个 skill 只用于编写可复用的 Dim 工作流文件。
|
|
9
|
+
|
|
10
|
+
## 什么时候使用
|
|
11
|
+
|
|
12
|
+
用户要求这些事时使用:
|
|
13
|
+
|
|
14
|
+
- 创建一个可复用工作流。
|
|
15
|
+
- 修改一个已保存工作流。
|
|
16
|
+
- 把对话里生成的工作流保存起来以后复用。
|
|
17
|
+
|
|
18
|
+
用户只是要运行、停止、打开、查看进度时不要使用:
|
|
19
|
+
|
|
20
|
+
- `/workflow <name>`
|
|
21
|
+
- 给工作流命令加参数。
|
|
22
|
+
- 停止、打开、定位、检查某次工作流运行。
|
|
23
|
+
|
|
24
|
+
## 保存位置
|
|
25
|
+
|
|
26
|
+
已保存工作流放在:
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
<workflowDataDir>/workflows/saved/
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Desktop 默认路径:
|
|
33
|
+
|
|
34
|
+
```text
|
|
35
|
+
DIMCODE_HOME=~/.dimcode/v2
|
|
36
|
+
workflowDataDir=<DIMCODE_HOME>/data
|
|
37
|
+
saved workflows=~/.dimcode/v2/data/workflows/saved/
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
如果已知配置里的 `workflowDataDir`,使用那个绝对路径。
|
|
41
|
+
|
|
42
|
+
如果不知道 `workflowDataDir`,先询问用户。不要猜项目目录,也不要把可复用工作流保存到当前仓库里。
|
|
43
|
+
|
|
44
|
+
## 文件要求
|
|
45
|
+
|
|
46
|
+
一个工作流一个文件:
|
|
47
|
+
|
|
48
|
+
```text
|
|
49
|
+
<workflowDataDir>/workflows/saved/<workflowName>.mjs
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
文件必须导出 `meta`,并默认导出一个 async function:
|
|
53
|
+
|
|
54
|
+
```js
|
|
55
|
+
export const meta = {
|
|
56
|
+
name: "example-workflow",
|
|
57
|
+
description: "Short user-facing description",
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export default async function workflow(api) {
|
|
61
|
+
api.phase("Prepare")
|
|
62
|
+
await api.agent("Read the relevant docs", { label: "Read docs" })
|
|
63
|
+
|
|
64
|
+
api.phase("Implement")
|
|
65
|
+
await api.agent("Make the requested code change", { label: "Edit code" })
|
|
66
|
+
|
|
67
|
+
api.phase("Verify")
|
|
68
|
+
await api.tool("exec", { command: "pnpm test" }, { label: "Run tests" })
|
|
69
|
+
|
|
70
|
+
return { ok: true }
|
|
71
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
规则:
|
|
75
|
+
|
|
76
|
+
- `meta.name` 必须是非空且唯一的工作流名字。
|
|
77
|
+
- `meta.description` 必须非空。
|
|
78
|
+
- 需要 import 本地 helper 时使用 `.mjs`。
|
|
79
|
+
- `.js` 和 `.ts` 只用于没有 import 的自包含脚本。
|
|
80
|
+
- 用 `api.tool()` 调当前 session 的 tool。
|
|
81
|
+
- 用 `api.agent()` 创建 child agent。
|
|
82
|
+
- 工作流文件是 trusted code,必须把输入和路径写清楚。
|
|
83
|
+
|
|
84
|
+
## 右侧面板显示要求
|
|
85
|
+
|
|
86
|
+
右侧面板的阶段图来自工作流源码。想让用户看到清楚的阶段和步骤,就按下面写:
|
|
87
|
+
|
|
88
|
+
- 主要阶段用 `api.phase("Prepare")`、`api.phase("Implement")`、`api.phase("Verify")` 这类调用表达。
|
|
89
|
+
- 用户应该看到的步骤,用 `api.agent(prompt, { label })` 或 `api.tool(name, input, { label })` 表达。
|
|
90
|
+
- 尽量使用静态的 `label`、`title`、`name` 和 tool name。也就是说,传给 API 的关键参数尽量直接写成字符串,不要依赖运行时拼接。
|
|
91
|
+
- `label` 写短一点,表示这一步在做什么。
|
|
92
|
+
- 主要阶段和主要步骤放在默认导出的 `workflow(api)` 函数里。
|
|
93
|
+
- 可以用 helper function 处理细节,但不要把主要阶段和主要步骤全藏进 helper function。
|
|
94
|
+
- `api.parallel([...])` 和 `api.mapLimit(...)` 可以表达并行和批量步骤。
|
|
95
|
+
- 复杂编排优先考虑 `api.phase()`、`api.agent()`、`api.tool()`、`api.parallel()`、`api.mapLimit()` 的组合。组合不够用时,再写自定义脚本逻辑。
|
|
96
|
+
- 打 log 时写清楚当前步骤和结果,内容要让用户一眼能懂。
|
|
97
|
+
- 需要指定 child agent 的 provider/model 时,先查询或确认当前可用列表,再写 `providerId` 和 `modelId`。
|
|
98
|
+
|
|
99
|
+
写法示意:
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
Prepare
|
|
103
|
+
Read docs
|
|
104
|
+
Implement
|
|
105
|
+
Edit code
|
|
106
|
+
Verify
|
|
107
|
+
Run tests
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
对应源码里要能直接看到:
|
|
111
|
+
|
|
112
|
+
```js
|
|
113
|
+
api.phase("Prepare")
|
|
114
|
+
await api.agent("Read the relevant docs", { label: "Read docs" })
|
|
115
|
+
|
|
116
|
+
api.phase("Implement")
|
|
117
|
+
await api.agent("Make the requested code change", { label: "Edit code" })
|
|
118
|
+
|
|
119
|
+
api.phase("Verify")
|
|
120
|
+
await api.tool("exec", { command: "pnpm test" }, { label: "Run tests" })
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## 完成后告诉用户
|
|
124
|
+
|
|
125
|
+
写入或修改已保存工作流后,告诉用户刷新 Desktop 的 workflow 列表,让 runtime 重新读取 `workflows/saved/`。
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Dim Workflow"
|
|
3
|
+
short_description: "Create or edit reusable Dim workflows"
|
|
4
|
+
default_prompt: "Use $dim-workflow when creating, modifying, or saving reusable Dim workflow scripts. Do not use it for normal workflow execution."
|
|
5
|
+
policy:
|
|
6
|
+
allow_implicit_invocation: true
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: docs-sprint
|
|
3
|
+
description: Docs-driven delivery workflow. Use when splitting design docs into tasks, creating implementation plans under docs/plan, executing develop/verify/merge cycles, maintaining design doc consistency, or writing UI layout documentation with ASCII diagrams.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Docs Sprint
|
|
7
|
+
|
|
8
|
+
Docs-driven delivery workflow — given design docs, manage the process from task split to verified merge. Agent-agnostic. Platform-specific agent configs live under `agents/`.
|
|
9
|
+
|
|
10
|
+
## Role
|
|
11
|
+
|
|
12
|
+
You are the orchestrator. You plan, dispatch, monitor, and merge. You do NOT write code or run tests yourself. All implementation and verification work must be delegated to sub-agents.
|
|
13
|
+
|
|
14
|
+
| You do | You delegate |
|
|
15
|
+
|---|---|
|
|
16
|
+
| Read and update design docs | Code implementation (develop agent) |
|
|
17
|
+
| Write analysis and split tasks | Code review and verification (verify agent) |
|
|
18
|
+
| Check task status and dispatch | Fix blocking findings (develop agent) |
|
|
19
|
+
| Execute merge and run full test | |
|
|
20
|
+
| Manage recovery from interruption | |
|
|
21
|
+
|
|
22
|
+
## Parallel Execution
|
|
23
|
+
|
|
24
|
+
You have worktree capability. When the execution mode allows parallel dispatch, create worktrees for sub-agents following [worktree-guide.md](references/worktree-guide.md). Create the worktree before dispatching; pass the worktree path as the sub-agent's working directory.
|
|
25
|
+
|
|
26
|
+
## Core Workflow
|
|
27
|
+
|
|
28
|
+
1. Read `docs/INDEX.md`, then read the design docs related to the request.
|
|
29
|
+
2. For planning work, read `docs/plan/README.md` and use the plan/task/review loop.
|
|
30
|
+
3. For UI work, read the relevant layout docs and represent interface changes with ASCII diagrams.
|
|
31
|
+
4. If implementation needs behavior missing from docs, update the design docs first and ask for confirmation before changing code.
|
|
32
|
+
5. Dispatch develop agents for implementation. Dispatch verify agents for review. Do not do both in the same agent.
|
|
33
|
+
6. Treat review findings as delivery gates: fix blocking findings via develop agent, archive or record non-blocking findings according to project docs.
|
|
34
|
+
|
|
35
|
+
## Task Classification
|
|
36
|
+
|
|
37
|
+
| Request type | Action |
|
|
38
|
+
|---|---|
|
|
39
|
+
| Architecture/design docs | Read [documentation-system.md](references/documentation-system.md), then update design docs |
|
|
40
|
+
| Development plan or task split | Read [delivery-plan.md](references/delivery-plan.md), then create analysis/tasks/backlog entries |
|
|
41
|
+
| Code implementation | Read task file and referenced design docs; follow [contract-discipline.md](references/contract-discipline.md) |
|
|
42
|
+
| Review or fix review findings | Use the verify/develop loop in [delivery-plan.md](references/delivery-plan.md) |
|
|
43
|
+
| UI layout docs | Read [ui-layout.md](references/ui-layout.md), then write layout definition docs with ASCII diagrams |
|
|
44
|
+
|
|
45
|
+
## Documentation Rules
|
|
46
|
+
|
|
47
|
+
- Keep one source of truth for each rule or process.
|
|
48
|
+
- Use scope README files for ownership, relationships, state ownership, lifecycle, and cross-module flows.
|
|
49
|
+
- Use module docs for local contract: inputs, outputs, state boundary, errors, extension points, and tests.
|
|
50
|
+
- Prefer diagrams, tables, and explicit flow charts over broad prose.
|
|
51
|
+
- Define only necessary terms. Keep terms concrete and traceable to code or user-visible behavior.
|
|
52
|
+
- When docs and implementation need different behavior, update docs first.
|
|
53
|
+
- Doc changes and code changes in the same task are one atomic delivery.
|
|
54
|
+
|
|
55
|
+
## Implementation Rules
|
|
56
|
+
|
|
57
|
+
- Follow [contract-discipline.md](references/contract-discipline.md) for type, error, and fallback rules.
|
|
58
|
+
- Tests must cover contract behavior and error handling for the touched boundary.
|
|
59
|
+
|
|
60
|
+
## UI Layout Rules
|
|
61
|
+
|
|
62
|
+
- Show UI structure with ASCII diagrams.
|
|
63
|
+
- Write each layout doc around one page or component.
|
|
64
|
+
- Use this section order when it fits: overall structure, page-level layout, region layout, interactions, state variants, responsive behavior, size reference, component tree, page entry points.
|
|
65
|
+
- Include input behavior, dialog/overlay layering, and loading/empty/error states.
|
|
66
|
+
|
|
67
|
+
## References
|
|
68
|
+
|
|
69
|
+
- `references/documentation-system.md`: docs directory structure, maintenance rules, writing style.
|
|
70
|
+
- `references/delivery-plan.md`: analysis, tasks, develop/verify review loop, isolation, merge rules.
|
|
71
|
+
- `references/contract-discipline.md`: type, error, fallback, and implementation discipline.
|
|
72
|
+
- `references/ui-layout.md`: UI layout documentation style, ASCII diagrams, interaction contracts.
|
|
73
|
+
- `references/worktree-guide.md`: worktree creation, dispatch, cleanup, and recovery.
|