[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-62800d94-4ec0-4160-a34c-e28f7c950518":3,"$f24ESR9NqtrL1lYlyw_siuiUt7G8XXw1fc70FlxriDts":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"62800d94-4ec0-4160-a34c-e28f7c950518","comprehensive-review-pr-enhance","> 您好，请提供需要翻译的文本。","cat_life_career","mod_other","sickn33,other","---\nname: comprehensive-review-pr-enhance\ndescription: >\n  Generate structured PR descriptions from diffs, add review checklists,\n  risk assessments, and test coverage summaries. Use when the user says\n  \"write a PR description\", \"improve this PR\", \"summarize my changes\",\n  \"PR review\", \"pull request\", or asks to document a diff for reviewers.\nrisk: unknown\nsource: community\n---\n\n# Pull Request Enhancement\n\n## When to Use\n- You need to turn a git diff into a reviewer-friendly pull request description.\n- You want a PR summary with change categories, risks, testing notes, and a checklist.\n- The diff is large enough that reviewers need explicit structure instead of a short ad hoc summary.\n\n## Workflow\n\n1. Run `git diff \u003Cbase>...HEAD --stat` to identify changed files and scope\n2. Categorise changes: source, test, config, docs, build, styles\n3. Generate the PR description using the template below\n4. Add a review checklist based on which file categories changed\n5. Flag breaking changes, security-sensitive files, or large diffs (>500 lines)\n\n## PR Description Template\n\n```markdown\n## Summary\n\u003C!-- one-paragraph executive summary: what changed and why -->\n\n## Changes\n| Category | Files | Key change |\n|----------|-------|------------|\n| source   | `src\u002Fauth.ts` | added OAuth2 PKCE flow |\n| test     | `tests\u002Fauth.test.ts` | covers token refresh edge case |\n| config   | `.env.example` | new `OAUTH_CLIENT_ID` var |\n\n## Why\n\u003C!-- link to issue\u002Fticket + one sentence on motivation -->\n\n## Testing\n- [ ] unit tests pass (`npm test`)\n- [ ] manual smoke test on staging\n- [ ] no coverage regression\n\n## Risks & Rollback\n- **Breaking?** yes \u002F no\n- **Rollback**: revert this commit; no migration needed\n- **Risk level**: low \u002F medium \u002F high — because ___\n```\n\n## Review Checklist Rules\n\nAdd checklist sections only when the matching file category appears in the diff:\n\n| File category | Checklist items |\n|---------------|----------------|\n| source | no debug statements, functions \u003C50 lines, descriptive names, error handling |\n| test | meaningful assertions, edge cases, no flaky tests, AAA pattern |\n| config | no hardcoded secrets, env vars documented, backwards compatible |\n| docs | accurate, examples included, changelog updated |\n| security-sensitive (`auth`, `crypto`, `token`, `password` in path) | input validation, no secrets in logs, authz correct |\n\n## Splitting Large PRs\n\nWhen diff exceeds 20 files or 1000 lines, suggest splitting by feature area:\n\n```\ngit checkout -b feature\u002Fpart-1\ngit cherry-pick \u003Ccommits-for-part-1>\n```\n\n## Resources\n\n- `resources\u002Fimplementation-playbook.md` — Python helpers for automated PR analysis, coverage reports, and risk scoring\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,148,1090,"2026-05-16 13:12:27",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"其他","other","mdi-page-next-outline","其他类型Skill",5,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"职场发展","career","mdi-briefcase-outline","面试准备、简历优化、职业规划",4,575,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"7daba83c-748b-4011-b54f-7617e5677f34","1.0.0","comprehensive-review-pr-enhance.zip",8069,"uploads\u002Fskills\u002F62800d94-4ec0-4160-a34c-e28f7c950518\u002Fcomprehensive-review-pr-enhance.zip","ce797979a25a62d0de4b923d7c8f934947113abd1e298df037532903382e6b72","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":3003},{\"path\":\"resources\u002Fimplementation-playbook.md\",\"isDirectory\":false,\"size\":19562}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]