一键导入
fix
Diagnose and fix an error from a build failure, stack trace, or error message
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Diagnose and fix an error from a build failure, stack trace, or error message
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a new screen to an existing feature module with Store, UI, factories, and tests
Add missing test cases, targeting a specific file or all changed files on the branch
Thorough pre-merge audit — dependency graph, correctness, conventions, security, test coverage, and improvement suggestions
Quick review of the current diff for bugs, logic errors, convention violations, and test gaps
Scaffold a new feature module with the appropriate layers and MESA conventions
Scaffold a new Strata interactor with interface, implementation, fake, and test
| name | fix |
| description | Diagnose and fix an error from a build failure, stack trace, or error message |
| disable-model-invocation | true |
| argument-hint | <error message, stack trace, or description> |
Diagnose and fix the provided error. This could be a build error, runtime crash, test failure, or a description of unexpected behavior.
Input: $ARGUMENTS
Analyze the input to determine:
If the input is a description rather than an error output, search the codebase for the relevant code.
Read the file(s) referenced in the error. If no file is referenced:
git diff main) that may have introduced the issueRead enough surrounding context to understand the code's intent — not just the failing line.
Identify the root cause. Common categories:
Sendable conformance violations@MainActor isolation mismatchesHashable/Codable conformance on TrapezioScreenEquatable conformance on TrapezioStatefatalError in unoverridden doWork(params:) or createObservable(params:)Task.sleep)AsyncStream.makeStream() synchronization issuesupdate { }switch blockstrataLaunch capturing stale stateApply the minimal fix that resolves the root cause. Do not refactor surrounding code or make unrelated improvements.
If the fix requires changes across multiple files (e.g., a renamed protocol), update all affected files.
After applying the fix:
cd MESA && swift build to verify it compilescd MESA && swift test --parallel to verify it passesxcodebuild build -scheme Counter -destination 'platform=iOS Simulator,name=iPhone 16'Report what was wrong and what was changed.