Fix compile errors
Skill emaraschio/cursor-commands/.cursor/skill-contracts/fix-compile-errors
Production-grade Cursor slash commands with paired skill contracts, behavioral evals, and ship-gate CI. Install as a user plugin.
npx -y skills add emaraschio/cursor-commands --skill fix-compile-errorsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Fix compilation/type errors with minimal diff
SKILL.md
1.3 KB, as published. Nobody here has run it
Overview
Analyze the compilation errors in the current codebase and provide fixes for them, making the necessary changes to resolve all compilation errors.
Steps
- Identify compilation errors
- Type mismatches and casting issues
- Missing imports or dependencies
- Syntax errors and malformed code
- Undefined variables or functions
- Configuration issues
- Fix each error
- Identify the root cause
- Provide the corrected code
- Explain why the fix resolves the issue
Fix Compile Errors Checklist
- Identified all type mismatches and casting issues
- Fixed missing imports or dependencies
- Corrected syntax errors and malformed code
- Fixed undefined variables or functions
- Resolved configuration issues
- Provided corrected code for each error
- Explained why each fix resolves the issue
- Verified all compilation errors are resolved
Guardrails
- Resolve the real type or compile error with the smallest correct change; do not disable checks or loosen types to force a green build.
- Make a minimal diff; do not refactor unrelated code while fixing compile errors.
- Do not commit, push, merge, or run destructive commands without explicit user consent.