Agent skill

Android Code Quality Checker

by wordpress-mobile in wordpress-mobile/WordPress-Android

Runs detekt, checkstyle, and Android lint together, reads their reports, and proposes approved fixes grouped by file.

GPL-2.0Auto-check passedDevelopment

Install Android Code Quality Checker

skills CLI
$ npx skills add wordpress-mobile/WordPress-Android --skill codecheck -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wordpress-mobile/WordPress-Android codecheck --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wordpress-mobile/WordPress-Android.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/codecheck .claude/skills/codecheck && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codecheck
GitHub stars
3.2k
Token cost
~587 tokens
SKILL.md length
281 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
GPL-2.0

At a glance

Runs detekt, checkstyle, and Android lint together, reads their reports, and proposes approved fixes grouped by file.

  • Works in 7 steps: Detect the main branch → Run all three checks in parallel → Read the reports → …
  • Checking a branch's changes for detekt, checkstyle, and lint issues
  • SKILL.md covers Steps and Important Rules
  • Calls git

What it does

This skill detects the repository's main branch automatically, falling back to checking for trunk or main directly, then runs all three Gradle quality tasks in parallel and lets each finish even if another fails, before parsing every generated HTML report into a file, line, rule, and message per issue.

It filters the combined issue list down to files actually changed on the current branch, using the merge base with the detected main branch, or reports every issue when run directly on that branch. It proposes a specific fix per issue grouped by file, shows current versus proposed code, and waits for the user to approve which fixes to apply before changing anything, respecting the project's line-length limit and Kotlin conventions.

When your agent uses it

  • Checking a branch's changes for detekt, checkstyle, and lint issues
  • Reviewing code quality issues before opening a pull request
  • Getting proposed fixes for lint warnings in changed files

Example prompts

  • “Run all three code quality checks on my current branch.”
  • “Show me proposed fixes for the lint issues in my changed files.”
  • “Check if trunk has any outstanding checkstyle issues.”

Requirements

  • Gradle
  • detekt, checkstyle, and Android lint configured in the project

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Detect the main branch
  2. Run all three checks in parallel
  3. Read the reports
  4. Filter to relevant issues
  5. Present a summary
  6. Propose fixes
  7. Ask for approval

What it can do on your machine

Read from SKILL.md and the folder at commit ceafcdc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Android Code Quality Checker loads about 587 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 281 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~587

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from wordpress-mobile/WordPress-Android at commit ceafcdc, republished under its GPL-2.0 licence (© wordpress-mobile). 281 words, ~587 tokens.

