AGENT SKILL

windsurf-core-workflow-a

Execute Windsurf primary workflow: Core Workflow A. Use when implementing primary use case, building main features, or core integration tasks. Trigger with phrases like "windsurf main workflow", "primary task with windsurf".

License 许可
MIT
最近更新
2026-05-26
Stars
★ 0
Forks
0

01 前言 Front Matter

name
windsurf-core-workflow-a
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
version
1.0.0
description
Execute Windsurf primary workflow: Core Workflow A. Use when implementing primary use case, building main features, or core integration tasks. Trigger with phrases like "windsurf main workflow", "primary task with windsurf".
allowed-tools
Read, Write, Edit, Bash(npm:*), Grep
compatible-with
claude-code, codex, openclaw

03 SKILL.md 正文

Windsurf Core Workflow A

Overview

Primary money-path workflow for Windsurf. This is the most common use case. Windsurf is an AI-powered code editor built by Codeium that uses agentic flows called Cascade to understand and act on your codebase across multiple files simultaneously. Unlike simple autocomplete tools, Windsurf can execute multi-step tasks such as refactoring an entire module, writing tests for existing code, or debugging a chain of errors with full codebase context.

Prerequisites

  • Completed windsurf-install-auth setup
  • Understanding of Windsurf core concepts
  • Valid API credentials configured

Instructions

Step 1: Initialize

Open your project in Windsurf and verify that the AI index has been built for the codebase. The indexing step allows Windsurf to understand the full context of your project rather than treating each file in isolation. Check that your model tier (standard or Pro) is configured to match the complexity of tasks you intend to perform.

// Step 1 implementation

Step 2: Execute

Invoke the Cascade agent with a natural-language instruction describing the task. Be specific about scope — name the files, functions, or patterns involved. Windsurf will plan its approach, make the necessary edits across files, and present a diff for your review. Read the proposed changes carefully before accepting, particularly for refactoring tasks that touch many files.

// Step 2 implementation

Step 3: Finalize

Review and accept the changes proposed by Cascade. Run your test suite to confirm nothing was broken by the edits. If tests fail, provide Windsurf with the error output and ask it to diagnose and fix the issue — the editor retains context about the changes it just made, which makes iterative debugging efficient.

// Step 3 implementation

Output

  • Completed Core Workflow A execution
  • Multi-file code changes applied by Windsurf Cascade
  • Test suite verification confirming no regressions introduced
  • Success confirmation or error details if the agent could not complete the task

Error Handling

Error Cause Solution
Error 1 Cause Solution
Error 2 Cause Solution

Examples

Complete Workflow

// Complete workflow example

Common Variations

  • Variation 1: Description
  • Variation 2: Description

Resources

Next Steps

For secondary workflow, see windsurf-core-workflow-b.

04 同仓库更多 Skills

SamuelChien
SamuelChien/mega-skills-collection

zustand-store-ts

Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zustand-store-creator

Zustand Store Creator - Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zero-trust-config-helper

Zero Trust Config Helper - Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zapier-integration-helper

Zapier Integration Helper - Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zai-cli

Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP. Use when user needs image/video analysis, OCR, UI-to-code conversion, error diagnosis, real-time web search, web page to markdown extraction, or GitHub code exploration. Trigger with phrases like "analyze this image", "search the web for", "read this page", "explore this repo", or "use zai". Requires Z_AI_API_KEY.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

yt-research

Research competitor YouTube channels, niches, and trending topics for your content strategy. Use this skill whenever the user says "research channels", "analyze competitors", "find trending topics", "niche analysis", "competitive research", "what are other creators doing", "scrape YouTube channels", or wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.

★ 0