بنقرة واحدة
add-new-passive
Adding passive skill / inner way code changes (modifier engine, skill context, types, not data)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Adding passive skill / inner way code changes (modifier engine, skill context, types, not data)
التثبيت باستخدام 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 new stats to the game (constants.ts + types.ts + gear/OCR/tune files)
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-passive |
| description | Adding passive skill / inner way code changes (modifier engine, skill context, types, not data) |
Use when adding or modifying passive skill or inner way logic in code (not data editing via admin panel).
Data (skills, passives, inner ways, martial arts, rotations) lives in Supabase static_data table. Edit via Admin UI at /admin. Do NOT edit local JSON files.
Code changes needed only when:
app/domain/skill/modifierEngine.ts:
computeRotationBonuses() — applies flat/scale modifierscomputeIncludedInStatsGearBonus() — passives with includedInStats: trueapp/domain/skill/passiveSkillTypes.ts — types if new shape neededapp/domain/skill/skillContext.ts — conditional overrides (e.g. UmbrellaBallistic)app/domain/skill/skillDamage.ts — if affects skill damageapp/types.ts — InputStats if new stat neededtests/skillDamage.spec.tstests/formula.spec.tspnpm test