GitHub CopilotGeneral AI
Solo Developer Rules for GitHub Copilot
GitHub Copilot coding guidelines for Solo Developer teams. Covers workflow, code ownership, quality gates, and collaboration.
.github/copilot-instructions.md
# Solo Developer Rules for GitHub Copilot # Solo Developer Rules for AI Assistants When I'm the only developer, the AI should help me move fast without creating future debt. ## Speed vs Quality Balance - Write tests for business logic and data mutations — skip tests for UI snapshots - README and inline comments over formal documentation — I'll remember the intent - Use established patterns over custom solutions — fewer things to maintain - TypeScript strict mode — catch errors at compile time, not at 2am ## Prioritization Framework - Features that directly generate revenue first - Features that reduce manual work second - Nice-to-haves third — add to a list, don't build immediately - Technical debt: only fix it when it's actively slowing down feature development ## AI Coding Patterns for Solo Work - When I ask to "build X," assume I want the minimal viable version first - Prefer well-known libraries over clever custom code — I didn't write the library, I don't need to maintain it - Flag when a solution will be hard to extend later — I might not see it - When stuck, suggest 3 approaches with trade-offs — don't pick for me on ambiguous decisions ## What to Skip at Solo Stage - Microservices — a modular monolith is fine until you have 5+ developers - CI/CD pipeline complexity — GitHub Actions with basic deploy is enough - Multiple environments beyond dev + production — staging is optional early - Formal code review process — self-review checklist is sufficient ## What NOT to Skip Solo - Version control with meaningful commits — future-you needs this - Database backups — automated, tested, daily minimum - Error monitoring (Sentry or similar) — you won't see errors otherwise - Basic auth security — don't skip this even at v0.1 - Environment variable management — .env.example kept updated ## Scaling Signals - When a feature takes >1 day because of codebase complexity: refactor - When you're scared to change a file: write tests for it first
How to use with GitHub Copilot
Create `.github/copilot-instructions.md` in your repository. GitHub Copilot uses these to customize suggestions across your whole repo.
#copilot#workflow#team#general#ai-coding-rules
Related Rules
TypeScript GitHub Copilot Instructions
GitHub CopilotTypeScript
GitHub Copilot custom instructions for TypeScript: strict types, modern patterns, and team conventions.
Code Style
typescript · copilotCopy Ready
React GitHub Copilot Instructions
GitHub CopilotReact
GitHub Copilot instructions for React: hooks, patterns, and best practices for modern React apps.
Code Style
react · copilotCopy Ready
Next.js GitHub Copilot Instructions
GitHub CopilotNext.js
GitHub Copilot custom instructions for Next.js App Router projects.
Architecture
nextjs · copilotCopy Ready
Java GitHub Copilot Instructions
GitHub CopilotJava
GitHub Copilot instructions for Java 21: virtual threads, records, sealed types, and modern Spring Boot patterns.
Code Style
java · springCopy Ready