Cursor · RulesGit y PRs
Local git hooks
Quick checks before commit.
by Prompt Studio
githooks
License: MITView original
Contents
Where it goes: .cursor/rules/git-hooks.mdc
---
description: Chequeos rápidos antes de commit
globs: .husky/**,.pre-commit-config.yaml,lefthook.yml
alwaysApply: false
---
# Git hooks locales
- Formato y lint de archivos tocados
- Escáner de secretos
- Mantén los hooks rápidos
- El CI repite los chequeos
More in Rules
Project AGENTS.md
Plain Markdown instructions at the repo root: stack, commands and conventions.
Concise answers
Always-on rule: less prose, more code, no restating context.
Conventional commits
feat/fix/chore format with scope and imperative messages.
Testing with Vitest
When to write tests, how to name them and what to avoid.
Security basics
Secrets, input validation and safe queries.
API endpoints
Consistent responses, correct HTTP codes and validation.