claude-everything-workflow 0.2.2 → 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 (92) 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 +13 -18
  7. package/CLAUDE.md +1 -5
  8. package/README.md +101 -368
  9. package/README.zh-CN.md +158 -0
  10. package/agents/database-reviewer.md +0 -3
  11. package/agents/e2e-runner.md +8 -141
  12. package/commands/code-review.md +9 -30
  13. package/commands/pr.md +1 -6
  14. package/commands/verify.md +7 -11
  15. package/docs/plugins.md +91 -0
  16. package/harness/manifest.json +310 -0
  17. package/package.json +14 -2
  18. package/references/git-worktrees.md +29 -0
  19. package/rules/01-base.md +9 -26
  20. package/rules/02-code-size.md +5 -9
  21. package/rules/03-architecture.md +8 -22
  22. package/rules/04-error-handling.md +4 -5
  23. package/rules/05-git-workflow.md +6 -3
  24. package/rules/06-comments.md +3 -9
  25. package/rules/07-forbidden.md +4 -3
  26. package/rules/common/agent-orchestration.md +2 -4
  27. package/rules/common/context-hygiene.md +2 -0
  28. package/rules/common/hooks.md +2 -0
  29. package/rules/common/pr-automation.md +1 -1
  30. package/rules/common/skills-learning.md +2 -2
  31. package/rules/common/testing.md +10 -2
  32. package/scripts/install-rules.js +100 -0
  33. package/scripts/install.ps1 +29 -3
  34. package/scripts/install.sh +26 -2
  35. package/scripts/legacy-common-rule-hashes.json +78 -0
  36. package/scripts/retired-skill-files.json +26 -0
  37. package/scripts/upstream-capability-map.json +14 -9
  38. package/scripts/verify/continuation-checks.test.js +101 -0
  39. package/scripts/verify/core.js +1 -0
  40. package/scripts/verify/grilling-spec-gate-checks.js +48 -11
  41. package/scripts/verify/install-rules.test.js +165 -0
  42. package/scripts/verify/metadata-checks.js +35 -26
  43. package/scripts/verify/plugin-distribution.test.js +40 -0
  44. package/scripts/verify/repository-checks.js +39 -80
  45. package/scripts/verify/skill-invocation.test.js +87 -0
  46. package/scripts/verify/skill-manifest-checks.js +197 -0
  47. package/scripts/verify/skill-manifest-checks.test.js +135 -0
  48. package/scripts/verify/workflow-checks.js +28 -150
  49. package/scripts/verify-harness.js +2 -0
  50. package/scripts/verify-upstream-capability-map.js +2 -1
  51. package/skills/README.md +11 -15
  52. package/skills/code-review/SKILL.md +54 -41
  53. package/skills/codebase-design/SKILL.md +1 -1
  54. package/skills/continuous-learning-v2/SKILL.md +4 -2
  55. package/skills/domain-modeling/SKILL.md +9 -6
  56. package/skills/e2e-testing/SKILL.md +20 -310
  57. package/skills/e2e-testing/references/playwright-patterns.md +324 -0
  58. package/skills/feature-acceptance/SKILL.md +6 -2
  59. package/skills/grilling/SKILL.md +4 -3
  60. package/skills/handoff/SKILL.md +3 -4
  61. package/skills/handoff/agents/openai.yaml +5 -0
  62. package/skills/implement/SKILL.md +32 -81
  63. package/skills/implement/references/ticket-delivery.md +43 -0
  64. package/skills/improve-codebase-architecture/SKILL.md +1 -2
  65. package/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  66. package/skills/prototype/SKILL.md +1 -1
  67. package/skills/resolving-merge-conflicts/SKILL.md +1 -1
  68. package/skills/spec-gate/SKILL.md +4 -2
  69. package/skills/subagent-driven-development/SKILL.md +3 -3
  70. package/skills/systematic-debugging/SKILL.md +41 -3
  71. package/skills/systematic-debugging/references/diagnostic-scenarios.md +28 -0
  72. package/skills/test-driven-development/SKILL.md +6 -2
  73. package/skills/to-tickets/SKILL.md +5 -3
  74. package/skills/triage/SKILL.md +4 -4
  75. package/skills/triage/agents/openai.yaml +5 -0
  76. package/skills/using-superpowers/SKILL.md +33 -96
  77. package/skills/using-superpowers/references/process-outcomes.md +44 -0
  78. package/skills/visual-companion/SKILL.md +1 -1
  79. package/agents/architect.md +0 -59
  80. package/agents/code-reviewer.md +0 -28
  81. package/agents/planner.md +0 -40
  82. package/agents/tdd-guide.md +0 -101
  83. package/references/agents/database-reviewer.md +0 -657
  84. package/skills/find-skills/SKILL.md +0 -142
  85. package/skills/iterative-retrieval/SKILL.md +0 -84
  86. package/skills/project-context/SKILL.md +0 -94
  87. package/skills/project-context/agents/openai.yaml +0 -6
  88. package/skills/project-context/references/project-context-template.md +0 -61
  89. package/skills/research/SKILL.md +0 -48
  90. package/skills/using-git-worktrees/SKILL.md +0 -64
  91. package/skills/verification-before-completion/SKILL.md +0 -77
  92. package/skills/wayfinder/SKILL.md +0 -57