Download SKILL.mdSave it as .claude/skills/codecheck/SKILL.md (or your agent's skills folder).
name
codecheck
description
Run all three code quality checks (detekt, checkstyle, lint), read the reports, and propose fixes for any issues found.

Code Check

Run all three code quality checks, read the reports, and propose fixes for any issues found.

Steps

1. Detect the main branch

Detect the main/default branch (typically trunk or main):

bash
git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null \
  | sed 's@^refs/remotes/origin/@@'

If that fails, check if trunk or main exists and use whichever is found. Store this as <main-branch> for later steps.

2. Run all three checks in parallel

Run these Gradle tasks:

bash
./gradlew detekt
./gradlew checkstyle
./gradlew lintWordPressRelease

Run all three in parallel to save time. Allow each to complete even if others fail.

3. Read the reports

After the checks complete, read the generated report files:

  • Detekt: WordPress/build/reports/detekt/detekt.html
  • Checkstyle: WordPress/build/reports/checkstyle/checkstyle.html
  • Lint: WordPress/build/reports/lint-results-wordpressRelease.html

Parse each report to extract the list of issues (file, line, rule, message).

4. Filter to relevant issues

Focus on issues in files that were changed on the current branch. To determine changed files:

bash
git diff --name-only $(git merge-base <main-branch> HEAD)..HEAD

If no branch changes are detected (e.g., on trunk), report all issues found.

5. Present a summary

Output a summary table or grouped list of issues organized by tool:

  • Detekt issues (count and details)
  • Checkstyle issues (count and details)
  • Lint issues (count and details)

For each issue include the file path, line number, rule name, and the message.

6. Propose fixes

For each issue, propose a specific fix. Group fixes by file. Show the current code and what it should be changed to.

7. Ask for approval

Present the proposed fixes and ask the user which ones to apply before making any changes.

Important Rules

  • Do NOT make any code changes until the user approves.
  • Respect the project's code style (120-char line limit, Kotlin conventions, no empty lines after opening braces).
  • Use TODO instead of FIXME in any comments.
  • Do not suppress warnings unless the user explicitly approves.

© wordpress-mobile, GPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/codecheck of wordpress-mobile/WordPress-Android.

Open the folder on GitHubat commit ceafcdc

Compare with similar skills

Android Code Quality Checker next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Android Code Quality Checker compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Android Code Quality Checker this skillwordpress-mobile/WordPress-Android3.2k—~587Automated safety check: PassGPL-2.0
Run Checksosama-raddad/FireCrasher147—~403Automated safety check: PassApache-2.0
Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop5.2k—~2.2kAutomated safety check: PassMIT
Code Review Skillawesome-skills/code-review-skill2.1k—~2.8kAutomated safety check: NotesMIT
Add Opik Code Quality Hookcomet-ml/opik22k—~2.3kAutomated safety check: PassApache-2.0
LobeHub Alint Rule Set Maintenancelobehub/lobehub83k—~1.9kAutomated safety check: PassCustom licence

Similar skills

  • Run Checks

    osama-raddad/FireCrasher

    Run the full local build that mirrors CI for FireCrasher — unit tests, Android lint, and the ABI baseline comparison.

    147 GitHub stars~403 tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.

    5.2k GitHub stars~2.2k tokensUpdated 27 days ago
    DevelopmentAuto-check passed
  • Code Review Skill

    awesome-skills/code-review-skill

    Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…

    2.1k GitHub stars~2.8k tokensUpdated 29 days ago
    DevelopmentAuto-check: notes
  • Checklist for wiring a new linter into Opik's Code Quality pipeline: the four files to edit, the silent-failure gotchas and the pass/fail verification loop.

    22k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Maintains LobeHub's model-backed alint rule set: writing rules, removing false positives against real code, deciding warn versus error and tracking token cost.

    83k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Compares two folders function by function with jscpd --compare, across languages if needed, and explains which functions match and which have no counterpart.

    6.3k GitHub stars~3.2k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from wordpress-mobile/WordPress-Android

  • Draft Pull Request Creator

    wordpress-mobile/WordPress-Android

    Commits and pushes current changes, writes a pull request title and body from the branch history and template, and opens a draft PR on GitHub after you approve it.

    3.2k GitHub stars~881 tokensUpdated today
    Auto-check: notes
  • Run Jetpack Android App

    wordpress-mobile/WordPress-Android

    Builds the Jetpack debug app with Gradle and installs it on a connected Android device or an emulator started from an available AVD.

    3.2k GitHub stars~886 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Android Code Quality Checker

What does Android Code Quality Checker do?

Runs detekt, checkstyle, and Android lint together, reads their reports, and proposes approved fixes grouped by file. This skill detects the repository's main branch automatically, falling back to checking for trunk or main directly, then runs all three Gradle quality tasks in parallel and lets each finish even if another fails, before parsing every generated HTML report into a file, line, rule, and message per issue.

When should I use Android Code Quality Checker?

Android Code Quality Checker fits situations like: checking a branch's changes for detekt, checkstyle, and lint issues; reviewing code quality issues before opening a pull request; getting proposed fixes for lint warnings in changed files.

How do I install Android Code Quality Checker in Claude Code?

Run `npx skills add wordpress-mobile/WordPress-Android --skill codecheck -a claude-code`. Or copy the skill folder (.claude/skills/codecheck in wordpress-mobile/WordPress-Android) into .claude/skills/codecheck in your project. Claude Code loads it when a task matches its description.

How do I install Android Code Quality Checker in Codex?

Run `npx skills add wordpress-mobile/WordPress-Android --skill codecheck -a codex`. Or copy the skill folder (.claude/skills/codecheck in wordpress-mobile/WordPress-Android) into .agents/skills/codecheck in your project. Codex loads it when a task matches its description.

Can I use Android Code Quality Checker in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wordpress-mobile/WordPress-Android --skill codecheck -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codecheck, .gemini/skills/codecheck, .github/skills/codecheck and .opencode/skills/codecheck in your project.

What does Android Code Quality Checker need to run?

Going by SKILL.md and its folder, Android Code Quality Checker needs the command-line tools its instructions call (git). Our summary lists: Gradle; detekt, checkstyle, and Android lint configured in the project.

Does Android Code Quality Checker access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Android Code Quality Checker safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Android Code Quality Checker use?

Android Code Quality Checker is published under the GPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Android Code Quality Checker use?

About 587 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Android Code Quality Checker?

Skills that share tags, products or a category with Android Code Quality Checker: Run Checks (osama-raddad/FireCrasher, 147 stars), Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.2k stars), Code Review Skill (awesome-skills/code-review-skill, 2.1k stars) and Add Opik Code Quality Hook (comet-ml/opik, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Android Code Quality Checker?

wordpress-mobile (a GitHub organization) maintains it in wordpress-mobile/WordPress-Android, which has 3,153 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.

Source: wordpress-mobile/WordPress-Android on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.