The rules and skills in this repo make AI assistants more useful. Here's how to get the most out of them.
The .cursor/rules/ files are always active. You don't need to reference them or paste them into prompts. When you ask an AI agent to "add a new API route," it already knows to:
getAuthenticatedApp() for the route groupvalidate("json", schema) middlewareApplicationError instead of using try/catchsrc/routes/<domain>/index.tsSkills activate when the task matches their purpose. Ask the agent to "create a new pack" and the create-pack skill guides it through the right file structure. Ask it to "build a settings page" and the frontend-design skill produces polished UI.
Instead of "add a notification feature," say "add a notification feature in src/features/notifications/." The rules handle conventions, but you still need to tell the agent where to work.
"Make it work like src/features/projects/" gives the AI a concrete example to follow. The codebase is consistent, so pointing at any domain works as a template.
Don't micromanage file placement. The rules encode the folder conventions (modules/, db/queries/, db/mutations/, schemas/). Say what you want built, and the rules handle where files go.
AI-generated code follows your conventions, but it still needs review. Check that:
Create a new .mdc file in .cursor/rules/:
---
description: When to activate this rule
globs:
- "src/features/my-domain/**"
---
# My Rule
Instructions here.
Rules with globs activate only when editing matching files. Rules without globs are always active. Keep rules focused: one topic per file.
Create a new skill in .agents/skills/<name>/SKILL.md. Skills are longer-form guides that teach agents a complete workflow, like creating a pack or designing a UI component.