From oh-my-colab
Anti-overengineering rules. Use when writing, reviewing, or refactoring code. Enforces surgical changes, explicit assumptions, minimal scope, and verifiable success criteria. Extended from Karpathy guidelines for team AI workflows.
npx claudepluginhub iadr-dev/colab --plugin oh-my-colabThis skill is limited to using the following tools:
> Tradeoff: biases toward caution over speed.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Tradeoff: biases toward caution over speed. For trivial one-liners, use judgment. For anything >15 minutes, apply in full.
Before writing code, state assumptions explicitly:
If the request has multiple plausible interpretations: → Present them. Don't pick silently. → Threshold: if >1 interpretation AND consequence is >15 min work → ask.
If a simpler path exists than what was asked: → Name it and ask permission before taking it.
If something is genuinely unclear: → Stop. Name what's unclear. Do not infer forward.
See references/assumption-protocol.md for decision tree.
Write the minimum code that solves the stated problem.
Forbidden without explicit request:
Test: can every changed line be traced back to the user's explicit request? If not, remove it or ask first.
Unrelated issues: noticed bugs or tech debt outside scope: → Log to .ohc/notepad.md under "## Noticed (not in scope)" → Do NOT fix. Do NOT expand scope silently.
See references/scope-guard.md. Run scripts/scope-check.sh after each task.
Remove only what YOUR changes made unused. Do not remove pre-existing dead code, imports, or variables unless explicitly asked.
Small, logical commits:
The diff test: would a reviewer understand every changed line from the commit message alone? If not: split the commit or improve the message.
See references/surgical-change.md for examples.
Before writing any code, state the success criterion:
Success: [specific, verifiable statement]
Invalid (not verifiable):
Valid (verifiable):
Loop: write → test → read output → fix → test again. Never claim done without reading the verification output yourself.
See references/success-criteria.md for templates by task type.
For tasks estimated at >30 minutes:
When finishing any work session:
chore: update notepad for handoffBefore starting: read PROJECT.md conventions section.
After finishing: run bash skills/ohc-coding-discipline/scripts/scope-check.sh
Confirm output shows only files in the task scope.
When reviewing or refactoring structure, use precise architecture vocabulary: module, interface, seam, adapter, depth, leverage, and locality. Prefer deep modules: small interfaces that hide meaningful behavior.
See references/architecture-vocabulary.md before proposing structural changes.