一键导入
fix
Fix a GitHub issue following the standard workflow. Reads the issue, creates a branch/PR, applies the fix, runs tests, and merges when CI passes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fix a GitHub issue following the standard workflow. Reads the issue, creates a branch/PR, applies the fix, runs tests, and merges when CI passes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a new translatable string to all locale files (English, Italian, Spanish, Catalan, German, Chinese). Use when adding user-visible text to the app.
Start the Teslamate API mock server to test car image rendering with different vehicle configurations. Takes a description of the car to mock. Can also simulate charging sessions (AC/DC).
Create a new release. Bumps version, updates changelog, creates fastlane changelog, commits, tags, and pushes.
Implement a new feature following the standard workflow. Explores the codebase, creates a plan, implements the feature, runs tests, creates a PR, and installs on the connected device.
Check Teslamate API response format for a given endpoint. Use when you need to understand the JSON structure returned by the API.
Scaffold a new Jetpack Compose screen following project patterns. Use when creating a new screen or view in the app.
| name | fix |
| description | Fix a GitHub issue following the standard workflow. Reads the issue, creates a branch/PR, applies the fix, runs tests, and merges when CI passes. |
| allowed-tools | Read, Edit, Write, Bash, Glob, Grep, mcp__github__issue_read, mcp__github__add_issue_comment, mcp__github__create_pull_request, mcp__github__pull_request_read, mcp__github__merge_pull_request, mcp__github__update_pull_request, mcp__github__list_issues |
Fix a GitHub issue following the complete workflow from investigation to merge.
The skill expects a GitHub issue number as argument:
/fix 123
If no argument is provided, ask the user for the issue number.
The repository is called matedroid and it is owned by vide.
Use mcp__github__issue_read to get the issue details:
Important: Note the language the issue was written in. You will use this language for all interactions on the issue itself.
Also check whether the issue has a linked or proposed pull request (a community/external PR that claims to fix it). If it does, the security gate below is MANDATORY.
⚠️ If a fix is supplied as a pull request you did not author yourself (community contribution, fork, drive-by PR linked from the issue), you MUST run a deep, thorough security assessment of that PR's code before it is even considered for merge. This app ships to the Google Play Store — a malicious or compromised change has a direct distribution channel to end users' devices. Treat every external PR as untrusted until proven safe.
Run the /security-review skill on the PR's diff, and additionally review by hand for:
HttpURLConnection/OkHttp/Retrofit usage, analytics, or telemetry — especially anything sending tokens, location, VIN, odometer, or account data off-device.DexClassLoader, Runtime.exec, ProcessBuilder), WebView with addJavascriptInterface or loadUrl of remote content, native libs, eval-like behavior.<uses-permission>, exported components, intent filters, android:debuggable, usesCleartextTraffic, or network-security-config edits.If anything looks suspicious or you cannot fully explain what a change does, STOP and report to the user — do NOT merge. A failing security assessment overrides "CI is green" and the no-wait-on-CI convention.
Before writing any code:
Before creating a branch or editing any code, present the proposed fix to the user and wait for their approval:
AskUserQuestion so the user can pick.Do NOT proceed to the next step until the user has approved the approach. The user may adjust the scope, pick a different option, or ask for more investigation first. Only skip this step if the user has explicitly told you to fix the issue end-to-end without checking in.
Create a new branch for the fix:
git checkout -b fix/issue-<number>-<short-description>
Example: fix/issue-42-dashboard-crash
Edit the necessary files to fix the issue. Follow these principles:
At the end of the fixing process, ALWAYS update the CHANGELOG.md file with a short description of the fix and the related issue number.
Run the test suite to verify the fix doesn't break anything:
./gradlew testDebugUnitTest
Fix any test failures before proceeding.
Commit with a semantic commit message:
git add -A
git commit -m "fix: <description of fix> (#<issue-number>)"
git push -u origin fix/issue-<number>-<short-description>
Use mcp__github__create_pull_request to create a PR:
fix: resolve dashboard crash (#42))Fixes #<issue-number>Example PR body:
## Summary
Brief description of what was fixed.
Fixes #42
## Root Cause
Explanation of why the bug occurred.
## Solution
What changes were made to fix it.
## Test Plan
- [ ] Manual testing steps
- [ ] Unit tests pass
Generated with [Claude Code](https://claude.com/claude-code)
Monitor the GitHub Actions workflow:
gh run list --limit 5
gh run watch
If CI fails:
gh run view <run-id> --log-failedDo NOT proceed to merge until all checks pass.
Once the PR is created, add a comment to the original issue (in the issue's original language) letting the reporter know a fix is in progress:
Once CI passes, merge the PR:
gh pr merge <pr-number> --squash --delete-branch
Or use mcp__github__merge_pull_request with merge_method: "squash".
Verify the issue was automatically closed by the Fixes #<number> reference. If not, close it manually and add a final comment (in the issue's original language) confirming the fix is released.
| Context | Language |
|---|---|
| Issue comments | Same language as the original issue |
| Questions to clarify the issue | Same language as the original issue |
| Code comments | English |
| Commit messages | English |
| PR title and body | English |
| Code review responses | English |
When writing comments on GitHub issues (status updates, clarifying questions, closing notes), match the maintainer's own informal voice. Specifically:
This applies to issue/PR comments only. Code comments, commit messages, and PR bodies keep their normal technical style.