From 13cc424a7ef14096427ed994acc3ae6db65c2e08 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Thu, 19 Nov 2026 13:15:25 -0600 Subject: [PATCH] docs(llms): current matcha generators; point at plugin READMEs llms.txt listed matcha add sse|stream|buffer and create ...|plugin as wired into a module. matcha now also adds ws, upload and cookie, creates transformers, and scaffolds plugins as in-app or standalone packages. The official plugins ship no llms.txt, so say where their docs are. Signed-off-by: Diego Resendez --- llms.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llms.txt b/llms.txt index b9d06d6..b3f7f8f 100644 --- a/llms.txt +++ b/llms.txt @@ -243,6 +243,8 @@ export const apiKey: Plugin = { A plugin gets only `bus.on`, `scope.add` and `onShutdown`; it cannot reorder or remove other nodes. +The official plugins (`@green-tea/jwt`, `@green-tea/metrics`, `@green-tea/rate-limit`) ship no llms.txt: read the installed one's `node_modules/@green-tea//README.md`. + ## Common mistakes 1. `app.use(authMiddleware)` -> a `@Step({ provides: 'user', needs: ['req'] })` that handlers `@needs('user')`, or a plugin step with `provides: []` for every route. @@ -305,7 +307,7 @@ matcha explain /users/:id --json # one route's chain, in execution order matcha graph --format json # the raw GraphView ``` -Run `matcha tokens` before adding `@needs('x')`: if nothing provides `x`, you must add the provider or step too. Request tokens (`req`, `params`, `body`, ...) are listed as coming from the request. Other generators: `matcha new`, `matcha create controller|step|provider|module|plugin ` (wires the class into its module), `matcha add sse|stream|buffer`. +Run `matcha tokens` before adding `@needs('x')`: if nothing provides `x`, you must add the provider or step too. Request tokens (`req`, `params`, `body`, ...) are listed as coming from the request. Other generators: `matcha new`, `matcha create controller|step|provider|module|transformer ` (wires the class into its module), `matcha create plugin` (in-app, or `--package` for its own package), `matcha add sse|stream|buffer|ws|upload|cookie`. ## Stability