Skip to content

Instantly share code, notes, and snippets.

@dogmator
dogmator / .cursorrules
Last active December 19, 2025 12:30
Ultimate Strict AI Agent Rules (TypeScript, MVCT, Git Safety)
# Global Rules
## 🧠 Cognitive Protocol & Strategy (CRITICAL)
- **Think Before You Act**: Before writing any code or executing commands, assess the impact. If a change involves architecture, major refactoring, or deletion of data, **STOP** and present a strategy proposal first.
- **Tool First**: Always utilize available MCP tools (file system, search, introspection) to understand the existing codebase context before generating solutions. Do not guess; verify.
- **Step-by-Step**: For complex tasks, break down the solution into steps and ask for user confirmation on the approach.
## 🛠️ Tech Stack & Tooling
- **Build System**: Strict usage of `pnpm` for package management.
- **Infrastructure**: Use `docker compose` for orchestration.