fix: rename init to setup to avoid built-in /init conflict
This commit is contained in:
35
skills/setup/SKILL.md
Normal file
35
skills/setup/SKILL.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
name: setup
|
||||
description: "Run the setup script to scaffold .loop/ directory. Does not plan features or write code."
|
||||
---
|
||||
|
||||
# /init — Scaffold the Agent Loop
|
||||
|
||||
Run the setup script to create `.loop/` with harness files and config. This skill does ONE thing: run a bash command.
|
||||
|
||||
## Instructions
|
||||
|
||||
1. Ask the user: **Mode?** (a) Implement (b) Explore (c) Fix — default is Implement.
|
||||
|
||||
2. Run the setup script:
|
||||
|
||||
```bash
|
||||
bash ~/.claude/plugins/cache/agent-loop/agent-loop/*/setup.sh <mode>
|
||||
```
|
||||
|
||||
If that path doesn't work, try:
|
||||
|
||||
```bash
|
||||
bash "$(ls -d ~/.claude/plugins/cache/agent-loop/agent-loop/*/setup.sh 2>/dev/null | head -1)" <mode>
|
||||
```
|
||||
|
||||
3. Show the script output to the user.
|
||||
|
||||
4. Tell the user:
|
||||
|
||||
> `.loop/` is ready. Next:
|
||||
> ```
|
||||
> /agent-loop:stories
|
||||
> ```
|
||||
|
||||
**That's it. Do not do anything else. Do not read specs. Do not plan. Do not write code.**
|
||||
Reference in New Issue
Block a user