بنقرة واحدة
refactor-small-files
Refactor code to meet file-size limits and DRY rules without changing behavior.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Refactor code to meet file-size limits and DRY rules without changing behavior.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run full repo verification (lint, typecheck, test, security, diff review) and fix failures.
Audit documentation freshness — find docs that are stale or missing coverage for recent code changes.
Create a new Next.js API route with proper typing and error handling.
Add a new daemon REST endpoint with types, handler, web API proxy, and hook.
Create a new database service following the FXFlow pattern.
Wire a new WebSocket event end-to-end (daemon → types → hook → component).
| name | refactor-small-files |
| description | Refactor code to meet file-size limits and DRY rules without changing behavior. |
| disable-model-invocation | true |
Enforce file size limits: UI ≤150 LOC, hooks/utils ≤200, handlers/services ≤250, orchestration ≤350.
/verify to confirm no regressions.