codingbuddy
Copilot instructions31 starsChanged 8 months agoMITView on GitHub
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/auto-agent.mdcCursor rule
- .cursor/rules/imports.mdcCursor rule
- parallel-issuesSkill
- plan-to-issuesSkill
- retroSkill
- shipSkill
- taskmaestroSkill
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
19 rules. About 0 are common, 18 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Check for hardcoded secrets, API keys, or credentials
- Distinctive: line 12
Look for SQL injection and XSS vulnerabilities
- Distinctive: line 13
Verify proper input validation and sanitization
- Distinctive: line 14
Check for command injection in shell executions
- Distinctive: line 15
Ensure authentication/authorization is properly implemented
- Distinctive: line 16
Verify dependencies don't have known vulnerabilities
- Very specific: line 21
Prefer const over let, never use var
- Distinctive: line 22
Use explicit return types for public functions
- Distinctive: line 23
Ensure proper null/undefined handling with strict null checks
- Distinctive: line 24
Prefer pure functions over impure ones (separate files for pure/impure)
- Distinctive: line 29
No deeply nested code (max 3-4 levels)
- Distinctive: line 30
No magic numbers — use named constants
- Distinctive: line 31
Remove dead code and unused imports
- Distinctive: line 33
Keep methods small and focused
- Distinctive: line 40
No mocking — test real behavior with actual implementations
- Distinctive: line 42
Test edge cases and error paths
- Distinctive: line 47
No circular dependencies between modules
- Distinctive: line 53
Follow NestJS module pattern (Module → Controller/Gateway → Service)
- Distinctive: line 54
Use dependency injection properly
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot Code Review Instructions
Review Priority Levels
- 🔴 CRITICAL (Block merge): Security vulnerabilities, logic errors, breaking changes, data loss risks
- 🟡 IMPORTANT (Requires discussion): Code quality issues, missing tests, performance bottlenecks, architectural deviations
- 🟢 SUGGESTION (Non-blocking): Readability improvements, minor optimizations, best practice refinements
Security Review
- Check for hardcoded secrets, API keys, or credentials
- Look for SQL injection and XSS vulnerabilities
- Verify proper input validation and sanitization
- Check for command injection in shell executions
- Ensure authentication/authorization is properly implemented
- Verify dependencies don't have known vulnerabilities
TypeScript Standards
- No
anytype usage — useunknownor specific types with strict mode - Prefer
constoverlet, never usevar - Use explicit return types for public functions
- Ensure proper null/undefined handling with strict null checks
- Prefer pure functions over impure ones (separate files for pure/impure)
Code Quality
- Functions should follow Single Responsibility Principle (10-20 lines max)
- No deeply nested code (max 3-4 levels)
- No magic numbers — use named constants
- Remove dead code and unused imports
- DRY: No duplicated logic across files
- Keep methods small and focused
Testing Standards
- Core logic (entities, shared/utils, hooks) MUST have tests (TDD approach)
- UI components (features, widgets) should have test-after coverage
- Target 90%+ test coverage
- No mocking — test real behavior with actual implementations
- Use Arrange-Act-Assert pattern
- Test edge cases and error paths
Architecture
- Layer dependency: app → widgets → features → entities → shared
- No circular dependencies between modules
- Server Components as default, Client Components only when necessary
- Pure/impure function separation (different files)
NestJS Patterns (MCP Server)
- Follow NestJS module pattern (Module → Controller/Gateway → Service)
- Use dependency injection properly
- Validate DTOs with class-validator decorators
- Handle errors with proper NestJS exception filters
Commit & PR Standards
- Conventional commits format (feat:, fix:, refactor:, test:, docs:, chore:)
- Each PR should be focused on a single concern
- PR description must explain "why", not just "what"
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

