@haaaiawd/anws 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +180 -180
- package/lib/manifest.js +212 -212
- package/package.json +1 -1
- package/templates/.agents/skills/anws-system/SKILL.md +108 -108
- package/templates/.agents/skills/code-reviewer/SKILL.md +101 -101
- package/templates/.agents/skills/concept-modeler/SKILL.md +179 -178
- package/templates/.agents/skills/craft-authoring/SKILL.md +6 -6
- package/templates/.agents/skills/design-reviewer/SKILL.md +190 -176
- package/templates/.agents/skills/e2e-testing-guide/SKILL.md +204 -59
- package/templates/.agents/skills/nexus-mapper/SKILL.md +321 -306
- package/templates/.agents/skills/report-template/SKILL.md +92 -85
- package/templates/.agents/skills/runtime-inspector/SKILL.md +12 -12
- package/templates/.agents/skills/sequential-thinking/SKILL.md +225 -216
- package/templates/.agents/skills/spec-writer/SKILL.md +9 -9
- package/templates/.agents/skills/spec-writer/references/prd_template.md +6 -6
- package/templates/.agents/skills/system-architect/SKILL.md +678 -620
- package/templates/.agents/skills/system-designer/SKILL.md +601 -534
- package/templates/.agents/skills/system-designer/references/system-design-detail-template.md +5 -5
- package/templates/.agents/skills/system-designer/references/system-design-template.md +28 -28
- package/templates/.agents/skills/task-planner/SKILL.md +699 -629
- package/templates/.agents/skills/task-planner/references/TASK_TEMPLATE.md +15 -15
- package/templates/.agents/skills/task-reviewer/SKILL.md +388 -363
- package/templates/.agents/skills/tech-evaluator/SKILL.md +144 -135
- package/templates/.agents/skills/tech-evaluator/references/ADR_TEMPLATE.md +80 -78
- package/templates/.agents/workflows/blueprint.md +391 -391
- package/templates/.agents/workflows/challenge.md +52 -52
- package/templates/.agents/workflows/change.md +346 -346
- package/templates/.agents/workflows/craft.md +11 -11
- package/templates/.agents/workflows/design-system.md +631 -631
- package/templates/.agents/workflows/explore.md +399 -399
- package/templates/.agents/workflows/forge.md +75 -73
- package/templates/.agents/workflows/genesis.md +353 -353
- package/templates/.agents/workflows/probe.md +243 -243
- package/templates/.agents/workflows/quickstart.md +123 -123
- package/templates/.agents/workflows/upgrade.md +10 -10
- package/templates/AGENTS.md +149 -149
|
@@ -42,7 +42,7 @@ description: "创建高质量的工作流、技能和提示词。适用于需要
|
|
|
42
42
|
|
|
43
43
|
---
|
|
44
44
|
|
|
45
|
-
##
|
|
45
|
+
## CRITICAL 工艺原则
|
|
46
46
|
|
|
47
47
|
> [!IMPORTANT]
|
|
48
48
|
> **六大核心原则**:
|
|
@@ -56,19 +56,19 @@ description: "创建高质量的工作流、技能和提示词。适用于需要
|
|
|
56
56
|
|
|
57
57
|
---
|
|
58
58
|
|
|
59
|
-
##
|
|
59
|
+
## 反模式速查表 (Anti-Pattern Checklist)
|
|
60
60
|
|
|
61
61
|
> [!IMPORTANT]
|
|
62
62
|
> **创建前和提交前,必须检查以下反模式:**
|
|
63
63
|
>
|
|
64
64
|
>
|
|
65
|
-
> | 反模式 |
|
|
65
|
+
> | 反模式 | 错误示例 | 正确做法 |
|
|
66
66
|
> | ----------- | -------------- | ------------------------ |
|
|
67
67
|
> | **模糊指令** | "让它更专业" | "使用正式语气,避免口语化表达" |
|
|
68
68
|
> | **Step 过载** | 一个 Step 包含5个任务 | 每个 Step 只做一件事 |
|
|
69
69
|
> | **无输出定义** | "完成后提交" | "产出 JSON 格式,包含 X/Y/Z 字段" |
|
|
70
70
|
> | **无思考引导** | "好好想想" | 列出 3-5 个具体引导问题 |
|
|
71
|
-
> | **无示例对比** | 只说"要做到X" | 给出
|
|
71
|
+
> | **无示例对比** | 只说"要做到X" | 给出 / 对比示例 |
|
|
72
72
|
> | **跳过调研** | 直接开始写模板 | 先调用 explore 或 search_web |
|
|
73
73
|
> | **一次成型** | 写完直接输出 | 自我批评后再输出 |
|
|
74
74
|
>
|
|
@@ -94,7 +94,7 @@ description: "创建高质量的工作流、技能和提示词。适用于需要
|
|
|
94
94
|
|
|
95
95
|
---
|
|
96
96
|
|
|
97
|
-
##
|
|
97
|
+
## 先理解本质:Skill 与 Workflow 是完全不同的东西
|
|
98
98
|
|
|
99
99
|
> [!IMPORTANT]
|
|
100
100
|
> **在选模式前,必须真正理解它们的差异——否则造出来的东西精神错位。**
|
|
@@ -142,7 +142,7 @@ description: "创建高质量的工作流、技能和提示词。适用于需要
|
|
|
142
142
|
|
|
143
143
|
---
|
|
144
144
|
|
|
145
|
-
## Step 3: 调研最佳实践 (Research Best Practices)
|
|
145
|
+
## Step 3: 调研最佳实践 (Research Best Practices)
|
|
146
146
|
|
|
147
147
|
**目标**: 在动手设计前,了解行业最佳实践和参考样例。
|
|
148
148
|
|
|
@@ -235,9 +235,9 @@ description: "创建高质量的工作流、技能和提示词。适用于需要
|
|
|
235
235
|
---
|
|
236
236
|
|
|
237
237
|
<completion_criteria>
|
|
238
|
-
-
|
|
239
|
-
-
|
|
240
|
-
-
|
|
241
|
-
-
|
|
242
|
-
-
|
|
238
|
+
- 确定了创建类型 (Workflow / Skill / Prompt)
|
|
239
|
+
- 完成了调研阶段(Step 3)
|
|
240
|
+
- 已阅读并按 **`craft-authoring`** skill 完成脚手架、防护与自检
|
|
241
|
+
- 产出已写入约定路径且格式可用
|
|
242
|
+
- 用户已确认
|
|
243
243
|
</completion_criteria>
|