claude-everything-workflow 0.1.9 → 0.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/AGENTS.md +20 -20
- package/CLAUDE.md +1 -5
- package/README.md +151 -113
- package/agents/e2e-runner.md +8 -141
- package/agents/harness-optimizer.md +3 -2
- package/commands/code-review.md +10 -15
- package/commands/learn.md +97 -0
- package/commands/pr.md +5 -6
- package/commands/to-spec.md +11 -0
- package/commands/verify.md +7 -11
- package/harness/manifest.json +346 -0
- package/hooks/check-code-size.js +33 -12
- package/hooks/check-console-log.js +72 -24
- package/package.json +10 -2
- package/rules/01-base.md +9 -49
- package/rules/02-code-size.md +5 -20
- package/rules/03-architecture.md +9 -61
- package/rules/04-error-handling.md +4 -26
- package/rules/05-git-workflow.md +12 -39
- package/rules/06-comments.md +3 -43
- package/rules/07-forbidden.md +8 -31
- package/rules/08-specialty-rules-index.md +18 -0
- package/rules/09-first-principles-adversarial-testing.md +6 -18
- package/rules/common/agent-orchestration.md +8 -47
- package/rules/common/context-hygiene.md +9 -72
- package/rules/common/harness-engineering.md +11 -38
- package/rules/common/hooks.md +13 -82
- package/rules/common/performance.md +8 -71
- package/rules/common/pr-automation.md +7 -68
- package/rules/common/skills-learning.md +12 -36
- package/rules/common/testing.md +16 -59
- package/scripts/cleanup-retired-skills.js +214 -0
- package/scripts/install-rules.js +100 -0
- package/scripts/install.ps1 +99 -87
- package/scripts/install.sh +77 -78
- package/scripts/learning/review-confidence.js +1 -4
- package/scripts/legacy-common-rule-hashes.json +78 -0
- package/scripts/merge-claude-settings.cjs +75 -0
- package/scripts/retired-skill-files.json +54 -0
- package/scripts/upstream-capability-baseline.json +27 -0
- package/scripts/upstream-capability-map.json +155 -0
- package/scripts/verify/core.js +91 -0
- package/scripts/verify/grilling-spec-gate-checks.js +266 -0
- package/scripts/verify/install-rules.test.js +156 -0
- package/scripts/verify/metadata-checks.js +747 -0
- package/scripts/verify/repository-checks.js +409 -0
- package/scripts/verify/runtime-checks.js +593 -0
- package/scripts/verify/skill-invocation.test.js +86 -0
- package/scripts/verify/skill-manifest-checks.js +197 -0
- package/scripts/verify/skill-manifest-checks.test.js +123 -0
- package/scripts/verify/workflow-checks.js +685 -0
- package/scripts/verify/workflow-ownership-fixtures.js +371 -0
- package/scripts/verify/workflow-ownership.js +780 -0
- package/scripts/verify-harness.js +18 -1075
- package/scripts/verify-upstream-capability-map.js +118 -0
- package/skills/README.md +28 -16
- package/skills/code-review/SKILL.md +63 -0
- package/skills/code-review/references/spec-reviewer-prompt.md +24 -0
- package/skills/code-review/references/standards-reviewer-prompt.md +35 -0
- package/skills/codebase-design/SKILL.md +63 -0
- package/skills/codebase-design/references/deepening.md +27 -0
- package/skills/codebase-design/references/design-it-twice.md +17 -0
- package/skills/continuous-learning-v2/SKILL.md +8 -8
- package/skills/continuous-learning-v2/config.json +0 -4
- package/skills/domain-modeling/SKILL.md +101 -0
- package/skills/e2e-testing/SKILL.md +20 -310
- package/skills/e2e-testing/references/playwright-patterns.md +324 -0
- package/skills/feature-acceptance/SKILL.md +89 -0
- package/skills/grilling/SKILL.md +83 -0
- package/skills/handoff/SKILL.md +55 -0
- package/skills/handoff/agents/openai.yaml +2 -0
- package/skills/implement/SKILL.md +48 -0
- package/skills/implement/references/ticket-delivery.md +43 -0
- package/skills/improve-codebase-architecture/SKILL.md +47 -0
- package/skills/improve-codebase-architecture/agents/openai.yaml +2 -0
- package/skills/iterative-retrieval/SKILL.md +10 -1
- package/skills/learn/README.md +2 -2
- package/skills/prototype/SKILL.md +50 -0
- package/skills/prototype/references/logic.md +28 -0
- package/skills/prototype/references/ui.md +30 -0
- package/skills/resolving-merge-conflicts/SKILL.md +27 -0
- package/skills/spec-gate/SKILL.md +149 -0
- package/skills/spec-gate/agents/openai.yaml +4 -0
- package/skills/spec-gate/references/spec-document-reviewer-prompt.md +31 -0
- package/skills/subagent-driven-development/SKILL.md +95 -414
- package/skills/systematic-debugging/SKILL.md +11 -49
- package/skills/systematic-debugging/references/diagnosing-bugs.upstream.md +129 -0
- package/skills/systematic-debugging/scripts/hitl-loop.template.js +75 -0
- package/skills/systematic-debugging/scripts/hitl-loop.template.sh +41 -0
- package/skills/test-driven-development/SKILL.md +24 -4
- package/skills/to-tickets/SKILL.md +96 -0
- package/skills/triage/SKILL.md +53 -0
- package/skills/triage/agents/openai.yaml +2 -0
- package/skills/triage/references/agent-brief.md +32 -0
- package/skills/triage/references/out-of-scope.md +14 -0
- package/skills/using-git-worktrees/SKILL.md +8 -5
- package/skills/using-superpowers/SKILL.md +76 -43
- package/skills/using-superpowers/references/process-outcomes.md +41 -0
- package/skills/verification-before-completion/SKILL.md +5 -4
- package/skills/visual-companion/SKILL.md +62 -0
- package/skills/visual-companion/agents/openai.yaml +4 -0
- package/skills/{brainstorming/visual-companion.md → visual-companion/references/guide.md} +1 -1
- package/skills/{brainstorming → visual-companion}/scripts/frame-template.html +42 -12
- package/skills/visual-companion/scripts/pages.cjs +28 -0
- package/skills/visual-companion/scripts/server-utils.cjs +82 -0
- package/skills/{brainstorming → visual-companion}/scripts/server.cjs +108 -248
- package/skills/{brainstorming → visual-companion}/scripts/start-server.sh +18 -4
- package/skills/visual-companion/scripts/websocket.cjs +86 -0
- package/agents/architect.md +0 -59
- package/agents/code-reviewer.md +0 -57
- package/agents/planner.md +0 -124
- package/agents/tdd-guide.md +0 -101
- package/commands/e2e.md +0 -28
- package/commands/evolve.md +0 -42
- package/commands/harness-audit.md +0 -27
- package/commands/instinct-status.md +0 -38
- package/commands/learn-eval.md +0 -91
- package/commands/projects.md +0 -27
- package/commands/promote.md +0 -29
- package/commands/prune.md +0 -46
- package/commands/tdd.md +0 -27
- package/homunculus/instincts/personal/always-test-first.md +0 -28
- package/homunculus/instincts/personal/pr-ci-quality-gate.md +0 -30
- package/rules/08-ecc-integration.md +0 -46
- package/rules/common/implementation.md +0 -25
- package/rules/common/security.md +0 -19
- package/skills/brainstorming/SKILL.md +0 -185
- package/skills/brainstorming/agents/openai.yaml +0 -3
- package/skills/brainstorming/spec-document-reviewer-prompt.md +0 -49
- package/skills/context-budget/SKILL.md +0 -59
- package/skills/discover-unknowns-zh/SKILL.md +0 -112
- package/skills/discover-unknowns-zh/agents/openai.yaml +0 -4
- package/skills/discover-unknowns-zh/references/prompt-patterns.md +0 -144
- package/skills/documentation-lookup/SKILL.md +0 -90
- package/skills/executing-plans/SKILL.md +0 -66
- package/skills/find-skills/SKILL.md +0 -142
- package/skills/skill-creator/LICENSE.txt +0 -202
- package/skills/skill-creator/SKILL.md +0 -356
- package/skills/skill-creator/references/output-patterns.md +0 -82
- package/skills/skill-creator/references/workflows.md +0 -28
- package/skills/skill-creator/scripts/init_skill.py +0 -303
- package/skills/skill-creator/scripts/package_skill.py +0 -110
- package/skills/skill-creator/scripts/quick_validate.py +0 -95
- package/skills/subagent-driven-development/implementer-prompt.md +0 -139
- package/skills/subagent-driven-development/scripts/review-package +0 -44
- package/skills/subagent-driven-development/scripts/sdd-workspace +0 -22
- package/skills/subagent-driven-development/scripts/task-brief +0 -40
- package/skills/subagent-driven-development/task-reviewer-prompt.md +0 -188
- package/skills/writing-plans/SKILL.md +0 -206
- package/skills/writing-plans/plan-document-reviewer-prompt.md +0 -49
- /package/skills/{brainstorming → visual-companion}/scripts/helper.js +0 -0
- /package/skills/{brainstorming → visual-companion}/scripts/stop-server.sh +0 -0
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
# 提示模式
|
|
2
|
-
|
|
3
|
-
这些模板是起点,不是固定格式。根据用户任务、仓库上下文和风险等级裁剪。
|
|
4
|
-
|
|
5
|
-
## 选择导航
|
|
6
|
-
|
|
7
|
-
按场景选模式;“对应规则”使用稳定标签,避免 SKILL.md 增删条目后编号失效。
|
|
8
|
-
|
|
9
|
-
| 场景 | 使用模式 | 典型产物 | 对应规则 |
|
|
10
|
-
| --- | --- | --- | --- |
|
|
11
|
-
| 不熟悉领域、模块或风险面 | 盲点扫描 | `unknowns.md` | 陌生任务 |
|
|
12
|
-
| 用户不知道该领域“好的标准”长什么样 | 盲点扫描(先教领域) | `unknowns.md` | 领域标准 |
|
|
13
|
-
| 用户说“我看到才知道” | 头脑风暴与原型 | `prototype.html`、方案草图 | 看到才知道 |
|
|
14
|
-
| 单个答案可能改变架构、数据、API、UX、灰度或安全 | 访谈 | 开放决策列表 | 架构影响 |
|
|
15
|
-
| 用户说不清但能指出示例、截图、源码或文档 | 参考物 | 映射说明 | 强参考物 |
|
|
16
|
-
| 即将触碰生产代码或多文件改动 | 实施计划 | `implementation-plan.md` 或 `.html` | 生产改动 |
|
|
17
|
-
| 实现中发现边界或偏离 | 实现记录 | `implementation-notes.md` 或 `.html` | 实现未知 |
|
|
18
|
-
| 大改后需要评审理解 | 说明文档、测验 | `explainer.md`、`quiz.md` | 实现后闭环 |
|
|
19
|
-
|
|
20
|
-
## 盲点扫描
|
|
21
|
-
|
|
22
|
-
```text
|
|
23
|
-
我正在做 [任务]。我当前确定的内容是 [已知的已知]。我不熟悉或还没想清楚的是 [已知的未知/经验水平]。
|
|
24
|
-
|
|
25
|
-
请做一次盲点扫描:如果有相关代码或文档,先检索它们;然后识别我的未知的未知,解释每个盲点为什么重要,并建议在实现前最低成本的验证方式。
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
输出形状:
|
|
29
|
-
|
|
30
|
-
```markdown
|
|
31
|
-
## 已知的已知
|
|
32
|
-
- ...
|
|
33
|
-
|
|
34
|
-
## 已知的未知
|
|
35
|
-
- 问题:
|
|
36
|
-
重要性:
|
|
37
|
-
低成本检查:
|
|
38
|
-
|
|
39
|
-
## 可能的未知的未知
|
|
40
|
-
- 盲点:
|
|
41
|
-
证据/来源:
|
|
42
|
-
风险:
|
|
43
|
-
低成本检查:
|
|
44
|
-
|
|
45
|
-
## 下一步最合适的工件
|
|
46
|
-
- 建议:
|
|
47
|
-
- 原因:
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## 头脑风暴与原型
|
|
51
|
-
|
|
52
|
-
```text
|
|
53
|
-
在触碰生产代码前,请为 [问题] 做 [N] 个明显不同的方案。目标是让我能对自己还说不清的取舍做反应。
|
|
54
|
-
|
|
55
|
-
每个方案都要给出工件或具体草图,说明它能帮助我们学到什么,以及如果选它,实现方案会发生什么变化。
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
UI、工作流或内容任务优先用单文件 HTML 原型或可截图 mock,加假数据即可。后端或架构任务优先用简短设计草图、API 示例、状态机图或迁移表。
|
|
59
|
-
|
|
60
|
-
## 访谈
|
|
61
|
-
|
|
62
|
-
```text
|
|
63
|
-
围绕 [任务] 中的歧义点逐个问题访谈我。只优先问那些答案可能改变架构、数据模型、API 合约、UX 流程、灰度策略、安全边界或测试策略的问题。
|
|
64
|
-
|
|
65
|
-
每得到一个回答,就更新开放决策列表,然后问下一个影响最大的问题。
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
当剩余问题影响很小,或可以通过仓库检索自行解决时停止。
|
|
69
|
-
|
|
70
|
-
## 参考物
|
|
71
|
-
|
|
72
|
-
```text
|
|
73
|
-
把 [参考路径/链接/示例] 作为 [具体行为、风格、语义或质量标准] 的事实来源。先阅读它,再提出实现方案。
|
|
74
|
-
|
|
75
|
-
告诉我哪些细节必须保留,哪些只是偶然实现,以及你会如何映射到当前代码库。
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
强参考物包括源码、测试、设计组件、线上示例、API 文档、事故复盘,以及带交互说明的截图。
|
|
79
|
-
|
|
80
|
-
## 实施计划
|
|
81
|
-
|
|
82
|
-
```text
|
|
83
|
-
为 [任务] 写一份实施计划。开头先放我最可能调整的决策:数据模型、类型/接口变化、UX 流程、API 行为、灰度和风险处理。机械编辑放到最后。
|
|
84
|
-
|
|
85
|
-
包含假设、仍然开放的未知项、验证步骤,以及如果实现中发现冲突约束时你会怎么处理。
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
推荐结构:
|
|
89
|
-
|
|
90
|
-
```markdown
|
|
91
|
-
## 目标
|
|
92
|
-
## 需要审阅的决策
|
|
93
|
-
## 假设与开放未知项
|
|
94
|
-
## 拟定实现
|
|
95
|
-
## 偏离处理策略
|
|
96
|
-
## 验证
|
|
97
|
-
## 机械编辑
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
## 实现记录
|
|
101
|
-
|
|
102
|
-
```text
|
|
103
|
-
请维护一个 implementation-notes.md 文件。如果遇到迫使你偏离计划的边界情况,只有在选择可逆时才自行采用保守方案,并记录到 Deviations。若偏离会改变用户可见行为、数据形状、安全或架构,请暂停让我审阅。
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
建议结构:
|
|
107
|
-
|
|
108
|
-
```markdown
|
|
109
|
-
# 实现记录
|
|
110
|
-
|
|
111
|
-
## 计划快照
|
|
112
|
-
## 发现
|
|
113
|
-
## 偏离
|
|
114
|
-
## 保守选择
|
|
115
|
-
## 暂缓问题
|
|
116
|
-
## 验证证据
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
## 说明文档
|
|
120
|
-
|
|
121
|
-
```text
|
|
122
|
-
把结果整理成面向评审者的说明文档。先展示 demo 或行为变化,再解释上下文、关键决策、处理过的未知项、验证证据和剩余风险。
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
推荐结构:
|
|
126
|
-
|
|
127
|
-
```markdown
|
|
128
|
-
## 改了什么
|
|
129
|
-
## 为什么这样做
|
|
130
|
-
## Demo 或前后对比
|
|
131
|
-
## 关键决策
|
|
132
|
-
## 已解决的未知项
|
|
133
|
-
## 验证
|
|
134
|
-
## 剩余风险
|
|
135
|
-
## 评审清单
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
## 测验
|
|
139
|
-
|
|
140
|
-
```text
|
|
141
|
-
请创建一个短测验,检查我是否已经充分理解这次变化,可以做 approve 或 merge 决策。问题要基于真实 diff、行为、现有代码路径和验证证据。答案单独放在问题之后。
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
测验重点放在行为、失败模式、灰度、兼容性、数据正确性和如何排查回归。
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: documentation-lookup
|
|
3
|
-
description: Use up-to-date library and framework docs via Context7 MCP instead of training data. Activates for setup questions, API references, code examples, or when the user names a framework (e.g. React, Next.js, Prisma).
|
|
4
|
-
origin: ECC
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Documentation Lookup (Context7)
|
|
8
|
-
|
|
9
|
-
When the user asks about libraries, frameworks, or APIs, fetch current documentation via the Context7 MCP (tools `resolve-library-id` and `query-docs`) instead of relying on training data.
|
|
10
|
-
|
|
11
|
-
## Core Concepts
|
|
12
|
-
|
|
13
|
-
- **Context7**: MCP server that exposes live documentation; use it instead of training data for libraries and APIs.
|
|
14
|
-
- **resolve-library-id**: Returns Context7-compatible library IDs (e.g. `/vercel/next.js`) from a library name and query.
|
|
15
|
-
- **query-docs**: Fetches documentation and code snippets for a given library ID and question. Always call resolve-library-id first to get a valid library ID.
|
|
16
|
-
|
|
17
|
-
## When to use
|
|
18
|
-
|
|
19
|
-
Activate when the user:
|
|
20
|
-
|
|
21
|
-
- Asks setup or configuration questions (e.g. "How do I configure Next.js middleware?")
|
|
22
|
-
- Requests code that depends on a library ("Write a Prisma query for...")
|
|
23
|
-
- Needs API or reference information ("What are the Supabase auth methods?")
|
|
24
|
-
- Mentions specific frameworks or libraries (React, Vue, Svelte, Express, Tailwind, Prisma, Supabase, etc.)
|
|
25
|
-
|
|
26
|
-
Use this skill whenever the request depends on accurate, up-to-date behavior of a library, framework, or API. Applies across harnesses that have the Context7 MCP configured (e.g. Claude Code, Cursor, Codex).
|
|
27
|
-
|
|
28
|
-
## How it works
|
|
29
|
-
|
|
30
|
-
### Step 1: Resolve the Library ID
|
|
31
|
-
|
|
32
|
-
Call the **resolve-library-id** MCP tool with:
|
|
33
|
-
|
|
34
|
-
- **libraryName**: The library or product name taken from the user's question (e.g. `Next.js`, `Prisma`, `Supabase`).
|
|
35
|
-
- **query**: The user's full question. This improves relevance ranking of results.
|
|
36
|
-
|
|
37
|
-
You must obtain a Context7-compatible library ID (format `/org/project` or `/org/project/version`) before querying docs. Do not call query-docs without a valid library ID from this step.
|
|
38
|
-
|
|
39
|
-
### Step 2: Select the Best Match
|
|
40
|
-
|
|
41
|
-
From the resolution results, choose one result using:
|
|
42
|
-
|
|
43
|
-
- **Name match**: Prefer exact or closest match to what the user asked for.
|
|
44
|
-
- **Benchmark score**: Higher scores indicate better documentation quality (100 is highest).
|
|
45
|
-
- **Source reputation**: Prefer High or Medium reputation when available.
|
|
46
|
-
- **Version**: If the user specified a version (e.g. "React 19", "Next.js 15"), prefer a version-specific library ID if listed (e.g. `/org/project/v1.2.0`).
|
|
47
|
-
|
|
48
|
-
### Step 3: Fetch the Documentation
|
|
49
|
-
|
|
50
|
-
Call the **query-docs** MCP tool with:
|
|
51
|
-
|
|
52
|
-
- **libraryId**: The selected Context7 library ID from Step 2 (e.g. `/vercel/next.js`).
|
|
53
|
-
- **query**: The user's specific question or task. Be specific to get relevant snippets.
|
|
54
|
-
|
|
55
|
-
Limit: do not call query-docs (or resolve-library-id) more than 3 times per question. If the answer is unclear after 3 calls, state the uncertainty and use the best information you have rather than guessing.
|
|
56
|
-
|
|
57
|
-
### Step 4: Use the Documentation
|
|
58
|
-
|
|
59
|
-
- Answer the user's question using the fetched, current information.
|
|
60
|
-
- Include relevant code examples from the docs when helpful.
|
|
61
|
-
- Cite the library or version when it matters (e.g. "In Next.js 15...").
|
|
62
|
-
|
|
63
|
-
## Examples
|
|
64
|
-
|
|
65
|
-
### Example: Next.js middleware
|
|
66
|
-
|
|
67
|
-
1. Call **resolve-library-id** with `libraryName: "Next.js"`, `query: "How do I set up Next.js middleware?"`.
|
|
68
|
-
2. From results, pick the best match (e.g. `/vercel/next.js`) by name and benchmark score.
|
|
69
|
-
3. Call **query-docs** with `libraryId: "/vercel/next.js"`, `query: "How do I set up Next.js middleware?"`.
|
|
70
|
-
4. Use the returned snippets and text to answer; include a minimal `middleware.ts` example from the docs if relevant.
|
|
71
|
-
|
|
72
|
-
### Example: Prisma query
|
|
73
|
-
|
|
74
|
-
1. Call **resolve-library-id** with `libraryName: "Prisma"`, `query: "How do I query with relations?"`.
|
|
75
|
-
2. Select the official Prisma library ID (e.g. `/prisma/prisma`).
|
|
76
|
-
3. Call **query-docs** with that `libraryId` and the query.
|
|
77
|
-
4. Return the Prisma Client pattern (e.g. `include` or `select`) with a short code snippet from the docs.
|
|
78
|
-
|
|
79
|
-
### Example: Supabase auth methods
|
|
80
|
-
|
|
81
|
-
1. Call **resolve-library-id** with `libraryName: "Supabase"`, `query: "What are the auth methods?"`.
|
|
82
|
-
2. Pick the Supabase docs library ID.
|
|
83
|
-
3. Call **query-docs**; summarize the auth methods and show minimal examples from the fetched docs.
|
|
84
|
-
|
|
85
|
-
## Best Practices
|
|
86
|
-
|
|
87
|
-
- **Be specific**: Use the user's full question as the query where possible for better relevance.
|
|
88
|
-
- **Version awareness**: When users mention versions, use version-specific library IDs from the resolve step when available.
|
|
89
|
-
- **Prefer official sources**: When multiple matches exist, prefer official or primary packages over community forks.
|
|
90
|
-
- **No sensitive data**: Redact API keys, passwords, tokens, and other secrets from any query sent to Context7. Treat the user's question as potentially containing secrets before passing it to resolve-library-id or query-docs.
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: executing-plans
|
|
3
|
-
description: Use after an approved implementation plan exists and the user wants execution. Runs the plan task-by-task with checkpoints, optional project-agent loop, tests, reviews, and final verification without expanding scope.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Executing Plans
|
|
7
|
-
|
|
8
|
-
Reference: https://github.com/obra/superpowers
|
|
9
|
-
|
|
10
|
-
Use this skill only after `skills/writing-plans/SKILL.md` has produced an approved plan. The plan is the source of truth; do not add scope unless the user approves a plan update.
|
|
11
|
-
|
|
12
|
-
## Preconditions
|
|
13
|
-
|
|
14
|
-
- An implementation plan exists and has been approved by the user.
|
|
15
|
-
- If work should be isolated, use `skills/using-git-worktrees/SKILL.md` before editing.
|
|
16
|
-
- Read the plan once, extract tasks, files, tests, and acceptance criteria.
|
|
17
|
-
- Confirm whether execution is inline or project-agent loop.
|
|
18
|
-
|
|
19
|
-
## Inline Execution
|
|
20
|
-
|
|
21
|
-
Use inline execution for small, clear, tightly coupled work.
|
|
22
|
-
|
|
23
|
-
For each task:
|
|
24
|
-
|
|
25
|
-
1. Mark exactly one task in progress.
|
|
26
|
-
2. Perform the next unchecked step only.
|
|
27
|
-
3. Run the command specified by the plan.
|
|
28
|
-
4. If a test or command fails unexpectedly, pause and use `skills/systematic-debugging/SKILL.md`.
|
|
29
|
-
5. Do a requirement/spec compliance check for the task.
|
|
30
|
-
6. Do a code quality check for the task.
|
|
31
|
-
7. Mark the task complete only after checks pass.
|
|
32
|
-
|
|
33
|
-
## Project-Agent Loop
|
|
34
|
-
|
|
35
|
-
Use this for substantial plans with independent tasks.
|
|
36
|
-
|
|
37
|
-
For each task:
|
|
38
|
-
|
|
39
|
-
1. Dispatch one fresh implementation agent with only:
|
|
40
|
-
- the approved spec summary
|
|
41
|
-
- the exact task section
|
|
42
|
-
- relevant file paths
|
|
43
|
-
- expected tests and acceptance criteria
|
|
44
|
-
2. Tell the agent it is not alone in the codebase and must not revert others' changes.
|
|
45
|
-
3. After implementation, run requirement/spec compliance review.
|
|
46
|
-
4. Run code quality review with `agents/code-reviewer.md`; add security or database review only when the touched area warrants it.
|
|
47
|
-
5. Send findings back to the same implementer until resolved.
|
|
48
|
-
6. Mark the task complete only after tests and reviews pass.
|
|
49
|
-
|
|
50
|
-
Subagents must return only conclusion, evidence paths, risks, and next steps. Do not accept large raw logs as final output.
|
|
51
|
-
|
|
52
|
-
## Completion Loop
|
|
53
|
-
|
|
54
|
-
After all tasks are complete:
|
|
55
|
-
|
|
56
|
-
1. Apply `skills/verification-before-completion/SKILL.md`: identify the verification evidence required before any completion claim.
|
|
57
|
-
2. Run `/verify` or the plan's equivalent verification commands to produce that fresh evidence.
|
|
58
|
-
3. If verification fails, use `skills/systematic-debugging/SKILL.md` for each failure class before changing code.
|
|
59
|
-
4. Run a final review over the full diff.
|
|
60
|
-
5. Summarize files changed, tests run, skipped checks, remaining risk, and whether the work is ready for `/pr`.
|
|
61
|
-
|
|
62
|
-
## Boundaries
|
|
63
|
-
|
|
64
|
-
- Do not commit, push, create PRs, delete branches, or remove worktrees unless the user asked for that action.
|
|
65
|
-
- Do not skip failed tests because later tasks might fix them; record the failure and debug now unless the plan explicitly says the failure is expected.
|
|
66
|
-
- Do not mark multiple tasks complete at the end; update status incrementally.
|
|
@@ -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,202 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Apache License
|
|
3
|
-
Version 2.0, January 2004
|
|
4
|
-
http://www.apache.org/licenses/
|
|
5
|
-
|
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
-
|
|
8
|
-
1. Definitions.
|
|
9
|
-
|
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
-
|
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
-
the copyright owner that is granting the License.
|
|
15
|
-
|
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
-
other entities that control, are controlled by, or are under common
|
|
18
|
-
control with that entity. For the purposes of this definition,
|
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
-
direction or management of such entity, whether by contract or
|
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
-
|
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
-
exercising permissions granted by this License.
|
|
26
|
-
|
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
-
including but not limited to software source code, documentation
|
|
29
|
-
source, and configuration files.
|
|
30
|
-
|
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
|
32
|
-
transformation or translation of a Source form, including but
|
|
33
|
-
not limited to compiled object code, generated documentation,
|
|
34
|
-
and conversions to other media types.
|
|
35
|
-
|
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
-
Object form, made available under the License, as indicated by a
|
|
38
|
-
copyright notice that is included in or attached to the work
|
|
39
|
-
(an example is provided in the Appendix below).
|
|
40
|
-
|
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
-
the Work and Derivative Works thereof.
|
|
48
|
-
|
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
|
50
|
-
the original version of the Work and any modifications or additions
|
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
-
|
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
-
subsequently incorporated within the Work.
|
|
66
|
-
|
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
|
73
|
-
|
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
-
where such license applies only to those patent claims licensable
|
|
80
|
-
by such Contributor that are necessarily infringed by their
|
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
-
institute patent litigation against any entity (including a
|
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
-
or contributory patent infringement, then any patent licenses
|
|
87
|
-
granted to You under this License for that Work shall terminate
|
|
88
|
-
as of the date such litigation is filed.
|
|
89
|
-
|
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
-
modifications, and in Source or Object form, provided that You
|
|
93
|
-
meet the following conditions:
|
|
94
|
-
|
|
95
|
-
(a) You must give any other recipients of the Work or
|
|
96
|
-
Derivative Works a copy of this License; and
|
|
97
|
-
|
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
|
99
|
-
stating that You changed the files; and
|
|
100
|
-
|
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
|
103
|
-
attribution notices from the Source form of the Work,
|
|
104
|
-
excluding those notices that do not pertain to any part of
|
|
105
|
-
the Derivative Works; and
|
|
106
|
-
|
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
|
109
|
-
include a readable copy of the attribution notices contained
|
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
|
112
|
-
of the following places: within a NOTICE text file distributed
|
|
113
|
-
as part of the Derivative Works; within the Source form or
|
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
|
115
|
-
within a display generated by the Derivative Works, if and
|
|
116
|
-
wherever such third-party notices normally appear. The contents
|
|
117
|
-
of the NOTICE file are for informational purposes only and
|
|
118
|
-
do not modify the License. You may add Your own attribution
|
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
-
that such additional attribution notices cannot be construed
|
|
122
|
-
as modifying the License.
|
|
123
|
-
|
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
|
125
|
-
may provide additional or different license terms and conditions
|
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
-
the conditions stated in this License.
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
-
|
|
181
|
-
To apply the Apache License to your work, attach the following
|
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
-
replaced with your own identifying information. (Don't include
|
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
-
comment syntax for the file format. We also recommend that a
|
|
186
|
-
file or class name and description of purpose be included on the
|
|
187
|
-
same "printed page" as the copyright notice for easier
|
|
188
|
-
identification within third-party archives.
|
|
189
|
-
|
|
190
|
-
Copyright [yyyy] [name of copyright owner]
|
|
191
|
-
|
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
-
you may not use this file except in compliance with the License.
|
|
194
|
-
You may obtain a copy of the License at
|
|
195
|
-
|
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
-
|
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
-
See the License for the specific language governing permissions and
|
|
202
|
-
limitations under the License.
|