RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/pr-pm/prpm

Cursor rule

.cursor/rules/creating-agents-md.mdc

Creating agents.md files with plain markdown format (NO frontmatter) - use when creating agents.md packages for PRPM or generating project context files

Cursor rules

Quality

92/100

Scores the file, not the repository.

Length

678 words

29 headings · 6 code blocks

Repository

121

— · pushed 39 days ago

Last changed

3 days ago

First indexed 3 days ago.
pr-pm/prpm/.cursor/rules/creating-agents-md.mdcRawGitHub
1---
2description: Creating agents.md files with plain markdown format (NO frontmatter) - use when creating agents.md packages for PRPM or generating project context files
3globs: []
4alwaysApply: false
5---
6 
7# Creating agents.md Files
8 
9Quick reference for creating agents.md files - plain markdown project context for AI coding assistants.
10 
11**Schema**: https://github.com/pr-pm/prpm/blob/main/packages/converters/schemas/agents-md.schema.json
12 
13## Format Rules
14 
15| Requirement | Value |
16|------------|-------|
17| Format | Plain markdown only |
18| Frontmatter | **None** (forbidden) |
19| Structure | Free-form |
20| File | `agents.md` in project root |
21 
22## Critical Requirements
23 
241. **No frontmatter**: Pure markdown only (no YAML)
252. **Single file**: Typically `agents.md` in project root
263. **Plain markdown**: Standard markdown syntax
274. **Free-form content**: No required structure
28 
29## What to Include
30 
31**High Priority:**
32- Project overview and purpose
33- Architecture decisions and patterns
34- Tech stack and dependencies
35- File structure and organization
36- Coding conventions
37- Development workflow
38- Testing approach
39- Domain knowledge and business logic
40 
41**Skip:**
42- General programming best practices
43- Language syntax explanations
44- Framework basics
45- Obvious code quality rules
46 
47## Example: Full Stack App
48 
49```markdown
50# TaskMaster Development Guide
51 
52## Project Overview
53 
54TaskMaster is a task management application for remote teams with real-time collaboration and offline-first architecture.
55 
56## Architecture
57 
58### Frontend
59- React 18 with TypeScript
60- Vite for build tooling
61- Zustand for state management
62- Tailwind CSS for styling
63 
64### Backend
65- Node.js with Express
66- PostgreSQL with Prisma ORM
67- WebSocket for real-time features
68- Redis for caching and pub/sub
69 
70## Coding Conventions
71 
72- Use TypeScript strict mode
73- Functional components with hooks (no class components)
74- Colocate tests with source files (*.test.tsx)
75- Use Zod for runtime validation
76 
77## File Structure
78 
79\`\`\`
80src/
81 components/ # Reusable UI components
82 features/ # Feature-based modules
83 hooks/ # Custom React hooks
84 lib/ # Utility functions
85 pages/ # Route pages
86\`\`\`
87
88## Development Workflow
89
901. Create feature branch from `main`
912. Write tests first (TDD)
923. Implement feature
934. Run `pnpm test` and `pnpm lint`
945. Create PR with description
95 
96## Testing
97 
98- Vitest for unit tests
99- Playwright for E2E tests
100- 80% coverage target
101- Mock external dependencies
102```
103 
104## Example: API Project
105 
106```markdown
107# Payment Gateway API
108 
109RESTful API for payment processing with multiple payment providers.
110 
111## Tech Stack
112 
113- Node.js 20.x
114- Express
115- PostgreSQL 15
116- Stripe and PayPal integrations
117 
118## API Design
119 
120All endpoints follow REST:
121- `GET /api/payments` - List payments
122- `POST /api/payments` - Create payment
123- `PUT /api/payments/:id` - Update payment
124 
125## Error Format
126 
127\`\`\`json
128{
129 "error": {
130 "code": "PAYMENT_FAILED",
131 "message": "Payment could not be processed"
132 }
133}
134\`\`\`
135
136## Security
137
138- JWT authentication required
139- Rate limiting: 100 req/min per IP
140- Input validation with Zod
141- PCI DSS compliance
142
143## Database Conventions
144
145- snake_case for table/column names
146- UUIDs for primary keys
147- Foreign keys: `{table}_id` pattern
148```
149 
150## Writing Style
151 
152**Good - Concise:**
153```markdown
154## Testing
155- Vitest for unit tests
156- Playwright for E2E
157- 80% coverage target
158- Mock external dependencies
159```
160 
161**Bad - Verbose:**
162```markdown
163## Testing
164When you are writing tests, it's important to understand that we use Vitest
165for our unit tests because it's fast and modern. For end-to-end testing...
166```
167 
168## Common Mistakes
169 
170| Mistake | Fix |
171|---------|-----|
172| Adding YAML frontmatter | No frontmatter - plain markdown only |
173| Generic best practices | Focus on project-specific patterns |
174| Verbose explanations | Be concise - AI knows general concepts |
175| Language tutorials | Skip basics, focus on conventions |
176 
177## File Placement
178 
179Single project:
180```
181project-root/
182 agents.md
183 src/
184 package.json
185```
186 
187Monorepo (multiple files possible):
188```
189monorepo/
190 packages/
191 frontend/agents.md
192 backend/agents.md
193```
194 
195## Best Practices
196 
1971. **Be concise**: Focus on project-specific info (AI knows general practices)
1982. **Keep updated**: Review as project evolves
1993. **Real examples**: Show actual code patterns
2004. **Plain markdown**: No YAML frontmatter
2015. **Human-readable**: For both AI and humans
2026. **Project-specific**: Avoid generic advice
203 
204## Migration from Other Formats
205 
2061. **Strip frontmatter** - Remove all YAML headers
2072. **Focus content** - Keep only markdown
2083. **Combine files** - Merge multiple rules into one
2094. **Simplify** - Remove format-specific features
2105. **Plain markdown** - Standard syntax only
211 
212## References
213 
214- **Official Spec**: https://github.com/openai/agents.md
215- **Schema**: `/Users/khaliqgant/Projects/prpm/app/packages/converters/schemas/agents-md.schema.json`
216- **Docs**: `/Users/khaliqgant/Projects/prpm/app/packages/converters/docs/agents-md.md`
217 

