docs(repo): introduce code review instructions for copilot#2560
Conversation
✅ Deploy Preview for spirit-design-system-docsite ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for spirit-design-system-storybook canceled.
|
✅ Deploy Preview for spirit-design-system canceled.
|
There was a problem hiding this comment.
Pull request overview
Updates the repository’s Copilot instructions to focus on concise, standardized PR review guidance, replacing the previously long set of component/system implementation guidelines.
Changes:
- Simplifies “Architecture & Technologies” headings and removes hardcoded version qualifiers (e.g., React/Node.js versions).
- Replaces large sections of component/dev/testing guidance with “Code Review Instructions” based on Conventional Comments.
- Adds review heuristics (what not to report, review dimensions, AI-generated code checks).
284802f to
306dc05
Compare
* remove styling information, keep instructions short and sharp
23961c9 to
5756dbf
Compare
adamkudrna
left a comment
There was a problem hiding this comment.
Curious to see it in action!
| - **Accessibility tests** using jest-axe | ||
| - **Visual regression tests** with Playwright | ||
| - **Interaction tests** for user behaviors | ||
| When reviewing AI-generated changes, additionally check for: |
There was a problem hiding this comment.
How do we know the code is (not) AI generated?
There was a problem hiding this comment.
Good question. But as I remember it correctly, you have marked your AI-generated code with the comment :-)
| - **PascalCase** for React components (`Button`, `CardHeader`, `NavigationLink`) | ||
| - **Atomic design** structure (atoms, molecules, organisms) | ||
| - **Semantic versioning** with careful breaking change management | ||
| Use [Conventional Comments](https://conventionalcomments.org/) for all findings. |
There was a problem hiding this comment.
You mean that the link should be formatted as we do it, or you are uncertain whether it will fetch and analyze the content?
Description
Additional context
Issue reference