Skip to content

southbayjay/awesome-windsurfrules

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

58 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Awesome WindsurfRules Awesome

This project is a fork of awesome-cursorrules, specifically adapted for Windsurf. The main difference is the support for global rules in Windsurf, which is reflected in the modified directory structure. While workspace rules are forked from the original project, the global rules feature is unique to this implementation.

A curated list of awesome global_rules and .windsurfrules files for enhancing your Windsurf experience.

Windsurf is an AI-powered code editor. global_rules or .windsurfrules files define custom rules for Windsurf to follow when generating code, allowing you to tailor its behavior to your specific needs and preferences.

Why Use Rules in Windsurf?

Windsurf offers two powerful types of rules - global rules that apply across all projects, and workspace rules for project-specific customization.

Benefits of Global Rules

  1. Consistent Communication: Global language rules ensure all interactions follow the same communication standards across projects.

  2. Standardized Practices: Define organization-wide conventions for commit messages, code style, and documentation that apply uniformly.

  3. Security Baseline: Establish common security practices and data handling rules that protect all projects.

  4. Performance Standards: Set universal performance optimization guidelines that benefit every project.

Benefits of Workspace Rules

  1. Project-Specific Customization: Tailor the AI's behavior to your specific project's needs and requirements.

  2. Framework Alignment: Ensure generated code follows the conventions of your chosen framework or technology stack.

  3. Context Awareness: Provide project-specific context about architecture, libraries, and common patterns.

  4. Team Collaboration: Share project-specific guidelines that keep the entire team aligned with local conventions.

  5. Dependency Management: Define project-specific dependencies and version requirements.

By combining both global and workspace rules, you create a comprehensive set of guidelines that ensure consistency across your organization while maintaining the flexibility to address project-specific needs.

Content

Global Rules

Global rules are a unique feature in Windsurf that apply across all projects. They are organized in the following structure:

Workspace Rules

Workspace rules are specific to each project and are organized in the following structure:

Directories

How to Use

  1. Install Windsurf if you haven't already.
  2. Browse the rules above to find a global_rules or .windsurfrules file that suits your needs.
  3. Copy the chosen global_rules or .windsurfrules file to your project's root directory or Windsurf's Global Rules file.
  4. Customize the rules as needed for your specific project requirements.

Contributing

Contributions are welcome! If you have a great .windsurfrules file to share:

  1. Fork this repository.
  2. Create a new folder in the global_rules or .windsurfrules directory. The folder name should follow this pattern: technology-focus-windsurfrules-prompt-file For example: react-typescript-windsurfrules-prompt-file
  3. Add your global_rules.md or .windsurfrules file to the new folder.
  4. Optionally, include a README.md in the folder to provide credit and a brief description.
  5. Update the main README.md file, adding your contribution to the appropriate category.
  6. Ensure your contribution follows the guidelines in the .windsurfrules file at the root of this repository.
  7. Submit a pull request.

Please ensure your contribution is original or properly credited if based on existing work. Refer to the global_rules.md or .windsurfrules file in the root of this repository for detailed guidelines on formatting, naming conventions, and best practices for contributions.


License

CC0

About

πŸ“„ A curated list of awesome global_rules.md and .windsurfrules files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published