# Check Style

> Run the project's lint + formatter before declaring done; fix what's auto-fixable.

- Skill: `jcaiagent7143-ui/check-style` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jcaiagent7143-ui/check-style`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jcaiagent7143-ui/check-style/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jcaiagent7143-ui (https://skillmd.com/u/jcaiagent7143-ui)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/jcaiagent7143-ui/check-style

---


# Check style

## Steps

1. **Run the project's linter** — `{{ profile.lint_command if profile and profile.lint_command else "ruff check . / flake8 / mypy — whatever the project declared" }}`.
2. **If the linter has an auto-fix flag** (`ruff check --fix`, `black .`), run it.
3. **Re-run** to confirm clean.
4. **Run the formatter** if separate (`ruff format .`, `black .`).
5. **If there are remaining warnings you can't auto-fix**, surface them in the summary — don't silently `# noqa` them.

## Failure modes to avoid

- Adding `# noqa` to suppress a real bug.
- Running a different formatter (`black`) when the project uses `ruff format`.
- Auto-formatting files outside your diff (touches unrelated lines, bloats the PR).
- Skipping lint with "it's just a small change."

