Skip to content

Configure Copilot instructions for repository#12

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/setup-copilot-instructions
Draft

Configure Copilot instructions for repository#12
Copilot wants to merge 3 commits intomainfrom
copilot/setup-copilot-instructions

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 16, 2026

Establishes comprehensive Copilot instruction files to guide AI-assisted development with project-specific conventions and patterns.

Files Added

  • .github/copilot-instructions.md - Repository-wide context

    • Tech stack: TypeScript, Express.js, React 18, Vite, Tailwind CSS
    • Project structure and npm workspace organization
    • Build/test commands, coding standards, data model (ERD)
  • .github/instructions/API.instructions.md - API-specific patterns

    • YAML frontmatter: applyTo: 'api/**/*.ts'
    • Swagger/OpenAPI JSDoc comment templates
    • RESTful conventions, in-memory storage patterns, Vitest testing standards
  • .github/instructions/Frontend.instructions.md - Frontend-specific patterns

    • YAML frontmatter: applyTo: 'frontend/**/*.{ts,tsx}'
    • React functional components with hooks, React Query v3 data fetching
    • Tailwind CSS conventions, TypeScript interface patterns, form handling

Example: API Route Pattern

/**
 * @swagger
 * /api/products:
 *   get:
 *     summary: Returns all products
 *     tags: [Products]
 *     responses:
 *       200:
 *         description: List of all products
 */
router.get('/api/products', (req, res) => { ... });

Instructions reflect actual codebase patterns (Swagger comments, Express routing, React Query usage) to ensure consistent AI-generated code.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • gh.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

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)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 16, 2026 04:57
Co-authored-by: thomasiverson <12767513+thomasiverson@users.noreply.github.com>
Co-authored-by: thomasiverson <12767513+thomasiverson@users.noreply.github.com>
Copilot AI changed the title [WIP] Set up Copilot instructions for repository Configure Copilot instructions for repository Feb 16, 2026
Copilot AI requested a review from thomasiverson February 16, 2026 05:00
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