@@ -1,142 +0,0 @@
1
- ---
2
- name: find-skills
3
- description: Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
4
- ---
5
-
6
- # Find Skills
7
-
8
- This skill helps you discover and install skills from the open agent skills ecosystem.
9
-
10
- ## When to Use This Skill
11
-
12
- Use this skill when the user:
13
-
14
- - Asks "how do I do X" where X might be a common task with an existing skill
15
- - Says "find a skill for X" or "is there a skill for X"
16
- - Asks "can you do X" where X is a specialized capability
17
- - Expresses interest in extending agent capabilities
18
- - Wants to search for tools, templates, or workflows
19
- - Mentions they wish they had help with a specific domain (design, testing, deployment, etc.)
20
-
21
- ## What is the Skills CLI?
22
-
23
- The Skills CLI (`npx skills`) is the package manager for the open agent skills ecosystem. Skills are modular packages that extend agent capabilities with specialized knowledge, workflows, and tools.
24
-
25
- **Key commands:**
26
-
27
- - `npx skills find [query]` - Search for skills interactively or by keyword
28
- - `npx skills add <package>` - Install a skill from GitHub or other sources
29
- - `npx skills check` - Check for skill updates
30
- - `npx skills update` - Update all installed skills
31
-
32
- **Browse skills at:** https://skills.sh/
33
-
34
- ## How to Help Users Find Skills
35
-
36
- ### Step 1: Understand What They Need
37
-
38
- When a user asks for help with something, identify:
39
-
40
- 1. The domain (e.g., React, testing, design, deployment)
41
- 2. The specific task (e.g., writing tests, creating animations, reviewing PRs)
42
- 3. Whether this is a common enough task that a skill likely exists
43
-
44
- ### Step 2: Check the Leaderboard First
45
-
46
- Before running a CLI search, check the [skills.sh leaderboard](https://skills.sh/) to see if a well-known skill already exists for the domain. The leaderboard ranks skills by total installs, surfacing the most popular and battle-tested options.
47
-
48
- For example, top skills for web development include:
49
- - `vercel-labs/agent-skills` — React, Next.js, web design (100K+ installs each)
50
- - `anthropics/skills` — Frontend design, document processing (100K+ installs)
51
-
52
- ### Step 3: Search for Skills
53
-
54
- If the leaderboard doesn't cover the user's need, run the find command:
55
-
56
- ```bash
57
- npx skills find [query]
58
- ```
59
-
60
- For example:
61
-
62
- - User asks "how do I make my React app faster?" → `npx skills find react performance`
63
- - User asks "can you help me with PR reviews?" → `npx skills find pr review`
64
- - User asks "I need to create a changelog" → `npx skills find changelog`
65
-
66
- ### Step 4: Verify Quality Before Recommending
67
-
68
- **Do not recommend a skill based solely on search results.** Always verify:
69
-
70
- 1. **Install count** — Prefer skills with 1K+ installs. Be cautious with anything under 100.
71
- 2. **Source reputation** — Official sources (`vercel-labs`, `anthropics`, `microsoft`) are more trustworthy than unknown authors.
72
- 3. **GitHub stars** — Check the source repository. A skill from a repo with <100 stars should be treated with skepticism.
73
-
74
- ### Step 5: Present Options to the User
75
-
76
- When you find relevant skills, present them to the user with:
77
-
78
- 1. The skill name and what it does
79
- 2. The install count and source
80
- 3. The install command they can run
81
- 4. A link to learn more at skills.sh
82
-
83
- Example response:
84
-
85
- ```
86
- I found a skill that might help! The "react-best-practices" skill provides
87
- React and Next.js performance optimization guidelines from Vercel Engineering.
88
- (185K installs)
89
-
90
- To install it:
91
- npx skills add vercel-labs/agent-skills@react-best-practices
92
-
93
- Learn more: https://skills.sh/vercel-labs/agent-skills/react-best-practices
94
- ```
95
-
96
- ### Step 6: Offer to Install
97
-
98
- If the user wants to proceed, you can install the skill for them:
99
-
100
- ```bash
101
- npx skills add <owner/repo@skill> -g -y
102
- ```
103
-
104
- The `-g` flag installs globally (user-level) and `-y` skips confirmation prompts.
105
-
106
- ## Common Skill Categories
107
-
108
- When searching, consider these common categories:
109
-
110
- | Category | Example Queries |
111
- | --------------- | ---------------------------------------- |
112
- | Web Development | react, nextjs, typescript, css, tailwind |
113
- | Testing | testing, jest, playwright, e2e |
114
- | DevOps | deploy, docker, kubernetes, ci-cd |
115
- | Documentation | docs, readme, changelog, api-docs |
116
- | Code Quality | review, lint, refactor, best-practices |
117
- | Design | ui, ux, design-system, accessibility |
118
- | Productivity | workflow, automation, git |
119
-
120
- ## Tips for Effective Searches
121
-
122
- 1. **Use specific keywords**: "react testing" is better than just "testing"
123
- 2. **Try alternative terms**: If "deploy" doesn't work, try "deployment" or "ci-cd"
124
- 3. **Check popular sources**: Many skills come from `vercel-labs/agent-skills` or `ComposioHQ/awesome-claude-skills`
125
-
126
- ## When No Skills Are Found
127
-
128
- If no relevant skills exist:
129
-
130
- 1. Acknowledge that no existing skill was found
131
- 2. Offer to help with the task directly using your general capabilities
132
- 3. Suggest the user could create their own skill with `npx skills init`
133
-
134
- Example:
135
-
136
- ```
137
- I searched for skills related to "xyz" but didn't find any matches.
138
- I can still help you with this task directly! Would you like me to proceed?
139
-
140
- If this is something you do often, you could create your own skill:
141
- npx skills init my-xyz-skill
142
- ```
@@ -1,84 +0,0 @@
1
- ---
2
- name: iterative-retrieval
3
- description: "为事实、证据、盲点、subagent、代码探索、RAG 式检索和大仓库上下文收集设计迭代检索闭环。用于系统性缺口需要多次低成本调查、初始上下文不明确、一次性读全仓会污染上下文、子代理不知道该读哪些文件、或搜索结果需要逐轮收敛时。"
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,94 +0,0 @@
1
- ---
2
- name: project-context
3
- description: "Configure a repository's durable agent context: issue-tracker operations, triage role vocabulary, domain-document layout, and ADR policy. Only when the user explicitly asks to set up project context, domain-document locations, triage configuration, or team tracking."
4
- ---
5
-
6
- # Project Context
7
-
8
- Set up a small, versioned source of truth that tells agents where this repository tracks work, how
9
- tracker mutations are expressed, which triage labels map to canonical roles, and where domain
10
- vocabulary and durable decisions live. This is an explicit setup action, not a workflow gate.
11
-
12
- ## Boundary
13
-
14
- - Only when the user explicitly asks for this setup; never run it automatically from routing.
15
- - Inspect discoverable facts before asking a question. Do not create, edit, or call external systems
16
- until the user approves the proposed configuration.
17
- - Store the configuration at `docs/agent-workflow/project-context.md`. Do not create an empty `CONTEXT.md`,
18
- empty ADR directory, placeholder Issues, or tracker labels.
19
- - Record tracker coordinates and operating rules only. Do not infer credentials, create remote
20
- Issues, or select a connector that is not available in the current runtime.
21
-
22
- ## Discover
23
-
24
- Inspect only the current repository and existing project documentation:
25
-
26
- 1. Root `AGENTS.md`, `CLAUDE.md`, `CONTEXT.md`, and `CONTEXT-MAP.md`.
27
- 2. Existing ADR directories, `docs/agent-workflow/`, `.scratch/`, and project-local tracker notes.
28
- 3. Git remotes and existing issue references, without accessing remote tracker data unless the user
29
- separately asks for it.
30
- 4. Existing tracker-operation docs, triage labels and `.out-of-scope/`.
31
- 5. Monorepo signals such as workspace manifests and package directories.
32
-
33
- Report found facts, conflicts, and missing inputs concisely. Existing confirmed configuration wins;
34
- reopen it only when the user asks to change it or its referenced path no longer exists.
35
-
36
- ## Resolve configuration
37
-
38
- Resolve only choices not settled by repository facts, one at a time. Give a recommendation and
39
- why it fits the discovered repository:
40
-
41
- 1. **Work tracking**: `github`, `gitlab`, `jira`, `linear`, `local-markdown`, or `custom`. Prefer the
42
- configured remote or an existing local convention; record URL/project key/path, read operations,
43
- mutation operations, native dependency support and the allowed tool/connector.
44
- 2. **Triage roles**: map category roles `bug` and `enhancement`, plus state roles `needs-triage`,
45
- `needs-info`, `ready-for-agent`, `ready-for-human` and `wontfix`, to tracker labels. Use canonical
46
- names unless existing labels prove otherwise.
47
- 3. **Local artifacts**: for `local-markdown`, record one feature directory, one ticket per file,
48
- dependency edges, claim/resolution states and the map/frontier convention. Default to
49
- `docs/superpowers/tracker/`, which is ignored by this package.
50
- 4. **Domain layout**: `single-context` at `CONTEXT.md`, or `multi-context` with a root
51
- `CONTEXT-MAP.md`. Prefer multi-context only when the repository is a real monorepo with
52
- independent domains.
53
- 5. **Decision records**: record the existing ADR directory, or recommend `docs/adr/` only when a
54
- durable decision is ready to document.
55
-
56
- If no decision is needed, present the discovered default for confirmation rather than asking a
57
- synthetic question.
58
-
59
- ## Draft and persist
60
-
61
- 1. Fill `references/project-context-template.md` with confirmed values and show the full proposed
62
- path and content before writing.
63
- 2. After explicit approval, create or update only `docs/agent-workflow/project-context.md`.
64
- Preserve user-maintained sections outside the managed headings.
65
- 3. Create `CONTEXT.md`, `CONTEXT-MAP.md`, or an ADR only when the user has approved concrete
66
- vocabulary or a qualifying decision. Delegate their content rules to `domain-modeling`.
67
- 4. Do not edit root instructions merely to advertise this setup; consumers discover the standard
68
- configuration path when it exists.
69
-
70
- ## Handoff
71
-
72
- Return one outcome:
73
-
74
- ```text
75
- CONFIGURED
76
- - config_path
77
- - work_tracking
78
- - tracker_operations
79
- - triage_role_mapping
80
- - domain_layout
81
- - adr_location
82
- - remaining_risks
83
-
84
- NEEDS_DECISION
85
- - decision
86
- - evidence
87
- - recommended_default
88
-
89
- NOT_APPLICABLE
90
- - reason
91
- ```
92
-
93
- After `CONFIGURED`, return to the caller. Do not start planning, implementation, or external
94
- tracker actions.
@@ -1,6 +0,0 @@
1
- interface:
2
- display_name: "项目上下文初始化"
3
- short_description: "为工程仓库配置长期领域术语、决策记录和工作追踪位置"
4
- default_prompt: "Use $project-context to configure this repository's agent context."
5
- policy:
6
- allow_implicit_invocation: false
@@ -1,61 +0,0 @@
1
- # 项目 Agent 上下文
2
-
3
- > 本文件定义本仓库中 Agent 应读取和更新的长期项目上下文;不要记录密钥、访问令牌或临时会话信息。
4
-
5
- ## 工作追踪
6
-
7
- - 提供方:`<github | jira | linear | local-markdown | custom>`
8
- - 位置:`<仓库、项目键、URL 或本地路径>`
9
- - 允许工具:`<gh | jira CLI | linear connector | 无>`
10
- - 使用规则:`<何时读取、何时创建或更新;没有授权时仅只读>`
11
- - 依赖关系:`<原生 blocking/sub-issue 能力,或正文 Blocked by 约定>`
12
- - 本地工件目录:`<local-markdown 路径;非本地 tracker 填不适用>`
13
-
14
- ### Tracker 操作
15
-
16
- - 读取:`<查看单项、评论、标签和依赖关系的命令/工具>`
17
- - 查询:`<列出待分诊、frontier 或 ready-for-agent 项的命令/工具>`
18
- - 创建:`<创建 Issue/ticket 的命令/工具;执行前必须确认>`
19
- - 更新:`<评论、标签、依赖、claim、close 的命令/工具;执行前必须确认>`
20
-
21
- ## 分诊角色
22
-
23
- | Category 规范角色 | Tracker 标签 |
24
- | --- | --- |
25
- | `bug` | `<label>` |
26
- | `enhancement` | `<label>` |
27
-
28
- | State 规范角色 | Tracker 标签 |
29
- | --- | --- |
30
- | `needs-triage` | `<label>` |
31
- | `needs-info` | `<label>` |
32
- | `ready-for-agent` | `<label>` |
33
- | `ready-for-human` | `<label>` |
34
- | `wontfix` | `<label>` |
35
-
36
- 外部 PR 是否作为请求入口:`<yes | no>`
37
-
38
- ## Wayfinder / Tickets
39
-
40
- - Map:`<位置或 tracker 对象形状>`
41
- - Child ticket:`<位置或 sub-issue 关系>`
42
- - Blocking:`<原生依赖或 Blocked by 约定>`
43
- - Frontier:`<open + unblocked + unclaimed 的查询方式>`
44
- - Claim / Progress / Resolve:`<状态、assignee、进度记录、关闭及解锁查询操作>`
45
-
46
- ## 领域文档
47
-
48
- - 布局:`<single-context | multi-context>`
49
- - 上下文入口:`<CONTEXT.md 或 CONTEXT-MAP.md>`
50
- - ADR 目录:`<现有路径、建议路径,或尚未创建>`
51
- - 消费规则:实现前读取相关领域词汇;术语或长期决策改变时使用 `domain-modeling`;没有已批准内容时不创建空文档。
52
-
53
- ## 已确认约束
54
-
55
- - `<仅记录已由用户或现有项目文档确认的约束>`
56
-
57
- ## 更新规则
58
-
59
- - 工作追踪的外部写操作始终需要用户授权和可用连接器。
60
- - `CONTEXT.md` 只保存稳定领域词汇,不保存实现草稿。
61
- - ADR 只记录难以回滚、缺少背景会令人意外、且经过真实权衡的决策。
@@ -1,48 +0,0 @@
1
- ---
2
- name: research
3
- description: "Investigate a question against high-trust primary sources and persist a cited Markdown report. Use when external documentation, source code, standards, APIs, papers, or delegated reading are needed; not for a narrow local code search already handled by iterative-retrieval."
4
- ---
5
-
6
- # Research
7
-
8
- Origin: `mattpocock/skills@2ab9580`, adapted to this repository's agent and artifact rules.
9
-
10
- ## Contract
11
-
12
- 1. Define the question, decision it informs, source quality threshold and output location.
13
- 2. Use a background subagent when the runtime permits and the research can proceed independently.
14
- Continue useful local work while it reads.
15
- 3. Prefer primary sources: official documentation, owner source code, specifications, first-party APIs
16
- and original papers. Use secondary sources only to locate or contrast primary evidence.
17
- 4. Trace every material claim to the source that owns it.
18
- 5. Save one Markdown report in the repository's configured research/scratch convention. If none exists,
19
- use `.unknowns/<topic>-research.md` and report the path.
20
- 6. Put citations beside claims, distinguish source fact from inference, record source dates/versions,
21
- conflicts and unresolved gaps, citing each claim that changes the conclusion.
22
- 7. Do not change production code, external systems or project decisions.
23
-
24
- ## Background Agent Brief
25
-
26
- Pass only:
27
-
28
- - research question and decision context;
29
- - allowed scope and preferred primary sources;
30
- - output path;
31
- - required report sections and citation contract.
32
-
33
- Do not leak an expected answer. The subagent returns a short conclusion and the report path; the file is
34
- the authoritative artifact.
35
-
36
- ## Report Shape
37
-
38
- ```markdown
39
- # Question
40
- ## Conclusion
41
- ## Primary-source findings
42
- ## Conflicts and uncertainty
43
- ## Implications for the decision
44
- ## Sources
45
- ```
46
-
47
- Return the report to `skills/using-superpowers/SKILL.md`. Research supplies evidence; it does not own
48
- requirements, approval or implementation.
@@ -1,64 +0,0 @@
1
- ---
2
- name: using-git-worktrees
3
- description: Use before implementing substantial plans when work should be isolated from the current checkout, especially multi-step features, risky refactors, parallel agent work, or when the current worktree has unrelated user changes.
4
- ---
5
-
6
- # Using Git Worktrees
7
-
8
- Reference: https://github.com/obra/superpowers
9
-
10
- Use a git worktree when implementation needs isolation without disturbing the user's current checkout. Keep this skill lightweight: inspect first, create only when it materially reduces risk.
11
-
12
- ## Preconditions
13
-
14
- - Use only inside a git repository.
15
- - Do not create a worktree for simple single-file edits, documentation tweaks, or quick read-only analysis.
16
- - Never discard or overwrite existing user changes.
17
- - If the current worktree has unrelated changes and the task requires broad edits, prefer a new worktree.
18
-
19
- ## Flow
20
-
21
- 1. Inspect repository state.
22
-
23
- ```bash
24
- git status --short
25
- git branch --show-current
26
- git rev-parse --show-toplevel
27
- ```
28
-
29
- 2. Choose a branch name with the project convention. For Codex-managed branches, prefer `codex/<short-task-name>` unless the user requested another name.
30
-
31
- 3. Create the worktree from the current `HEAD` or an explicit base branch.
32
-
33
- ```bash
34
- git worktree add ../<repo-name>-<short-task-name> -b codex/<short-task-name>
35
- ```
36
-
37
- 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.
38
-
39
- 5. Do all implementation, testing, and review inside the worktree. Keep the original checkout untouched except for user-approved coordination changes.
40
-
41
- 6. Before finishing, report:
42
- - worktree path
43
- - branch name
44
- - base commit or base branch
45
- - commands run
46
- - remaining cleanup, if any
47
-
48
- ## Cleanup
49
-
50
- After the branch is merged, abandoned, or the user asks to clean up:
51
-
52
- ```bash
53
- git worktree list
54
- git worktree remove <worktree-path>
55
- git branch -d codex/<short-task-name>
56
- ```
57
-
58
- Use `git branch -D` only when the user explicitly confirms deleting an unmerged branch.
59
-
60
- ## Safety
61
-
62
- - Do not run destructive cleanup from a computed path unless the absolute target path has been verified.
63
- - Do not create nested worktrees inside another worktree.
64
- - Do not use worktrees as a substitute for understanding the current dirty state; inspect first.
@@ -1,77 +0,0 @@
1
- ---
2
- name: verification-before-completion
3
- description: Use before claiming work is complete, fixed, passing, ready for PR, or moving to the next task. Requires fresh verification evidence from this turn, with exact commands, results, skipped checks, and remaining risk.
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 full relevant command now, unless the environment makes it impossible.
18
- 3. Read the output and exit code.
19
- 4. Compare the result against the exact claim.
20
- 5. Report the claim only with evidence.
21
-
22
- If verification cannot run, say that it was not run and explain the remaining risk. Do not replace evidence with confidence.
23
-
24
- ## Claims And Required Evidence
25
-
26
- | Claim | Required evidence |
27
- | --- | --- |
28
- | Tests pass | Fresh test command output with exit code 0 or an exact pass count |
29
- | Build succeeds | Fresh build command output with exit code 0 |
30
- | Lint is clean | Fresh lint command output with zero reported errors |
31
- | Bug is fixed | Fresh reproduction or regression test showing the original symptom no longer occurs |
32
- | Task is complete | Spec, plan, or user request checklist verified against the changed files |
33
- | Ready for `/pr` | `/verify` or equivalent checks with skipped checks and risks stated |
34
- | Agent work is done | Independent inspection of the diff and required verification, not only the agent report |
35
-
36
- ## Red Flags
37
-
38
- Stop and verify before using language like:
39
-
40
- - "完成了"
41
- - "已修复"
42
- - "通过了"
43
- - "可以提交"
44
- - "ready"
45
- - "should pass"
46
- - "looks good"
47
- - "应该没问题"
48
-
49
- ## Failed Or Partial Verification
50
-
51
- If verification fails:
52
-
53
- 1. State the exact failing command and result.
54
- 2. Use `skills/systematic-debugging/SKILL.md` before changing code.
55
- 3. Re-run the relevant verification after the fix.
56
-
57
- If verification is partial:
58
-
59
- 1. State what passed.
60
- 2. State what did not run and why.
61
- 3. State what risk remains.
62
- 4. Avoid broader completion claims than the evidence supports.
63
-
64
- ## Reporting Format
65
-
66
- Use this compact format in final summaries and task checkpoints:
67
-
68
- ```text
69
- 验证:
70
- - <command>: <passed/failed/not run> — <evidence>
71
-
72
- 未运行:
73
- - <check>: <reason>
74
-
75
- 剩余风险:
76
- - <risk or "无已知剩余风险">
77
- ```
@@ -1,57 +0,0 @@
1
- ---
2
- name: wayfinder
3
- description: "Plan a huge, foggy effort that exceeds one agent session as a shared map of decision tickets, work the unblocked frontier one ticket per session, and hand the resolved map to Spec/ticket planning. Use for multi-session uncertainty, not a well-scoped feature."
4
- disable-model-invocation: true
5
- ---
6
-
7
- # Wayfinder
8
-
9
- Origin: `mattpocock/skills@2ab9580`, adapted to this repository's tracker and approval contracts.
10
-
11
- Wayfinder resolves decisions, not deliverables. The destination defines what “the way is clear” means.
12
-
13
- ## Map Model
14
-
15
- The configured tracker stores:
16
-
17
- - one canonical **map** with Destination, Notes, Decisions so far, Not yet specified and Out of scope;
18
- - child **decision tickets**, each holding one question;
19
- - explicit blocking edges;
20
- - a **frontier** of open, unblocked and unclaimed tickets.
21
-
22
- Ticket types:
23
-
24
- - `research` (AFK): primary-source evidence via `skills/research/SKILL.md`;
25
- - `prototype` (HITL): concrete behavior/visual feedback via `skills/prototype/SKILL.md`;
26
- - `grilling` (HITL): consequential decisions via `skills/grilling/SKILL.md`;
27
- - `task`: prerequisite work whose result unlocks a decision.
28
-
29
- Refer to maps and tickets by linked title, not bare identifiers.
30
-
31
- ## Chart a Map
32
-
33
- 1. Read tracker/domain configuration. If missing, return `NEEDS_PROJECT_CONTEXT`.
34
- 2. Use grilling and domain modeling to define the destination and scope.
35
- 3. Explore breadth-first for decisions visible now.
36
- 4. Put precise questions into tickets; keep vague future areas under Not yet specified.
37
- 5. Draft the map, initial tickets and blocking graph.
38
- 6. Obtain approval before creating local files or external tracker objects.
39
- 7. Create tickets first, then wire edges after stable identifiers exist.
40
- 8. Dispatch independent research tickets in parallel only when the runtime allows safe background work.
41
- 9. Stop after charting; do not implement the destination.
42
-
43
- If no real fog remains and the work fits one session, return `MAP_NOT_NEEDED` and route normally.
44
-
45
- ## Work the Map
46
-
47
- 1. Load only the map's low-resolution view.
48
- 2. Use the named ticket or first frontier ticket.
49
- 3. Claim it before work after confirming the tracker mutation.
50
- 4. Resolve one ticket per session; independent research tickets may run in parallel.
51
- 5. Record the answer at the ticket, close it, and append a one-line linked gist to Decisions so far.
52
- 6. Create newly visible tickets, graduate clarified fog, and close anything now outside the destination.
53
- 7. Stop. A later session takes another frontier ticket.
54
-
55
- When the frontier and fog are empty, return `WAY_CLEAR` with the map reference. The central router sends
56
- the resolved decisions to `spec-gate`, then `to-tickets`; do not jump directly to implementation unless
57
- the effort proved genuinely small.