AGENT SKILL

windsurf-core-workflow-b

Execute Windsurf secondary workflow: Core Workflow B. Use when implementing secondary use case, or complementing primary workflow. Trigger with phrases like "windsurf secondary workflow", "secondary task with windsurf".

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

01 前言 Front Matter

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

03 SKILL.md 正文

Windsurf Core Workflow B

Overview

Secondary workflow for Windsurf. Complements the primary Cascade agent workflow by focusing on configuration management, team settings, and context-sharing for large codebases. Use this skill when you need to configure Windsurf rules to enforce project conventions, set up team-wide AI behavior standards, or troubleshoot degraded AI context quality caused by stale indexes or misconfigured ignore patterns.

Prerequisites

  • Completed windsurf-install-auth setup
  • Familiarity with windsurf-core-workflow-a
  • Valid API credentials configured

Instructions

Step 1: Setup

Review the current Windsurf configuration files in your project, including .windsurfrules and any workspace-level settings. Determine which conventions need to be encoded as rules — for example, preferred code style, which directories to exclude from AI context, or specific patterns that should always be followed when generating code in this project.

// Step 1 implementation

Step 2: Process

Update the configuration files with your rule definitions and re-index the project to apply the changes. Test the updated rules by running representative tasks through Cascade and verifying that the AI output respects the new conventions. Adjust rule phrasing if the model is not consistently following a rule — more specific, example-driven rules tend to produce more reliable behavior than abstract directives.

// Step 2 implementation

Step 3: Complete

Commit the updated Windsurf configuration files to version control so all team members share the same AI behavior settings. Document the rationale for each rule in a comment or team wiki so future contributors understand why the constraints exist. Share the configuration with team members and confirm that their Windsurf instances pick up the shared rules correctly.

// Step 3 implementation

Output

  • Completed Core Workflow B execution
  • Updated Windsurf configuration with project-specific rules committed to repository
  • Verified AI behavior aligned with defined conventions
  • Success confirmation or error details

Error Handling

Aspect Workflow A Workflow B
Use Case Primary Secondary
Complexity Medium Lower
Performance Standard Optimized

Examples

Complete Workflow

// Complete workflow example

Error Recovery

// Error handling code

Resources

Next Steps

For common errors, see windsurf-common-errors.

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