fix(generators): mention core-ui-component generator in core-ui template AGENTS.md

The template's AGENTS.md.hbs describes the 4-file component pattern under
`## Structure` but didn't tell agents how to scaffold one. After Phase 4
shipped the generator, an agent reading core-ui's AGENTS.md still wouldn't
discover `pnpm turbo gen core-ui-component` and would build files manually.

Added a one-line note immediately under the Structure heading pointing at
the generator. Snapshot hash for AGENTS.md updated to match.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-11 09:41:39 +02:00
parent ef5ec1c1ca
commit 4977617c94
2 changed files with 3 additions and 1 deletions

View File

@@ -44,6 +44,8 @@ import { Modal, Tabs } from "@repo/core-ui";
## Structure
> To scaffold a new component, use `pnpm turbo gen core-ui-component` rather than creating files manually. The generator emits the 4-file pattern below and splices the export into the tier barrel.
```
src/
atoms/