skills / agent-config
Copilot instructions1 starsChanged 3 months agoMITView on GitHub
This codebase uses project-specific conventions with hard rules that must never be broken. Always follow these. When in doubt, check installed project docs under docs/guidelines/ if they exist.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-config/CLAUDE.mdCLAUDE.md
- prism-designSkill
- graphifySkill
- engineering-guidelinesSkill
- product-managementSkill
- ai-seo-geoSkill
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
Always follow these. When in doubt, check installed project docs under docs/guidelines/ if they exist.
- Very specific: line 38
If src/design/SKILL.md or design/SKILL.md exists, load it before UI work
- Distinctive: line 39
If no design skill exists, follow the project's existing component library and styles
- Distinctive: line 40
Do not introduce Tailwind, shadcn, Material UI, or another visual system unless the project already uses it or the user explicitly asks
- Distinctive: line 41
Prefer project tokens for colours, radii, spacing, and font names when tokens exist
- Distinctive: line 47
Never silence errors — always log or rethrow
- Very specific: line 52
No ad-hoc console.log debugging — use the project logger
- Distinctive: line 53
No commented-out code — delete it
- Very specific: line 55
No TypeScript enum — use string literal unions
- Distinctive: line 58
Follow the project's selected testing / QA approach from the Stack section
- Distinctive: line 59
Add or update tests for changed behavior when adjacent test patterns exist
- Distinctive: line 60
Run the narrowest relevant validation first, then broader checks when confidence is needed
- Distinctive: line 61
If QA is manual or not yet configured, say so explicitly
≈ “Common” is an estimate: at least 1 in 5 of the 3,950 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
GitHub Copilot workspace instructions
This codebase uses project-specific conventions with hard rules that must never be broken.
Always follow these. When in doubt, check installed project docs under docs/guidelines/ if they exist.
Stack
<!-- CUSTOMIZE: Replace this section with your project's actual stack -->- Frontend/Backend: [e.g., Next.js 14 App Router, React + Vite, Express, FastAPI]
- ORM / Query layer: [e.g., Drizzle ORM, Prisma, SQLAlchemy, raw SQL]
- Primary Database: [e.g., PostgreSQL, SQLite, MySQL]
- Async Queue: [e.g., BullMQ, Celery, None/Direct Background Streaming]
- Session Store: [e.g., Redis, database-backed sessions, JWTs]
- API style: [e.g., REST + JSON / GraphQL / tRPC]
- Testing / QA: [e.g., Unit + integration + E2E smoke tests / Unit + integration / Manual QA]
- CI Quality Gates: [e.g., Typecheck + lint + tests on every PR / Typecheck + unit tests / Existing CI only]
Critical rules (catastrophic if missed)
<!-- CUSTOMIZE: Adjust tenancy rules to match your data model (multi-tenant vs single-tenant) -->- Tenancy boundaries — if multi-tenant, every query on tenant data filters by
tenantId; if single-tenant, ignore tenant constraints - No raw SQL concatenation — use parameterized ORM/query-builder calls; raw SQL requires explicit review
- Tenant identity comes from auth context — never from URL params or request body
- Unauthorized reads return 404 — never 403 (prevents existence leak)
- Soft deletes for recoverable business data — avoid hard deletes unless the domain explicitly requires them
- Consistent primary keys — use the project's chosen ID strategy everywhere
- Cursor pagination only — never offset/limit on large sets
- Async anything > 1 second — use the project's background queue/worker strategy, never block an HTTP handler
- Modern password hashing — use Argon2id, bcrypt cost ≥ 12, or the platform-approved equivalent
- Revocable user sessions — prefer server-side session storage where revocation matters
- Schema validation on every input boundary — strict/no-extra-keys mode, including max lengths
- AI guardrails — validate all LLM-generated parameters with schemas; scrub PII before calling external model APIs
- Structured logs only — include request/correlation IDs and tenant IDs where applicable
- Secrets in a secrets manager or environment — never in code, never logged
- No unsafe dynamic typing — use
unknownwith narrowing in TypeScript instead ofany - No N+1 queries — batch, join, preload, or select related data intentionally
Design system rules
- If
src/design/SKILL.mdordesign/SKILL.mdexists, load it before UI work - If no design skill exists, follow the project's existing component library and styles
- Do not introduce Tailwind, shadcn, Material UI, or another visual system unless the project already uses it or the user explicitly asks
- Prefer project tokens for colours, radii, spacing, and font names when tokens exist
- Touch targets: 44×44px minimum on mobile
Error handling
- Throw exceptions for programming errors (bugs)
- Return Result types for expected failures (validation, not-found, rate-limit)
- Never silence errors — always log or rethrow
Code style
- TypeScript
strict: true+noUncheckedIndexedAccess - Functions ≤ 40 lines (max 80), files ≤ 300 lines (max 500)
- No ad-hoc
console.logdebugging — use the project logger - No commented-out code — delete it
- Boolean variables:
is/has/can/shouldprefix - No TypeScript
enum— use string literal unions
Testing and QA
- Follow the project's selected testing / QA approach from the Stack section
- Add or update tests for changed behavior when adjacent test patterns exist
- Run the narrowest relevant validation first, then broader checks when confidence is needed
- If QA is manual or not yet configured, say so explicitly
Performance hard caps
- UI response: ≤ 100ms | API p95: < 300ms | DB indexed lookup: ≤ 10ms
- JS bundle gzipped: ≤ 170KB | CSS gzipped: ≤ 30KB
- LCP: ≤ 2.5s | INP: ≤ 200ms | CLS: ≤ 0.1
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.

