بنقرة واحدة
add-new-stat
Adding new stats to the game (constants.ts + types.ts + gear/OCR/tune files)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Adding new stats to the game (constants.ts + types.ts + gear/OCR/tune files)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Writing and running Playwright E2E tests for the web app
Modifying or adding damage calculation formulas (damageFormula.ts + damageCalculator.ts)
Adding passive skill / inner way code changes (modifier engine, skill context, types, not data)
Editing game data through admin panel (skills, passives, inner ways, martial arts, rotations)
Running and writing tests for the project (vitest, node env, globals)
Working with gear tune features (tune variants, success rate, tune history in optimizer + UI)
| name | add-new-stat |
| description | Adding new stats to the game (constants.ts + types.ts + gear/OCR/tune files) |
Use when adding a new stat (e.g. a new attribute, rate, element, or special stat) to the game.
app/constants.tsSTAT_LABELSSTAT_GROUPS group (Core, Attributes, Element, Rates, Defense){ current: 0, increase: 0 } to INITIAL_STATSapp/types.tsInputStats typeapp/domain/gear/gearOcrSchema.ts: add to OCR prompt valid keysapp/domain/gear/gearConstants.ts: add to CANDIDATE_STATS + SINGLE_LINE_STATS if single-line-onlyapp/ui/gear/GearStatSelect.tsx: add to STAT_OPTION_GROUPS Special groupapp/domain/gear/tuneAdvisor.ts: add to TuneStatKey union + DEFAULT_TUNE_LIMITSapp/domain/damage/buildFinalStatSections.ts: add to SPECIAL_STAT_KEYSapp/utils/statLabel.ts: add handler if neededpnpm testpnpm build