Agent Skills › deepseek-ai/deepseek-harness › cordis-composition-reference

cordis-composition-reference

GitHub

提供Cordis组合参考,说明Loader YAML方言语法及可安装插件包列表,辅助编写或读取bundle patch和agent preset。

packages/preset/agent-preset/skills/cordis-composition-reference/SKILL.md deepseek-ai/deepseek-harness

Trigger Scenarios

编写Cordis bundle patch 读取agent preset 查询Loader YAML方言用法 查找可安装插件包信息

Install

npx skills add deepseek-ai/deepseek-harness --skill cordis-composition-reference -g -y
More Options

Non-standard path

npx skills add https://github.com/deepseek-ai/deepseek-harness/tree/master/packages/preset/agent-preset/skills/cordis-composition-reference -g -y

Use without installing

npx skills use deepseek-ai/deepseek-harness@cordis-composition-reference

指定 Agent (Claude Code)

npx skills add deepseek-ai/deepseek-harness --skill cordis-composition-reference -a claude-code -g -y

安装 repo 全部 skill

npx skills add deepseek-ai/deepseek-harness --all -g -y

预览 repo 内 skill

npx skills add deepseek-ai/deepseek-harness --list

SKILL.md

Frontmatter
{
    "name": "cordis-composition-reference",
    "description": "Use when writing or reading a Cordis bundle patch or agent preset for this harness and you need the Loader YAML dialect (insert, override by id, group, disabled, isolate, !!js) or the list of installable Harness plugin packages and what each provides."
}

Cordis composition reference

Reference material for bundle patches and preset plugin lists. Procedures live in cordis-plugin-development and editing-cordis-compositions.

Loader patch dialect

A profile composes an ordered list of patch layers over the bundle entry lists. Each patch is a mapping:

  • insert: [rows] appends rows; with an id naming an existing group: true row, the rows are appended inside that group's config list.
  • A patch with an id and no insert targets the existing row with that id. Supplied fields replace the row's fields; config is replaced wholesale, never deep-merged, so restate every field the row needs. A truthy name asserts the existing plugin name rather than renaming it.
  • Non-insert patches without a nonempty id, and targets that match no row, are warned about and skipped.

A row has id, name (the plugin package specifier; inserted relative paths are anchored beside their patch file), optional config, and optional disabled, inject, intercept, and isolate.

  • group: true with name: cordis:group makes config a nested entry list and allows patches to insert into it by id. cordis:include loads a literal YAML or JSON entry list from config.path.
  • disabled accepts a boolean, null, or a !!js expression evaluated against the Loader context at every mount decision. A disabled row omits required config unless group: true forces activation.
  • !!js scalars are Loader expressions, never !js. Inside config they are evaluated after the row's declared injections activate, against that plugin's context (ctx.<service>), so !!js dshHomePath('sessions') and !!js "!ctx.get('profileContext')" are valid. Other row metadata stays literal.
  • isolate maps service names to true or a realm label; a preset plugin that provides a service isolates the provider and all consumers together. Scope controls contributions and event visibility; isolate controls service instances.

plugin_manager list_plugins reports each row's enabled flag and fiberPhase; set_plugin and set_bundle answer overridden when a higher-priority layer wins.

Installable plugin packages

references/packages.md lists every workspace package that exports a Cordis plugin, grouped by package group, with whether its row takes config. Search it with grep -n <keyword> rather than reading it whole. Plugins outside this list come from installed bundles; plugin_manager list_bundles names them.

Version History

  • 477b4f4 Current 2026-09-27 11:59

Same Skill Collection

.agents/skills/agent-experience/SKILL.md
.agents/skills/dsh-archive-agent-notes/SKILL.md
.agents/skills/dsh-ci-test-reliability/SKILL.md
.agents/skills/dsh-client-ui-ux/SKILL.md
.agents/skills/dsh-code-review/SKILL.md
.agents/skills/dsh-doc-site-sync/SKILL.md
.agents/skills/dsh-doc-standards/SKILL.md
.agents/skills/dsh-find-simplifications/SKILL.md
.agents/skills/dsh-merging-stacked-prs/SKILL.md
.agents/skills/dsh-pre-push-checks/SKILL.md
.agents/skills/dsh-prose-standard/SKILL.md
.agents/skills/dsh-speed-up-perf/SKILL.md
.agents/skills/dsh-translate-docs/SKILL.md
.agents/skills/dsh-trim-cot-leakage/SKILL.md
packages/preset/agent-preset/skills/cordis-plugin-development/SKILL.md
packages/preset/agent-preset/skills/editing-cordis-compositions/SKILL.md
packages/skill/skill-office/assets/office-docx/SKILL.md
packages/skill/skill-office/assets/office-pptx/SKILL.md
packages/skill/skill-office/assets/office-xlsx/SKILL.md
.agents/skills/dsh-doc/SKILL.md
.agents/skills/record-browser-gif/SKILL.md

Metadata

Files
0
Version
477b4f4
Hash
6583a81d
Indexed
2026-09-27 11:59

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-28 19:17
浙ICP备14020137号-1