Agent skill
Cursor
IDE: AI-first code editor with Agent mode and Composer
Install this agent skill to your Project
npx add-skill https://github.com/hivellm/rulebook/tree/main/templates/skills/ides/cursor
SKILL.md
Cursor IDE Rules
IDE: AI-first code editor with Agent mode and Composer
Quick Start
Cursor automatically reads:
.cursorrules(generated byrulebook init)AGENTS.md(via@AGENTS.mdreferences)
Usage
# In Cursor chat/composer:
"Follow @AGENTS.md. Implement [feature] with tests (95%+ coverage)."
# Agent mode (Ctrl+Shift+K):
Use for complex multi-file changes
Reference @AGENTS.md for standards
# Composer (Cmd+I):
Use for quick edits
Reference @AGENTS.md when needed
Features
- Auto-context: Reads .cursorrules automatically
- @ Mentions: Use
@AGENTS.mdto include standards - Agent Mode: Autonomous multi-step implementations
- Composer: Quick inline edits
Workflow
- Rulebook generates
.cursorrulespointing to AGENTS.md - Use
@AGENTS.mdin prompts for explicit reference - Agent/Composer follows standards automatically
- Review changes and run quality checks
Critical: .cursorrules ensures Cursor follows AGENTS.md by default.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
DAG Workflow
Maintain a clean dependency graph (DAG) to prevent circular dependencies and ensure maintainable architecture.
Documentation Rules
All documentation in English. Root README concise, detailed docs in `/docs`.
Quality Enforcement
These rules are NON-NEGOTIABLE and MUST be followed without exception.
Rulebook Task Management
Spec-driven task management for features and breaking changes with OpenSpec-compatible format
Agent Automation
Mandatory workflow that AI agents MUST execute after EVERY implementation.
C
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Didn't find tool you were looking for?