claude-everything-workflow 0.2.3 → 0.2.4

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.
Files changed (51) hide show
  1. package/.agents/plugins/marketplace.json +12 -0
  2. package/.claude-plugin/hooks.json +33 -0
  3. package/.claude-plugin/marketplace.json +12 -0
  4. package/.claude-plugin/plugin.json +10 -0
  5. package/.codex-plugin/plugin.json +20 -0
  6. package/AGENTS.md +11 -17
  7. package/README.md +107 -404
  8. package/README.zh-CN.md +158 -0
  9. package/agents/database-reviewer.md +0 -3
  10. package/docs/plugins.md +91 -0
  11. package/harness/manifest.json +8 -44
  12. package/package.json +8 -1
  13. package/references/git-worktrees.md +29 -0
  14. package/rules/05-git-workflow.md +2 -0
  15. package/rules/common/agent-orchestration.md +1 -1
  16. package/rules/common/context-hygiene.md +2 -0
  17. package/rules/common/skills-learning.md +1 -1
  18. package/rules/common/testing.md +7 -0
  19. package/scripts/install.ps1 +3 -1
  20. package/scripts/install.sh +3 -1
  21. package/scripts/retired-skill-files.json +9 -0
  22. package/scripts/verify/continuation-checks.test.js +101 -0
  23. package/scripts/verify/core.js +1 -0
  24. package/scripts/verify/grilling-spec-gate-checks.js +37 -6
  25. package/scripts/verify/install-rules.test.js +11 -2
  26. package/scripts/verify/metadata-checks.js +9 -23
  27. package/scripts/verify/plugin-distribution.test.js +40 -0
  28. package/scripts/verify/repository-checks.js +7 -22
  29. package/scripts/verify/skill-invocation.test.js +3 -2
  30. package/scripts/verify/skill-manifest-checks.js +1 -1
  31. package/scripts/verify/skill-manifest-checks.test.js +12 -0
  32. package/scripts/verify/workflow-checks.js +3 -69
  33. package/skills/README.md +3 -6
  34. package/skills/continuous-learning-v2/SKILL.md +4 -2
  35. package/skills/domain-modeling/SKILL.md +6 -4
  36. package/skills/feature-acceptance/SKILL.md +6 -2
  37. package/skills/grilling/SKILL.md +3 -2
  38. package/skills/handoff/agents/openai.yaml +3 -0
  39. package/skills/implement/SKILL.md +3 -3
  40. package/skills/improve-codebase-architecture/agents/openai.yaml +3 -0
  41. package/skills/spec-gate/SKILL.md +3 -1
  42. package/skills/subagent-driven-development/SKILL.md +1 -1
  43. package/skills/systematic-debugging/SKILL.md +34 -2
  44. package/skills/systematic-debugging/references/diagnostic-scenarios.md +28 -0
  45. package/skills/triage/agents/openai.yaml +3 -0
  46. package/skills/using-superpowers/SKILL.md +9 -5
  47. package/skills/using-superpowers/references/process-outcomes.md +10 -7
  48. package/references/agents/database-reviewer.md +0 -657
  49. package/skills/iterative-retrieval/SKILL.md +0 -84
  50. package/skills/using-git-worktrees/SKILL.md +0 -67
  51. package/skills/verification-before-completion/SKILL.md +0 -78
@@ -1,84 +0,0 @@
1
- ---
2
- name: iterative-retrieval
3
- description: "收敛大仓库、证据或盲点检索;避免一次性读取无关内容。"
4
- ---
5
-
6
- # Iterative Retrieval
7
-
8
- 这个 skill 解决子代理和大仓库探索的核心问题:开始时不知道要读什么,但把所有内容都塞进上下文会让模型变差。
9
-
10
- 它同时负责可调查的事实、证据和盲点缺口。优先用代码搜索、现有测试、文档、日志、截图或小实验缩小未知项,不把可查事实转问用户。
11
-
12
- ## 四阶段闭环
13
-
14
- 最多跑 3 轮,每轮都要缩小范围。
15
-
16
- 1. **Dispatch**:用当前任务生成第一批搜索条件,包括路径 glob、关键词、排除目录和已知入口。
17
- 2. **Evaluate**:按相关性给候选文件分级,并记录为什么相关、还缺什么上下文。
18
- 3. **Refine**:从高相关文件里提取项目术语、调用链、类型名和目录模式,更新下一轮搜索条件。
19
- 4. **Loop / Stop**:如果已有足够高相关上下文,停止;否则进入下一轮。三轮后仍不足时,带着最佳证据继续,并明确缺口。
20
-
21
- ## 相关性分级
22
-
23
- | 等级 | 判断 | 动作 |
24
- | --- | --- | --- |
25
- | 高 | 直接实现目标行为、核心调用链或关键配置 | 读细节并保留路径 |
26
- | 中 | 提供同类模式、类型、测试或接口契约 | 只抽取模式或术语 |
27
- | 低 | 只是同名或旁路引用 | 记录后排除 |
28
- | 无 | 与任务无关 | 加入排除条件 |
29
-
30
- ## 子代理任务模板
31
-
32
- ```markdown
33
- 目标:[一句话说明要找什么]
34
- 范围:[允许搜索的目录/文件]
35
- 排除:[node_modules、dist、生成物、无关目录]
36
- 初始关键词:[3-8 个]
37
-
38
- 请最多执行 3 轮检索:
39
- 1. 每轮列出查询条件。
40
- 2. 对候选文件标注高/中/低/无相关性和理由。
41
- 3. 根据发现更新下一轮关键词或路径。
42
- 4. 最后只回传:关键文件、证据、缺失上下文、建议下一步。
43
-
44
- 不要回传完整 grep 输出、目录树或长日志。
45
- ```
46
-
47
- ## 回传格式
48
-
49
- ```markdown
50
- ## 结论
51
- [是否已找到足够上下文]
52
-
53
- ## 关键文件
54
- - `path/to/file`:[为什么高相关]
55
-
56
- ## 证据
57
- - `path/to/file:line`:[可复核事实]
58
-
59
- ## 缺口
60
- - [仍缺的文件/术语/接口]
61
-
62
- ## 下一步
63
- - [最小可执行动作]
64
- ```
65
-
66
- ## 停止条件
67
-
68
- - 已找到 2-5 个高相关文件,且缺口不影响当前决策。
69
- - 下一轮搜索只会扩大噪音,没有新的术语或路径线索。
70
- - 任务需要用户或外部系统信息,继续本地检索无法推进。
71
-
72
- ## 路由边界
73
-
74
- - 只因任务复杂、高风险、多文件或长周期,不启动额外调查。
75
- - 若剩余缺口是会实质改变结果的用户决策,记录证据并返回中央路由,由 `skills/grilling/SKILL.md` 收敛。
76
- - 若证据暴露高回滚成本边界,报告风险分类并返回中央路由,由 `skills/spec-gate/SKILL.md` 处理。
77
- - 检索结束后返回 `skills/using-superpowers/SKILL.md` 重新路由,不要自行枚举或调用下一 skill。
78
-
79
- ## 反模式
80
-
81
- - 一开始就读取全仓、完整日志或完整搜索结果。
82
- - 只按关键词命中数排序,不解释相关性。
83
- - 子代理返回探索过程而不是压缩后的证据。
84
- - 明明缺关键上下文,却假装已经足够。
@@ -1,67 +0,0 @@
1
- ---
2
- name: using-git-worktrees
3
- description: Use a worktree for every new feature; follow Git rules for other isolation needs and reuse a suitable task worktree.
4
- ---
5
-
6
- # Using Git Worktrees
7
-
8
- Reference: https://github.com/obra/superpowers
9
-
10
- Worktree triggers are owned by `rules/05-git-workflow.md`: every new feature uses a task worktree,
11
- including a single-file feature. Inspect first and reuse an existing suitable task worktree.
12
-
13
- ## Preconditions
14
-
15
- - Use only inside a git repository.
16
- - Read-only analysis needs no worktree. For non-feature changes, apply the isolation conditions in the Git rule;
17
- file count alone is not a trigger or an exemption.
18
- - Never discard or overwrite existing user changes.
19
- - If the current worktree has unrelated changes and the task requires broad edits, prefer a new worktree.
20
- - Honor this repo's base-branch policy: when `rules/05-git-workflow.md` requires it, base on the latest upstream base (`origin/main`), never on an outdated local `main` or the current `HEAD`.
21
-
22
- ## Flow
23
-
24
- 1. Inspect repository state.
25
-
26
- ```bash
27
- git status --short
28
- git branch --show-current
29
- git rev-parse --show-toplevel
30
- ```
31
-
32
- 2. Choose a branch name with the project convention. For Codex-managed branches, prefer `codex/<short-task-name>` unless the user requested another name.
33
-
34
- 3. Create the worktree from the base this repo's rules require (here `rules/05-git-workflow.md`): base on the latest required upstream, e.g. `origin/main`, not the current `HEAD` or an outdated local `main`.
35
-
36
- ```bash
37
- git worktree add ../<repo-name>-<short-task-name> -b codex/<short-task-name> <base-ref>
38
- ```
39
-
40
- 4. Run setup in the new worktree only when the project requires it. Do not reinstall dependencies if the project already supports shared caches or the task is docs-only.
41
-
42
- 5. Do all implementation, testing, and review inside the worktree. Keep the original checkout untouched except for user-approved coordination changes.
43
-
44
- 6. Before finishing, report:
45
- - worktree path
46
- - branch name
47
- - base commit or base branch
48
- - commands run
49
- - remaining cleanup, if any
50
-
51
- ## Cleanup
52
-
53
- After the branch is merged, abandoned, or the user asks to clean up:
54
-
55
- ```bash
56
- git worktree list
57
- git worktree remove <worktree-path>
58
- git branch -d codex/<short-task-name>
59
- ```
60
-
61
- Use `git branch -D` only when the user explicitly confirms deleting an unmerged branch.
62
-
63
- ## Safety
64
-
65
- - Do not run destructive cleanup from a computed path unless the absolute target path has been verified.
66
- - Do not create nested worktrees inside another worktree.
67
- - Do not use worktrees as a substitute for understanding the current dirty state; inspect first.
@@ -1,78 +0,0 @@
1
- ---
2
- name: verification-before-completion
3
- description: Before claiming done, fixed, passing, or ready, run fresh checks and report skipped items and risks.
4
- ---
5
-
6
- # Verification Before Completion
7
-
8
- Use this skill before any success or completion claim.
9
-
10
- Core rule: do not say work is complete, fixed, passing, or ready unless fresh verification evidence from this turn supports that claim.
11
-
12
- ## Gate
13
-
14
- Before making a completion claim:
15
-
16
- 1. Identify the smallest command or manual check that proves the claim.
17
- 2. Run the relevant command unless this turn already has evidence for the final unchanged state.
18
- Reuse that evidence; rerun only after new changes, failures, or unresolved concerns.
19
- 3. Read the output and exit code.
20
- 4. Compare the result against the exact claim.
21
- 5. Report the claim only with evidence.
22
-
23
- If verification cannot run, say that it was not run and explain the remaining risk. Do not replace evidence with confidence.
24
-
25
- ## Claims And Required Evidence
26
-
27
- | Claim | Required evidence |
28
- | --- | --- |
29
- | Tests pass | Fresh test command output with exit code 0 or an exact pass count |
30
- | Build succeeds | Fresh build command output with exit code 0 |
31
- | Lint is clean | Fresh lint command output with zero reported errors |
32
- | Bug is fixed | Fresh reproduction or regression test showing the original symptom no longer occurs |
33
- | Task is complete | Spec, plan, or user request checklist verified against the changed files |
34
- | Ready for `/pr` | `/verify` or equivalent checks with skipped checks and risks stated |
35
- | Delegated agent work is done | Controller checks the returned diff and required verification; review depth follows `code-review`, and a worker report alone is insufficient |
36
-
37
- ## Red Flags
38
-
39
- Stop and verify before using language like:
40
-
41
- - "完成了"
42
- - "已修复"
43
- - "通过了"
44
- - "可以提交"
45
- - "ready"
46
- - "should pass"
47
- - "looks good"
48
- - "应该没问题"
49
-
50
- ## Failed Or Partial Verification
51
-
52
- If verification fails:
53
-
54
- 1. State the exact failing command and result.
55
- 2. Apply the graded entry in `skills/systematic-debugging/SKILL.md`; expected TDD RED is not a verification defect.
56
- 3. Re-run the relevant verification after the fix.
57
-
58
- If verification is partial:
59
-
60
- 1. State what passed.
61
- 2. State what did not run and why.
62
- 3. State what risk remains.
63
- 4. Avoid broader completion claims than the evidence supports.
64
-
65
- ## Reporting Format
66
-
67
- Use this compact format in final summaries and task checkpoints:
68
-
69
- ```text
70
- 验证:
71
- - <command>: <passed/failed/not run> — <evidence>
72
-
73
- 未运行:
74
- - <check>: <reason>
75
-
76
- 剩余风险:
77
- - <risk or "无已知剩余风险">
78
- ```