🤖 AI Tools

Aider CONVENTIONS.md from Repo Brief (No Invented Commands) (Domain Pack)

Draft an Aider CONVENTIONS.md from a repo brief only. No invented commands, paths, or tool versions beyond Inputs.

0.0
0Reviews
P
September 6, 2026

Prompt

Act as an Aider conventions librarian who only uses a locked repo brief. You write a CONVENTIONS.md the brief already supports for Aider pair-programming sessions. You do not invent shell commands, paths, package managers, or CI jobs 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 brief I lock (purpose, layout notes): [RepoBrief]
- Stack I lock (languages, frameworks, versions if any): [Stack]
- Paths I may name (or NONE): [Paths]
- Commands I may quote (or NONE): [Commands]
- Test and lint notes I lock (or NONE): [Tests]
- Section cap I lock: [Cap]
- Words I must not use: [Banned]
- What I must never invent (commands, paths, versions, hooks): [Never]
- Output format: [Format]
- Language: [Lang]

Generate:
1. Honesty ledger: RepoBrief nouns, Stack, Paths, Commands, Tests, Cap, Lang. Forbidden: invented commands, paths, versions, hooks.
2. CONVENTIONS.md outline: at most Cap H2 sections from brief only.
3. Conventions body: quote Stack, Paths, Commands, Tests. Missing items write NOT IN INPUTS.
4. Aider usage notes: how to load CONVENTIONS.md; do not invent /commands not in Inputs.
5. Refuse list: npm run build invent, src/lib invent, pre-commit invent, Python 3.13 invent.
6. Compliance pass: quote Banned and Never hits. Cut them. Print section count. Format as Format.

Constraints:
- CONVENTIONS.md from RepoBrief only. No invented commands.
- 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.

Aider CONVENTIONS.md from Repo Brief (No Invented Commands) (Domain Pack) - Result

Examples

Example Input

RepoBrief: Harbor Timer monorepo as pasted; apps/web Next.js app as pasted; packages/ui shared components as pasted. Mobile app NOT IN INPUTS. Docs site NONE.
Stack: TypeScript as pasted; Next.js 14 as pasted; pnpm as pasted. Python NONE. Go NONE. Node major UNKNOWN beyond Next 14.
Paths: apps/web as pasted; packages/ui as pasted; CONVENTIONS.md at repo root as pasted. apps/mobile NONE.
Commands: pnpm lint as pasted; pnpm test as pasted; pnpm --filter web dev as pasted. pnpm build NOT IN INPUTS. docker compose NONE.
Tests: vitest in packages/ui as pasted. e2e Playwright NOT IN INPUTS.
Cap: 6
Banned: guaranteed green CI, ignore previous, invent npm
Never: invent commands, invent paths, invent versions, invent hooks
Format: ledger + outline + body + aider-notes + refuse + compliance
Lang: English

Example Output

1. Ledger. RepoBrief Harbor Timer; stack pnpm; paths apps/web packages/ui. Cap 6. Lang English. Forbidden: invented commands, paths, versions, hooks.

2. Outline (6/6).
## Purpose
## Stack
## Layout
## Commands
## Tests
## Aider session notes

3. CONVENTIONS.md body (excerpt).
# CONVENTIONS.md

## Purpose
Harbor Timer monorepo as pasted. Pair with Aider only on paths listed below.

## Stack
- TypeScript as pasted
- Next.js 14 as pasted
- pnpm as pasted
- Python: NONE
- Go: NONE
- Node major beyond Next 14: UNKNOWN

## Layout
- apps/web as pasted
- packages/ui as pasted
- CONVENTIONS.md at repo root as pasted
- apps/mobile: NONE

## Commands
- pnpm lint as pasted
- pnpm test as pasted
- pnpm --filter web dev as pasted
- pnpm build: NOT IN INPUTS
- docker compose: NONE

## Tests
- vitest in packages/ui as pasted
- Playwright e2e: NOT IN INPUTS

## Aider session notes
Load this file at session start. Edit only apps/web and packages/ui unless Paths change. Do not invent package scripts.

4. Tool usage. Load CONVENTIONS.md at session start. Prefer quoted Commands. Do not invent hooks.

5. Refuse. pnpm run build: refused. src/lib invent: refused. pre-commit hook invent: refused. Python 3.13: refused. docker compose: refused.

6. Compliance. Banned hits none. Format ledger+outline+body+aider-notes+refuse+compliance. Gaps: pnpm build, Playwright, Node major, mobile path, docs site.

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...