Unit Brief: Windsurf Installer
The Windsurf Installer handles installation of specsmd workflows into Windsurf's .windsurf/workflows/ directory with required frontmatter.
The Windsurf Installer handles installation of specsmd workflows into Windsurf's .windsurf/workflows/ directory with required frontmatter.
The Windsurf Installer handles installation of specsmd workflows into Windsurf's `.windsurf/workflows/` directory with required frontmatter.
---
---
src/lib/installers/
└── WindsurfInstaller.jsproject-root/
└── .windsurf/
└── workflows/
├── specsmd-master-agent.md
├── specsmd-inception-agent.md
├── specsmd-construction-agent.md
└── specsmd-operations-agent.md---
Extends `ToolInstaller` and overrides `installCommands()` to add frontmatter.
| Property | Value | Description | |----------|-------|-------------| | `key` | `'windsurf'` | Unique identifier for factory lookup | | `name` | `'Windsurf'` | Display name in CLI | | `commandsDir` | `'.windsurf/workflows'` | Where to install workflow files | | `detectPath` | `'.windsurf'` | Directory to check for detection |
Windsurf is detected if `.windsurf/` directory exists in the project root.
Windsurf requires frontmatter with a description field:
---
description: specsmd-master-agent
---
# Activate Master Agent
...The description is derived from the target filename (e.g., `specsmd-master-agent.md` → `specsmd-master-agent`).
---
Windsurf is Codeium's AI-powered IDE, featuring:
| Type | Location | |------|----------| | Workflows | `.windsurf/workflows/` | | Project rules | `.windsurf/` | | Global rules | `~/.windsurf/` |
---