@mingfuyun/star-allinone 0.4.16 → 0.4.18
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/package.json
CHANGED
|
@@ -13,6 +13,16 @@ disable-model-invocation: true
|
|
|
13
13
|
|
|
14
14
|
经 `custom-entry` 在 flow 意图下委托时:先做下面的先决分流,再决定是否进入阶段机。原子 skill 必须 **完整 Read 后原样执行**,不得缩短其确认门,不得把正文抄进本目录。
|
|
15
15
|
|
|
16
|
+
## 执行方式
|
|
17
|
+
|
|
18
|
+
「按/按照星系流程」只负责选原来的 skill 并按它执行,不是再做一轮分析。
|
|
19
|
+
|
|
20
|
+
- 提交、发布:不要打开本 skill 的 references。直接执行对应 skill,用户可见回复与单点相同。
|
|
21
|
+
- 需求或接口调整:只在出方案时读 `plan-template.md`。`确认方案` 之后按清单连续执行原 skill。
|
|
22
|
+
- **禁止**为了填 `phase` / `done` / `blocked` / `next_action` 单独停一轮,也禁止在两个 skill 之间另插「进入某阶段」的旁白。`await_commit` 的用户可见正文是 `shared-review-and-submit` 的审查报告(影响面、审查、修改范围),这不是插入的分析轮,禁止摘要掉。
|
|
23
|
+
- 契约分支能从用户原话或已有 diff 看出来时,不要读 `swagger-gate.md` 再分析一遍;只有不确定时才问一句。
|
|
24
|
+
- `session-protocol.md`、`gates.md` 不必每轮 Read。口令以本文件和被委托 skill 为准。
|
|
25
|
+
|
|
16
26
|
## 先决分流
|
|
17
27
|
|
|
18
28
|
「按照」和「按」相同。下面两句里的「流程」只表示走入口,**不是**需求,**不是**接口调整。
|
|
@@ -35,9 +45,9 @@ disable-model-invocation: true
|
|
|
35
45
|
|
|
36
46
|
## 每轮输出
|
|
37
47
|
|
|
38
|
-
|
|
48
|
+
下面的字段只在需求或接口调整**停下来等用户**时附一行。先决分流、以及正在执行原 skill 的中间过程,都不要输出,也不要为此再读文件。
|
|
39
49
|
|
|
40
|
-
|
|
50
|
+
需要停住时直接写:
|
|
41
51
|
|
|
42
52
|
```text
|
|
43
53
|
phase: <intake|plan|await_plan|swagger_gate|implement|verify|await_commit|await_publish|done>
|
|
@@ -88,7 +98,7 @@ next_action: …
|
|
|
88
98
|
|
|
89
99
|
### swagger_gate
|
|
90
100
|
|
|
91
|
-
|
|
101
|
+
这是选 skill 的内部分支,不是给用户的分析轮。只认分支类型,仓别 skill 名用 `custom-entry/references/project-rules.md`。不确定就问一句,禁止猜全量。选完立刻执行,不要先复述判定过程。
|
|
92
102
|
|
|
93
103
|
| 分支类型 | 动作 |
|
|
94
104
|
| --- | --- |
|
|
@@ -101,7 +111,7 @@ next_action: …
|
|
|
101
111
|
|
|
102
112
|
### implement
|
|
103
113
|
|
|
104
|
-
|
|
114
|
+
按方案里的有序清单连续执行原来的 skill。禁止跳步、禁止扩大清单外范围。每个原子 skill 完整 Read 后原样执行。实现和校验的中间过程不要另写分析汇报。进入 `await_commit` 后,下一条用户可见回复就是审查报告。
|
|
105
115
|
|
|
106
116
|
### verify
|
|
107
117
|
|
|
@@ -113,7 +123,13 @@ next_action: …
|
|
|
113
123
|
|
|
114
124
|
### await_commit
|
|
115
125
|
|
|
116
|
-
Read 并原样执行 `.agents/skills/shared-review-and-submit/SKILL.md
|
|
126
|
+
Read 并原样执行 `.agents/skills/shared-review-and-submit/SKILL.md`。停住前的那条用户可见回复必须带齐该 skill 的三节,不要另写清单,也不要收成摘要:
|
|
127
|
+
|
|
128
|
+
1. **影响面**:`references/impact-analysis.md`
|
|
129
|
+
2. **审查**:`references/verify.md` 与 `references/ai-review.md`
|
|
130
|
+
3. **修改范围**:`references/commit.md`
|
|
131
|
+
|
|
132
|
+
改动只有一行也要写全。然后停住,等待 `确认提交` 或 `确认提交并推送`。口令以该 skill 与 [references/gates.md](references/gates.md) 为准。不在这条回复里执行 git 写入。
|
|
117
133
|
|
|
118
134
|
提交完成后:
|
|
119
135
|
|
|
@@ -96,6 +96,8 @@ For long lists in the final response, group related items and rank the most rele
|
|
|
96
96
|
|
|
97
97
|
Never omit relevant items when completeness matters. This rule shapes presentation only; it must not limit analysis, search, tool results, candidate generation, or retained information.
|
|
98
98
|
|
|
99
|
+
The pre-submit review report is one of those cases. Keep the sections 影响面, 审查, and 修改范围 on screen. Do not hold them back under the five-item cap.
|
|
100
|
+
|
|
99
101
|
### 10. No preamble, no recap, no closing pleasantries
|
|
100
102
|
|
|
101
103
|
Forbidden openers: "Great question," "Let me...", "I'll...", "Sure!", "Looking at your...", "To answer your question..."
|
|
@@ -106,6 +108,8 @@ Forbidden closers: "Let me know if you need anything else," "Hope this helps," "
|
|
|
106
108
|
|
|
107
109
|
Start with the answer. End when the answer is done.
|
|
108
110
|
|
|
111
|
+
The review report is the answer for a commit wait. It is not a recap of the implementation, so do not delete it in the pre-send check.
|
|
112
|
+
|
|
109
113
|
## When to break the rules
|
|
110
114
|
|
|
111
115
|
Override the defaults when:
|
|
@@ -116,6 +120,7 @@ Override the defaults when:
|
|
|
116
120
|
4. Real ambiguity in the request. One short clarifying question beats guessing and rewriting.
|
|
117
121
|
5. A rule fights the task. When a rule would delete the answer itself, the task wins; the shape stays. Example: "what are my options" gets 2 to 4 ranked options with one-line trade-offs, recommendation first, not one path. The options are the answer.
|
|
118
122
|
6. A rule fights the harness. Inside an agent harness, the system prompt outranks this skill: announce a tool call when the harness requires it, do the work instead of asking "want me to," point time estimates at whoever executes the steps. Same principle as 5: the constraint wins, the shape stays.
|
|
123
|
+
7. The message waits for `确认提交` or `确认提交并推送`. Output the full `shared-review-and-submit` report: 影响面, 审查, 修改范围. The first line can be the confirmation phrase. Do not collapse those sections.
|
|
119
124
|
|
|
120
125
|
## Pre-send check
|
|
121
126
|
|
|
@@ -73,3 +73,11 @@ If the user says `提交代码` before a review proposal exists, run the three s
|
|
|
73
73
|
## User-facing output
|
|
74
74
|
|
|
75
75
|
Read and apply `.agents/skills/shared-i-have-adhd/i-have-adhd.md` to every response this skill sends to the user.
|
|
76
|
+
|
|
77
|
+
The message that waits for `确认提交` or `确认提交并推送` is the review report. Reuse the three workflow steps above. Do not write a second checklist, and do not replace the report with `未发现阻断问题` plus a commit subject. A one-line diff does not shorten it. ADHD mode may put the confirmation phrase on the first line. It must not delete these sections:
|
|
78
|
+
|
|
79
|
+
1. **影响面** — from [references/impact-analysis.md](references/impact-analysis.md): what changed, callers and pages, related APIs / types / permissions / routes, shared-component blast radius, and how to regress.
|
|
80
|
+
2. **审查** — from [references/verify.md](references/verify.md) and [references/ai-review.md](references/ai-review.md): P0–P2, tracking / permission / async / empty states, command results, uncovered risks, plus hooks, API contract, permission, and forms.
|
|
81
|
+
3. **修改范围** — from [references/commit.md](references/commit.md): findings, validation, branch and remote, exact file paths, and the commit message.
|
|
82
|
+
|
|
83
|
+
Then stop. Do not run Git writes in that message.
|