Document how to run style/static-analysis checks locally - #4452
Draft
arnaud-lacurie wants to merge 1 commit into
Draft
Document how to run style/static-analysis checks locally#4452arnaud-lacurie wants to merge 1 commit into
arnaud-lacurie wants to merge 1 commit into
Conversation
Adds a "Style / static analysis checks" section to the using-gradle skill (CI-parity command, report locations, common violations seen when hand-resolving merge conflicts) and a PR Workflow reminder to run it before pushing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
using-gradleskill: the CI-paritycommand (matching
.github/workflows/pull_request.yml'sstylejob), report locations,and a couple of common Checkstyle/PMD violations that show up when hand-resolving merge
conflicts (redundant same-package imports, unnecessary fully-qualified names).
AGENTS.mdto run these checks before pushing.Motivated by hitting exactly these violations while manually rebasing a stack of PRs across a
few months of upstream drift — nothing in the skills documented how to reproduce CI's style
check locally, so it wasn't caught until CI ran.
Test plan