emaraschio/cursor-commands / .cursor/skill-contracts/fix-compile-errors
fix-compile-errors
VerifiedFix compilation/type errors with minimal diff
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.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |