Skip to content

New Skill - add ruff-recursive-fix skill#1183

Merged
aaronpowell merged 1 commit intogithub:stagedfrom
MarcelloCuoghi:staged
Mar 27, 2026
Merged

New Skill - add ruff-recursive-fix skill#1183
aaronpowell merged 1 commit intogithub:stagedfrom
MarcelloCuoghi:staged

Conversation

@MarcelloCuoghi
Copy link
Contributor

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, or workflow file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, or workflow with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the staged branch for this pull request.

Description

Adds the ruff-recursive-fix Agent Skill, a controlled iterative workflow for enforcing Python code quality using Ruff.

The skill runs Ruff checks against a configurable scope, applies safe and then unsafe autofixes in sequence, reviews each diff, performs manual remediation for remaining findings, and loops until the codebase is clean or a user decision is required. It supports flexible runner resolution (uv, ruff, python -m ruff, pipx run ruff), per-run rule overrides (--select, --ignore, --extend-select, --extend-ignore), and a strict suppression policy — # noqa is added only when explicitly justified.

Usage: invoke it via GitHub Copilot with prompts like:

  • "Run ruff-recursive-fix on the whole repo with default config."
  • "Run ruff-recursive-fix on src/models, ignore DOC rules."

Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • Update to existing instruction, prompt, agent, plugin, skill, or workflow.
  • Other (please specify):

Additional Notes

No external scripts or bundled assets are included — the skill is self-contained in SKILL.md.


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

@aaronpowell aaronpowell merged commit 642ae3e into github:staged Mar 27, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants