agentleFS
floriscornelfloriscornel/todo-mcp/.cursor/rules/pr-automation.mdc

todo-mcp / rules

Cursor rule2 starsChanged 18 months agoMITView on GitHub

Don't merge until all CI checks pass.

The file

We split this pr-automation.mdc into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    When I ask to create a PR, ensure:

    line 9
  2. Distinctive:

    Write clear, descriptive PR titles

    line 51
  3. Distinctive:

    Don't merge until all CI checks pass.

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
pr-automation.mdc
---
description: 
globs: 
alwaysApply: true
---
# Pull Request Guidelines

## Pre-PR Checklist
When I ask to create a PR, ensure:

1. **Code Quality**:
   - [ ] `npm run test:coverage` passes with 80% coverage
   - [ ] `npm run lint` passes without errors
   - [ ] `npm run compile` succeeds
   - [ ] `npm run build` creates clean distribution

2. **Commit Structure**:
   - [ ] Commits follow conventional format
   - [ ] Each commit is focused and atomic
   - [ ] Commit messages are descriptive

3. **Documentation**:
   - [ ] README updated if public API changed
   - [ ] Code comments for complex logic
   - [ ] CHANGELOG.md updated for user-facing changes

## PR Description Template
Structure PR descriptions for GitHub Copilot review:

```markdown
## Summary
Brief description of what this PR accomplishes.

## Changes
- [ ] Feature/fix description
- [ ] Any breaking changes
- [ ] Dependencies added/updated

## Testing
- [ ] All tests pass with coverage
- [ ] New tests added for new functionality
- [ ] Manual testing completed

## Review Notes
- Areas that need special attention
- Architecture decisions made
- Trade-offs considered
```

## GitHub Copilot Review Preparation
- Write clear, descriptive PR titles
- Include context about the problem being solved
- Explain non-obvious code decisions
- Tag any breaking changes clearly
- Reference related issues or discussions

## Automated Checks
The CI will automatically run:
- Multi-version Node.js testing (18, 20, 22)
- PostgreSQL integration tests
- Code coverage reporting
- Security audit
- Build verification

Don't merge until all CI checks pass.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.