Windsurf Rules — .windsurfrules & グローバルルール
Windsurf IDEのルール設定ガイド。プロジェクトレベルの.windsurfrules、グローバルルールの使い分け。
GitHub 500
# Windsurf Rules Guide
## File Types
### Project Rules: `.windsurfrules`
Place in project root. Applied to all AI interactions within the project.
### Global Rules: `global_rules.md`
Applied across all projects. Personal preferences and universal standards.
## Format
Standard Markdown. Structure with clear headings and bullet points.
## Recommended Content
- Technology stack and versions
- Code style preferences
- Testing requirements
- Project architecture overview
- Common patterns to follow or avoid
## Cross-Tool Compatibility
Windsurf also recognizes:
- `.cursorrules` (Cursor format)
- `AGENTS.md` (open standard)
- `.clinerules/` (Cline format)
## Best Practices
- Keep rules concise and actionable
- Focus on project-specific deviations from defaults
- Update rules as the project evolves
- Use for team alignment on AI-generated code quality こちらもおすすめ
DevOps カテゴリの他のルール
もっとルールを探す
CLAUDE.md、.cursorrules、AGENTS.md、Image Prompts の全 157 ルールをチェック。



