Skip to content
Prompt

ai-template — Cursor Rules

by jasonstcyrx

AI Summary

A Cursor Rules template that enforces consistent Git workflows through standardized branch naming, commit message patterns, and pull request structures. Ideal for teams wanting to maintain code discipline and traceability across their development process.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "ai-template — Cursor Rules" prompt rules to my project.
Repository: https://github.com/jasonstcyrx/ai-template

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Cursor Rules for ai-template

Branch Naming

• Pattern: ${type}/${ticket-id}/${description} • Examples: • feature/TICKET-123/add-dark-mode • bug/TICKET-456/fix-login-error • task/TICKET-789/update-docs

Commit Messages

• Pattern: ${ticket-id}: ${description} • Must reference a valid ticket ID • Use present tense (e.g., "Add" not "Added") • Examples: • TICKET-123: Add dark mode toggle component • TICKET-456: Fix login token validation

Pull Requests

• Title: ${ticket-id}: ${description} • Required sections: • Changes Made • Testing Done • Screenshots (if applicable) • Checklist • Checklist items: • [ ] Tests added/updated • [ ] Documentation updated • [ ] No linting errors • [ ] Tested in development • [ ] Code reviewed

Code Review

• At least one approval required • All comments must be resolved • CI checks must pass • Coverage requirements met (80% minimum)

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 9mo ago
Stale
AdoptionUnder 100 stars
1 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars1
Issues0
Updated9mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more