Zhtw Conventions
sysprog21/zhtw-mcp
The zhtw-mcp conventions no gate enforces - the register a comment, a commit message and a PR reply are written in, where Chinese belongs in the tree and where it does not, the untracked working…
Review DPIS changes before committing or opening a pull request, including scope, domain-rule compliance, tests, Android validation, SonarQube MCP checks, and Git hygiene.
$ npx skills add Kwensiu/DPIS --skill dpis-precommit-review -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Kwensiu/DPIS dpis-precommit-review --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Kwensiu/DPIS.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/dpis-precommit-review .claude/skills/dpis-precommit-review && rm -rf skills-srcUse ~/.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/
Install the "dpis-precommit-review" agent skill from https://github.com/Kwensiu/DPIS/tree/main/.agents/skills/dpis-precommit-review into .claude/skills/dpis-precommit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dpis-precommit-review", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Kwensiu/DPIS/tree/main/.agents/skills/dpis-precommit-reviewType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Kwensiu/DPIS --skill dpis-precommit-review -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Kwensiu/DPIS dpis-precommit-review --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kwensiu/DPIS.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/dpis-precommit-review .agents/skills/dpis-precommit-review && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "dpis-precommit-review" agent skill from https://github.com/Kwensiu/DPIS/tree/main/.agents/skills/dpis-precommit-review into .agents/skills/dpis-precommit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dpis-precommit-review", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Kwensiu/DPIS --skill dpis-precommit-review -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Kwensiu/DPIS dpis-precommit-review --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kwensiu/DPIS.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/dpis-precommit-review .cursor/skills/dpis-precommit-review && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "dpis-precommit-review" agent skill from https://github.com/Kwensiu/DPIS/tree/main/.agents/skills/dpis-precommit-review into .cursor/skills/dpis-precommit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dpis-precommit-review", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Kwensiu/DPIS.git --path .agents/skills/dpis-precommit-review--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Kwensiu/DPIS --skill dpis-precommit-review -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Kwensiu/DPIS dpis-precommit-review --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kwensiu/DPIS.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/dpis-precommit-review .gemini/skills/dpis-precommit-review && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "dpis-precommit-review" agent skill from https://github.com/Kwensiu/DPIS/tree/main/.agents/skills/dpis-precommit-review into .gemini/skills/dpis-precommit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dpis-precommit-review", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Kwensiu/DPIS dpis-precommit-reviewInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Kwensiu/DPIS --skill dpis-precommit-review -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Kwensiu/DPIS.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/dpis-precommit-review .github/skills/dpis-precommit-review && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "dpis-precommit-review" agent skill from https://github.com/Kwensiu/DPIS/tree/main/.agents/skills/dpis-precommit-review into .github/skills/dpis-precommit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dpis-precommit-review", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Kwensiu/DPIS --skill dpis-precommit-review -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Kwensiu/DPIS dpis-precommit-review --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kwensiu/DPIS.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/dpis-precommit-review .opencode/skills/dpis-precommit-review && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "dpis-precommit-review" agent skill from https://github.com/Kwensiu/DPIS/tree/main/.agents/skills/dpis-precommit-review into .opencode/skills/dpis-precommit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dpis-precommit-review", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
dpis-precommit-reviewReview DPIS changes before committing or opening a pull request, including scope, domain-rule compliance, tests, Android validation, SonarQube MCP checks, and Git hygiene.
Dpis Precommit Review is an agent skill from Kwensiu/DPIS. Review DPIS changes before committing or opening a pull request, including scope, domain-rule compliance, tests, Android validation, SonarQube MCP checks, and Git hygiene.
Its SKILL.md is about 2.8k 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 Pull requests. It works with Git, Model Context Protocol and Android. The repository describes itself as: 独立调节应用 DPI 与字体缩放 | Per-app DPI and font scaling. The licence is GPL-3.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9491f2c. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
gitghadbFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Dpis Precommit Review loads about 2.8k tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 1,490 words of instructions outside code blocks.
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.
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.
The full file from Kwensiu/DPIS at commit 9491f2c, republished under its GPL-3.0 licence (© Kwensiu). 1,490 words, ~2,760 tokens.
.claude/skills/dpis-precommit-review/SKILL.md (or your agent's skills folder).Use this skill when a change is ready for commit, when the user asks for a
review before merging, or when a pull request check needs local validation.
It is a project workflow, not a replacement for AGENTS.md, CONTEXT.md, or
the runtime/localization playbooks. Read those documents first when their
scope applies.
Run this decision once for each logical change, after the local review and required validation are complete and before pushing the commit. Do not ask the user again for every intermediate commit in the same change.
Ask the user to choose one of these paths:
Cloud Sonar cannot analyze uncommitted local files. The Sonar-only path
therefore still requires a commit and push before analysis. It does not grant
permission to merge or push main; those actions still require an explicit
user request. If the user chooses neither path, finish the local review and
report that cloud Sonar was not run.
For the Sonar-only path, after the commit is pushed:
gh workflow run sonarqube.yml --ref <current-branch>Wait for the workflow to finish, then query SonarQube MCP using the branch
name. Use list_branches and pass branch, not pullRequest, to the measures,
issue, coverage, and quality-gate queries described below. Report the New Code
issues, new-code coverage, and any actionable Bugs, Vulnerabilities, or Code
Smells. A Sonar-only result is feedback for code improvement, not a merge
blocker, unless the user explicitly asks for a gate.
git status --short, git diff --stat, and git diff --check.git diff HEAD and confirm every changed or untracked file belongs
to the user's request. Never absorb unrelated work or reset it away.semble for semantic discovery before rg; use rg only when every
literal occurrence must be audited. For large command output, use
context-mode batch/filter tools and surface only derived evidence.1b. Slice large diffs before reviewing them as one blob.
MainActivity wiring.AGENTS.md (especially MainActivity slim-down and package
ownership).Apply project and domain rules.
AGENTS.md and CONTEXT.md; read the relevant active document under
docs/ for runtime routes, diagnostics, or other named boundaries.MainActivity.java slim-down: if MainActivity.java is in the diff,
audit any newly touched or newly exposed workspace/feature logic nested
in it (editor sessions, dialogs, coordinators, exporters, diagnostics,
or other feature state machines). Extract that work into focused
classes under app/src/main/java/com/dpis/module/ in the same change.
Keep MainActivity limited to app-shell startup and event wiring. Do
not grow nested workspace workflows there, even as a temporary host.Validate behavior at the smallest useful level, then at CI level.
./gradlew :app:testAllDebugUnitTests../gradlew :app:jacocoModernDebugUnitTestReport.
That is only the local coverage XML CI uploads. After PR Check has
published an analysis, read the Cloud result through the SonarQube MCP
(see below). Do not curl Sonar REST or scrape GitHub check logs for the
same facts../gradlew :app:assembleModernDebug :app:assembleLegacyDebug.monkey;
use an explicit launcher component with adb shell am start.android studio check,
then android studio analyze-file --project=<reported-name> <path> for
touched Java/Kotlin files. Treat findings as optimization leads, not as a
replacement for Gradle, tests, lint, or runtime evidence. Record when the
bridge/project is unavailable.Read Sonar through MCP; audit boundaries instead of gaming metrics.
Kwensiu_DPIS. MCP talks to the already-uploaded Cloud
analysis. It does not run the scanner.list_pull_requests, then pass that Sonar PR key to
get_project_quality_gate_status, get_component_measures (new_coverage,
new_violations), search_sonar_issues_in_projects (inNewCodePeriod),
and search_files_by_coverage / get_file_coverage_details. Never pass a
git branch name as pullRequest. Do not set both branch and
pullRequest.list_branches (LONG for main) and use branch.sonar.exclusions removes files from analysis; sonar.coverage.exclusions
removes only coverage accounting. Do not confuse the two.**/presentation/** (or
ui/** / runtime/** / root/** / flavor trees). Measurable policy
stays outside those trees and ships with a behavior test. Do not add a
path to sonar.coverage.exclusions after the quality gate fails. Do not
add a one-off file exclusion; move the file into an excluded directory
or extract the policy. runtime/** remains a review item: new pure
policy there should be lifted out, not used as a dump.app/src/main/java/**/runtime/** as a review
item. New pure policy code under an excluded directory should be audited
for extraction or a narrower rule; do not widen exclusions to make the
percentage pass.list_branches / quality gate on main) before opening a
boundary-audit PR. Keep that audit separate from feature or migration
changes.Finish Git safely.
git add . or git add -A for a scoped change.fix:, refactor:, test:, etc.)
that states the outcome. Keep related code, tests, and docs together and
unrelated changes out.rtk explicitly for compact output when useful; do not assume
its shell hook is active.apply_patch for manual edits. Preserve UTF-8 without BOM and avoid
shell/Python write tricks for source files.End with a concise record of:
© Kwensiu, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/dpis-precommit-review of Kwensiu/DPIS.
Open the folder on GitHubat commit 9491f2c
Dpis Precommit Review 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Dpis Precommit Review this skillKwensiu/DPIS | 108 | — | ~2.8k | Automated safety check: Pass | GPL-3.0 | |
| Zhtw Conventionssysprog21/zhtw-mcp | 488 | — | ~2k | Automated safety check: Pass | MIT | |
| Close Task Commit Push PRdevoxx/DevoxxGenieIDEAPlugin | 684 | — | ~1k | Automated safety check: Notes | MIT | |
| Pre-PR Reviewyuga-hashimoto/and-code | 123 | — | ~710 | Automated safety check: Pass | MIT | |
| Git GitHub Opsc5inco/compose-pokedexer | 143 | — | ~1.3k | Automated safety check: Pass | MIT | |
| PR Review Feedback Handlergittower/git-flow-next | 458 | — | ~2.9k | Automated safety check: Notes | Custom licence |
sysprog21/zhtw-mcp
The zhtw-mcp conventions no gate enforces - the register a comment, a commit message and a PR reply are written in, where Chinese belongs in the tree and where it does not, the untracked working…
devoxx/DevoxxGenieIDEAPlugin
Close the active backlog task (detected from branch name), commit all changes, push to remote, and open a pull request.
yuga-hashimoto/and-code
Runs local checks and a repo-reviewer subagent over the whole branch diff before a pull request is opened, then records the approval in the PR description.
c5inco/compose-pokedexer
Handles Pokedexer Git and GitHub workflows: inspect changes, prepare commit messages, manage branches and pushes, and create or update issues and pull requests with safe file-based inputs.
gittower/git-flow-next
Fetches review comments on a pull request, judges each one, writes the evaluation to a plan file and implements accepted changes, waiting for approval before anything public.
oaslananka/kicad-mcp-pro
A skill your agent uses for maintainer-requested pull request repairs in kicad-mcp-pro; maps changes to repository-native validation gates and safety constraints.
Kwensiu/DPIS
Run automated DPIS HyperOS device smoke tests for package-specific dp/font emulation or replacement.
Kwensiu/DPIS
Project-local DPIS hook implementation and diagnosis workflow for Xposed API routing.
Kwensiu/DPIS
Project-local DPIS localization workflow. An agent skill from Kwensiu/DPIS.
Kwensiu/DPIS
Rewrite DPIS release notes for ordinary users. An agent skill from Kwensiu/DPIS.
Kwensiu/DPIS
Project-local DPIS runtime hook diagnosis workflow. An agent skill from Kwensiu/DPIS.
Works with
Categories
Review DPIS changes before committing or opening a pull request, including scope, domain-rule compliance, tests, Android validation, SonarQube MCP checks, and Git hygiene. Dpis Precommit Review is an agent skill from Kwensiu/DPIS. Review DPIS changes before committing or opening a pull request, including scope, domain-rule compliance, tests, Android validation, SonarQube MCP checks, and Git hygiene.
Dpis Precommit Review fits situations like: tasks that involve Pull requests.
Run `npx skills add Kwensiu/DPIS --skill dpis-precommit-review -a claude-code`. Or copy the skill folder (.agents/skills/dpis-precommit-review in Kwensiu/DPIS) into .claude/skills/dpis-precommit-review in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Kwensiu/DPIS --skill dpis-precommit-review -a codex`. Or copy the skill folder (.agents/skills/dpis-precommit-review in Kwensiu/DPIS) into .agents/skills/dpis-precommit-review in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Kwensiu/DPIS --skill dpis-precommit-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dpis-precommit-review, .gemini/skills/dpis-precommit-review, .github/skills/dpis-precommit-review and .opencode/skills/dpis-precommit-review in your project.
Going by SKILL.md and its folder, Dpis Precommit Review needs the command-line tools its instructions call (git, gh and adb). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Dpis Precommit Review is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Dpis Precommit Review: Zhtw Conventions (sysprog21/zhtw-mcp, 488 stars), Close Task Commit Push PR (devoxx/DevoxxGenieIDEAPlugin, 684 stars), Pre-PR Review (yuga-hashimoto/and-code, 123 stars) and Git GitHub Ops (c5inco/compose-pokedexer, 143 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Kwensiu (a GitHub user) maintains it in Kwensiu/DPIS, which has 108 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 6, 2026.
Source: Kwensiu/DPIS on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.