חזרה לכל הפרומפטים
רפרקטורינג אוטונומי ב-Claude Code CLI
פרומפט מערכתי להרצת סבבי שיפור קוד בטרמינל ללא מגע יד אדם.
מודל: Claude Code (CLI)קטגוריה: Expert Architecture
Initialize Autonomous Refactoring Mode in the CLI. Goal: [DESCRIBE REFACTOR GOAL, E.G., UPGRADE TO TAILWIND V4]. EXECUTION PROTOCOL: 1. Scan the repository and identify all files that do not meet the new standard. 2. Formulate a 'Refactoring Plan' and save it as 'refactor.plan.md' in the root. Wait for manual check. 3. Iterate through files, applying the fix, then immediately running 'npm run test' or 'npm run dev' to check for build errors. 4. If a build error occurs, use the 'claude undo' or Git revert command to roll back only that specific file and attempt a different strategy. 5. Provide a final diff summary once complete.
מתי כדאי להשתמש?
כשאתם רוצים לשדרג 100 קבצים בבת אחת לסטנדרט הנדסי חדש.