Skip to content

hashiiiii/rules-for-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Rules for AI

Documentation (English, 日本語)

📋 Overview

This is a ruleset to enhance AI assistants integrated in Windsurf and Cursor. For global settings, use the predefined windsurf: global_rules.md / cursor: global_rules.mdc. For workspace-specific settings, use windsurf: .windsurfrules / cursor: project_rules.mdc. These are automatically updated through interactive dialogue with the AI assistant.

Warning

windsurf

cursor

✨ Key Features

  • 🔄 Interactive Setup: Interactively tune .windsurfrules / project_rules.mdc
  • 📝 High-Quality Common Configuration Files: Pre-defined high-quality global_rules.md / global_rules.mdc
  • Task-Oriented Shortcuts: Shortcuts that can be used universally for each task

🚀 Quick Start

  1. Clone the repository:
git clone https://github.com/hashiiiii/rules-for-ai.git
  1. Open any workspace in your IDE and set up the rules files:
    • .windsurfrules / global_rules.md - For Windsurf IDE
    • project_rules.mdc / global_rules.mdc - For Cursor IDE

Important

If global settings are sufficient, migration steps are not necessary.

  1. Run the setup command

    • Execute the /setup command
  2. Run the save command

    • Execute the /store command

🔍 Available Shortcuts

  • /setup : Start the setup process
  • /adjust : Fine-tune the current workspace configuration file
  • /store : Update the file based on the answers obtained through the setup process
  • /plan : Create a detailed work plan
  • /debug : Systematic debugging approach
  • /review : Code quality review
  • /refactor: Improve readability and maintainability
  • /optimize: Performance optimization suggestions
  • /test : Testing strategy
  • /doc : Documentation assistance
  • /arch : Architecture design
  • /cmt : Code comments
  • /mvp : Build an MVP (Minimum Viable Product)
  • /help : Display available shortcuts

📄 License

This project is provided under the MIT License - see the LICENSE.md file for details.

About

Rules and guidelines for optimizing AI coding assistant interactions in Windsurf and Cursor IDEs.

Topics

Resources

License

Stars

Watchers

Forks