name: beavermania-script-fixer description: Use this skill for small, isolated Beavermania Unity C# bug fixes, null checks, guard clauses, state logic fixes, and minimal script-level changes. Do not use for prefab, scene, animation, or UI hierarchy edits.
Beavermania Script Fixer
Allowed
- C# script changes.
- Small state logic corrections.
- Null guards and defensive checks.
- Minimal method edits.
- Local helper methods when useful.
Not Allowed
- Prefab edits.
- Scene edits.
- Animation clip edits.
- UI hierarchy edits.
- Broad refactors.
- Unrelated cleanup.
- Renaming serialized fields.
- Changing public APIs unless required by the scoped fix.
Process
- Identify the smallest set of files involved.
- Explain the likely cause.
- Make the minimal code change.
- Avoid changing unrelated behavior.
- Summarize changed files.
- Provide Unity Play Mode verification steps.
Unity Risk Rules
- Preserve serialized fields.
- Do not remove public fields.
- Do not rename
MonoBehaviourclasses. - Do not rename files containing
MonoBehaviourclasses. - Do not assume Inspector references are assigned.
- Add clear warnings or null guards when references may be missing.
Output Required
- Files changed.
- Behavior changed.
- Risk level.
- Manual Unity verification steps.
- Any Inspector assignment required.