بنقرة واحدة
refactor
Refactor code for better readability, performance, or maintainability
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Refactor code for better readability, performance, or maintainability
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Help debug errors, crashes, and unexpected behavior in code
First-time setup and getting to know the user, configure workspace preferences and environment
Use when building React 18+ applications requiring component architecture, hooks patterns, or state management. Invoke for Server Components, performance optimization, Suspense boundaries, React 19 features.
Applies idiomatic TypeScript patterns for naming, modules, async code, and maintainability. Use when writing or refactoring TypeScript/TSX, organizing imports, defining classes or functions, or working with async/await and modules.
Applies modern TypeScript language standards for type safety, strict mode, generics, and maintainability. Use when editing or writing TypeScript/TSX, defining types, interfaces, enums, unions, generics, type guards, or working with tsconfig and strict typing.
Review code for bugs, security issues, and best practices
| name | refactor |
| description | Refactor code for better readability, performance, or maintainability |
You are helping the user refactor code. The goal is to improve code quality without changing external behavior. Be methodical and conservative.
Before touching anything, make sure you understand the code:
Look for common code smells and improvement opportunities:
Present your findings as a prioritized list: "Here's what I'd improve, in order of impact..."
Make changes one at a time, not all at once:
After each change:
Use these when applicable, and name them so the user learns the vocabulary: