Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

dpis-precommit-review

Skill by Kwensiu

DPIS Pre-Commit Review is a skill that reviews DPIS changes before a commit or pull request. It covers scope, domain rules, tests, Android validation, SonarQube MCP checks, and Git hygiene.

  • Score 63
  • 126 stars
  • GPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install dpis-precommit-review

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Kwensiu/DPIS /tmp/DPIS && mkdir -p ~/.claude/skills && cp -r /tmp/DPIS/.agents/skills/dpis-precommit-review ~/.claude/skills/dpis-precommit-review

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install dpis-precommit-review in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

DPIS Pre-Commit Review is an agent skill for reviewing changes in the DPIS project before a commit or pull request. It covers change scope, domain-rule compliance, tests, Android validation, SonarQube MCP checks, and Git hygiene. The skill is a project workflow that works alongside the repository's AGENTS.md and CONTEXT.md documents rather than replacing them.

The assistant asks the user to choose a commit path: a pull request, or Sonar-only validation that pushes the branch and runs the Sonar workflow without opening a PR. The review uses Gradle test and build commands, Android CLI checks, and SonarQube MCP queries against the uploaded Cloud analysis. It is written for developers working on the DPIS Android project who want a repeatable pre-commit checklist.

Written from the project's SKILL.md and checked against it.

What it can do

  • Change boundary checkRuns git status, git diff --stat, and git diff --check, and confirms changed files match the request.
  • Domain rule reviewChecks package ownership, Kotlin and Java boundaries, Compose state, naming, and UTF-8 without BOM.
  • Test and build runsRuns the full debug unit test suite and builds both debug flavors for shared or hook changes.
  • Android validationRuns android studio check and analyze-file on touched Java and Kotlin files as supplemental checks.
  • Sonar PR queriesUses list_pull_requests, get_project_quality_gate_status, and get_component_measures for pull request analysis.
  • Sonar branch queriesUses list_branches and branch parameters to read Sonar results for a non-PR branch.
  • Commit path selectionAsks the user to choose between a pull request and Sonar-only validation for each logical change.
  • Git hygieneStages named files only and uses Conventional Commit subjects for scoped changes.
  • Completion reportEnds with a record of changes, checks run, Sonar results, and any checks not run.

What you need

  • Git
  • GitHub CLI (gh) for the Sonar-only workflow run
  • Gradle
  • SonarQube MCP access to project key Kwensiu_DPIS
  • Android CLI

Try asking

  • Review my DPIS changes before I commit and list any blocking issues.
  • Check whether this DPIS branch is ready for a pull request.
  • Summarize the new-code coverage and issues from SonarQube for this branch.

Good to know

  • Cloud Sonar cannot analyze uncommitted local files, so a commit and push are required first.
  • The SonarQube MCP reads an already-uploaded analysis and does not run the scanner.
  • A Sonar-only result is feedback and not a merge blocker unless the user asks for a gate.
  • The skill does not push, merge, or open a PR unless the user asks for it.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/dpis-precommit-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to dpis-precommit-review

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

dpis-precommit-review: common questions

Does this skill run SonarQube analysis itself?

No. The source says the MCP reads the already-uploaded Cloud analysis and does not run the scanner. The Sonar-only path triggers the sonarqube.yml workflow through GitHub.

Can it commit or merge code for me?

It can commit after the required suite passes, but it does not push, merge, or open a PR unless the user asks for it. Merging main needs an explicit user request.

What is the difference between the two commit paths?

The pull request path pushes the branch and opens or updates a PR, with PR checks and Sonar PR analysis. The Sonar-only path pushes the branch and runs the Sonar workflow without a PR, for feedback rather than merge blocking.

How do I install dpis-precommit-review?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is dpis-precommit-review free?

The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.

Is dpis-precommit-review safe to use?

It scores 63 of 100. Grades: maintenance B, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to dpis-precommit-review?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

dpis-precommit-review Install

Add to stack

Loading.