Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Oct 19, 2025

Overview

This PR adds a comprehensive .github/copilot-instructions.md file to configure GitHub Copilot coding agent for this repository, following the best practices documented at https://gh.io/copilot-coding-agent-tips.

What's Included

The instructions file provides GitHub Copilot with detailed context about the project to improve code suggestions and assistance:

Project Context

  • Overview: React Seat Toolkit as a UI library for designing and rendering seat layouts
  • Technology Stack: Bun runtime, TypeScript, React, Redux Toolkit, Tailwind CSS, Radix UI, and more
  • Development Tools: Storybook, ESLint, Prettier, Lefthook

Code Standards

  • ESLint & Prettier configuration: Print width, trailing commas, and import ordering rules
  • Import order: Specific ordering from React imports → React packages → Redux packages → Third-party → Internal (@/*) → Relative
  • TypeScript setup: Path aliases (@/* for src directory), JSX configuration

Development Workflow

  • Commands: bun install, bun storybook, bun build, bun lint, bun format
  • Build process: ESM, CJS, and slim bundle generation with automatic type and CSS building
  • Project structure: Detailed directory organization and purpose

Conventions

  • Commits: Conventional commits format (feat, fix, docs, etc.)
  • Pull Requests: Labeling, descriptions, screenshots for UI changes, documentation updates
  • Dependencies: Core libraries to use (Radix UI, D3, lodash, Lucide React, etc.)

Best Practices

  • Security guidelines (no secrets in code)
  • React patterns (functional components with hooks)
  • TypeScript usage guidelines
  • Library export formats and Next.js compatibility notes

Benefits

This configuration will help GitHub Copilot:

  • Generate code that follows the project's style guidelines
  • Suggest appropriate dependencies that are already in use
  • Understand the build and development workflow
  • Follow established conventions for commits and PRs
  • Provide context-aware assistance for developers

Related

Closes #[issue_number]

Original prompt

This section details on the original issue you should resolve

<issue_title>✨ Set up Copilot instructions</issue_title>
<issue_description>Configure instructions for this repository as documented in Best practices for Copilot coding agent in your repository.

</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #29


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@Copilot Copilot AI changed the title [WIP] Add Copilot instructions for repository setup ✨ Add GitHub Copilot instructions for repository Oct 19, 2025
@Copilot Copilot AI requested a review from Akalanka47000 October 19, 2025 11:13
Copilot finished work on behalf of Akalanka47000 October 19, 2025 11:13
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.

✨ Set up Copilot instructions

2 participants