Surf smarter. Code smoother. Let the vibes guide you.
๐ Overview
Vibe Rules Collection is a curated library of .windsurfrules files designed to guide AI coding assistantsโespecially Codeium's Cascadeโto generate code that reflects best practices, idiomatic styles, and architectural clarity.
This repo provides a language- and framework-aware vibe system for smoother developer + AI collaboration.
๐ฆ Contents
๐ฏ Purpose
AI tools accelerate developmentโbut without vibes, they can generate code thatโs noisy, offbeat, or even anti-patterned.
Enter Vibe Rules.
Each .windsurfrules file serves as a lightweight blueprint for:
- Language idioms
- Architectural paradigms
- Design system consistency
- DevOps conventions
Think of these files as surfboards: they help your AI ride the right wave.
๐ Usage
- Clone or reference the relevant
.windsurfrulesfiles. - Integrate with a compatible AI coding assistant (like Cascade in Windsurf IDE).
- Let your assistant vibe in style.
Configure your project to load rule files automatically or use them contextually via prompts.
๐ Rule Categories
API Design
graphql_api_design.windsurfrulesrest_api_design.windsurfrules
Architecture
- Clean, Hexagonal, Microservices, MVC, SOA, etc.
Database
- MySQL, PostgreSQL, SQL Server, Oracle PL/SQL, SQLite
Design Systems
- Material, Apple HIG, Ant Design, Fluent UI, Atlassian
DevOps
- Git workflows, Terraform, Shell, PowerShell
Financial
algorithmic_trading_principles.windsurfrulesalpaca_python_sdk.windsurfrulesbacktesting_techniques.windsurfrulesfinancial_modeling_patterns.windsurfrules
Frameworks
- Express, Flask, Rails, Unity, ASP.NET Core
Language Specific
- Pythonic, Modern C++, Idiomatic Ruby, Modular TypeScript, Rust Clean Arch
MCP (Model Context Protocol)
anthropic_python_sdk_guidelines.windsurfrules
Paradigms
- OOP, Functional, Event-Driven, Data-Oriented
Performance
- General tuning & SQL optimization
Quality
- Linting principles
Security
- OWASP Top 10, Secrets Management, Input Validation
Testing
mutation_testing_principles.windsurfruleshypothesis_property_based_testing.windsurfrulescontract_testing_pact.windsurfrulesperformance_testing_principles.windsurfruleschaos_engineering_principles.windsurfrulesaccessibility_testing_a11y.windsurfrulescontext_driven_testing_principles.windsurfrulesui_page_object_model.windsurfrulesui_screenplay_pattern.windsurfrulesui_data_driven_testing.windsurfrules
๐ค Contributing
Pull requests are welcome. Got a vibe you want to share? Submit a .windsurfrules file or open a discussion.
See CONTRIBUTING.md for guidelines.
๐ Code of Conduct
We vibe respectfully. All interactions are governed by the Code of Conduct.
๐ License
MIT License 2025 copyleftdev
See LICENSE for full terms.
๐ Keep the code clean. Ride the right patterns. Respect the vibes. ๐