Commands it names

  • pnpm test
  • pnpm lint

Sections

  • Creating agents.md Files
  • Format Rules
  • Critical Requirements
  • What to Include
  • Example: Full Stack App
  • TaskMaster Development Guide
  • Project Overview
  • Architecture
  • Frontend
  • Backend
  • Coding Conventions
  • File Structure
  • Development Workflow
  • Testing
  • Example: API Project
  • Payment Gateway API
  • Tech Stack
  • API Design
  • Error Format
  • Security
  • Database Conventions
  • Writing Style
  • Testing
  • Testing
  • Common Mistakes
  • File Placement
  • Best Practices
  • Migration from Other Formats
  • References

What it covers

testlint-formatcode-stylearchitecturetypestesting-strategysecuritydatabaseapido-notagent-behaviour

Stack — with the evidence

typescript

(1.00)

node

(1.00)

playwright

(0.95)

pnpm

(0.85)

react

(0.70)

nextjs

(0.70)

fastify

(0.70)

drizzle

(0.70)

postgres

(0.70)

redis

(0.70)

tailwind

(0.70)

vitest

(0.70)

jest

(0.70)

eslint

(0.70)

aws

(0.70)

javascript

(0.60)

docker

(0.60)

github-actions

(0.60)

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
pr-pm
Language
—
License
—
Archived
no

All configs in this repo

Also in pr-pm/prpm

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
pr-pm/prpm.cursor/rules/beanstalk-deploy.mdc · 121Cursor rulestypescriptnode+16teststyletypes62/1003 days ago
pr-pm/prpm.cursor/rules/core-principles.mdc · 121Cursor rulestypescriptnode+16testlint-formatstylearch+669/1003 days ago
pr-pm/prpm.cursor/rules/creating-cursor-rules.mdc · 121Cursor rulestypescriptnode+16testlint-formatstylearch+576/1003 days ago
pr-pm/prpm.cursor/rules/creating-kiro-agents.mdc · 121Cursor rulestypescriptnode+16setupbuildteststyle+576/1003 days ago
pr-pm/prpm.cursor/rules/creating-skills.mdc · 121Cursor rulestypescriptnode+16stylearchtesting-strategydo-not+161/1003 days ago
pr-pm/prpm.cursor/rules/format-conversion.mdc · 121Cursor rulestypescriptnode+16testlint-formatstyledo-not+163/1003 days ago
pr-pm/prpm.cursor/rules/github-actions-testing.mdc · 121Cursor rulestypescriptnode+17setupbuildstylearch+493/1003 days ago
pr-pm/prpm.cursor/rules/karen-repo-reviewer.mdc · 121Cursor rulestypescriptnode+16archgit58/1003 days ago
pr-pm/prpm.cursor/rules/prpm-json-best-practices.mdc · 121Cursor rulestypescriptnode+16setuplint-formatstylearch+573/1003 days ago
pr-pm/prpm.cursor/rules/self-improve-cursor.mdc · 121Cursor rulestypescriptnode+16setuptestarchdependencies+369/1003 days ago
pr-pm/prpm.cursor/rules/testing-patterns.mdc · 121Cursor rulestypescriptnode+16testlint-formatstyletesting-strategy77/1003 days ago
pr-pm/prpm.cursor/rules/typescript-type-safety.mdc · 121Cursor rulestypescriptnode+16buildstylearchtypes+289/1003 days ago
pr-pm/prpm.cursor/rules/typescript-type-specialist.mdc · 121Cursor rulestypescriptnode+16styletypesdo-notagent-behaviour65/1003 days ago
pr-pm/prpmAGENTS.md · 121AGENTS.mdtypescriptnode+16setupbuildtestlint-format+1284/1003 days ago
pr-pm/prpmCLAUDE.md · 121CLAUDE.mdtypescriptnode+16teststylegitapi+269/1003 days ago
Diff against .cursor/rules/beanstalk-deploy.mdc Diff against .cursor/rules/core-principles.mdc Diff against .cursor/rules/creating-cursor-rules.mdc Diff against .cursor/rules/creating-kiro-agents.mdc Diff against .cursor/rules/creating-skills.mdc Diff against .cursor/rules/format-conversion.mdc Diff against .cursor/rules/github-actions-testing.mdc Diff against .cursor/rules/karen-repo-reviewer.mdc Diff against .cursor/rules/prpm-json-best-practices.mdc Diff against .cursor/rules/self-improve-cursor.mdc Diff against .cursor/rules/testing-patterns.mdc Diff against .cursor/rules/typescript-type-safety.mdc Diff against .cursor/rules/typescript-type-specialist.mdc Diff against AGENTS.md Diff against CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
markstev/mark-starter.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+14setuptestlint-formatstyle+699/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1Cursor rulestypescriptnextjs+5setuptestlint-formatstyle+799/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack