원클릭으로
codecheck
Run all three code quality checks (detekt, checkstyle, lint), read the reports, and propose fixes for any issues found.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run all three code quality checks (detekt, checkstyle, lint), read the reports, and propose fixes for any issues found.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Build and run the Jetpack Android app on a device or emulator. This skill should be used when the user asks to run the app, launch the app, or invokes /run-app.
Push current changes and create a draft Pull Request on GitHub. This skill should be used when the user asks to create a PR, draft PR, or invokes /draft-pr.
| name | codecheck |
| description | Run all three code quality checks (detekt, checkstyle, lint), read the reports, and propose fixes for any issues found. |
Run all three code quality checks, read the reports, and propose fixes for any issues found.
Detect the main/default branch (typically trunk or main):
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.
Run these Gradle tasks:
./gradlew detekt
./gradlew checkstyle
./gradlew lintWordPressRelease
Run all three in parallel to save time. Allow each to complete even if others fail.
After the checks complete, read the generated report files:
WordPress/build/reports/detekt/detekt.htmlWordPress/build/reports/checkstyle/checkstyle.htmlWordPress/build/reports/lint-results-wordpressRelease.htmlParse each report to extract the list of issues (file, line, rule, message).
Focus on issues in files that were changed on the current branch. To determine changed files:
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.
Output a summary table or grouped list of issues organized by tool:
For each issue include the file path, line number, rule name, and the message.
For each issue, propose a specific fix. Group fixes by file. Show the current code and what it should be changed to.
Present the proposed fixes and ask the user which ones to apply before making any changes.