Agent skill

Lint Repair

by qianyumeng0228 in qianyumeng0228/ShizukuX

Automates running Android Lint and repairing errors/warnings in the codebase.

Apache-2.0Auto-check passedDevelopment

Install Lint Repair

skills CLI
$ npx skills add qianyumeng0228/ShizukuX --skill lint-repair -a claude-code

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

GitHub CLI
$ gh skill install qianyumeng0228/ShizukuX lint-repair --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/qianyumeng0228/ShizukuX.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/lint-repair .claude/skills/lint-repair && 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
lint-repair
GitHub stars
119
Token cost
~378 tokens
SKILL.md length
116 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

Automates running Android Lint and repairing errors/warnings in the codebase.

  • Works in 3 steps: Execute Lint → Parse XML Report Efficiently → Contextualize and Fix
  • Tasks that involve Linting and formatting
  • Calls python3

What it does

Lint Repair is an agent skill from qianyumeng0228/ShizukuX. Automates running Android Lint and repairing errors/warnings in the codebase.

Its SKILL.md is about 380 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Linting and formatting. It works with Android. The repository describes itself as: ShizukuX 是 Shizuku 的增强分支:让普通应用借助 ADB / Root 特权进程直接调用系统级 API,并内置 Dhizuku、Extra API、Root 兼容桥等高级能力。继承自 ShizukuPlus(Apache 2.0)。 The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Linting and formatting

Example prompts

  • “Use the lint-repair skill to automate running Android Lint and repairing errors/warnings in the codebase”
  • “/lint-repair”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Execute Lint
  2. Parse XML Report Efficiently
  3. Contextualize and Fix

What it can do on your machine

Read from SKILL.md and the folder at commit 6f7bc0b. 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:

    • python3

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

  • Network

    No URLs in SKILL.md.

    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

Lint Repair loads about 378 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 116 words of instructions outside code blocks.

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

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 qianyumeng0228/ShizukuX at commit 6f7bc0b, republished under its Apache-2.0 licence (© qianyumeng0228). 116 words, ~378 tokens.

