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.zip

Installs 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.
99 chars✓ has a “when” trigger
Beginner

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

You give it
Unformatted or lint-failing code
You get back
Formatted, lint-compliant code

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

  1. Run yarn prettier to fix formatting
  2. Run yarn linc to check for remaining lint issues
  3. Report any remaining manual fixes needed

Common Mistakes

  • Running prettier on wrong files - yarn prettier only 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

Yarn package manager

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.

SkillInstallsUpdatedSafetyDifficulty
fix (this skill)56moNo flagsBeginner
verification-loop04moReviewIntermediate
frontend-mix-validate02moNo flagsIntermediate
dependency-upgrade265moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

verification-loop

tom237ttkk

A comprehensive verification system for Codex work sessions.

00

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

00

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.

26240

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.

61191

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.

39178

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.

45132

Search skills

Search the agent skills registry