Executes standard linting and formatting tools to ensure code health before commits.
Install
mkdir -p .claude/skills/fix && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/528" && unzip -o skill.zip -d .claude/skills/fix && rm skill.zipInstalls to .claude/skills/fix
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.Key capabilities
- →Fix code formatting issues
- →Resolve linting errors
- →Prepare code for CI/CD pipelines
- →Automate style guide compliance
How it works
The skill utilizes project-defined scripts like Prettier and linc to automatically format and check code against repository standards.
Inputs & outputs
When to use fix
- →Fix linting errors before pushing
- →Format code according to project style guides
- →Prepare code for CI/CD submission
- →Resolve formatting discrepancies
About this skill
Fix Lint and Formatting
Instructions
- Run
yarn prettierto fix formatting - Run
yarn lincto check for remaining lint issues - Report any remaining manual fixes needed
Common Mistakes
- Running prettier on wrong files -
yarn prettieronly formats changed files - Ignoring linc errors - These will fail CI, fix them before committing
When not to use it
- →Fixing complex logic errors
- →Modifying files outside the project scope
Prerequisites
Limitations
- →Only formats changed files
- →Requires manual intervention for complex lint errors
How it compares
It automates the cleanup process to ensure CI/CD compatibility, preventing build failures caused by minor formatting or linting discrepancies.
Compared to similar skills
fix side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| fix (this skill) | 5 | 6mo | No flags | Beginner |
| verification-loop | 0 | 4mo | Review | Intermediate |
| frontend-mix-validate | 0 | 2mo | No flags | Intermediate |
| dependency-upgrade | 26 | 5mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by facebook
View all by facebook →You might also like
verification-loop
tom237ttkk
A comprehensive verification system for Codex work sessions.
frontend-mix-validate
coleam00
Run the full validation suite (install, type-check, lint, build, tests) on a freshly integrated app and fix anything broken. Run this skill in a Claude Code session driving Sonnet - validation is grind work, Sonnet is the right tool. Two-attempt cap per step; failures are recorded for the fix-valida
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
turborepo
vercel
Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.
typescript-review
metabase
Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.
accessibility-compliance
wshobson
Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.