home / skills / jeremylongshore / claude-code-plugins-plus-skills / windsurf-custom-prompts

This skill helps you create and manage windsurf prompt libraries for Cascade, enabling reusable templates and team sharing across projects.

npx playbooks add skill jeremylongshore/claude-code-plugins-plus-skills --skill windsurf-custom-prompts

Review the files below or copy the command above to add this skill to your agents.

Files (5)
SKILL.md
1.9 KB
---
name: "windsurf-custom-prompts"
description: |
  Create and manage custom prompt libraries for Cascade. Activate when users mention
  "custom prompts", "prompt library", "prompt templates", "cascade prompts",
  or "prompt management". Handles prompt library creation and organization. Use when working with windsurf custom prompts functionality. Trigger with phrases like "windsurf custom prompts", "windsurf prompts", "windsurf".
allowed-tools: Read,Write,Edit,Grep,Glob
version: 1.0.0
license: MIT
author: "Jeremy Longshore <[email protected]>"
---

# Windsurf Custom Prompts

## Overview

This skill enables creation and management of custom prompt libraries for Cascade. Teams can build reusable prompt templates for common tasks like code generation, code review, documentation, and debugging. Prompts can include project-specific context and be shared across the organization for consistent AI interactions.

## Prerequisites

- Windsurf IDE with Cascade enabled
- Understanding of effective prompting techniques
- Project conventions documented
- Team agreement on prompt standards
- Use cases identified for automation

## Instructions

1. **Plan Prompt Library**
2. **Create Prompt Templates**
3. **Configure Variables**
4. **Organize and Index**
5. **Enable Team Sharing**


See `{baseDir}/references/implementation.md` for detailed implementation guide.

## Output

- Organized prompt library
- Reusable prompt templates
- Variable configuration files
- Usage statistics and favorites

## Error Handling

See `{baseDir}/references/errors.md` for comprehensive error handling.

## Examples

See `{baseDir}/references/examples.md` for detailed examples.

## Resources

- [Windsurf Prompt Library](https://docs.windsurf.ai/features/prompts)
- [Effective Prompting Guide](https://docs.windsurf.ai/guides/prompting)
- [Team Prompt Sharing](https://docs.windsurf.ai/admin/prompt-sharing)

Overview

This skill creates and manages custom prompt libraries for Cascade inside Windsurf. Teams can define reusable prompt templates with project context, variables, and sharing rules to ensure consistent AI interactions. It streamlines prompt organization, indexing, and team-wide distribution for repeatable automation.

How this skill works

The skill inspects project conventions and lets you author prompt templates with parameterized variables and metadata (tags, descriptions, usage examples). It organizes templates into folders, generates configuration files for variable substitution, and records basic usage statistics and favorites. Team sharing and permission options let admins enable library access across projects.

When to use it

  • You want consistent, reusable prompts across a team or project
  • Creating templates for code generation, code review, or documentation tasks
  • Standardizing prompts to include project-specific context or constraints
  • Managing and versioning a growing collection of prompt templates
  • Enabling non-expert team members to reuse vetted prompts reliably

Best practices

  • Start by mapping common tasks and the desired outputs before authoring templates
  • Use clear variable names and provide examples for each template parameter
  • Include metadata: purpose, expected inputs, outputs, and example prompts
  • Organize templates by project, team, and task type for discoverability
  • Review and iterate on templates using usage statistics and team feedback

Example use cases

  • Create a code-review prompt template that injects repository context and review checklist
  • Build documentation generation templates that pull module summaries and formatting rules
  • Maintain debugging prompts that accept stack traces and reproduction steps as variables
  • Share onboarding templates so new team members run consistent diagnostics and checks
  • Group templates by release, feature, or service to align with deployment workflows

FAQ

How do variables work in templates?

Templates support named variables that the skill substitutes at runtime. Define default values and examples to guide users.

Can templates be shared across teams?

Yes. The skill lets admins enable team sharing and set access scopes so libraries can be organization-wide or project-specific.

How do I organize a large library?

Use folders, tags, and consistent naming conventions. Include a short description and example for each template to improve discoverability.