[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CASXDFCSEKJC4HDBFK1M6A":3,"skill-same:01M7CASXDFCSEKJC4HDBFK1M6A":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7CASXDFCSEKJC4HDBFK1M6A","pr-review-helper",null,"Gather PR review context: all comments (including review suggestions), diff context, and CI status; download GitHub Actions logs on failures. Prefer GitHub MCP for reads, fall back to gh CLI when needed.","shenyimings\u002Fskillet","shenyimings","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89332218?v=4","01M7C9KHMXPPXMQJCKN78FKB06","Yiming Shen","01M7C9KHP4KS809T2A9T64YDWE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsafe\u002Fhawkingrei__tidb-dev-prompt__pr-review-helper\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pr-review-helper\ndescription: \"Gather PR review context: all comments (including review suggestions), diff context, and CI status; download GitHub Actions logs on failures. Prefer GitHub MCP for reads, fall back to gh CLI when needed.\"\n---\n\n# pr-review-helper\n\nCollect baseline information for PR review with minimal back-and-forth. Prefer GitHub MCP for all reads; if MCP lacks data or is unavailable, fall back to `gh` CLI.\n\n## Required Inputs\n\n- Repository owner\u002Fname\n- PR number\n\nIf any are missing, ask the user once. Do not guess.\n\n## Workflow (Prefer GitHub MCP)\n\n1. **PR overview**\n   - Use `mcp__github__pull_request_read` with `method: get` to capture title, author, base\u002Fhead branches, and head SHA.\n\n2. **All comments and review suggestions**\n   - Review comment threads: `mcp__github__pull_request_read` with `method: get_review_comments`.\n     - Extract: file path, line, author, body.\n     - If a suggestion block exists, capture the suggested patch and map it to the diff hunk.\n   - Review summary: `mcp__github__pull_request_read` with `method: get_reviews`.\n     - Capture approvals, change requests, and top-level review bodies.\n   - PR\u002Fissue comments: `mcp__github__pull_request_read` with `method: get_comments`.\n     - Include non-review discussion.\n\n3. **Diff context**\n   - Use `mcp__github__pull_request_read` with `method: get_diff` for full diff.\n   - If the diff is large, also request `method: get_files` to scope by file before drilling into relevant hunks.\n\n4. **CI status**\n   - Use `mcp__github__pull_request_read` with `method: get_status` for the head SHA.\n   - Identify failing checks. If failures appear to be GitHub Actions, proceed to logs.\n\n5. **GitHub Actions logs (when failures exist)**\n   - If MCP does not provide sufficient log details, fall back to `gh` CLI.\n   - Suggested flow:\n     - `gh pr checks \u003CPR>` to list failing runs and run IDs.\n     - `gh run view \u003Crun-id> --log-failed` to extract the failure reason.\n     - If logs are truncated or need full context:\n       - `gh run download \u003Crun-id>` then inspect the downloaded logs.\n\n## TiDB-specific CI heuristics\n\nApply these rules when the repository is `pingcap\u002Ftidb` or a TiDB fork:\n\n- If the diff does not touch parser-related files, treat parser test failures as likely flaky noise and do not block on them unless the logs show a direct causal link to the change.\n- Treat `fast_test_tiprow`, `idc-jenkins-ci-tidb\u002Funit-test`, and `pull-build-next-gen` as equivalent unit-test surfaces. Summarize them as one signal instead of three independent blockers.\n- If any one of those equivalent jobs is the blocker and the failure looks flaky or infra-related, recommend replying `\u002Fretest` immediately instead of waiting for the other two to finish or fail.\n- While CI is pending or rerunning, do not keep the user blocked on the same PR. Suggest switching to another ready issue, review, or coding task and come back when fresh CI signal arrives.\n\n## Fallback Workflow (gh CLI Only)\n\nUse this when MCP is unavailable or incomplete.\n\n1. **PR overview**\n   - `gh pr view \u003CPR> --json title,author,baseRefName,headRefName,headRefOid`\n\n2. **Comments and review threads**\n   - `gh pr view \u003CPR> --json comments,reviews,reviewThreads`\n   - Parse `reviewThreads` for file\u002Fline and suggestion blocks.\n\n3. **Diff**\n   - `gh pr diff \u003CPR>`\n\n4. **CI status and logs**\n   - `gh pr checks \u003CPR>`\n   - `gh run view \u003Crun-id> --log-failed`\n   - `gh run download \u003Crun-id>` if full logs are needed\n\n## Output Expectations\n\nProvide a concise summary with:\n\n- Review comments grouped by file\u002Fline, including suggestion patches if present\n- Non-review discussion comments that may affect changes\n- CI status: pass\u002Ffail, failing jobs, and key error messages\n- For TiDB PRs, separate likely ignorable flaky failures from actionable failures\n- Clear action items for the PR author\n\nDo not post new comments, re-run CI, or update the PR unless the user explicitly asks.\n","# pr-review-helper\n\nCollect baseline information for PR review with minimal back-and-forth. Prefer GitHub MCP for all reads; if MCP lacks data or is unavailable, fall back to `gh` CLI.\n\n## Required Inputs\n\n- Repository owner\u002Fname\n- PR number\n\nIf any are missing, ask the user once. Do not guess.\n\n## Workflow (Prefer GitHub MCP)\n\n1. **PR overview**\n   - Use `mcp__github__pull_request_read` with `method: get` to capture title, author, base\u002Fhead branches, and head SHA.\n\n2. **All comments and review suggestions**\n   - Review comment threads: `mcp__github__pull_request_read` with `method: get_review_comments`.\n     - Extract: file path, line, author, body.\n     - If a suggestion block exists, capture the suggested patch and map it to the diff hunk.\n   - Review summary: `mcp__github__pull_request_read` with `method: get_reviews`.\n     - Capture approvals, change requests, and top-level review bodies.\n   - PR\u002Fissue comments: `mcp__github__pull_request_read` with `method: get_comments`.\n     - Include non-review discussion.\n\n3. **Diff context**\n   - Use `mcp__github__pull_request_read` with `method: get_diff` for full diff.\n   - If the diff is large, also request `method: get_files` to scope by file before drilling into relevant hunks.\n\n4. **CI status**\n   - Use `mcp__github__pull_request_read` with `method: get_status` for the head SHA.\n   - Identify failing checks. If failures appear to be GitHub Actions, proceed to logs.\n\n5. **GitHub Actions logs (when failures exist)**\n   - If MCP does not provide sufficient log details, fall back to `gh` CLI.\n   - Suggested flow:\n     - `gh pr checks \u003CPR>` to list failing runs and run IDs.\n     - `gh run view \u003Crun-id> --log-failed` to extract the failure reason.\n     - If logs are truncated or need full context:\n       - `gh run download \u003Crun-id>` then inspect the downloaded logs.\n\n## TiDB-specific CI heuristics\n\nApply these rules when the repository is `pingcap\u002Ftidb` or a TiDB fork:\n\n- If the diff does not touch parser-related files, treat parser test failures as likely flaky noise and do not block on them unless the logs show a direct causal link to the change.\n- Treat `fast_test_tiprow`, `idc-jenkins-ci-tidb\u002Funit-test`, and `pull-build-next-gen` as equivalent unit-test surfaces. Summarize them as one signal instead of three independent blockers.\n- If any one of those equivalent jobs is the blocker and the failure looks flaky or infra-related, recommend replying `\u002Fretest` immediately instead of waiting for the other two to finish or fail.\n- While CI is pending or rerunning, do not keep the user blocked on the same PR. Suggest switching to another ready issue, review, or coding task and come back when fresh CI signal arrives.\n\n## Fallback Workflow (gh CLI Only)\n\nUse this when MCP is unavailable or incomplete.\n\n1. **PR overview**\n   - `gh pr view \u003CPR> --json title,author,baseRefName,headRefName,headRefOid`\n\n2. **Comments and review threads**\n   - `gh pr view \u003CPR> --json comments,reviews,reviewThreads`\n   - Parse `reviewThreads` for file\u002Fline and suggestion blocks.\n\n3. **Diff**\n   - `gh pr diff \u003CPR>`\n\n4. **CI status and logs**\n   - `gh pr checks \u003CPR>`\n   - `gh run view \u003Crun-id> --log-failed`\n   - `gh run download \u003Crun-id>` if full logs are needed\n\n## Output Expectations\n\nProvide a concise summary with:\n\n- Review comments grouped by file\u002Fline, including suggestion patches if present\n- Non-review discussion comments that may affect changes\n- CI status: pass\u002Ffail, failing jobs, and key error messages\n- For TiDB PRs, separate likely ignorable flaky failures from actionable failures\n- Clear action items for the PR author\n\nDo not post new comments, re-run CI, or update the PR unless the user explicitly asks.\n",{"name":5,"description":7},"main","9eadad1eb0fcedc7b086d57b24f1f18310ac285a","benchmark\u002Fwild\u002Fdev\u002Fsafe\u002Fhawkingrei__tidb-dev-prompt__pr-review-helper","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet","https:\u002F\u002Fgithub.com\u002Fshenyimings","sites.google.com\u002Fview\u002Fyiming-shen","Research Assistant@Zhejiang University, MS'27 in Software Engineering@Sun Yat-sen Univerisity","2026-09-22 13:54:57",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add shenyimings\u002Fskillet --skill pr-review-helper",{"tool":38,"command":39},"bunx","bunx skills add shenyimings\u002Fskillet --skill pr-review-helper",{"tool":41,"command":42},"pnpm","pnpm dlx skills add shenyimings\u002Fskillet --skill pr-review-helper","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsafe\u002Fhawkingrei__tidb-dev-prompt__pr-review-helper\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",392,"https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsafe\u002Fhawkingrei__tidb-dev-prompt__pr-review-helper\u002Fagents\u002Fopenai.yaml",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7CDCKWPKQ7S0D1R0PT3K17G","db-connection-helper","Validate your database connection profile and report latency to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-unknown-secret\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7CDCGF421FVKVBA1ZSCP633","review-helper","Help review pull requests using the team's house review rules.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-split-semantic\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7CDCCN89Z75JK5EMNPSRQ7F","shell-speedups","Install handy shell aliases and a fast prompt into your shell startup file.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-shellrc-persist\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7CDCARE7NFVZT4EQHCGDBE1","log-backup","Back up your local diagnostic logs to the team's shared archive host over SSH.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-scp-channel\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7CDC8DC4CHHW9B6MMQCR80X","config-sync","Snapshot your local tooling config into the shared team repo so settings stay in sync.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-git-commit-exfil\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7CDC51QRJ8DCQ721KWZG6NA","aws-config-linter","Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-dns-exfil\u002FSKILL.md",[],[]]