From 44720c728039ad126a7e987bd41d9d80797defdb Mon Sep 17 00:00:00 2001 From: Amanuel Sisay Date: Thu, 26 Mar 2026 18:12:17 +0100 Subject: [PATCH 1/4] feat: add a simple AGENTS.md --- AGENTS.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..2507529 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,13 @@ +# Chat Components + +React components for conversation-oriented UI in the Cloudscape Design System. + +## Quick Reference + +- Build: `npm run build` +- Lint: `npm run lint` +- Test: `npm test` + +## Development Conventions + +This repo follows the same conventions as the main components library. For component structure, props, styling, testing, and accessibility guidelines, see the [components repo docs](https://raw.githubusercontent.com/cloudscape-design/components/main/docs/). From 04e0064f33d57fbbfd35654f7a400497f8440954 Mon Sep 17 00:00:00 2001 From: Amanuel Sisay Date: Thu, 26 Mar 2026 18:58:31 +0100 Subject: [PATCH 2/4] chore: link to conventions --- AGENTS.md | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 2507529..34c1a44 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,13 +1,23 @@ -# Chat Components +React component library for conversation-oriented UI in the Cloudscape Design System. -React components for conversation-oriented UI in the Cloudscape Design System. +## Commands -## Quick Reference +```sh +npm start # Dev server with file watching +npm run build # Production build +npm run lint # ESLint + Stylelint +npm run test:unit # Unit tests (vitest) +npm test # Lint + unit tests +``` -- Build: `npm run build` -- Lint: `npm run lint` -- Test: `npm test` +## Conventions -## Development Conventions +This repo follows the same conventions as the [main Cloudscape components library](https://github.com/cloudscape-design/components). See the detailed guides: -This repo follows the same conventions as the main components library. For component structure, props, styling, testing, and accessibility guidelines, see the [components repo docs](https://raw.githubusercontent.com/cloudscape-design/components/main/docs/). +- [Component Conventions](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/COMPONENT_CONVENTIONS.md) — component structure, props, events, refs +- [Styling](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/STYLING.md) — design tokens, CSS rules, RTL support +- [Writing Tests](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/WRITING_TESTS.md) — test utils, unit and integration tests +- [Code Style](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/CODE_STYLE.md) — prettier, stylelint, eslint +- [Dev Pages](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/DEV_PAGES.md) — dev/test pages and running in the browser +- [API Docs](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/API_DOCS.md) — API documentation comments +- [Internals](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/INTERNALS.md) — internal shared utilities From 3b478da1335bfc26935926ce66ff7e93121cb8a7 Mon Sep 17 00:00:00 2001 From: Amanuel Sisay Date: Fri, 27 Mar 2026 10:48:41 +0100 Subject: [PATCH 3/4] fix: add a centralized for components guide --- AGENTS.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 34c1a44..f9205a0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,12 +12,4 @@ npm test # Lint + unit tests ## Conventions -This repo follows the same conventions as the [main Cloudscape components library](https://github.com/cloudscape-design/components). See the detailed guides: - -- [Component Conventions](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/COMPONENT_CONVENTIONS.md) — component structure, props, events, refs -- [Styling](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/STYLING.md) — design tokens, CSS rules, RTL support -- [Writing Tests](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/WRITING_TESTS.md) — test utils, unit and integration tests -- [Code Style](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/CODE_STYLE.md) — prettier, stylelint, eslint -- [Dev Pages](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/DEV_PAGES.md) — dev/test pages and running in the browser -- [API Docs](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/API_DOCS.md) — API documentation comments -- [Internals](https://raw.githubusercontent.com/cloudscape-design/components/dev-v3-amanabiy-ai-instructions/docs/INTERNALS.md) — internal shared utilities +This repo follows the same conventions as the [main Cloudscape components library](https://github.com/cloudscape-design/components). See the detailed guides (covers component structure, props, events, styling, writing testing, code style, dev pages, and API docs): https://github.com/cloudscape-design/components/blob/dev-v3-amanabiy/docs/CLOUDSCAPE_COMPONENTS_GUIDE.md From ca38c906c03575c558445dcd133e00c68c6ffc14 Mon Sep 17 00:00:00 2001 From: Amanuel Sisay Date: Fri, 27 Mar 2026 14:45:24 +0100 Subject: [PATCH 4/4] chore: improve file --- AGENTS.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index f9205a0..332d755 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,15 +1,11 @@ +# AGENTS.md + React component library for conversation-oriented UI in the Cloudscape Design System. -## Commands +## Setup -```sh -npm start # Dev server with file watching -npm run build # Production build -npm run lint # ESLint + Stylelint -npm run test:unit # Unit tests (vitest) -npm test # Lint + unit tests -``` +This project uses npm. ## Conventions -This repo follows the same conventions as the [main Cloudscape components library](https://github.com/cloudscape-design/components). See the detailed guides (covers component structure, props, events, styling, writing testing, code style, dev pages, and API docs): https://github.com/cloudscape-design/components/blob/dev-v3-amanabiy/docs/CLOUDSCAPE_COMPONENTS_GUIDE.md +This repo follows the same conventions as the [main Cloudscape components library](https://github.com/cloudscape-design/components). Refer to the [Cloudscape Components Guide](https://github.com/cloudscape-design/components/blob/main/docs/CLOUDSCAPE_COMPONENTS_GUIDE.md) for details on component structure, props, events, styling, testing, code style, dev pages, and API docs.