一键导入
omg-fix
ALWAYS activate this skill before fixing ANY bug, error, test failure, CI/CD issue, type error, lint, log error, UI issue, code problem.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ALWAYS activate this skill before fixing ANY bug, error, test failure, CI/CD issue, type error, lint, log error, UI issue, code problem.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Unity engine adapter: .asmdef graph, Roslyn class diagrams with Unity stereotypes (MonoBehaviour, ScriptableObject, DOTS), UPM package deps, and C4 architecture views
Cocos Creator 3.8.7 playable-ad parameter discovery + implementation. Scans project config files (constant.ts, *Config.ts) AND all Canvas UI nodes via MCP, reads scene values for defaults, wires bindings, auto-assigns. Modes: --quick, --standard, --deep, --exhaustive, --auto.
Compare CK updates against GameKit baseline, suggest which changes to incorporate.
Answer technical questions with context-aware skill activation. Use for 'how does X work', 'what is the best way to', 'explain this pattern' queries.
Check context usage limits, monitor time remaining, optimize token consumption, debug context failures. Use when asking about context window, token budget, or agent context sizing.
Implement features end-to-end: plan, code, test, review via registry agents. Use for 'implement X', 'build Y feature', 'add Z functionality'. Handles full workflow.
| name | omg-fix |
| description | ALWAYS activate this skill before fixing ANY bug, error, test failure, CI/CD issue, type error, lint, log error, UI issue, code problem. |
This skill was ported from upstream reference material. Interpret command names, paths, and agent-routing guidance as Codex/Oh My Game Kit equivalents. Prefer active Codex tools and local project instructions over Codex-specific mechanics when they conflict.
Fix issues with intelligent classification and registry-based routing.
AskUserQuestion is deferredAskUserQuestion is a deferred tool: its name appears in the deferred-tools system-reminder but its schema is NOT loaded at session start. Direct invocation fails with InputValidationError.
Operational pre-step (mandatory before drafting any structured multi-option question):
AskUserQuestion is in the loaded tool list. If not, run:
ToolSearch(query="select:AskUserQuestion", max_results=1)
Failure mode this guard prevents: assistant remembers the rule, drafts the question correctly in its head, then because the tool isn't loaded, falls back to "I'll just write the options as prose, and call the tool next time." Drafting prose bullets first is a violation — see rules/always-ask-on-unresolved.md "Forbidden prose" table.
Pick by intent; keep loading minimal.
| Intent | Path |
|---|---|
| Diagnose and fix one bug end-to-end | Default --auto (Steps 1–6 below) |
| Trivial issue (lint, single type error) | --quick (skips deep diagnose) |
| Want human checkpoint before applying fix | --review |
| Multiple unrelated bugs at once | --parallel (sub-agents per issue) |
| 3+ fix attempts already failed | STOP — escalate to architecture discussion (HARD-GATE below) |
| Flag | Description |
|---|---|
--auto | Autonomous mode (default) |
--review | Human-in-the-loop review mode |
--quick | Quick mode for trivial issues |
--parallel | Route to parallel implementer agents per issue |
Follow protocol: .agents/skills/omg-cook/references/routing-protocol.md
This command uses roles: implementer, omg-debugger
Follow protocol: .agents/skills/omg-cook/references/activation-protocol.md
| Step | Name | Key Action | Reference |
|---|---|---|---|
| 0 | Mode Selection | Ask user for workflow mode if no --auto | references/mode-selection.md |
| 1 | Scout | Map affected files, deps, tests — NEVER skip | references/workflow-quick.md |
| 2 | Diagnose | Structured root cause analysis — NEVER skip | references/diagnosis-protocol.md |
| 3 | Complexity | Classify: Simple/Moderate/Complex/Parallel | references/complexity-assessment.md |
| 4 | Fix | Implement per selected workflow | references/workflow-standard.md |
| 5 | Verify + Prevent | Run exact pre-fix commands, add regression test | references/prevention-gate.md |
| 6 | Finalize | Report, omg-docs-manager, commit offer | — |
Detailed workflow diagrams: references/fix-workflow-overview.md
| Level | Indicators | Workflow |
|---|---|---|
| Simple | Single file, clear error, type/lint | references/workflow-quick.md |
| Moderate | Multi-file, root cause unclear | references/workflow-standard.md |
| Complex | System-wide, architecture impact | references/workflow-deep.md |
| Parallel | 2+ independent issues OR --parallel | Parallel implementer agents |
Specialized: references/workflow-ci.md, references/workflow-logs.md, references/workflow-test.md, references/workflow-types.md, references/workflow-ui.md
omg-scout (Step 1) — understand before diagnosingomg-debug (Step 2) — systematic root cause investigationomg-think (Step 2) — structured hypothesis formation[omg-skill-bug kit="..." skill="..." bug="..." evidence="..."]
marker in your final message. The lesson-collector hook will queue a
GitHub issue on the owning kit repo.Full activation matrix: references/skill-activation-matrix.md
Follow protocol: .agents/skills/omg-cook/references/subagent-injection-protocol.md
Sub-agent forking: see .agents/skills/omg-architecture/references/fork-hygiene.md.