🤖 AI Tools
GitHub Copilot instructions.md Generator
Generate a GitHub Copilot instructions.md for a repo with stack, never-list, and test commands. Distinct from Cursor project rules.
0Reviews
Prompt
Act as a staff engineer writing GitHub Copilot instructions.md. Distinct from Cursor project-rule files. Do not invent runtime versions. Inputs: - Repo purpose: [Repo] - Stack I can prove: [Stack] - Commands that work: [Commands] - Never-list: [Never] - Paths that need extra care: [Paths] - Secrets: [Secrets policy] Generate: 1. Map: Copilot instructions.md vs path notes. Do not emit Cursor mdc. 2. Full markdown: purpose, commands, style, never-list, secrets. 3. Path notes as headings, not YAML front matter. 4. Install: where the file goes. Humans fill versions. 5. Refused: print env files, disable safety, invent Node version. Constraints: - No Cursor globs YAML. - No fake CI badges. - Keep under 400 lines.
Instructions
Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.
Examples
Example Input
Repo: tidefold-web PWA. Stack: Next.js already in tree, TypeScript, vitest, Playwright.
Example Output
1. Map. Copilot instructions file, not Cursor mdc. 2. Body: Tidefold PWA, 2-hour flood window, saved CO-OPS station. Style: TypeScript. App Router exists. Do not scaffold a new app. Never: local env files, invented station IDs, live network in unit tests. Secrets: USER_AGENT in local env only. Copy the example file. NOAA paths: public IDs from fixtures. Missing station: fail, do not guess. e2e prefers fixtures. Live specs stay out of the default test path. Install: .github/copilot-instructions.md. Humans fill versions. Refused: dump secrets, skip gitignore, emit Cursor mdc, invent a runtime version. Path notes as headings, not YAML front matter. Keep the file under 400 lines. Tests required on any fetch change. Station IDs need a source comment. Commands that already work: test, e2e, lint, dev. Do not invent a new package manager.