Rules are behavioral guardrails that shape how AI agents behave. They load into every session automatically. This skill helps you create effective rules using contrastive examples. Contrastive examples show both what to do and what not to do. This eliminates confusion and makes agents more accurate.
Use this skill when agents make the same mistake again and again. It is also useful when you realize a different approach would have been better. Instead of just fixing the issue once, you create a rule that prevents it from happening ever again. Rules are always loaded, so they apply across all tasks.
Do not confuse rules with skills or project notes. Rules are for universal behavior constraints. Skills are for specific task workflows. Project notes give broad context. This skill is only for creating rules that improve agent behavior over time.
Global
mkdir -p ~/.claude/skills/create-ruleProject
mkdir -p .claude/skills/create-ruleSource Repository
Find Skillsvercel-labs/skills
Find and install the perfect skill to extend your AI agent
Microsoft Foundrymicrosoft/azure-skills
Build, deploy, and improve AI agents on Microsoft Foundry from start to finish
Azure Aimicrosoft/azure-skills
Search, transcribe, and analyze with Azure AI tools for smarter apps
Azure Hosted Copilot Sdkmicrosoft/azure-skills
Build, deploy, and manage your Copilot SDK apps on Azure with ease
Triagemattpocock/skills
Triage issues with a state machine driven by clear roles and agent briefs
Handoffmattpocock/skills
Hand off your work to another AI agent with a clear summary
Image Editagentspace-so/runcomfy-agent-skills
Smart router picks the best AI model for your image editing needs
Agentspaceagentspace-so/skills
See your AI agent's live folder from any browser instantly