Instruction file imported from peterjbardenhagen/repo-template.bardenhagen.xyz (
.cursor/rules/project-rules.mdc). Copyright stays with the author.
Project Rules
Always Read Project Context
- Read
AGENTS.md,AI_CONTEXT.md,.cursorrules, and this file at the start of every session - Follow the Agentic SDLC protocol documented in
docs/agentic-sdlc.md
Workflow
- Run
git pull --ff-onlybefore making any changes - Commit after each logical phase of work
- Push changes promptly
- Update
CHANGELOG.mdwith significant changes
Code Quality
- Write tests alongside implementation code
- Run linter before committing
- Use conventional commit format:
type(scope): description - Document public APIs
Architecture Decisions
- Create ADRs in
docs/decisions/for significant architectural choices - Keep ADRs short and focused
Security
- Never commit secrets, passwords, tokens, or API keys
- Use
.env.exampleto document required environment variables - Ensure
.envis in.gitignore