standardize skills to mosaic-first paths and docs

This commit is contained in:
Jason Woltje
2026-02-17 13:09:06 -06:00
parent dfed864347
commit 104c11392e
31 changed files with 62 additions and 62 deletions

View File

@@ -27,17 +27,17 @@ ls -d worktrees 2>/dev/null # Alternative
**If found:** Use that directory. If both exist, `.worktrees` wins.
### 2. Check CLAUDE.md
### 2. Check AGENTS.md / SOUL.md (fallback: CLAUDE.md)
```bash
grep -i "worktree.*director" CLAUDE.md 2>/dev/null
grep -i "worktree.*director" AGENTS.md SOUL.md CLAUDE.md 2>/dev/null
```
**If preference specified:** Use it without asking.
### 3. Ask User
If no directory exists and no CLAUDE.md preference:
If no directory exists and no AGENTS.md/SOUL.md/CLAUDE.md preference:
```
No worktree directory found. Where should I create worktrees?
@@ -148,7 +148,7 @@ Ready to implement <feature-name>
| `.worktrees/` exists | Use it (verify ignored) |
| `worktrees/` exists | Use it (verify ignored) |
| Both exist | Use `.worktrees/` |
| Neither exists | Check CLAUDE.md → Ask user |
| Neither exists | Check AGENTS.md/SOUL.md/CLAUDE.md → Ask user |
| Directory not ignored | Add to .gitignore + commit |
| Tests fail during baseline | Report failures + ask |
| No package.json/Cargo.toml | Skip dependency install |
@@ -163,7 +163,7 @@ Ready to implement <feature-name>
### Assuming directory location
- **Problem:** Creates inconsistency, violates project conventions
- **Fix:** Follow priority: existing > CLAUDE.md > ask
- **Fix:** Follow priority: existing > AGENTS.md/SOUL.md/CLAUDE.md > ask
### Proceeding with failing tests
@@ -198,10 +198,10 @@ Ready to implement auth feature
- Skip baseline test verification
- Proceed with failing tests without asking
- Assume directory location when ambiguous
- Skip CLAUDE.md check
- Skip AGENTS.md/SOUL.md/CLAUDE.md check
**Always:**
- Follow directory priority: existing > CLAUDE.md > ask
- Follow directory priority: existing > AGENTS.md/SOUL.md/CLAUDE.md > ask
- Verify directory is ignored for project-local
- Auto-detect and run project setup
- Verify clean test baseline