fastapi-fix

Solid

Use when the user wants lint, format, and type errors fixed in the current changes. Reads CLAUDE.md for the repo's lint/format/type-check commands, runs each, and fixes only style/format/type issues — no behavior changes.

API & Backend 11 stars 0 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
36
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

Fix all lint, format, and type errors in the current changes. ## Steps 1. **Read CLAUDE.md** to find the project's lint, format, and type-check commands. If they're missing, fall back to the stack defaults below. 2. **Read any `.claude/rules/*.md`** whose `paths:` glob matches the files you're about to touch — they may carry style/typing rules the linter doesn't enforce. 3. **Scope to this branch's change.** Build the changed-file list — the union of: - `git diff --name-only master...HEAD` (work committed on this branch) - `git diff --name-only` (unstaged) and `git diff --name-only --cached` (staged) Pass these paths to every command below so the tools judge only what this branch changed — never the whole repo. Pre-existing violations in untouched files are not yours to fix here. If the list is empty, there's nothing to fix; say so and stop. (If `master...HEAD` errors because the base branch isn't present locally, fall back to the uncommitted diff alone.) 4. **Run each command in this order, scoped to the changed files** (apply each pass before running the next, so fixes from one don't fight the next): 1. **Format** first (it normalizes whitespace and quoting that lint rules might complain about). 2. **Lint** next (it picks up real style/safety issues on top of formatted code). 3. **Type-check** last (type errors don't move under format/lint, but the line numbers will). If the type-checker needs whole-project context to resolve imports, run it normally bu...

Details

Author
steph-dove
Repository
steph-dove/klaussy-agents
Created
4 months ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category