implementlisted
Install: claude install-skill Banyango/scalpel
# Scalpel Implement
Apply every `.plan` file to its target source file. Follow the plan. Do not improvise. Do not skip.
## Steps
### 1. Load Project Standards
Read every standards file found, in this order:
1. `AGENTS.md`
2. `CLAUDE.md`
3. `docs/ARCHITECTURE.md`, `docs/architecture.md`, or any file matching `docs/arch*`
These define how code must be written in this project. If none exist, note that and proceed.
Do not invent standards. Only enforce what is explicitly documented.
### 2. Gather Plan Files
```bash
find . -name "*.plan" -not -path '*/.git/*' -not -path '*/node_modules/*' | sort
```
Read every plan file found. Before proceeding, resolve the target for each plan:
- If the `file` frontmatter field is present, that is the target.
- If `file` is absent, the target is the file in the same directory with the same base name and the `.plan` extension
removed.
- If the file does not exist, treat it as a new file to be created.
### 3. Implement Each Plan
Process the plan files.
1. Read the plan's `## Change` and `type` field in full
2. Execute based on `type`:
| `type` | Action |
|----------|----------------------------------------------------------------------------------------------------------------------------------|
| `add` | Create the target file with the described content. If the file already exists, stop and ask the user be