# Create Cursor Sub-Agents
## Synopsis
Use `/create-subagent` skill.
Example
```
Create a subagent file at .cursor/agents/test-runner.md with YAML frontmatter containing name and description (mentioning 'Use proactively'). The test-runner subagent should proactively run tests when it sees code changes, analyze failures, fix issues while preserving test intent, and report results.
```