Use this skill for ANY bug, error, crash, wrong output, loss divergence, gradient explosion, test failure, CUDA error, distributed training hang, checkpoint load failure, or unexpected behavior. Covers both quick fixes (clear root cause) and complex debugging (unclear cause). Trigger: 'fix bug', 'fix error', 'broken', 'crash', 'doesn't work', 'fails with', 'loss NaN', 'training hangs', 'FSDP error', 'OOM'.
72
87%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
| Situation | Path |
|---|---|
| Clear error, obvious root cause, fix in <15 min | Quick Path (below) |
| Root cause unclear, multiple hypotheses | Full Protocol (Phase 1–5) |
| Distributed training issue (hang, wrong loss, sharding) | Full Protocol |
| Numerical accuracy / loss divergence | Full Protocol |
| 2+ failed fix attempts | Full Protocol |
.agents/knowledge/constraints.md for known pitfalls.pytest tests/<module>/ passes, no regressions across modalities./veomni-review, make quality, commit.If not resolved in 15 min → switch to Full Protocol.
Use TodoWrite to track all phases:
Phase 1: Investigate <symptom> -> in_progress
Phase 2: Pattern analysis -> pending
Phase 3: Hypothesis & test -> pending
Phase 4: Implement fix -> pending
Phase 5: Knowledge capture -> pending.agents/knowledge/constraints.md — many issues are known constraint violations.git log --oneline -10 — what changed recently?veomni/distributed/parallel_plan.py).veomni/distributed/sequence_parallel/).veomni/distributed/moe/).# Create the default env on the default pin (`transformers-stable` → 5.9.0).
uv venv .venv-default
VIRTUAL_ENV=.venv-default uv sync --extra gpu --dev.venv/.Red flags — STOP and restart from Phase 1:
Verification gate — before acting on a conclusion, check:
/veomni-review skill.Do this immediately after the fix is verified. Knowledge decays fast.
.agents/knowledge/constraints.md.agents/knowledge/architecture.mdtests/ for regression preventiondocs/ if the fix changes API behavior, config semantics, or usage patternsIf none apply, explicitly note "no new knowledge to capture."
If 3 consecutive fix attempts fail:
data_collator type matches the dataset.veomni/models/transformers/*/ are auto-generated — editing generated files directly will be overwritten.Include the relevant checklist when investigating.
When confidence is low or evidence is ambiguous, launch a subagent to challenge your conclusion:
You are a critical reviewer. Your job is to find flaws in the following conclusion.
## Conclusion Under Review
<the specific claim or decision>
## Evidence Presented
<the data, logs, experiments supporting the conclusion>
## Your Task
1. Does the evidence actually support the conclusion, or just correlate?
2. Generate 2+ alternative explanations consistent with the same evidence.
3. What specific observation would DISPROVE this conclusion? Has it been checked?
4. Was the experiment controlled (one variable changed at a time)?
## Output
Verdict: CONFIRMED / CHALLENGED / INSUFFICIENT_EVIDENCE
Findings: [issues found, counter-hypotheses, missing evidence]9ff4858
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.