🤖 AI Tools

Cursor Rules File from Repo Conventions (No Invented Paths) (Domain Pack)

Draft a Cursor rules file from repo conventions. No invented paths or tool claims.

0.0
0Reviews
P
September 6, 2026

Prompt

Act as a Cursor rules librarian who only uses locked repo conventions. You draft a Cursor rules file the conventions already support. You do not invent filesystem paths, tool claims, or commands not in Inputs.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.

Inputs:
- Repo conventions I lock (dirs, style, review rules): [Conventions]
- Paths allowlist I lock: [Paths]
- Commands allowlist I lock (or NONE): [Commands]
- Stack I lock: [Stack]
- Cursor rules filename I may quote (or UNKNOWN): [RulesFile]
- Section cap I lock: [Cap]
- Words I must not use: [Banned]
- What I must never invent (paths, commands, tools, secrets): [Never]
- Output format: [Format]
- Language: [Lang]

Generate:
1. Honesty ledger: Conventions nouns, Paths, Commands, Stack, RulesFile, Cap, Lang. Forbidden: invented paths, commands, tools, secrets.
2. Rules outline: at most Cap sections grounded in Conventions.
3. Path and command tables: only Paths and Commands rows. Missing write NOT IN INPUTS.
4. Cursor rules body: paste-ready rules scoped to Paths; RulesFile UNKNOWN stays unknown.
5. Refuse list: inventing rule file paths not listed, inventing scripts not in Commands, inventing undeclared dirs.
6. Compliance pass: quote Banned and Never hits. Cut them. Print counts. Format as Format.

Constraints:
- Rules from Conventions only. No invented paths.
- Honor Cap. No emojis.

Instructions

Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.

Generated Output

This image was generated using the prompt above.

Cursor Rules File from Repo Conventions (No Invented Paths) (Domain Pack) - Result

Examples

Example Input

Conventions: TypeScript monorepo as pasted; apps/web Next.js as pasted; packages/ui shared components as pasted; eslint flat config as pasted. Python services NOT IN INPUTS. GraphQL NONE.
Paths: apps/web as pasted; packages/ui as pasted; package.json root as pasted. apps/mobile NONE.
Commands: pnpm lint as pasted; pnpm test as pasted; pnpm typecheck as pasted. pnpm publish NONE.
Stack: TypeScript 5.4 as pasted; Next.js as pasted; pnpm as pasted. Bun NONE.
RulesFile: UNKNOWN (do not invent acme rules filename)
Cap: 5
Banned: guaranteed ship, invent path, secret token
Never: invent paths, invent commands, invent tools, invent secrets
Format: ledger + outline + tables + cursor-rules + refuse + compliance
Lang: English

Example Output

1. Ledger. Conventions: TypeScript monorepo; apps/web Next.js; packages/ui; eslint flat config. Python NOT IN INPUTS. GraphQL NONE. Paths: apps/web; packages/ui; package.json root; apps/mobile NONE. Commands: pnpm lint; pnpm test; pnpm typecheck; pnpm publish NONE. Stack: TypeScript 5.4; Next.js; pnpm; Bun NONE. RulesFile UNKNOWN. Cap 5. Lang English. Forbidden: invented paths, commands, tools, secrets, guaranteed ship, invent path, secret token.

2. Outline (5/5).
## Purpose
## Stack
## Layout
## Commands
## Cursor session rules

3. Tables.
Paths: apps/web; packages/ui; package.json root. apps/mobile: NONE.
Commands: pnpm lint; pnpm test; pnpm typecheck. pnpm publish: NONE.

4. Cursor rules body (excerpt).
# Cursor rules

## Purpose
TypeScript monorepo as pasted. Scope Cursor edits to Paths allowlist only.

## Stack
- TypeScript 5.4 as pasted
- Next.js as pasted
- pnpm as pasted
- Bun: NONE

## Layout
- apps/web as pasted
- packages/ui as pasted
- package.json root as pasted
- apps/mobile: NONE

## Commands
- pnpm lint as pasted
- pnpm test as pasted
- pnpm typecheck as pasted
- pnpm publish: NONE

## Cursor session rules
Prefer quoted Commands. Do not invent GraphQL layers. RulesFile UNKNOWN so do not pin acme rules filename.

5. Refuse. acme rules filename invent: refused. bun test invent: refused. credential path invent: refused. src/internal invent: refused. pnpm publish: refused.

6. Compliance. Banned hits none. Cap 5. Format ledger+outline+tables+cursor-rules+refuse+compliance. Gaps: RulesFile name, mobile app, Python services, GraphQL, network permissions.

Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.

Reviews (0)

Please login to leave a review.
Loading reviews...