Skip to content

[Hackathon] Add Windsurf (Cascade) as an agent install target #28

Description

@Davidson3556

Discord Username / User ID

Davidson

What does this improvement do?

Adds Windsurf (Cascade) as an agent install target so the TestSprite verification-loop skill can be installed for one of the most widely-used AI editors.

testsprite agent install currently supports Claude, Cursor, Cline, Antigravity, and Codex, but not Windsurf. Windsurf's Cascade reads workspace rules from .windsurf/rules/*.md (YAML frontmatter + markdown), so the skill can be installed there the same way it is for Cursor/Cline.

Details / implementation notes

Proposal — a windsurf own-file target:

  • Path: .windsurf/rules/testsprite-verify.md
  • Frontmatter: trigger: model_decision + description: <skill description> — the Cascade equivalent of the Cursor .mdc alwaysApply: false mode (description surfaced up front; full body pulled in on relevance). Other Cascade triggers are always_on, manual, glob.

It slots into the existing TARGETS machinery, so agent list, setup --agent, and the skill-nudge install-detection pick it up automatically.

Key constraint: Windsurf rules files cap at ~12 KB per rule, and the full skill body renders to ~22 KB (would be truncated). The target therefore renders the compact body (the codex trimmed variant, ~5–6 KB) via a compactBody flag on the target spec, keeping every installed skill under the 12 KB budget.

Ref: Windsurf rules docs (.windsurf/rules/, trigger/description frontmatter, 12 KB per-rule budget).

PR: #29 (open, CI green, Fixes #28).

Confirmations

  • I have searched existing issues and this is not a duplicate.
  • I have provided my Discord identity above for reward coordination.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions