dsh-agent-team-presets 0.3.3 → 0.3.5
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/NOTICE +4 -3
- package/README.md +7 -7
- package/README.zh.md +8 -8
- package/assets/card-patches/catalog.json +40 -0
- package/assets/card-patches/dsh-better-sidebar-0.33.0.client.js.gz +0 -0
- package/assets/card-patches/dsh-context-0.87.0.client.js.gz +0 -0
- package/assets/card-patches/dsh-context-0.87.1.client.js.gz +0 -0
- package/assets/card-patches/dsh-context-0.87.2.client.js.gz +0 -0
- package/assets/skills/leader-worker-continuity/SKILL.md +166 -0
- package/assets/skills/leader-worker-continuity/references/handoff-record-template.md +30 -0
- package/assets/skills/leader-worker-continuity/references/task-slice-design.md +107 -0
- package/assets/skills/leader-worker-continuity/references/worker-recovery.md +53 -0
- package/docs/builtin-team-skills.md +12 -9
- package/docs/builtin-team-skills.zh.md +12 -9
- package/docs/builtin-teams.md +8 -6
- package/docs/builtin-teams.zh.md +8 -6
- package/docs/developer/architecture.md +2 -2
- package/docs/developer/architecture.zh.md +2 -2
- package/docs/guide/install.md +2 -2
- package/docs/guide/install.zh.md +2 -2
- package/docs/guide/integrations.md +1 -1
- package/docs/guide/integrations.zh.md +1 -1
- package/docs/guide/team-skills.md +25 -13
- package/docs/guide/team-skills.zh.md +25 -13
- package/docs/guide/using-teams.md +14 -4
- package/docs/guide/using-teams.zh.md +14 -4
- package/docs/index.md +3 -3
- package/docs/index.zh.md +3 -3
- package/docs/reference/troubleshooting.md +1 -1
- package/docs/reference/troubleshooting.zh.md +1 -1
- package/icon.webp +0 -0
- package/lib/client.js +1463 -247
- package/lib/index.js +779 -309
- package/lib/typert.host.js +407 -29
- package/lib/typert.remote-client.d.ts +9 -9
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +407 -29
- package/lib/types/builtin-skill.js +2 -2
- package/lib/types/builtin-teams.d.ts +6 -2
- package/lib/types/builtin-teams.js +6 -2
- package/lib/types/client/TeamAgentView.js +93 -21
- package/lib/types/client/TeamImportDialog.d.ts +4 -15
- package/lib/types/client/TeamImportDialog.js +29 -25
- package/lib/types/client/TeamPresetsSection.js +14 -5
- package/lib/types/client/TeamRosterAction.js +23 -4
- package/lib/types/client/TeamSkillsView.d.ts +3 -3
- package/lib/types/client/TeamSkillsView.js +56 -12
- package/lib/types/client/locales.d.ts +1 -1
- package/lib/types/client/locales.js +86 -8
- package/lib/types/client/roster-visibility.d.ts +18 -0
- package/lib/types/client/roster-visibility.js +19 -0
- package/lib/types/client/team-presets-controller.d.ts +15 -2
- package/lib/types/client/team-presets-controller.js +86 -30
- package/lib/types/client/team-skills-controller.d.ts +14 -5
- package/lib/types/client/team-skills-controller.js +80 -38
- package/lib/types/index.js +13 -7
- package/lib/types/keyword-search.d.ts +36 -0
- package/lib/types/keyword-search.js +63 -0
- package/lib/types/preset-editor.js +3 -4
- package/lib/types/preset-transfer.d.ts +1 -1
- package/lib/types/presets.d.ts +21 -23
- package/lib/types/presets.js +72 -36
- package/lib/types/team-catalog.d.ts +20 -7
- package/lib/types/team-catalog.js +209 -7
- package/lib/types/team-skills/import.d.ts +17 -7
- package/lib/types/team-skills/import.js +115 -21
- package/lib/types/team-skills/index.d.ts +2 -13
- package/lib/types/team-skills/index.js +4 -27
- package/lib/types/team-skills/manager.d.ts +3 -3
- package/lib/types/team-skills/manager.js +39 -81
- package/lib/types/team-skills/official-bindings.d.ts +29 -0
- package/lib/types/team-skills/official-bindings.js +52 -0
- package/lib/types/team-skills/service.d.ts +7 -12
- package/lib/types/team-skills/service.js +125 -56
- package/lib/types/team-skills/store.d.ts +16 -6
- package/lib/types/team-skills/store.js +119 -14
- package/lib/types/types.d.ts +28 -5
- package/package.json +52 -49
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
# Built-in Team Skills
|
|
2
2
|
|
|
3
|
-
This plugin ships **
|
|
3
|
+
This plugin ships **fourteen Team Skills** and binds a default set to the roles of its built-in Teams. This document is the inventory: what each skill is for, which category it belongs to, and which role receives it by default.
|
|
4
4
|
|
|
5
5
|
[中文](<builtin-team-skills.zh.md>) · [Documentation index](index.md) · [Built-in Teams](builtin-teams.md) · [README](../README.md)
|
|
6
6
|
|
|
7
|
-
## The
|
|
7
|
+
## The fourteen shipped skills
|
|
8
8
|
|
|
9
9
|
| Skill (id shown to the model) | Shown as (Chinese UI) | Category | Purpose | Default roles |
|
|
10
10
|
|---|---|---|---|---|
|
|
11
11
|
| `agent-leader-communication` | 队长派发与通信 | Workflow | Dispatch, consultation, result intake, and reporting protocols for a captain. | `team-lead` |
|
|
12
12
|
| `leader-medium-task-workflow` | 中程任务工作流 | Workflow | Bounded multi-part work: lightweight splitting, the Team Task Board, leader Todo, unified acceptance. | `team-lead` |
|
|
13
13
|
| `leader-long-task-orchestration` | 长程任务编排 | Workflow | Multi-round delivery: requirement alignment, rolling-wave planning, a persistent plan, stage acceptance. | `team-lead` |
|
|
14
|
+
| `leader-worker-continuity` | 队长执行者接续 | Workflow | Long-running slice handover: how a captain slices work, keeps persistent state, and hands the remainder of a `TASK_ID` to a new executor instance when the current one cannot continue. | `team-lead` |
|
|
14
15
|
| `agent-subagent-orchestration` | 孙代理并行编排 | Workflow | When a captain or an executor must fan work out to subagents, and how results are recovered and integrated. | `team-lead`, `executor` |
|
|
15
16
|
| `fullstack-advisor` | 全栈技术咨询 | Workflow | The advisor's consultation workflow and decision-summary contract. | `fullstack-advisor` |
|
|
16
17
|
| `executor-short-task-workflow` | 执行者短程工作流 | Workflow | Bounded implementation: minimum change, risk-matched verification, structured reporting. | `executor` |
|
|
@@ -30,7 +31,7 @@ Both Team Skill lists — the library page and the per-role assignment grid —
|
|
|
30
31
|
|
|
31
32
|
| Category | Count | Contents |
|
|
32
33
|
|---|---|---|
|
|
33
|
-
| **Workflow** |
|
|
34
|
+
| **Workflow** | 10 | The captain, advisor, and executor workflows above |
|
|
34
35
|
| **Delivery** | 2 | The repository-presentation and Git-release pair |
|
|
35
36
|
| **Method** | 2 | `grilling` and `research` |
|
|
36
37
|
| **Custom** | — | Everything the build does not ship: skills you import or author yourself |
|
|
@@ -39,19 +40,21 @@ A **local override** stays in the category of the skill it was copied from — i
|
|
|
39
40
|
|
|
40
41
|
## Default bindings
|
|
41
42
|
|
|
42
|
-
The
|
|
43
|
+
The twelve engineering skills (workflow and delivery) are bound to the development Teams; the two method skills belong to the Discovery and Research Teams.
|
|
43
44
|
|
|
44
45
|
| Team | `team-lead` | advisor role | `executor` | other |
|
|
45
46
|
|---|---|---|---|---|
|
|
46
47
|
| 轻量研发团队 `builtin-lightweight` | 4 workflow | 1 (`fullstack-advisor`) | 4 (incl. orchestration + delivery) | — |
|
|
47
48
|
| 标准研发团队 `builtin-standard` | 4 workflow | 1 (`fullstack-advisor`) | 4 | `reviewer` 2 (review workflow + orchestration) |
|
|
48
49
|
| 全栈软件研发团队 `builtin-fullstack` | 4 workflow | — | 4 | `ui-designer` 1, `backend-architect` 1, `reviewer` 2 |
|
|
50
|
+
| 高质量长程研发团队 `builtin-long-running` | 4 workflow (incl. `leader-worker-continuity`) | — | 2 (implementation + orchestration) | — |
|
|
49
51
|
| 需求探索 `builtin-discovery` | `grilling` | — | — | `research` to `technical-scout` and `product-scout` |
|
|
50
52
|
| 架构规划 `builtin-planning` | — | — | — | no default skills |
|
|
51
53
|
| 既定工作流执行 `builtin-workflow` | — | — | — | both delivery skills to `repository-specialist` |
|
|
52
54
|
| 工程研发协作 `builtin-engineering` | — | — | — | both delivery skills to `repository-specialist` |
|
|
53
55
|
| 独立代码与安全审计 `builtin-audit` | — | — | — | no default skills |
|
|
54
56
|
| 科研协作 `builtin-research` | — | — | — | `research` to `evidence-scout` |
|
|
57
|
+
| 工程治理团队 `builtin-engineering-governance` | — | — | — | no default skills |
|
|
55
58
|
|
|
56
59
|
Two numbers are worth reading carefully. First, a Team's **binding count is not its distinct skill count**: the lightweight Team holds nine bindings but only eight distinct skills, because `agent-subagent-orchestration` is deliberately bound to both the captain and the executor. Second, the standard Team keeps one advisor role (`fullstack-advisor`) while the full-stack Team splits it into `ui-designer` and `backend-architect`; neither declares a role it does not carry, and `agent-subagent-orchestration` never reaches an advisor.
|
|
57
60
|
|
|
@@ -59,18 +62,18 @@ You can add or remove assignments per role from the member page; those local cha
|
|
|
59
62
|
|
|
60
63
|
## Local overrides
|
|
61
64
|
|
|
62
|
-
Built-in skills are **read-only**.
|
|
65
|
+
Built-in skills are **read-only**. You can create a local editable copy from the skill’s page.
|
|
63
66
|
|
|
64
|
-
-
|
|
67
|
+
- Each copy gets its own skill name, such as `research-1` or `research-2`. Select the option in the dialog if you also want to switch roles already bound to the built-in skill to the new copy.
|
|
65
68
|
- When a later plugin release moves the shipped copy past the version your copy was derived from, the library marks it `updateAvailable`.
|
|
66
69
|
- **Restore to the built-in version** (`恢复为插件内置版本`) replaces your copy's content **and moves those roles back onto the shipped skill**, so the default binding is the shipped one again.
|
|
67
70
|
- A copy that lags several versions keeps working, but it also keeps whatever it was derived from. The library reports the gap rather than silently upgrading you.
|
|
68
71
|
|
|
69
|
-
A default binding
|
|
72
|
+
A preset’s default binding names the **shipped** skill. The roles you explicitly switch keep using their local copy until you change their assignment or restore it.
|
|
70
73
|
|
|
71
74
|
### One name, one skill
|
|
72
75
|
|
|
73
|
-
The
|
|
76
|
+
The model addresses each skill by its unique name, and role bindings store the asset ID. Built-in names are reserved. Folder import and directory scan refuse a package with a built-in name.
|
|
74
77
|
|
|
75
78
|
## Scope
|
|
76
79
|
|
|
@@ -78,5 +81,5 @@ Each Team Skill is registered **only inside the Agent scope of the member it is
|
|
|
78
81
|
|
|
79
82
|
## Related
|
|
80
83
|
|
|
81
|
-
- [Built-in Teams](builtin-teams.md) — the
|
|
84
|
+
- [Built-in Teams](builtin-teams.md) — the eleven presets and the roles these skills attach to
|
|
82
85
|
- [Getting started](guide/getting-started.md) — using the skill library and the member page
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
# 内置团队技能
|
|
2
2
|
|
|
3
|
-
插件随包提供 **
|
|
3
|
+
插件随包提供 **14 个团队技能(Team Skill)**,并为其内置团队的角色绑定一套默认组合。本文是清单:每个技能做什么、属于哪一类、默认给哪个角色。
|
|
4
4
|
|
|
5
5
|
[English](<builtin-team-skills.md>) · [文档入口](<index.zh.md>) · [内置团队](<builtin-teams.zh.md>) · [README](<../README.zh.md>)
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## 14 个随包技能
|
|
8
8
|
|
|
9
9
|
| 技能(模型看到的 id) | 界面显示名 | 分类 | 用途 | 默认角色 |
|
|
10
10
|
|---|---|---|---|---|
|
|
11
11
|
| `agent-leader-communication` | 队长派发与通信 | 工作流型 | 队长的派发、咨询、结果回收与汇报协议。 | `team-lead` |
|
|
12
12
|
| `leader-medium-task-workflow` | 中程任务工作流 | 工作流型 | 有界中程任务:轻量拆分、Team Task Board、队长 Todo、统一验收。 | `team-lead` |
|
|
13
13
|
| `leader-long-task-orchestration` | 长程任务编排 | 工作流型 | 多轮交付:需求对齐、滚动规划、持久化计划、阶段验收。 | `team-lead` |
|
|
14
|
+
| `leader-worker-continuity` | 队长执行者接续 | 工作流型 | 长程切片交接:队长如何切片、维护持久状态,并在当前执行者无法继续时把同一 `TASK_ID` 的剩余工作交给新的执行者实例。 | `team-lead` |
|
|
14
15
|
| `agent-subagent-orchestration` | 孙代理并行编排 | 工作流型 | 队长或执行者在什么条件下必须派孙代理,以及结果如何回收与集成。 | `team-lead`、`executor` |
|
|
15
16
|
| `fullstack-advisor` | 全栈技术咨询 | 工作流型 | 顾问的咨询工作流与决策摘要契约。 | `fullstack-advisor` |
|
|
16
17
|
| `executor-short-task-workflow` | 执行者短程工作流 | 工作流型 | 有界实现:最小变更、与风险匹配的验证、结构化汇报。 | `executor` |
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
|
|
31
32
|
| 分类 | 数量 | 内容 |
|
|
32
33
|
|---|---|---|
|
|
33
|
-
| **工作流型** |
|
|
34
|
+
| **工作流型** | 10 | 上面的队长、顾问与执行者工作流,以及三个专业角色工作流 |
|
|
34
35
|
| **交付型** | 2 | 仓库展示与 Git 发布这一对 |
|
|
35
36
|
| **方法型** | 2 | `grilling` 与 `research` |
|
|
36
37
|
| **自定义** | — | 本版本未随包发布的全部技能:你自己导入或创建的 |
|
|
@@ -39,19 +40,21 @@
|
|
|
39
40
|
|
|
40
41
|
## 默认绑定
|
|
41
42
|
|
|
42
|
-
|
|
43
|
+
12 个工程技能(工作流型 + 交付型)绑定在研发团队上,2 个方法技能属于需求探索与科研协作团队。
|
|
43
44
|
|
|
44
45
|
| 团队 | `team-lead` | 顾问角色 | `executor` | 其它 |
|
|
45
46
|
|---|---|---|---|---|
|
|
46
47
|
| 轻量研发团队 `builtin-lightweight` | 4 个工作流型 | 1 个(`fullstack-advisor`) | 4 个(含编排与交付) | — |
|
|
47
48
|
| 标准研发团队 `builtin-standard` | 4 个工作流型 | 1 个(`fullstack-advisor`) | 4 个 | `reviewer` 2 个(审查工作流 + 编排) |
|
|
48
49
|
| 全栈软件研发团队 `builtin-fullstack` | 4 个工作流型 | 不设该角色 | 4 个 | `ui-designer` 1 个、`backend-architect` 1 个、`reviewer` 2 个 |
|
|
50
|
+
| 高质量长程研发团队 `builtin-long-running` | 4 个工作流型(含 `leader-worker-continuity`) | 不设该角色 | 2 个(实现 + 编排) | — |
|
|
49
51
|
| 需求探索 `builtin-discovery` | `grilling` | — | — | `research` 给 `technical-scout` 与 `product-scout` |
|
|
50
52
|
| 架构规划 `builtin-planning` | — | — | — | 无默认技能 |
|
|
51
53
|
| 既定工作流执行 `builtin-workflow` | — | — | — | 两个交付技能给 `repository-specialist` |
|
|
52
54
|
| 工程研发协作 `builtin-engineering` | — | — | — | 两个交付技能给 `repository-specialist` |
|
|
53
55
|
| 独立代码与安全审计 `builtin-audit` | — | — | — | 无默认技能 |
|
|
54
56
|
| 科研协作 `builtin-research` | — | — | — | `research` 给 `evidence-scout` |
|
|
57
|
+
| 工程治理团队 `builtin-engineering-governance` | — | — | — | 无默认技能 |
|
|
55
58
|
|
|
56
59
|
有三个数字要读仔细。第一,**绑定条数不等于技能个数**:轻量研发团队有 9 条绑定,但只对应 8 个不同技能——`agent-subagent-orchestration` 被刻意同时绑给队长和执行者。第二,标准研发团队保留单一顾问角色(`fullstack-advisor`),全栈软件研发团队把顾问拆成 `ui-designer` 与 `backend-architect`,两个团队都不再声明对方没有的专业角色。第三,`agent-subagent-orchestration` **只**绑给队长、执行者与 `reviewer`:顾问保持单线程。
|
|
57
60
|
|
|
@@ -59,18 +62,18 @@
|
|
|
59
62
|
|
|
60
63
|
## 本地副本
|
|
61
64
|
|
|
62
|
-
|
|
65
|
+
内置技能是**只读**的。你可以在技能页创建本地可编辑副本。
|
|
63
66
|
|
|
64
|
-
-
|
|
67
|
+
- 每份副本有独立的技能名,例如 `research-1`、`research-2`。如需将已绑定内置版的角色切到新副本,在创建弹窗中勾选对应选项。
|
|
65
68
|
- 当后续版本把内置版推进到你派生时的版本之后,技能库会标记 `updateAvailable`。
|
|
66
69
|
- **恢复为插件内置版本**会替换副本正文,**并把那些角色迁回内置技能**,默认绑定重新指向随包副本。
|
|
67
70
|
- 落后若干版本的副本仍能工作,但它保留的是当初派生的样子。技能库会把差距报出来,而不是静默升级你。
|
|
68
71
|
|
|
69
|
-
|
|
72
|
+
预设里的默认绑定指向**随包技能**。显式切换过的角色会继续使用本地副本,直到你更改绑定或恢复为插件内置版本。
|
|
70
73
|
|
|
71
74
|
### 一个名字,一个技能
|
|
72
75
|
|
|
73
|
-
|
|
76
|
+
模型通过唯一技能名调用技能,角色绑定则保存资产 ID。插件保留内置技能的名称。导入文件夹或扫描导入目录时,撞到内置名称的技能包会被拒绝。
|
|
74
77
|
|
|
75
78
|
## 作用域
|
|
76
79
|
|
|
@@ -78,5 +81,5 @@
|
|
|
78
81
|
|
|
79
82
|
## 相关
|
|
80
83
|
|
|
81
|
-
- [内置团队](<builtin-teams.zh.md>)
|
|
84
|
+
- [内置团队](<builtin-teams.zh.md>)——十一个预设,以及这些技能挂到哪些角色上
|
|
82
85
|
- [新手必读(图文)](<guide/getting-started.zh.md>)——技能库与成员页的使用
|
package/docs/builtin-teams.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Built-in Teams
|
|
2
2
|
|
|
3
|
-
This plugin seeds **
|
|
3
|
+
This plugin seeds **eleven editable Teams** on a fresh installation: four development-scale Teams and seven work-mode Teams. This document is the reference for what each one contains; [Built-in Team Skills](builtin-team-skills.md) documents the skills those roles receive.
|
|
4
4
|
|
|
5
5
|
[中文](<builtin-teams.zh.md>) · [Documentation index](index.md) · [README](../README.md)
|
|
6
6
|
|
|
@@ -13,28 +13,29 @@ This plugin seeds **nine editable Teams** on a fresh installation: three develop
|
|
|
13
13
|
|
|
14
14
|
## 研发规模系列 (Classic Development Scale)
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Four Teams for building software, differing in how much coordination the work needs.
|
|
17
17
|
|
|
18
18
|
| Preset | Roles | Intended use |
|
|
19
19
|
|---|---|---|
|
|
20
20
|
| **轻量研发团队**<br>`builtin-lightweight` | Captain `team-lead`, `fullstack-advisor`, `executor` | Small-to-medium iterations and multi-stage delivery. The captain aligns requirements, grades the task, explores in parallel, and accepts; the advisor answers technical decisions single-threaded; the executor implements, integrates, and verifies. |
|
|
21
21
|
| **标准研发团队**<br>`builtin-standard` | Captain `team-lead`, `fullstack-advisor`, `executor`, `reviewer` | Medium features, significant refactors, and sustained iteration. The advisor answers technical decisions on demand; the executor implements continuously; the independent reviewer checks every code change. |
|
|
22
22
|
| **全栈软件研发团队**<br>`builtin-fullstack` | Captain `team-lead`, `ui-designer`, `backend-architect`, `executor`, `reviewer` | Complex full-stack engineering across Web, desktop, and Android. The advisor role is split into the UI frontend engineer and the backend architect; the executor handles routine development and testing; the independent reviewer accepts. |
|
|
23
|
+
| **高质量长程研发团队**<br>`builtin-long-running` | Captain `team-lead`, `executor` | Long-running delivery that outlives one Session or one executor instance. Slices can hand over between executor instances, and independent work can run in parallel. |
|
|
23
24
|
|
|
24
25
|
### What each role is for
|
|
25
26
|
|
|
26
27
|
| Role | Appears in | Responsibility |
|
|
27
28
|
|---|---|---|
|
|
28
|
-
| `team-lead` | all
|
|
29
|
+
| `team-lead` | all four | Aligns the requirement, grades the task, dispatches, integrates, and accepts. Holds the final risk call. |
|
|
29
30
|
| `fullstack-advisor` | lightweight, standard | Cross-layer technical decisions, trade-offs, risks, and executable acceptance contracts. Does not implement. |
|
|
30
31
|
| `reviewer` | standard, fullstack | Independent inspection of the actual change, the critical risks, and whether the tests can catch the defect. |
|
|
31
|
-
| `executor` | all
|
|
32
|
+
| `executor` | all four | Implements, debugs, tests, and hands over verification evidence within the assigned scope. |
|
|
32
33
|
| `backend-architect` | fullstack | System architecture, API and data contracts, error semantics, auth isolation, migration compatibility, plus the complex backend fixes. |
|
|
33
34
|
| `ui-designer` | fullstack | Visual direction, design systems, frontend components and interaction, real-screenshot visual acceptance, plus the frontend fixes. |
|
|
34
35
|
|
|
35
36
|
## 工作模式系列 (Work Modes)
|
|
36
37
|
|
|
37
|
-
|
|
38
|
+
Seven Teams for work that is not "build the next feature".
|
|
38
39
|
|
|
39
40
|
| Preset | Roles | Intended use |
|
|
40
41
|
|---|---|---|
|
|
@@ -44,6 +45,7 @@ Six Teams for work that is not "build the next feature".
|
|
|
44
45
|
| **工程研发协作**<br>`builtin-engineering` | Captain `engineering-lead`, `architect`, `executor`, `ui-designer`, `reviewer`, `repository-specialist` | Adaptive engineering: the captain does the work it can do directly and summons members when there is real gain. |
|
|
45
46
|
| **独立代码与安全审计**<br>`builtin-audit` | Captain `audit-lead`, `code-auditor`, `security-auditor`, `finding-verifier` | Independent, read-only review of specified code, configuration, or changes. Reports and verifies; does not fix. |
|
|
46
47
|
| **科研协作**<br>`builtin-research` | Captain `research-lead`, `methodologist`, `evidence-scout`, `research-engineer`, `skeptic` | Literature, method design, experiment code, and evidence strength. Runs experiments inside the authorized goal. |
|
|
48
|
+
| **工程治理团队**<br>`builtin-engineering-governance` | Captain `governance-lead`, `governance-auditor`, `remediation-engineer`, `acceptance-reviewer` | Evidence-based engineering governance for a project that keeps evolving: read-only diagnosis, controlled remediation, and independent acceptance, with the auditor and reviewer kept independent of the remediation. |
|
|
47
49
|
|
|
48
50
|
## Roles are addressed by name
|
|
49
51
|
|
|
@@ -58,5 +60,5 @@ Your Team records are stored in the active profile's configuration (`cordis.patc
|
|
|
58
60
|
|
|
59
61
|
## Related
|
|
60
62
|
|
|
61
|
-
- [Built-in Team Skills](builtin-team-skills.md) — the
|
|
63
|
+
- [Built-in Team Skills](builtin-team-skills.md) — the fourteen shipped skills and which role receives each
|
|
62
64
|
- [Getting started](guide/getting-started.md) — the illustrated walkthrough for creating and using a Team
|
package/docs/builtin-teams.zh.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 内置团队
|
|
2
2
|
|
|
3
|
-
插件在全新安装时初始化
|
|
3
|
+
插件在全新安装时初始化 **十一个可编辑团队**:四个研发规模团队,七个工作模式团队。本文说明每个团队包含什么;它们各自拿到哪些技能,见[内置团队技能](<builtin-team-skills.zh.md>)。
|
|
4
4
|
|
|
5
5
|
[English](<builtin-teams.md>) · [文档入口](<index.zh.md>) · [README](<../README.zh.md>)
|
|
6
6
|
|
|
@@ -13,28 +13,29 @@
|
|
|
13
13
|
|
|
14
14
|
## 研发规模系列
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
四个用于开发软件的团队,区别在于协作开销。
|
|
17
17
|
|
|
18
18
|
| 预设 | 角色 | 适用场景 |
|
|
19
19
|
|---|---|---|
|
|
20
20
|
| **轻量研发团队**<br>`builtin-lightweight` | 队长 `team-lead`、`fullstack-advisor`、`executor` | 中小型功能迭代与多阶段开发。队长负责需求对齐、任务分级、并行探查与验收;顾问单线程回答技术决策;执行者实现、集成与验证。 |
|
|
21
21
|
| **标准研发团队**<br>`builtin-standard` | 队长 `team-lead`、`fullstack-advisor`、`executor`、`reviewer` | 中型功能、重要重构与持续项目迭代。全栈顾问按需提供技术决策与验收契约;执行者持续研发;独立审查员检查有代码变更的交付。 |
|
|
22
22
|
| **全栈软件研发团队**<br>`builtin-fullstack` | 队长 `team-lead`、`ui-designer`、`backend-architect`、`executor`、`reviewer` | 面向 Web、桌面与 Android 的跨端复杂工程。顾问职责拆成 UI 前端工程师与后端架构师;执行者承担常规开发测试;独立审查员验收。 |
|
|
23
|
+
| **高质量长程研发团队**<br>`builtin-long-running` | 队长 `team-lead`、`executor` | 交付周期长于单个会话或单个执行者实例的长程研发。切片可跨执行者实例接续,独立工作可并行处理。 |
|
|
23
24
|
|
|
24
25
|
### 各角色职责
|
|
25
26
|
|
|
26
27
|
| 角色 | 出现于 | 职责 |
|
|
27
28
|
|---|---|---|
|
|
28
|
-
| `team-lead` |
|
|
29
|
+
| `team-lead` | 四个团队 | 对齐需求、任务分级、派发、集成与验收,保留最终风险裁决权。 |
|
|
29
30
|
| `fullstack-advisor` | 轻量、标准 | 跨层技术决策、方案权衡、风险分析与可执行验收契约;不承担编码。 |
|
|
30
31
|
| `reviewer` | 标准、全栈 | 独立审查实际变更、关键风险,以及测试是否真能捕获该缺陷。 |
|
|
31
|
-
| `executor` |
|
|
32
|
+
| `executor` | 四个团队 | 在获派范围内实现、调试、测试并交接验证证据。 |
|
|
32
33
|
| `backend-architect` | 全栈 | 系统架构、API 与数据契约、错误语义、鉴权隔离、迁移兼容,并直接承担复杂后端修复。 |
|
|
33
34
|
| `ui-designer` | 全栈 | 视觉方向、设计系统、前端组件与交互实现、真实截图视觉验收,并直接承担前端修复。 |
|
|
34
35
|
|
|
35
36
|
## 工作模式系列
|
|
36
37
|
|
|
37
|
-
|
|
38
|
+
七个用于"不是开发下一个功能"的场景。
|
|
38
39
|
|
|
39
40
|
| 预设 | 角色 | 适用场景 |
|
|
40
41
|
|---|---|---|
|
|
@@ -44,6 +45,7 @@
|
|
|
44
45
|
| **工程研发协作**<br>`builtin-engineering` | 队长 `engineering-lead`、`architect`、`executor`、`ui-designer`、`reviewer`、`repository-specialist` | 自适应工程:队长自己能做就直接做,有实际收益时才召唤成员。 |
|
|
45
46
|
| **独立代码与安全审计**<br>`builtin-audit` | 队长 `audit-lead`、`code-auditor`、`security-auditor`、`finding-verifier` | 对指定代码、配置或变更做独立只读审查;只报告与复核,不负责修复。 |
|
|
46
47
|
| **科研协作**<br>`builtin-research` | 队长 `research-lead`、`methodologist`、`evidence-scout`、`research-engineer`、`skeptic` | 文献、方法设计、实验代码与证据强度;在已授权目标内运行实验。 |
|
|
48
|
+
| **工程治理团队**<br>`builtin-engineering-governance` | 队长 `governance-lead`、`governance-auditor`、`remediation-engineer`、`acceptance-reviewer` | 面向持续演进的软件项目,基于证据开展工程诊断、受控整改与独立验收;诊断与验收角色保持独立于整改。 |
|
|
47
49
|
|
|
48
50
|
## 角色按名字寻址
|
|
49
51
|
|
|
@@ -58,5 +60,5 @@
|
|
|
58
60
|
|
|
59
61
|
## 相关
|
|
60
62
|
|
|
61
|
-
- [内置团队技能](<builtin-team-skills.zh.md>)——
|
|
63
|
+
- [内置团队技能](<builtin-team-skills.zh.md>)——14 个随包技能,以及哪个角色拿到哪一个
|
|
62
64
|
- [新手必读(图文)](<guide/getting-started.zh.md>)——创建与使用团队的逐步图解
|
|
@@ -48,7 +48,7 @@ Thanks to **张灏焱** for contributing the `grilling` and `research` method Te
|
|
|
48
48
|
## Related
|
|
49
49
|
|
|
50
50
|
- [Documentation index](../index.md) — the full document map.
|
|
51
|
-
- [Built-in Teams](../builtin-teams.md) — the
|
|
52
|
-
- [Built-in Team Skills](../builtin-team-skills.md) — the
|
|
51
|
+
- [Built-in Teams](../builtin-teams.md) — the eleven shipped presets and their roles.
|
|
52
|
+
- [Built-in Team Skills](../builtin-team-skills.md) — the fourteen shipped skills and per-role bindings.
|
|
53
53
|
- [Getting started](../guide/getting-started.md) — the illustrated walkthrough.
|
|
54
54
|
- [README](../../README.md) — overview, quick start, and the documentation map.
|
|
@@ -48,7 +48,7 @@ npm run bundle
|
|
|
48
48
|
## 相关
|
|
49
49
|
|
|
50
50
|
- [文档索引](../index.zh.md) —— 完整的文档地图。
|
|
51
|
-
- [内置团队](../builtin-teams.md) ——
|
|
52
|
-
- [内置团队技能](../builtin-team-skills.md) ——
|
|
51
|
+
- [内置团队](../builtin-teams.md) —— 十一个内置预设与各自的角色。
|
|
52
|
+
- [内置团队技能](../builtin-team-skills.md) —— 十四个随包技能与各角色默认绑定。
|
|
53
53
|
- [新手必读(图文)](../guide/getting-started.md) —— 逐屏走查。
|
|
54
54
|
- [README](../../README.zh.md) —— 总览、快速开始与文档导航。
|
package/docs/guide/install.md
CHANGED
|
@@ -6,13 +6,13 @@ What the plugin needs before it runs, the three supported install forms, and how
|
|
|
6
6
|
|
|
7
7
|
## Requirements
|
|
8
8
|
|
|
9
|
-
- **DeepSeek Harness `>=0.2.2-rc.
|
|
9
|
+
- **DeepSeek Harness `>=0.2.2-rc.5 <0.3.0`.** Verified against **`0.2.2-rc.5`**; 0.2.2-rc.4 and older are refused. Each member's route is recorded through `agent.model.select()` for fresh, forked, and cold-resumed execution; the captain keeps the conversation's model selection. The plugin manager enforces `engines.dsh` from [package.json](../../package.json).
|
|
10
10
|
- **Custom tool allow-lists have their own contract.** What a policy admits, and what it cannot do, is described in [Tools and permissions](../reference/tools-and-permissions.md).
|
|
11
11
|
- **No Agent Teams bundle is required.** Members are created through the deployment's continuable subagent providers, and native messaging, task tools, and the Web roster are unaffected by this plugin.
|
|
12
12
|
- **A Web or Desktop profile with Settings and the required client services.** Install into the profile you actually use — typically `web` for the Web GUI or `desktop` for Desktop.
|
|
13
13
|
- **Durable storage and a continuable subagent backend for member execution.** Member creation is refused if the storage domain or the selected execution backend is unavailable. The default backend names are `spawn` and `fork`.
|
|
14
14
|
|
|
15
|
-
The plugin version (`0.3.
|
|
15
|
+
The plugin version (`0.3.5`) and the Harness version (`0.2.2-rc.5`, for example) are separate version lines.
|
|
16
16
|
|
|
17
17
|
## Install
|
|
18
18
|
|
package/docs/guide/install.zh.md
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
## 环境要求
|
|
8
8
|
|
|
9
|
-
- **DeepSeek Harness `>=0.2.2-rc.
|
|
9
|
+
- **DeepSeek Harness `>=0.2.2-rc.5 <0.3.0`。** 本次实测版本为 **`0.2.2-rc.5`**;0.2.2-rc.4 及更旧版本会被拒绝。成员路由通过 `agent.model.select()` 写入各自会话,fresh、fork 与冷恢复均使用成员自己的配置;队长使用当前会话选择。插件管理器按 [package.json](../../package.json) 的 `engines.dsh` 判定兼容性。
|
|
10
10
|
- **自定义工具白名单有自己的规则边界。** 策略允许什么、限制什么,见[工具与权限](../reference/tools-and-permissions.md)。
|
|
11
11
|
- **无需 Agent Teams bundle。** 成员通过部署自带的可继续执行 subagent 后端创建;原生消息、任务工具与 Web 名册不受本插件影响。
|
|
12
12
|
- **具备 Settings 与所需客户端服务的 Web 或 Desktop profile。** 安装到实际使用的 profile:Web GUI 通常为 `web`,Desktop 通常为 `desktop`。
|
|
13
13
|
- **成员执行所需的持久存储与支持恢复执行的子智能体后端。** 缺少 storage domain 或所选执行后端时,插件会拒绝创建成员。默认后端名为 `spawn` 和 `fork`。
|
|
14
14
|
|
|
15
|
-
插件版本(`0.3.
|
|
15
|
+
插件版本(`0.3.5`)和 Harness 版本(如 `0.2.2-rc.5`)是不同的版本线。
|
|
16
16
|
|
|
17
17
|
## 安装
|
|
18
18
|
|
|
@@ -18,7 +18,7 @@ The replacements are offered in **Settings → Agent Team presets → Integratio
|
|
|
18
18
|
|
|
19
19
|
| Target | Versions this build patches | What the row offers |
|
|
20
20
|
| --- | --- | --- |
|
|
21
|
-
| `dsh-context` | 0.84.0, 0.84.1, 0.85.0, 0.85.1 | Install patch / Remove patch |
|
|
21
|
+
| `dsh-context` | 0.84.0, 0.84.1, 0.85.0, 0.85.1, 0.87.0 | Install patch / Remove patch |
|
|
22
22
|
| `dsh-better-sidebar` | 0.32.0, 0.32.1 | Install patch / Remove patch |
|
|
23
23
|
|
|
24
24
|
Each row reports its own state and the page never guesses: `not installed`, `version not supported`, `not patched`, `patched`, `modified by something else`. A `version not supported` row names the **installed** version and the **highest one this build patches**, in the reader's language — the only decision that state raises is which side to update. **Install patch** asks for confirmation, backs up the target's `lib/client.js`, then writes this plugin's build of the same source; **Remove patch** restores that backup and deletes it.
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
| 目标插件 | 本版补丁适配的版本 | 该行可执行的操作 |
|
|
20
20
|
| --- | --- | --- |
|
|
21
|
-
| `dsh-context` | 0.84.0、0.84.1、0.85.0、0.85.1 | 安装补丁 / 卸载补丁 |
|
|
21
|
+
| `dsh-context` | 0.84.0、0.84.1、0.85.0、0.85.1、0.87.0 | 安装补丁 / 卸载补丁 |
|
|
22
22
|
| `dsh-better-sidebar` | 0.32.0、0.32.1 | 安装补丁 / 卸载补丁 |
|
|
23
23
|
|
|
24
24
|
每一行报告自己的真实状态,页面不做猜测:`not installed`、`version not supported`、`not patched`、`patched`、`modified by something else`。出现 `version not supported` 时,该行会用你的语言点名**已安装的版本**与**本版最高适配的版本**——这时唯一要决定的就是升级哪一侧。**安装补丁**会先弹出确认框,备份目标插件的 `lib/client.js`,再写入本插件用同一份源码构建的替换包;**卸载补丁**从该备份还原并删除备份。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Private Team Skills
|
|
2
2
|
|
|
3
|
-
This plugin keeps its own Team Skill library: folders or `.zip` archives imported into a plugin-owned store and registered **only** inside the Agent scope of the member they are assigned to. A fresh install also ships
|
|
3
|
+
This plugin keeps its own Team Skill library: folders or `.zip` archives imported into a plugin-owned store and registered **only** inside the Agent scope of the member they are assigned to. A fresh install also ships fourteen built-in skills, already bound to the roles of the built-in Teams; the inventory is in [Built-in Team Skills](../builtin-team-skills.md).
|
|
4
4
|
|
|
5
5
|
[中文](<team-skills.zh.md>) · [Documentation index](../index.md) · [README](../../README.md)
|
|
6
6
|
|
|
@@ -10,8 +10,8 @@ Skills in Harness are typically registered into the global environment, which ex
|
|
|
10
10
|
|
|
11
11
|
1. **Private library:** skills live in a plugin-managed directory (`~/.dsh/agent-team-presets/team-skills` or a storage domain), isolated from host and profile skills.
|
|
12
12
|
2. **Per-Agent registration:** when a member is summoned, its assigned skills are registered **exclusively inside that member's Agent scope**. Other members and the captain cannot see or invoke them unless those skills are explicitly assigned to them too.
|
|
13
|
-
3. **Official built-in skills:**
|
|
14
|
-
4. **Local
|
|
13
|
+
3. **Official built-in skills:** fourteen shipped skills in three kinds — ten workflow, two delivery, two method — pre-bound to the roles of the built-in Teams. The inventory, the per-role default bindings, and the category filter are documented in [Built-in Team Skills](../builtin-team-skills.md); `agent-subagent-orchestration` is bound only to the captain and the executor, so advisors stay single-threaded.
|
|
14
|
+
4. **Local copies and restore:** built-in skills are read-only. Each editable copy gets a unique numbered name, and its creation dialog can optionally move roles already bound to the built-in skill. Restoring resets the copy’s content and returns those roles to the built-in skill.
|
|
15
15
|
5. **Category filter:** the skill library and the member assignment grid each open with a category dropdown (All categories / Workflow / Delivery / Method / Custom). A single skill is drawn exactly as before; the filter only decides which skills are listed, never what a role holds, and the member heading keeps counting every installed skill.
|
|
16
16
|
6. **Localized skill names:** the page labels a shipped skill in the reader's language — a Chinese page shows 「Git 提交与发布规范」 where an English page shows `git-release-hygiene`. The mapping is presentation only: the catalogue the model reads, the stored binding, the preset document, and the asset directory all keep the English `skillId`, so switching language or editing a label never touches the storage format and never breaks a cross-deployment import. A skill this build does not ship keeps showing its English id.
|
|
17
17
|
7. **Origin labels and badges:** skills carry a color-coded origin tag in every view:
|
|
@@ -26,17 +26,28 @@ Isolation is enforced when the member is created, not later: the creation edge w
|
|
|
26
26
|
|
|
27
27
|
## Import, directory scan, and dependencies
|
|
28
28
|
|
|
29
|
-
- **Folder
|
|
30
|
-
- **
|
|
29
|
+
- **Folder import:** choose an external skill folder in the Web interface to add it to the library.
|
|
30
|
+
- **Scan import folder:** the scanner uses `SKILL.md`’s `name` to identify each skill. Click **Scan import folder** to publish new skills and updated packages. An update keeps the existing role bindings and dependency settings. A package with a built-in skill name is refused.
|
|
31
|
+
- **Edit a scanned skill:** opening the skill library checks whether source files or paths changed, including binary resources. Click **Scan import folder** to publish disk changes. Saving an edit from the skill panel writes back to the source and publishes immediately. Scan any pending disk changes before saving from the panel. A removed source folder leaves the last published version and bindings available.
|
|
31
32
|
|
|
32
|
-
|
|
33
|
+
Team Skill dependencies are stored as library metadata. Import preserves `SKILL.md` byte for byte and warns about each top-level `executables`, `mcpServers`, or `otherSkills` key in its YAML frontmatter. Those keys have no effect on dependency configuration, regardless of their values.
|
|
33
34
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
| MCP server | declarative only: listed in the UI (`skillsDeclared`) as an `unverified` dependency | never blocks assignment, and is never connected, launched, or managed by this plugin |
|
|
35
|
+
The dependency panel in the Web interface is read-only. To change dependencies for an editable skill, have your DSH agent call `set_team_skill_dependencies` with the skill name or asset ID. Pass the complete declaration as the `dependencies_json` string. Each array can be empty to clear that dependency category. Use `list_team_skills` to find the exact `assetId` for entries in `otherSkills`.
|
|
36
|
+
|
|
37
|
+
This example sets dependencies for a skill named `report-writer`.
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"skill_id": "report-writer",
|
|
42
|
+
"dependencies_json": "{\"executables\":[\"pandoc\"],\"mcpServers\":[{\"serverName\":\"docs\",\"required\":true}],\"otherSkills\":[\"custom:report-style\"]}"
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
| Field | What DSH users configure | What the plugin checks |
|
|
47
|
+
|---|---|---|
|
|
48
|
+
| `executables` | Install each command separately and put it on the `PATH` seen by the running DSH process. On Windows the lookup also uses `PATHEXT`. | Each entry must resolve to an executable file. Missing commands block assignment (`dependency-missing`). |
|
|
49
|
+
| `mcpServers` | Set up and enable each server in the DSH profile or composition. Once its tools are available, authorize the `mcp__<server>__<name>` tools in the relevant role's tool policy. | Lists the declarations. Required servers are reported as `unverified`, and MCP declarations never block assignment or establish a connection. |
|
|
50
|
+
| `otherSkills` | Install the listed Team Skills separately. To make one available to a role, explicitly assign it to that role as well. | Checks that each asset ID exists in the library. Missing assets block assignment (`dependency-missing`). |
|
|
40
51
|
|
|
41
52
|
**Guarded deletion:** deletion is blocked while a skill is bound to any team role, used by a running member, or required by another skill. The confirmation dialog lists every holding team and member role (for example `标准研发团队 → executor`) and keeps the confirm button disabled until those bindings are cleared.
|
|
42
53
|
|
|
@@ -45,12 +56,13 @@ MCP connectivity is an environment-level fact — the server lifecycle belongs t
|
|
|
45
56
|
**Export** saves one Team as a JSON document (format version 2). **Import preset** reads the document and stages it in the editor.
|
|
46
57
|
|
|
47
58
|
- **Shared fields:** team name, purpose, display metadata (summary, tags, use cases, quick prompts, notes), captain and member names, descriptions, prompts, and colors.
|
|
59
|
+
- **Built-in skill bindings:** version 2 can carry `officialSkills` declarations mapping a built-in skill ID to a role name. The import preview reports invalid declarations and built-in skills missing from this installation. Built-in teams still use their catalog defaults. The document carries neither custom bindings nor skill files.
|
|
48
60
|
- **Local fields:** model routes, reasoning effort, tool permissions, and local category bindings are **never exported**; a document that carries them is rejected on import.
|
|
49
61
|
- **Name collisions:** replace the existing preset or create a renamed copy. Replacement preserves local routes and tool policies on matched roles.
|
|
50
62
|
- Review imported prompts before executing tasks, especially when the document comes from a third party.
|
|
51
63
|
|
|
52
64
|
## Related
|
|
53
65
|
|
|
54
|
-
- [Built-in Team Skills](../builtin-team-skills.md) — the
|
|
55
|
-
- [Built-in Teams](../builtin-teams.md) — the
|
|
66
|
+
- [Built-in Team Skills](../builtin-team-skills.md) — the fourteen shipped skills and their default bindings
|
|
67
|
+
- [Built-in Teams](../builtin-teams.md) — the eleven presets these roles belong to
|
|
56
68
|
- [Getting started](./getting-started.md) — the skill library and member page, screen by screen
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 私有团队技能
|
|
2
2
|
|
|
3
|
-
本插件自带一套团队技能(Team Skill)私有库:导入的技能文件夹或 `.zip` 包存放在插件专属存储中,并且**只在被分配成员自己的 Agent 作用域内**注册。新装环境还随包提供
|
|
3
|
+
本插件自带一套团队技能(Team Skill)私有库:导入的技能文件夹或 `.zip` 包存放在插件专属存储中,并且**只在被分配成员自己的 Agent 作用域内**注册。新装环境还随包提供 14 个内置技能,已默认绑定到内置团队的各角色;完整清单见[内置团队技能](<../builtin-team-skills.zh.md>)。
|
|
4
4
|
|
|
5
5
|
[English](<team-skills.md>) · [文档索引](../index.zh.md) · [README](../../README.zh.md)
|
|
6
6
|
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
1. **私有库:** 技能统一存放在插件专属目录(`~/.dsh/agent-team-presets/team-skills` 或独立存储域),与宿主、Profile 的技能相互隔离。
|
|
12
12
|
2. **角色 Agent 作用域隔离:** 成员被召唤时,其绑定的专属技能**严格仅在该成员的 Agent Scope 内注册**。其他队员和队长既看不到也调不到,除非同样把这些技能显式分配给他们。
|
|
13
|
-
3. **官方内置技能:** 随包提供
|
|
14
|
-
4.
|
|
13
|
+
3. **官方内置技能:** 随包提供 14 个技能,分工作流型、交付型与方法型三类(10 / 2 / 2),默认绑定到内置团队的各角色。完整清单、各角色默认绑定与分类筛选见[内置团队技能](<../builtin-team-skills.zh.md>);`agent-subagent-orchestration` 只绑定队长与执行者,顾问保持单线程。
|
|
14
|
+
4. **本地副本与恢复:** 内置技能只读。每份可编辑副本都有独立的编号名称,创建时可选择切换已绑定内置技能的角色。恢复会重置副本内容,并将使用该副本的角色切回内置版。
|
|
15
15
|
5. **分类筛选:** 团队技能库与成员分配网格的列表顶部各有一个分类下拉框(全部分类 / 工作流型 / 交付型 / 方法型 / 自定义)。单条技能的展示方式不变;筛选只影响列出哪些技能,不影响某个角色持有哪些技能,成员页标题也始终按全部已安装技能统计。
|
|
16
16
|
6. **随包技能的中英文名:** 界面按当前语言显示技能名——中文界面显示「Git 提交与发布规范」,英文界面显示 `git-release-hygiene`。这张映射表**仅用于展示**:模型读到的技能目录、存储的绑定、预设文档与磁盘上的资产目录一律仍是英文 `skillId`,因此切换语言或修改显示名都不会动存储格式,也不会破坏跨部署导入。本版本未收录的技能继续显示其英文 id。
|
|
17
17
|
7. **来源标签与色标:** 各视图都会给出按来源区分的色标:
|
|
@@ -26,17 +26,28 @@
|
|
|
26
26
|
|
|
27
27
|
## 导入、目录扫描与依赖守护
|
|
28
28
|
|
|
29
|
-
-
|
|
30
|
-
-
|
|
29
|
+
- **文件夹导入:** 在 Web 界面选择外部技能文件夹,将它添加到技能库。
|
|
30
|
+
- **扫描导入目录:** 用 `SKILL.md` 里的 `name` 识别技能。点击「扫描导入目录」后,发布新技能和已有技能的新版本。更新保留角色绑定和依赖设置。包名撞到内置技能时会被拒绝。
|
|
31
|
+
- **编辑扫描导入的技能:** 打开技能库时会检测来源目录的文件变化,包括文件路径和二进制资源。直接修改磁盘后,点击「扫描导入目录」发布新版。通过技能面板保存时,修改写回来源目录并立即发布。若磁盘已有待更新内容,请先扫描再保存。来源目录被移除后,上一版技能及其绑定仍然可用。
|
|
31
32
|
|
|
32
|
-
|
|
33
|
+
团队技能的依赖单独保存在技能库的资产元数据中。导入会原样保留 `SKILL.md` 的字节,并对 YAML frontmatter 中显式出现的顶层 `executables`、`mcpServers` 和 `otherSkills` 字段逐项提示。无论字段值是什么,都不会应用为依赖配置。
|
|
33
34
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
| MCP 服务 | 仅声明式:在界面中列为 `unverified` 依赖(`skillsDeclared`) | 不阻断分配;插件从不连接、拉起或管理该服务 |
|
|
35
|
+
Web 界面的依赖面板仅供查看。要修改可编辑技能的依赖,请让 DSH 智能体调用 `set_team_skill_dependencies`,传入技能名或资产 ID,并将完整的依赖声明作为 `dependencies_json` 字符串传给工具。需要清除某类依赖时,可将对应数组设为空。`otherSkills` 使用资产 ID,可通过 `list_team_skills` 查询对应的 `assetId`。
|
|
36
|
+
|
|
37
|
+
以下示例为名为 `report-writer` 的技能设置依赖。
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"skill_id": "report-writer",
|
|
42
|
+
"dependencies_json": "{\"executables\":[\"pandoc\"],\"mcpServers\":[{\"serverName\":\"docs\",\"required\":true}],\"otherSkills\":[\"custom:report-style\"]}"
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
| 字段 | 如何准备依赖 | 插件如何检查 |
|
|
47
|
+
|---|---|---|
|
|
48
|
+
| `executables` | 单独安装各命令,并将其加入运行中的 DSH 进程能看到的 `PATH`。Windows 查找时还会使用 `PATHEXT`。 | 每项都必须能找到可执行文件。缺失命令会阻断分配(`dependency-missing`)。 |
|
|
49
|
+
| `mcpServers` | 在 DSH 的 Profile 或组合配置中配置并启用服务。服务工具可用后,在相应角色的工具策略中授权 `mcp__<server>__<name>` 工具。 | 显示声明,标记必需服务为 `unverified`。MCP 声明不会阻断分配,也不会建立连接。 |
|
|
50
|
+
| `otherSkills` | 单独安装声明的团队技能。要让角色能够使用其中一项,还要把它单独分配给该角色。 | 检查各资产 ID 是否存在于技能库。缺失资产会阻断分配(`dependency-missing`)。 |
|
|
40
51
|
|
|
41
52
|
**强阻断保护的删除:** 技能只要被任何团队角色分配、被运行中的成员占用,或被其他技能依赖,删除即被阻断。删除确认框会列出所有持有者(团队与角色,例如 `标准研发团队 → executor`),并在这些绑定解除前保持确认按钮禁用。
|
|
42
53
|
|
|
@@ -45,12 +56,13 @@ MCP 连接状态属于宿主环境级事实——服务的生命周期由 Harnes
|
|
|
45
56
|
**导出**将一个团队保存为 JSON 文档(格式版本 2)。**导入预设**读取该文档并暂存到编辑器中。
|
|
46
57
|
|
|
47
58
|
- **分享的字段:** 团队名称、用途、展示元数据(简介、标签、适用场景、推荐任务、备注),以及队长与成员的名称、描述、提示词、颜色。
|
|
59
|
+
- **内置技能绑定:** 版本 2 可通过 `officialSkills` 声明内置技能 ID 与角色名的对应关系。导入预览会提示无效声明,以及当前环境里缺少的内置技能。内置团队仍使用随包默认绑定。预设文件不携带自定义绑定或技能文件。
|
|
48
60
|
- **本地字段:** 模型路由、推理强度、工具权限与本地分类归属**绝不导出**;携带这些字段的文档在导入时被拒绝。
|
|
49
61
|
- **名称冲突:** 可覆盖已有预设,或改名新建。覆盖时会保留匹配角色上的本地路由与工具策略。
|
|
50
62
|
- 执行任务前请先审阅导入的提示词,尤其是来自第三方的文档。
|
|
51
63
|
|
|
52
64
|
## 相关
|
|
53
65
|
|
|
54
|
-
- [内置团队技能](<../builtin-team-skills.zh.md>)——
|
|
55
|
-
- [内置团队](<../builtin-teams.zh.md>)
|
|
66
|
+
- [内置团队技能](<../builtin-team-skills.zh.md>)——14 个随包技能及其默认绑定
|
|
67
|
+
- [内置团队](<../builtin-teams.zh.md>)——这些角色所属的十一个预设
|
|
56
68
|
- [新手必读(图文)](<getting-started.zh.md>)——技能库与成员页的逐屏说明
|
|
@@ -50,12 +50,12 @@ Hover a Team row in the composer picker to open its member panel. The captain is
|
|
|
50
50
|
|
|
51
51
|
### Built-in presets
|
|
52
52
|
|
|
53
|
-
A fresh installation seeds
|
|
53
|
+
A fresh installation seeds eleven editable Teams across two series — four development-scale Teams and seven work-mode Teams:
|
|
54
54
|
|
|
55
55
|
| Series | Teams |
|
|
56
56
|
|---|---|
|
|
57
|
-
| **研发规模系列 (Classic Development Scale)** | 轻量研发团队 `builtin-lightweight` · 标准研发团队 `builtin-standard` · 全栈软件研发团队 `builtin-fullstack` |
|
|
58
|
-
| **工作模式系列 (Work Modes)** | 需求探索 `builtin-discovery` · 架构规划 `builtin-planning` · 既定工作流执行 `builtin-workflow` · 工程研发协作 `builtin-engineering` · 独立代码与安全审计 `builtin-audit` · 科研协作 `builtin-research` |
|
|
57
|
+
| **研发规模系列 (Classic Development Scale)** | 轻量研发团队 `builtin-lightweight` · 标准研发团队 `builtin-standard` · 全栈软件研发团队 `builtin-fullstack` · 高质量长程研发团队 `builtin-long-running` |
|
|
58
|
+
| **工作模式系列 (Work Modes)** | 需求探索 `builtin-discovery` · 架构规划 `builtin-planning` · 既定工作流执行 `builtin-workflow` · 工程研发协作 `builtin-engineering` · 独立代码与安全审计 `builtin-audit` · 科研协作 `builtin-research` · 工程治理团队 `builtin-engineering-governance` |
|
|
59
59
|
|
|
60
60
|
Each preset's roles, its intended use, and the Team Skills those roles receive are documented in [Built-in Teams](../builtin-teams.md) and [Built-in Team Skills](../builtin-team-skills.md).
|
|
61
61
|
|
|
@@ -75,6 +75,16 @@ Each Team preset supports rich metadata:
|
|
|
75
75
|
|
|
76
76
|
**Token economy:** Display metadata is stored in the preset document and used by the UI for search, grouping, and cards, but is **never injected into the runtime LLM prompt context**.
|
|
77
77
|
|
|
78
|
+
**Where the line falls:** a field belongs to one side or the other depending only on whether it reaches model context.
|
|
79
|
+
|
|
80
|
+
| Reaches context (the model sees it) | Stays out (a human sees it) |
|
|
81
|
+
|---|---|
|
|
82
|
+
| Team name and purpose description | Display metadata: summary, tags, use cases, quick prompts, notes |
|
|
83
|
+
| Captain prompt, member descriptions and member prompts | Category assignment |
|
|
84
|
+
| Each role's model route and tool policy | Accent colors and list ordering |
|
|
85
|
+
|
|
86
|
+
The left column decides how the Team works, so changing it really changes model behavior. The right column only affects cards, the picker, and search results; it costs no tokens no matter how much you write.
|
|
87
|
+
|
|
78
88
|
### Local categories and hierarchical filtering
|
|
79
89
|
|
|
80
90
|
- **Category manager:** Click **管理团队预设分类** in the Settings list to open a dedicated management page. Create, rename, reorder, and delete categories, and inspect team counts per category.
|
|
@@ -89,4 +99,4 @@ Each Team preset supports rich metadata:
|
|
|
89
99
|
|
|
90
100
|
- [Install and upgrade](install.md)
|
|
91
101
|
- [Getting started](getting-started.md) — the illustrated walkthrough, screen by screen.
|
|
92
|
-
- [Built-in Teams](../builtin-teams.md) — roles and intended use of all
|
|
102
|
+
- [Built-in Teams](../builtin-teams.md) — roles and intended use of all eleven presets.
|