Download SKILL.mdSave it as .claude/skills/lint-repair/SKILL.md (or your agent's skills folder).
name
lint-repair
description
Automates running Android Lint and repairing errors/warnings in the codebase.
license
Complete terms in LICENSE
metadata.author
Google LLC
metadata.keywords
lint, static analysis, detekt, code smells

Static Analysis (Lint) Repair Skill

This skill automates the execution, parsing, and remediation of Android Lint warnings with minimal context bloat.

Execution Steps:

  1. Execute Lint: Run the Gradle lint task.

    bash
    ./gradlew :manager:lintRelease

    Note: Do not read the massive console output. Rely on the generated XML report.

  2. Parse XML Report Efficiently: The Android lint report can be massive. Instead of reading the whole XML into context, use an inline Python script or xmllint/grep pipeline to extract ONLY the severity="Error" or severity="Fatal" issues.

    bash
    python3 -c '
    import xml.etree.ElementTree as ET
    tree = ET.parse("manager/build/reports/lint-results-release.xml")
    for issue in tree.getroot().findall("issue"):
        if issue.get("severity") in ["Error", "Fatal"]:
            loc = issue.find("location")
            print(f"{loc.get(\"file\")}:{loc.get(\"line\")} - {issue.get(\"message\")}")
    '
  3. Contextualize and Fix: Read only the specific lines mentioned in the python output using the view_file tool (specifying exact StartLine and EndLine padding). Use multi_replace_file_content to fix the warnings without loading the entire class.

© qianyumeng0228, Apache-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 .agents/skills/lint-repair of qianyumeng0228/ShizukuX.

Open the folder on GitHubat commit 6f7bc0b

Compare with similar skills

Lint Repair 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.

Lint Repair compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lint Repair this skillqianyumeng0228/ShizukuX119—~378Automated safety check: PassApache-2.0
File Good First BugBrowserWorks/waterfox-android3792 repos~2kAutomated safety check: PassCustom licence
Dep Validateblokadaorg/blokada3.3k—~5.7kAutomated safety check: NotesMPL-2.0
Android Code Quality Checkerwordpress-mobile/WordPress-Android3.2k—~587Automated safety check: PassGPL-2.0
MozlintBrowserWorks/waterfox-android3792 repos~1kAutomated safety check: PassCustom licence
Workflow Auditbitwarden/ai-plugins155—~696Automated safety check: PassCustom licence

Similar skills

  • File Good First Bug

    BrowserWorks/waterfox-android

    A skill your agent uses when the user wants to file good-first-bugs in Bugzilla for Firefox.

    379 GitHub starsUsed in 2 repos~2k tokens
    DevelopmentAuto-check passed
  • Dep Validate

    blokadaorg/blokada

    A skill your agent uses to validate risky dependency bumps end to end as a local or cloud-launched agent.

    3.3k GitHub stars~5.7k tokensUpdated 2 days ago
    DevelopmentAuto-check: notes
  • Android Code Quality Checker

    wordpress-mobile/WordPress-Android

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

    3.2k GitHub stars~587 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Mozlint

    BrowserWorks/waterfox-android

    You MUST use this skill when working with Firefox's linting infrastructure (mozlint), adding new linters, modifying existing linters, running linters, or dealing with linting issues.

    379 GitHub starsUsed in 2 repos~1k tokens
    DevelopmentAuto-check passed
  • Workflow Audit

    bitwarden/ai-plugins

    Official

    Run the Bitwarden workflow linter (bwwl) against one or more repos and report findings.

    155 GitHub stars~696 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Monitor With Haoleme

    HaolemeApp/Haoleme

    Selectively monitor important long-running or resource-intensive commands with Haoleme by prefixing them with hao, so status, output, and completion notifications sync to the mobile app.

    157 GitHub stars~1.3k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed

More from qianyumeng0228/ShizukuX

  • Pre Push Guard

    qianyumeng0228/ShizukuX

    ShizukuX codebase integrity checks. An agent skill from qianyumeng0228/ShizukuX.

    119 GitHub stars~584 tokensUpdated 4 days ago
    Auto-check passed
  • Sentry Audit

    qianyumeng0228/ShizukuX

    Fetches unresolved Sentry issues and maps stack traces to local codebase for ShizukuPlus.

    119 GitHub stars~490 tokensUpdated 4 days ago
    Auto-check passed
  • Shizukuplus

    qianyumeng0228/ShizukuX

    Guidelines and instructions for developing, testing, and troubleshooting ShizukuPlus (an enhanced Shizuku manager with OneUI 8+ fixes, Dhizuku mode, and Plus APIs).

    119 GitHub stars~375 tokensUpdated 4 days ago
    Auto-check passed
  • MCP Setup

    qianyumeng0228/ShizukuX

    Spawns and configures Model Context Protocol (MCP) integrations for ShizukuPlus.

    119 GitHub stars~289 tokensUpdated 4 days ago
    Auto-check passed

Works with

Categories

Questions about Lint Repair

What does Lint Repair do?

Automates running Android Lint and repairing errors/warnings in the codebase. Lint Repair is an agent skill from qianyumeng0228/ShizukuX. Automates running Android Lint and repairing errors/warnings in the codebase.

When should I use Lint Repair?

Lint Repair fits situations like: tasks that involve Linting and formatting.

How do I install Lint Repair in Claude Code?

Run `npx skills add qianyumeng0228/ShizukuX --skill lint-repair -a claude-code`. Or copy the skill folder (.agents/skills/lint-repair in qianyumeng0228/ShizukuX) into .claude/skills/lint-repair in your project. Claude Code loads it when a task matches its description.

How do I install Lint Repair in Codex?

Run `npx skills add qianyumeng0228/ShizukuX --skill lint-repair -a codex`. Or copy the skill folder (.agents/skills/lint-repair in qianyumeng0228/ShizukuX) into .agents/skills/lint-repair in your project. Codex loads it when a task matches its description.

Can I use Lint Repair 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 qianyumeng0228/ShizukuX --skill lint-repair -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lint-repair, .gemini/skills/lint-repair, .github/skills/lint-repair and .opencode/skills/lint-repair in your project.

What does Lint Repair need to run?

Going by SKILL.md and its folder, Lint Repair needs the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Lint Repair access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lint Repair 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 Lint Repair use?

Lint Repair is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Lint Repair use?

About 378 tokens (SKILL.md is roughly 1.5k 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 Lint Repair?

Skills that share tags, products or a category with Lint Repair: File Good First Bug (BrowserWorks/waterfox-android, 379 stars), Dep Validate (blokadaorg/blokada, 3.3k stars), Android Code Quality Checker (wordpress-mobile/WordPress-Android, 3.2k stars) and Mozlint (BrowserWorks/waterfox-android, 379 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lint Repair?

qianyumeng0228 (a GitHub user) maintains it in qianyumeng0228/ShizukuX, which has 119 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.

Source: qianyumeng0228/ShizukuX on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.