a template starter repo for sveltekit projects
3.1 kB
39 lines
1# remove-claude-dec-glue
2
3## Task
4
5Remove the Claude-Code-specific artifacts (`CLAUDE.md`, `.claude/` tree) that the deciduous installer wrote into the suede repo root. Verify that all substantive content is already mirrored in `.opencode/` or `AGENTS.md`. Fix one Claude-path reference that leaked into an OpenCode-side file.
6
7## Decisions
8
9- Delete `CLAUDE.md` and the entire `.claude/` directory — both are Claude-Code-only integration glue (hook settings, Claude-flavor commands/skills/hooks), and all substantive content is already in `.opencode/` (commands, skills, plugins, tools) and `AGENTS.md` (Decision Graph Workflow section).
10- Keep the `.gitignore` lines for `CLAUDE.md` and `.claude/` (defensive — prevents a future `deciduous update` from polluting git).
11- Fix `.opencode/commands/decision.md:258` to point at `.opencode/` instead of `.claude/` so the example is correct for this project's layout.
12- Leave the stock `deciduous` content alone (no `task-lifecycle` skill regeneration, no edits to `.opencode/{agents,plugins,tools}`).
13
14## Actions
15
16- Surveyed `.opencode/`, `.claude/`, `CLAUDE.md`, `AGENTS.md`, and `.gitignore` to map every Claude-specific artifact to its OpenCode/suede equivalent.
17- Deleted `suede/CLAUDE.md` (290-line deciduous-managed block — superseded by `AGENTS.md` "Decision Graph Workflow" section).
18- Deleted `suede/.claude/` (agents.toml, settings.json, commands/, skills/, hooks/) — content mirrored in `.opencode/{commands,skills,plugins,tools,agents}` and `AGENTS.md`.
19- Edited `.opencode/commands/decision.md:258` — changed example `git add .claude/commands/decision.md` to `git add .opencode/commands/decision.md` to match suede's layout.
20
21## Files touched
22
23- `CLAUDE.md` — deleted
24- `.claude/` — deleted (full tree: agents.toml, settings.json, commands/, skills/, hooks/)
25- `.opencode/commands/decision.md` — line 258 path example corrected
26
27## Verification
28
29- `ls -la suede/ | grep -i claude` — no matches
30- `ls suede/.claude suede/CLAUDE.md` — both: No such file or directory
31- `grep -rn "claude|\.claude|CLAUDE" suede/.opencode/` — no matches
32- `grep -n "Decision Graph Workflow" suede/AGENTS.md` — still present (full section)
33- `git status` — no new untracked files from this work; existing untracked `.opencode/*` and `opencode.json` are unchanged
34
35## Follow-ups / stubs
36
37- `deciduous update` will likely re-create `CLAUDE.md` and `.claude/` on next run (by design in the deciduous installer). The defensive `.gitignore` lines prevent that from reaching git, but the files will reappear on disk. If regen suppression is wanted, that's a deciduous-side flag or a post-install cleanup hook — separate task.
38- `.opencode/commands/build-test.md` uses `cargo build && cargo test` (stock deciduous template). Suede is pnpm + Vitest, not Rust. Not Claude-related, but the command is misaligned with this project. Out of scope here; flag for a future "suede-ize stock deciduous commands" task.
39- The `## Decision Graph Workflow` section currently in `AGENTS.md` was recovered from a prior session's WIP (per the 2026-06-03-03 task note's follow-up). Confirmed it's intact.