.cursor/skills/pants-format-check/SKILL.md
Runs pants formatting, linting, and type checking on Python code, fixing issues automatically. Use when finishing implementation, before committing code, or when the user asks to format, lint, or check code quality.
npx skillsauth add RedHat-UX/next-gen-ui-agent pants-format-checkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Apply this skill automatically when:
Follow these steps in order:
Remove unused imports first to prevent common linting errors:
pants --changed-since=HEAD fix ::
This fixes import issues automatically before running full checks.
Run the complete pants check suite:
pants fmt lint check ::
This command:
If errors remain after Step 2:
pants fmt lint check ::If you see "unused import" or "import not found":
If mypy reports type issues:
# type: ignore comments only as a last resortIf flake8/pylint reports style issues:
pants fmt.flake8 and .isort.cfg for project conventions✅ All checks pass with no errors ✅ No warnings that need attention ✅ Code is properly formatted and typed
pants.toml is located):: selector checks all targets in the repopants fmt lint check path/to/file.pydevelopment
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.