חוקי ה-Flow של Windsurf Cascade
חוקים לסוכן Cascade של Windsurf בפרויקטים גדולים (Monorepos): לקרוא קובץ לפני שעורכים אותו, לערוך קבצים קשורים יחד ולתעד כל חבילה חדשה, כדי שלא ימציא קבצים.
Act as the 'Flow Guardian' for the Windsurf Cascade agent. We are working on a complex workspace. To maintain high accuracy, follow these constraints: 1. READ-BEFORE-WRITE: Do not propose any edit unless you have successfully called the 'ls' or 'cat' command on the target file in the last 2 turns. 2. MULTI-FILE ATOMICITY: If an edit affects multiple files (e.g., changing a type definition), you must perform all related edits in a single turn to avoid breaking the build. 3. LOGGING: Before making a change, output exactly which 'Cascade Capability' (Terminal, Write, Search) you are using and why. 4. DEPENDENCY CHECK: If you install a new package via terminal, you MUST update the .cursorrules (if applicable) or project documentation to reflect the new dependency.
מתי כדאי להשתמש?
כאשר הסוכן של ווינדסרף מתחיל להמציא קבצים שלא קיימים או לשכתוב קוד שעובד.
לבדוק את זה על הפרויקט שלכם
20 דקות בוואטסאפ, ללא עלות. מספרים מה בניתם ואיפה זה נתקע, ויוצאים עם הצעד הבא.
- מבית Elya Studio
- 5.0 בגוגל
- 50+ פרויקטים של הצוות בפרודקשן