用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/thejaustin/ShizukuPlus --skill sentry-audit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | sentry-audit |
| description | Fetches unresolved Sentry issues and maps stack traces to local codebase for ShizukuPlus. |
| license | Complete terms in LICENSE |
| metadata | {"author":"Google LLC","keywords":["sentry","audit","crashes","debugging"]} |
This skill minimizes token usage while extracting actionable crash data from the Sentry REST API and mapping it to the local codebase.
Fetch Unresolved Issues:
Run a curl command against the Sentry API to fetch unresolved issues. Extract ONLY the id, shortId, title, and culprit.
curl -s -H 'Authorization: Bearer <SENTRY_TOKEN>' "https://sentry.io/api/0/projects/af-developments/shizukuplus/issues/?query=is:unresolved" | jq -c '.[] | {id, shortId, title, culprit}'
Note: Do NOT fetch the full JSON dump into context; it is massive and wastes tokens.
Fetch Stack Trace for Top Issue: Pick the highest priority issue ID and fetch its exact stack trace.
curl -s -H 'Authorization: Bearer <SENTRY_TOKEN>' "https://sentry.io/api/0/issues/<ISSUE_ID>/events/latest/" | jq -r '.entries[] | select(.type=="exception") | .data.values[].stacktrace.frames[] | "\(.filename):\(.lineNo) - \(.function)"'
Note: Using jq filters the payload down to just filename, line number, and function, drastically saving context space.
Map to Codebase:
Use the grep_search tool to find the corresponding file in manager/src/main/ based on the .filename from the stack trace.
Repair:
Analyze the bug and use the replace_file_content or multi_replace_file_content tool to patch the error.
Resolve via API: Once pushed to master, automatically resolve the issue on Sentry:
curl -s -X PUT -H 'Authorization: Bearer <SENTRY_TOKEN>' -H "Content-Type: application/json" -d '{"status":"resolved"}' "https://sentry.io/api/0/issues/<ISSUE_ID>/"