setup-claude-code
Installation
SKILL.md
为当前仓库配置 Claude Code harness 下工程技能(loop-go 等)所需的文件:.claude/agents/builder.md、.claude/agents/checker.md 和 .claude/commands/loop-go.md。只写取得用户确认的文件。
1. 探索
读取,不要假设:
which claude:Claude Code 不可用时提示先装或跳过本 skill。- 项目
.claude/agents/builder.md、.claude/agents/checker.md、.claude/commands/loop-go.md是否存在。 ~/.claude/agents/中是否已有同名用户级 agent,项目级副本只在当前仓库覆盖它,要向用户说明。- 根目录
CLAUDE.md、AGENTS.md是否已有### Loop Engineering或## Loop 停止规则。
2. 决策
总结现状和缺口,逐项给出推荐,让用户接受、修改或跳过;每项结论确认后再进入下一项。
A. 项目级
写入 .claude/agents/builder.md、.claude/agents/checker.md(模板见 references/builder.md、checker.md)和 .claude/commands/loop-go.md(模板见 references/loop-go-command.md)。已存在时询问是否覆盖。