Skip to content

Commit c396155

Browse files
authored
Remove redundant counter.tsx and clarify CLAUDE.md (commontoolsinc#1913)
* Remove unused counter * Briefly clarify CLAUDE.md instructions * Ignore recipes folder * Format pass
1 parent 1867bf7 commit c396155

File tree

2 files changed

+12
-60
lines changed

2 files changed

+12
-60
lines changed

AGENTS.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,17 @@ Before ever calling `ct` you MUST read `docs/common/CT.md`.
1818

1919
### Recipe Development
2020

21-
Whenever you work on recipes, look in the `recipes` folder provided by the user
22-
for the `RECIPES.md` and `COMPONENTS.md` files. These are your bible. You can
23-
re-read `.claude/commands/recipe-dev.md` any time to refresh your memory.
21+
Whenever you work on patterns (sometimes called recipes), consult the `patterns`
22+
package for a set of well-tested minimal examples. To learn more about the
23+
pattern framework, consult `docs/common/*.md` and `tutorials/*.md`. You should
24+
re-read `.claude/commands/recipe-dev.md` when confused to refresh your memory on
25+
`ct` and deploying charms.
26+
27+
These patterns are composed using functions from `packages/builder` and executed
28+
by our runtime in `packages/runner`, managed by `packages/charm` and rendered by
29+
`packages/html`.
30+
31+
IMPORTANT: ignore the top level `recipes` folder, it is defunct.
2432

2533
### Formatting
2634

@@ -57,6 +65,7 @@ re-read `.claude/commands/recipe-dev.md` any time to refresh your memory.
5765
- Structure tests with `@std/testing/bdd` (`describe`/`it`).
5866
- Use `@std/expect` for assertions.
5967
- Give tests descriptive names.
68+
- Run using `deno task test` NOT `deno test`, the flags are important
6069

6170
## Good Patterns & Practices
6271

recipes/counter.tsx

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)