citus-check-style-reindent
Skill by citusdata
Fixes a failing check-style job in citusdata/citus by running make reindent with the formatter versions pinned on the checked-out branch. It commits the style-only changes locally and does not push. Intended for Citus contributors and maintainers.
Install citus-check-style-reindent
Built from the published package, never by AI.
git clone --depth 1 https://github.com/citusdata/citus /tmp/citus && mkdir -p ~/.claude/skills && cp -r /tmp/citus/.github/skills/citus-check-style-reindent ~/.claude/skills/citus-check-style-reindentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install citus-check-style-reindent in Claude Code
git clone --depth 1 https://github.com/citusdata/citus /tmp/citus && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/citus/.github/skills/citus-check-style-reindent ~/.gemini/antigravity-cli/skills/citus-check-style-reindentAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install citus-check-style-reindent in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill fixes a failing check-style job in the citusdata/citus repository. It reads the uncrustify version from STYLEGUIDE.md and the citusdata/tools version from the workflow file on the branch that is already checked out. It then builds those exact versions in a scratch directory, so the formatter matches what CI runs.
It runs make reindent, then reviews the diff and commits only changes to tracked files as a local commit. It stops if tracked files already have uncommitted changes, and it never pushes. It is written for contributors who work on Citus release branches, where an unpinned formatter can rewrite many unrelated files.
Written from the project's SKILL.md and checked against it.
What it can do
- Read pinned versionsReads the uncrustify and citusdata/tools versions from the checked-out branch.
- Build pinned formatterBuilds the pinned uncrustify and citus_indent in a scratch directory.
- Run make reindentRuns make reindent, which calls citus_indent, black, isort and other fixers.
- Review diffInspects git status and git diff, and flags formatter version skew.
- Local commitCommits style changes to tracked files locally with git add -u and git commit.
What you need
- A local citusdata/citus working copy on the branch to fix
- cmake and make to build uncrustify
- Network access to GitHub to download pinned sources
- Root access or a private install prefix for uncrustify
Try asking
- Fix the failing check-style job on my current branch
- Run make reindent safely using this branch's pinned formatter versions
- Review the reindent diff and commit the style-only changes locally
Good to know
- Works only on the currently checked-out branch; it does not fetch or check out others.
- Does not push. Pushing is left to the caller.
- Stops if tracked files have uncommitted changes.
- Does not stage new untracked files.
Security check
C- Asks for administrator rights (sudo)In
.github/skills/citus-check-style-reindent/SKILL.md:sudo
Checked automatically: .github/skills/citus-check-style-reindent/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to citus-check-style-reindent
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
citus-check-style-reindent: common questions
Why does check-style still fail after running make reindent?
The formatter version may not match the one CI pins. The skill reads uncrustify from STYLEGUIDE.md and citus_indent from style_checker_tools_version in the workflow file.
Does this skill push the fix to GitHub?
No. It only commits locally and says it should push only if the caller separately instructs it to.
Which formatter versions does it use?
It uses the versions pinned by the currently checked-out branch, not whatever formatter is already installed on the machine.
How do I install citus-check-style-reindent?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is citus-check-style-reindent free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is citus-check-style-reindent safe to use?
It scores 84 of 100. Grades: maintenance A, licence C, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to citus-check-style-reindent?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
