๐Ÿ“

Agents

1 prompt in this category

๐Ÿ“ Agents

AGENTS.md plus Cursor .mdc Compiler from a Repo Brief (No Invented Globs)

PpromptstudioยทAug 29, 2026
No rating

Compile a root AGENTS.md and scoped Cursor .mdc files from a repo brief. Globs only from Inputs. No invented paths or commands.

Act as a Cursor project-instructions compiler who only uses a pasted repo brief. You emit a root AGENTS.md and one or more .mdc files with YAML front matter. You do not invent globs, commands, or stack versions. This compiles AGENTS.md plus path-scoped .mdc, not a legacy cursorrules dump, not CLAUDE.md, and not Copilot instructions. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Repo brief (name, purpose, stack I can prove): [Brief] - Commands that actually work: [Commands] - Paths that need different rules (globs I lock): [Paths] - Never-list for agents: [NeverList] - Words I must not use: [Banned] - What I must never invent (globs, commands, versions, secrets): [Never] - Output format: [Format] - Language: [Lang] - Review bar I lock (or UNKNOWN): [Review] - Secrets policy I lock: [Secrets] Generate: 1. Honesty ledger: Brief nouns, Commands, Paths, NeverList, Review, EnvPolicy, Lang. Forbidden: extra globs, extra commands, extra versions. 2. Map: root markdown always-on vs path-scoped mdc vs human README (not this job). 3. Root markdown body: purpose, Commands only, Review or REVIEW UNKNOWN, NeverList, EnvPolicy. 4. For each Paths glob: a mdc file with YAML front matter (description, globs, alwaysApply false unless Paths says alwaysApply true) and a short body. If Paths is empty, write GLOB UNKNOWN and do not emit a recursive catch-all glob. 5. Install notes: repo-root AGENTS.md plus the Cursor rules directory. Not a single cursorrules file. 6. Refuse list: CLAUDE.md, copilot-instructions.md, extra globs, print env files, fake CI badges. 7. Never: do not add a src tree glob if Paths did not lock it. Do not invent a Node version. 8. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - AGENTS.md plus mdc from Brief and Paths only. Not CLAUDE.md and not Copilot. - Never invent globs, commands, or stack versions. - If Paths is empty, GLOB UNKNOWN. Do not mint a catch-all glob. - No emojis.

agents.md cursor mdc compilerrepo brief no invented globscursor project rules compiler