blob: 7aceb1760b6fbb4ac5b78ffc779f8324ed38c99f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Using agent-skills with Windsurf
## Setup
### Project Rules
Windsurf uses `.windsurfrules` for project-specific agent instructions:
```bash
# Create a combined rules file from your most important skills
cat /path/to/agent-skills/skills/test-driven-development/SKILL.md > .windsurfrules
printf '\n---\n\n' >> .windsurfrules
cat /path/to/agent-skills/skills/incremental-implementation/SKILL.md >> .windsurfrules
printf '\n---\n\n' >> .windsurfrules
cat /path/to/agent-skills/skills/code-review-and-quality/SKILL.md >> .windsurfrules
```
### Global Rules
For skills you want across all projects, add them to Windsurf's global rules:
1. Open Windsurf → Settings → AI → Global Rules
2. Paste the content of your most-used skills
## Recommended Configuration
Keep `.windsurfrules` focused on 2-3 essential skills to stay within context limits:
```
# .windsurfrules
# Essential agent-skills for this project
[Paste test-driven-development SKILL.md]
---
[Paste incremental-implementation SKILL.md]
---
[Paste code-review-and-quality SKILL.md]
```
## Usage Tips
1. **Be selective** — Windsurf's context is limited. Choose skills that address your biggest quality gaps.
2. **Reference in conversation** — Paste additional skill content into the chat when working on specific phases (e.g., paste `security-and-hardening` when building auth).
3. **Use references as checklists** — Paste `references/security-checklist.md` and ask Windsurf to verify each item.
|