This directory contains comprehensive configuration for GitHub Copilot to provide optimal assistance when working on this repository.
.github/
βββ copilot-instructions.md # Repository-wide instructions
βββ instructions/ # Path-specific instructions (18 files)
βββ agents/ # Custom agent definitions (25 agents)
βββ prompts/ # Prompt templates (20+ prompts)
βββ skills/ # Skills and expertise modules
βββ workflows/ # GitHub Actions workflows
βββ README.md # This file
File: .github/copilot-instructions.md
Comprehensive instructions that apply to all work in this repository, including:
- Repository overview and architecture
- Tech stack (Next.js 16, React 19, TypeScript, Prisma, NextAuth, shadcn/ui)
- Build and validation workflows
- Development workflows
- Common pitfalls and workarounds
- MCP usage patterns (next-devtools, shadcn, playwright)
Location: .github/instructions/*.instructions.md
Specialized instructions that apply when working with specific file types:
nextjs.instructions.md- Next.js 16 best practices (App Router, Server/Client Components, caching)- Applies to:
**/*.tsx, **/*.ts, **/*.jsx, **/*.js, **/*.css
- Applies to:
nextjs-tailwind.instructions.md- Next.js + Tailwind CSS patterns- Applies to:
**/*.tsx, **/*.ts, **/*.jsx, **/*.js, **/*.css
- Applies to:
reactjs.instructions.md- React 19 development standards- Applies to:
**/*.jsx, **/*.tsx, **/*.js, **/*.ts, **/*.css, **/*.scss
- Applies to:
tanstack-start-shadcn-tailwind.instructions.md- TanStack + shadcn/ui patterns- Applies to:
**/*.ts, **/*.tsx, **/*.js, **/*.jsx, **/*.css, **/*.scss, **/*.json
- Applies to:
typescript-mcp-server.instructions.md- MCP server development with TypeScript- Applies to:
**/*.ts, **/*.js, **/package.json
- Applies to:
nodejs-javascript-vitest.instructions.md- Node.js with Vitest testing- Applies to:
**/*.js, **/*.mjs, **/*.cjs
- Applies to:
copilot-sdk-nodejs.instructions.md- GitHub Copilot SDK usage- Applies to:
**/*.ts, **/*.js, **/package.json
- Applies to:
playwright-typescript.instructions.md- Playwright browser automation testing- Applies to:
**/*.ts, **/*.tsx, **/*.js, **/*.jsx, **/*.css
- Applies to:
a11y.instructions.md- Accessibility best practices (WCAG 2.2 Level AA)- Applies to:
**
- Applies to:
self-explanatory-code-commenting.instructions.md- Code commenting standards- Applies to:
**
- Applies to:
security-and-owasp.instructions.md- OWASP Top 10 security practices- Applies to:
*
- Applies to:
performance-optimization.instructions.md- Comprehensive performance optimization- Applies to:
*
- Applies to:
devops-core-principles.instructions.md- DevOps CALMS framework and DORA metrics- Applies to:
*
- Applies to:
containerization-docker-best-practices.instructions.md- Docker and containerization- Applies to:
**/Dockerfile, **/Dockerfile.*, **/*.dockerfile, **/docker-compose*.yml, **/compose*.yml
- Applies to:
sql-sp-generation.instructions.md- SQL stored procedure development- Applies to:
**/*.sql
- Applies to:
object-calisthenics.instructions.md- Object-oriented design principles- Applies to:
**/*.{cs,ts,java}
- Applies to:
spec-driven-workflow-v1.instructions.md- Specification-driven development workflow- Applies to:
**
- Applies to:
task-implementation.instructions.md- Task plan implementation from.copilot-tracking/plans/**- Applies to:
**/.copilot-tracking/changes/*.md
- Applies to:
Location: .github/agents/*.agent.md
Specialized agents for specific development tasks:
Planer.agent.md- Multi-step plan research and outliningimplementation-plan.agent.md- Generate implementation plans from featurestask-planner.agent.md- Create actionable implementation planstask-researcher.agent.md- Comprehensive project analysisresearch-technical-spike.agent.md- Technical spike research and validationprd.agent.md- Generate Product Requirements Documents
expert-nextjs-developer.agent.md- Next.js 16 specialist (App Router, Cache Components, Turbopack)expert-react-frontend-engineer.agent.md- React 19.2 specialist (hooks, Server Components, Actions)typescript-mcp-expert.agent.md- MCP server development expertui-ux-saas-specialist-agent.md- UI/UX specialist for multi-tenant SaaS
playwright-tester.agent.md- Playwright test generation and executiontdd-red.agent.md- Write failing tests first (TDD Red phase)tdd-green.agent.md- Implement code to pass tests (TDD Green phase)tdd-refactor.agent.md- Refactor while maintaining tests (TDD Refactor phase)web-design-guidelines-agent.agent.md- UI/UX audit against Web Interface Guidelines
se-gitops-ci-specialist.agent.md- CI/CD pipeline and deployment debugginggithub-actions-expert.agent.md- GitHub Actions workflow security and optimizationpostgresql-dba.agent.md- PostgreSQL database operations
se-security-reviewer.agent.md- OWASP Top 10 and security best practicesse-responsible-ai-code.agent.md- Bias prevention and ethical AI developmentse-system-architecture-reviewer.agent.md- Architecture validation (Well-Architected frameworks)
se-technical-writer.agent.md- Technical documentation specialistse-product-manager-advisor.agent.md- Product management and GitHub issue creation
agentic-workflows.agent.md- GitHub Agentic Workflows (gh-aw) specialistcustom-agent-foundry.agent.md- Create custom VS Code agents
Location: .github/prompts/*.prompt.md
Pre-built prompts for common tasks:
create-implementation-plan.prompt.md- Generate implementation plansbreakdown-feature-implementation.prompt.md- Break down features into tasksbreakdown-epic-arch.prompt.md- Break down epics with architecturecreate-technical-spike.prompt.md- Create technical spike documentsupdate-implementation-plan.prompt.md- Update existing planscreate-github-issues-feature-from-implementation-plan.prompt.md- Generate GitHub issues
sql-code-review.prompt.md- SQL code reviewpostgresql-code-review.prompt.md- PostgreSQL-specific reviewsql-optimization.prompt.md- SQL query optimizationpostgresql-optimization.prompt.md- PostgreSQL optimizationai-prompt-engineering-safety-review.prompt.md- AI prompt safety review
playwright-generate-test.prompt.md- Generate Playwright testsplaywright-explore-website.prompt.md- Explore websites with Playwright
plan-shopifyThemeEditorEnhancement.prompt.mdplan-shopifyThemeEditorEnhancement-extended.prompt.mdplan-shopifyInspiredEditorOverhaul.prompt.mdplan-themeEditorReliability.prompt.md
typescript-mcp-server-generator.prompt.md- Generate TypeScript MCP serverssuggest-awesome-github-copilot-agents.prompt.md- Discover Copilot agent patterns
Location: .github/skills/
Specialized knowledge modules:
copilot-sdk/- Build agentic applications with GitHub Copilot SDKvercel-composition-patterns/- React composition patterns that scalevercel-react-best-practices/- React and Next.js performance optimization from Vercelweb-design-guidelines/- Review UI code for Web Interface Guidelines compliance
Configuration Files:
.vscode/mcp.json- VS Code MCP configuration.mcp.json- Repository-wide MCP configuration
-
playwright- Browser automation testing- Command:
npx @playwright/mcp@latest - Capabilities: Navigate, click, fill forms, take screenshots, capture console
- Command:
-
next-devtools- Next.js 16 development tools- Command:
npx -y next-devtools-mcp@latest - Tools:
init,nextjs_docs,nextjs_runtime,browser_eval,upgrade_nextjs_16,enable_cache_components - Documentation resources: Cache Components, Next.js 16 migration guides
- Command:
-
shadcn- shadcn/ui component management- Command:
npx shadcn@latest mcp - Capabilities: Search, view, install shadcn/ui components
- Command:
-
github-mcp-server- GitHub API integration- URL:
https://api.githubcopilot.com/mcp - Capabilities: GitHub Actions, workflows, issues, PRs, code scanning
- URL:
# 1. Start dev server
npm run dev
# 2. Initialize Next DevTools MCP (once per session)
# Use init tool from next-devtools-mcp
# 3. Query documentation
# Use nextjs_docs tool for any Next.js questions
# 4. Inspect runtime state
# Use nextjs_runtime tools:
# - discover_servers
# - list_tools
# - call_tool (get_errors, get_logs, get_page_metadata)
# 5. Browser verification
# Use browser_eval via next-devtools-mcp# DO NOT manually copy component files
# Use MCP tool:
#mcp_shadcn_get_add_command_for_items ["@shadcn/dialog", "@shadcn/form"]
# Then run returned command: npx shadcn@latest add dialog formWhen Copilot starts working on this repository:
- Read repository-wide instructions (
.github/copilot-instructions.md) - Check path-specific instructions for relevant file types
- Use MCP servers for up-to-date documentation:
next-devtoolsfor Next.js 16 patternsshadcnfor component usageplaywrightfor browser testing
- Leverage custom agents for specialized tasks
- Reference prompt templates for common workflows
- Best Practices Guide: https://gh.io/copilot-coding-agent-tips
- GitHub Copilot Docs: https://docs.github.com/en/copilot
- Custom Instructions Guide: https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
- VS Code Copilot: https://code.visualstudio.com/docs/copilot
- MCP Documentation: https://modelcontextprotocol.io
This instruction system should be updated when:
- New technologies or frameworks are adopted
- Build or validation workflows change
- New custom agents are created
- MCP servers are added or updated
- Best practices evolve
Last Updated: February 2026 Maintained By: StormCom Development Team