Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DevelopmentAvançado

Ruff Recursive Fix

porgithub·github· v1.0.0 · atualizado em 2026-04-10
83
Score

Run Ruff checks with optional scope and rule overrides, apply safe and unsafe autofixes iteratively, review each change, and resolve remaining findings with targeted edits or user decisions.

ruffcode-qualitylintingautofixpythonstatic-analysiscode-formatting
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdruff-recursive-fix/workflow
### 1. Baseline Analysis
1. Run `<ruff_cmd> check` with the selected scope and options.
2. Classify findings by type:
Autofixable safe.
Autofixable unsafe.
Not autofixable.
3. If no findings remain, stop.
### 2. Safe Autofix Pass
1. Run Ruff with `--fix` using the same scope/options.
2. Review resulting diff carefully for semantic correctness and style consistency.
3. Run `<ruff_cmd> format` on the same scope.
4. Re-run `<ruff_cmd> check` to refresh remaining findings.
### 3. Unsafe Autofix Pass
Run only if findings remain and `allow_unsafe_fixes=true`.
1. Run Ruff with `--fix --unsafe-fixes` using the same scope/options.
2. Review resulting diff carefully, prioritizing behavior-sensitive edits.
3. Run `<ruff_cmd> format` on the same scope.
4. Re-run `<ruff_cmd> check`.
### 4. Manual Remediation Pass
For remaining findings:
1. Fix directly in code when there is a clear, safe correction.
2. Keep edits minimal and local.
3. Run `<ruff_cmd> format` on the same scope.
4. Re-run `<ruff_cmd> check`.
### 5. Ambiguity Policy
If there are multiple valid solutions at any step, always ask the user before proceeding.
Do not choose silently between equivalent options.
### 6. Suppression Decision (`# noqa`)
Use suppression only when all conditions are true:
The rule conflicts with required behavior, public API, framework conventions, or readability goals.
Refactoring would be disproportionate to the value of the rule.
The suppression is narrow and specific (single line, explicit code when possible).
Guidelines:
Prefer `# noqa: <RULE>` over broad `# noqa`.
Add a brief reason comment for non-obvious suppressions.
If two or more valid outcomes exist, always ask the user which option to prefer.
### 7. Recursive Loop and Stop Criteria
Repeat steps 2 to 6 until one of these outcomes:
`<ruff_cmd> check` returns clean.
Remaining findings require architectural/product decisions.
Remaining findings are intentionally suppressed with documented rationale.
Repeated loop makes no progress.
Each loop iteration must include `<ruff_cmd> format` before the next `<ruff_cmd> check`.
When no progress is detected:
1. Summarize blocked rules and affected files.
2. Present valid options and trade-offs.
3. Ask the user to choose.

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Similar aCode Reviewer
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
94
Similar aGit Diff Parser
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
86
Similar aREST API Builder
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
90

Árvore do Skill

Ruff Recursive Fix
ruff-recursive-fix
Fases Cognitivas6
1.SENSE
2.CONTEXTUALIZE
3.HYPOTHESIZE
4.EVALUATE
5.ACT
6.REFLECT
Triggers8
Run ruff recursively and fix all issues.Apply ruff to the codebase with autofix.Use ruff to improve code quality.Run ruff with unsafe fixes and review changes.Fix ruff findings in the project.Apply ruff with specific rules.Run ruff on a specific folder and fix issues.Enforce code quality with ruff.

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança49%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download ruff-recursive-fix
$ synaptic skills detail ruff-recursive-fix
$ synaptic skills live ruff-recursive-fix

Dependências

ruffpython

Links

GitHub Repository