feat(agents): scaffold AGENTS.md and CLAUDE.md, and add matcha agents
CI / installer (macos-14) (pull_request) Successful in 2s
CI / check (pull_request) Successful in 26s
CI / starter (bun) (pull_request) Successful in 31s
CI / starter (deno) (pull_request) Successful in 32s
CI / starter (node) (pull_request) Successful in 33s
CI / core-freshness (pull_request) Has been skipped
CI / installer (ubuntu-latest) (pull_request) Successful in 10s
CI / starter (edge) (pull_request) Successful in 5m38s
CI / installer (macos-14) (pull_request) Successful in 2s
CI / check (pull_request) Successful in 26s
CI / starter (bun) (pull_request) Successful in 31s
CI / starter (deno) (pull_request) Successful in 32s
CI / starter (node) (pull_request) Successful in 33s
CI / core-freshness (pull_request) Has been skipped
CI / installer (ubuntu-latest) (pull_request) Successful in 10s
CI / starter (edge) (pull_request) Successful in 5m38s
LLM coding agents have no training data on green-tea, so they write Express. Every starter now ships an AGENTS.md, with a CLAUDE.md that imports it. It states the rules that differ: a graph, not a chain; needs declared in the signature; the graph validated at boot; reuse existing tokens. It also points the agent at matcha routes|tokens|explain --json and at the llms.txt inside the installed core. matcha agents writes the same files into an older project, with the core version that project actually depends on. It leaves existing files alone unless --force is given. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
8 files changed
+253
-5
No files matched your search
@@ -13,6 +13,13 @@ is pinned to is `CORE_VERSION` in `src/template.rs`, and each entry below says w
|
||||
|
||||
### Added
|
||||
|
||||
- **Every starter ships an `AGENTS.md` and a `CLAUDE.md` that imports it.** green-tea is new, so a
|
||||
coding agent falls back on Express habits. The file states the rules that differ: it is a graph, not a
|
||||
chain, a handler declares its needs in its signature, and the graph is checked at boot. It also points
|
||||
the agent at `matcha routes|tokens|explain --json`, so it reads the app instead of guessing, and at the
|
||||
`llms.txt` shipped inside the installed `@green-tea/core`.
|
||||
- **`matcha agents`** writes the same two files into a project that predates them. The files name the
|
||||
core version the project actually depends on. An existing file is left alone unless `--force` is passed.
|
||||
- **`matcha routes` and `matcha tokens`.** `routes` lists every route with its transport and chain.
|
||||
`tokens` lists every token, with who provides it and who needs it, handlers included. It is
|
||||
the check to run before writing `@needs('x')`.
|
||||
|
||||
Reference in new issue
Block a user