Loading...
Loading...
Compare original and translation side by side
--local [path]--zone [name]--quick--local [path]--zone [name]--quickhttps://github.com/org/reporepohttps://github.com/{name}org/repoREPO_NAMEREPO_PATHhttps://github.com/org/reporepoorg/repohttps://github.com/{name}REPO_NAMEREPO_PATHgit clone --depth 1 <url> /tmp/<REPO_NAME>--local.git/| Zone | Typical directories/patterns | Purpose |
|---|---|---|
| skills | | Reusable skill/prompt definitions |
| agents | | Agent configurations |
| hooks | | Event-driven automation |
| docs | | Documentation and decisions |
| tests | | Test suites |
| config | Config files, CI/CD, | Configuration |
| code | | Source code |
| other | Everything else | Uncategorized files |
git clone --depth 1 <url> /tmp/<REPO_NAME>--local.git/| 区域 | 典型目录/模式 | 用途 |
|---|---|---|
| skills | | 可复用的Skill/提示词定义 |
| agents | | Agent配置 |
| hooks | | 事件驱动的自动化 |
| docs | | 文档与决策记录 |
| tests | | 测试套件 |
| config | 配置文件、CI/CD文件、 | 配置 |
| code | | 源代码 |
| other | 其他所有内容 | 未分类文件 |
You are analyzing the "[zone]" zone of repository [REPO_NAME].
Read EVERY file listed below. For each file, extract:
1. Purpose (1-2 sentences)
2. Key techniques or patterns used
3. Notable or unique approaches
4. Dependencies on other components
Files to read:
[file list]
After reading ALL files, produce a structured summary:你正在分析仓库[REPO_NAME]的"[zone]"区域。
请阅读以下所有文件。对于每个文件,提取:
1. 用途(1-2句话)
2. 使用的关键技术或模式
3. 值得注意或独特的实现方案
4. 对其他组件的依赖
需读取的文件:
[file list]
阅读完所有文件后,生成结构化摘要:| File | Purpose | Key Pattern |
|---|---|---|
| ... | ... | ... |
| 文件 | 用途 | 关键模式 |
|---|---|---|
| ... | ... | ... |
Dispatch up to 8 agents in parallel. If more than 8 zones exist, batch them (first 8, wait, then remaining).
**Gate**: All zone agents have completed (or timed out after 5 minutes each). At least 75% of agents returned results. Zone finding files exist in `/tmp/`. Proceed only when gate passes.
最多并行调度8个Agent。若区域超过8个,则分批处理(先处理前8个,等待完成后再处理剩余区域)。
**准入条件**:所有区域Agent已完成(或每个Agent超时5分钟)。至少75%的Agent返回了结果。区域发现文件已保存到`/tmp/`目录。仅当满足所有条件时才可进入下一阶段。You are cataloging the claude-code-toolkit repository for comparison purposes.
Inventory these component types:
1. Agents (agents/*.md) - count and list with brief descriptions
2. Skills (skills/*/SKILL.md) - count and list with brief descriptions
3. Hooks (hooks/*.py) - count and list with brief descriptions
4. Scripts (scripts/*.py) - count and list with brief descriptions
For each category, note:
- Total count
- Key capability areas covered
- Notable patterns in how components are structured
Save your inventory to /tmp/self-inventory.md/tmp/self-inventory.md你正在为对比目的盘点claude-code-toolkit仓库。
请盘点以下组件类型:
1. Agents (agents/*.md) - 统计数量并附上简要说明
2. Skills (skills/*/SKILL.md) - 统计数量并附上简要说明
3. Hooks (hooks/*.py) - 统计数量并附上简要说明
4. Scripts (scripts/*.py) - 统计数量并附上简要说明
对于每个类别,记录:
- 总数量
- 覆盖的关键能力领域
- 组件结构中的值得注意的模式
将盘点结果保存到/tmp/self-inventory.md/tmp/self-inventory.md/tmp/[REPO_NAME]-zone-*.md/tmp/self-inventory.md| Capability | Their Approach | Our Approach | Gap? |
|---|---|---|---|
| ... | ... | ... | Yes/No/Partial |
research-[REPO_NAME]-comparison.md/tmp/[REPO_NAME]-zone-*.md/tmp/self-inventory.md| 能力 | 他们的实现方案 | 我们的实现方案 | 是否存在差距? |
|---|---|---|---|
| ... | ... | ... | 是/否/部分 |
research-[REPO_NAME]-comparison.mdYou are auditing whether recommendation "[recommendation]" is already
addressed in the claude-code-toolkit repository.
The recommendation suggests: [description]
Your task:
1. Search the repository for components that address this capability
2. Read the SPECIFIC files/subsystems that would be affected
3. Determine coverage level:
- ALREADY EXISTS: We have this. Cite the exact files.
- PARTIAL: We have something similar but incomplete. Cite files and gaps.
- MISSING: We genuinely lack this. Confirm by searching for related patterns.
4. If PARTIAL or MISSING, identify the exact files that would need to change
Save findings to /tmp/audit-[recommendation-slug].md with:你正在审计建议"[recommendation]"是否已在claude-code-toolkit仓库中得到解决。
该建议内容为:[描述]
你的任务:
1. 在仓库中搜索处理该能力的组件
2. 读取会受到影响的具体文件/子系统
3. 确定覆盖程度:
- 已存在:我们已具备该能力。请引用具体文件。
- 部分覆盖:我们有类似内容但不完整。请引用文件并说明差距。
- 缺失:我们确实缺少该能力。请通过搜索相关模式确认。
4. 若为部分覆盖或缺失,识别需要修改的具体文件
将发现结果保存到/tmp/audit-[recommendation-slug].md,格式如下:
**Gate**: All audit agents completed (or timed out after 5 minutes). At least 75% returned results. Audit files exist in `/tmp/`. Proceed only when gate passes.
**准入条件**:所有审计Agent已完成(或超时5分钟)。至少75%的Agent返回了结果。审计文件已保存到`/tmp/`目录。仅当满足所有条件时才可进入下一阶段。/tmp/audit-*.mdresearch-[REPO_NAME]-comparison.mdundefined/tmp/audit-*.mdresearch-[REPO_NAME]-comparison.mdundefined| Capability | Their Approach | Our Approach | Status |
|---|---|---|---|
| ... | ... | ... | Equivalent / They lead / We lead / Unique to them |
| 能力 | 他们的实现方案 | 我们的实现方案 | 状态 |
|---|---|---|---|
| ... | ... | ... | 相当 / 他们更优 / 我们更优 / 他们独有 |
| Capability | Our Implementation | Files |
|---|---|---|
| ... | ... | ... |
| 能力 | 我们的实现 | 文件 |
|---|---|---|
| ... | ... | ... |
| # | Recommendation | Value | What We Have | What's Missing | Effort | Affected Files |
|---|---|---|---|---|---|---|
| 1 | ... | HIGH | ... | ... | S/M/L | ... |
| 序号 | 建议 | 价值 | 我们已有的内容 | 缺失的内容 | 工作量 | 受影响文件 |
|---|---|---|---|---|---|---|
| 1 | ... | 高 | ... | ... | 小/中/大 | ... |
**Step 4: Cleanup**
Remove temporary zone and audit files from `/tmp/` (keep the cloned repo for reference).
**Gate**: Final report saved to `research-[REPO_NAME]-comparison.md`. Report contains comparison table, adjusted recommendations, and verdict. No "DRAFT" watermark remains. All recommendations have been reality-checked against audit findings. Proceed only when gate passes.
---
**步骤4:清理**
从`/tmp/`目录中删除临时区域文件和审计文件(保留克隆的仓库供参考)。
**准入条件**:最终报告已保存到`research-[REPO_NAME]-comparison.md`。报告包含对比表格、调整后的建议和结论。报告中无"草稿"水印。所有建议均已根据审计结果进行实际验证。仅当满足所有条件时才可完成流程。
---skills/INDEX.jsonls agents/ hooks/ scripts/skills/INDEX.jsonls agents/ hooks/ scripts/--quick--quick| Rationalization | Why It's Wrong | Required Action |
|---|---|---|
| "I read enough files to get the picture" | Sampling bias misses distinguishing components | Read every file in the zone |
| "Our system obviously has this" | Obvious to whom? Prove it with file paths. | Run audit agent, cite exact files |
| "This difference is clearly valuable" | Clearly to whom? Different is not better. | Rate honestly, audit against reality |
| "Audit would just confirm what I know" | Confidence is not correctness | Run audit; let evidence decide |
| "The repo is too big to read fully" | Zone capping exists for this reason | Split zones, read all files in each |
| "Quick comparison is good enough" | Quick comparisons miss nuance and produce false positives | Complete all 6 phases |
| 合理化理由 | 错误原因 | 要求的行动 |
|---|---|---|
| "我读的文件足够多了,已经了解情况" | 抽样偏差会遗漏独特组件 | 读取区域内的所有文件 |
| "我们的系统显然已经具备这个能力" | 对谁来说显然?请用文件路径证明 | 运行审计Agent,引用具体文件 |
| "这个差异显然有价值" | 对谁来说显然?不同并不等于更优 | 如实评级,基于实际情况审计 |
| "审计只是确认我已经知道的事情" | 自信不等于正确 | 运行审计;让证据决定 |
| "仓库太大,无法完整读取" | 区域上限正是为这种情况设计的 | 拆分区域,读取每个子区域的所有文件 |
| "快速对比就足够了" | 快速对比会遗漏细节并产生误报 | 完成全部6个阶段 |
| ", |