Skip to content

SW-1304: Add custom Copilot code review instructions#42

Open
darwinboersma wants to merge 1 commit intomainfrom
dboersma/sw-1304-copilot-review-instructions
Open

SW-1304: Add custom Copilot code review instructions#42
darwinboersma wants to merge 1 commit intomainfrom
dboersma/sw-1304-copilot-review-instructions

Conversation

@darwinboersma
Copy link
Contributor

@darwinboersma darwinboersma commented Mar 3, 2026

Summary

Adds .github/copilot-code-review-instructions.md to customize GitHub Copilot's PR code review behavior for this repo.

What's included

Review rules covering:

  • React 19 patterns (ref-as-prop, no forwardRef)
  • TypeScript conventions (type imports, no any)
  • Styling (styled-components transient props, CSS variables, no inline styles)
  • Accessibility (ARIA, keyboard nav, alt text)
  • Testing (Vitest + RTL, Storybook play functions, Zephyr IDs)
  • Import ordering (matching ESLint config)
  • Code quality (cognitive complexity, deduplication, modern array methods)
  • PR conventions (title format)
  • What NOT to flag (known legacy patterns)

Jira

SW-1304


Pull Request opened by Augment Code with guidance from the PR author

@darwinboersma darwinboersma requested a review from a team as a code owner March 3, 2026 20:47
@vercel
Copy link

vercel bot commented Mar 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
ts-lib-ui-kit-storybook Ignored Ignored Mar 3, 2026 8:47pm

Request Review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant