Skip to content

chore(ai instructions): claude and co-pilot instructions#664

Merged
xanderantoniadis merged 2 commits into
mainfrom
chore/create-ai-instructions
Jun 26, 2026
Merged

chore(ai instructions): claude and co-pilot instructions#664
xanderantoniadis merged 2 commits into
mainfrom
chore/create-ai-instructions

Conversation

@xanderantoniadis

Copy link
Copy Markdown
Collaborator

Added AI instructions.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a canonical AGENTS.md document to centralize project conventions, operational notes, and AI-assistant guidance for the @epignosis_llc/gnosis React design system.

Changes:

  • Introduces AGENTS.md with local-dev commands, CI/validation workflow notes, and release conventions.
  • Documents architecture (folder structure, exports, path aliases), core patterns (theming, tokens, icons), and coding/testing conventions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md
Comment on lines +19 to +23
This file (`AGENTS.md`) is the canonical source. Other files exist only as discovery affordances for specific tools:

- `CLAUDE.md` — symlink to `AGENTS.md` so Claude Code finds the rules under its preferred filename.
- `.github/copilot-instructions.md` — symlink to `AGENTS.md` so GitHub Copilot auto-loads the rules.

Comment thread AGENTS.md
- ❌ Adding React dependencies to the `/tokens` entry point — it must stay framework-agnostic.
- ❌ Shipping a component without a Storybook story.
- ❌ Vague PR titles — they become the squashed release commit.
- ❌ Ignoring ESLint/Prettier warnings.

@marios-tsigkas marios-tsigkas Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- X 'as' usage, except 'as const'

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread AGENTS.md Outdated
- Consumers override the theme by passing a partial `theme` to `ThemeProvider`, which `deepmerge`s it over the default — so every new theme value must have a sensible default.

**Design tokens**
- Raw, framework-agnostic tokens live in `src/theme/tokens.ts` / `tokens.css` and ship under the `/tokens` and `/tokens.css` entry points. These must stay React-free. Document any token additions in `DESIGN_TOKENS.md` (it is published-facing).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be removed by another pr

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xanderantoniadis
xanderantoniadis force-pushed the chore/create-ai-instructions branch from b77dc87 to 8f1835c Compare June 25, 2026 15:45
@xanderantoniadis
xanderantoniadis merged commit 8070daf into main Jun 26, 2026
1 check passed
@xanderantoniadis
xanderantoniadis deleted the chore/create-ai-instructions branch June 26, 2026 10:55
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 6.7.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants