[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C4GM3QJ59DPD9QDRCMFF8F":3,"skill-same:01M6C4GM3QJ59DPD9QDRCMFF8F":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":17,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6C4GM3QJ59DPD9QDRCMFF8F","pr","PR 描述撰写与提交","WHEN drafting PR descriptions, sizing\u002Fsplitting work, or opening pull requests on GitHub or Forgejo\u002FGitea; NOT for commit messages; provides reviewer-first templates and gh or tea pr steps.","用于撰写 PR 描述、评估或拆分工作量，或在 GitHub 或 Forgejo\u002FGitea 上创建拉取请求；不适用于提交信息；提供以审查者优先的模板，以及 gh 或 tea pr 的操作步骤。","mintuz\u002Fskills","mintuz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F447031?v=4","01M6BVWJYSVR4XQC9AQCEMWQRG","Adam Bulmer","01M6C4DCXKNYZB281YB3PZDJJG",35,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fcore\u002Fskills\u002Fpr\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[5,31,32,33,34,35,36,37,38,39,40,41,42],"github","pull requests","commit","pull","messages","templates","first","commit messages","gh","tea","reviewer","work","2026-11-10 10:12:30",false,"---\nname: pr\ndescription: WHEN drafting PR descriptions, sizing\u002Fsplitting work, or opening pull requests on GitHub or Forgejo\u002FGitea; NOT for commit messages; provides reviewer-first templates and gh or tea pr steps.\n---\n\n# Pull Request Skills\n\n## Philosophy\n\n- **Reviewer-first**: optimise for the reviewer, not the author.\n- **Context over detail**: explain why; link to how.\n- **Scannable**: busy reviewers skim.\n- **Actionable**: clear testing steps, obvious risks.\n- **Honest**: flag complexity; never hide it.\n\n## Scope\n\nCovers PR descriptions, PR sizing, and PR creation on GitHub (`gh`) and on Forgejo or Gitea (`tea`).\n\nCommit messages are out of scope. When a request also asks for a commit message, draft the PR content and direct the author to the `commit-messages` skill for the commit message.\n\n## Gathering Context\n\nRun `git fetch origin` first. Compare against the remote-tracking branch `origin\u002Fmain`: local `main` can be behind the remote. On a fork, fetch the remote that owns the base branch (often `upstream`) and compare against that remote's branch instead. When the repository's default branch is not `main`, substitute it; `git remote show origin` prints it as `HEAD branch` on any host.\n\n```bash\n# Compare branch changes against main\ngit diff origin\u002Fmain...HEAD\n\n# List modified files\ngit diff origin\u002Fmain...HEAD --name-only\n\n# Review commit history\ngit log origin\u002Fmain..HEAD --oneline\n\n# Get detailed commit messages\ngit log origin\u002Fmain..HEAD --format=\"%B---\"\n\n# Get files changed with stats\ngit diff origin\u002Fmain...HEAD --stat\n```\n\n### Size sanity check\n\nBefore choosing a template or drafting a description, run `git diff origin\u002Fmain...HEAD --stat` and compare the file and line totals with the author's account of the change.\n\nStop when the totals contradict that account, or when the diff includes bulk generated or vendored content the author did not mention (e.g. `dist\u002F`, `vendor\u002F`, `node_modules\u002F`, lockfiles). Report the totals and the mismatch, and ask the author to confirm those files belong in the PR or to remove them. Do not draft the description until the author answers: a description that presents unmentioned bulk content as intentional hides the mismatch from reviewers. A diff that touches several source directories for one coherent change is not a mismatch; report the scope and continue.\n\nIf you cannot run the command, size the PR and draft from the facts you have, and say the size is unverified. Do not refuse to draft because the stat is missing.\n\n## Guides\n\n| Guide | Use for |\n| ----- | ------- |\n| [pr-sizing.md](pr-sizing.md) | Size categories (small\u002Fmedium\u002Flarge); signs a PR should be split; splitting strategies; when large PRs are acceptable |\n| [pr-description.md](pr-description.md) | Commit analysis and issue linking; templates for small, medium, and large PRs; section guidelines (summary, changes, testing, etc.) |\n| [pr-creation.md](pr-creation.md) | `gh pr create` (GitHub) and `tea pr create` (Forgejo\u002FGitea) syntax and options; HEREDOC for multi-line bodies; draft PRs, reviewers, labels, and milestones; troubleshooting |\n\n**Draft rule:** pass `--draft` whenever the title or body calls the PR a draft, WIP, or not ready.\n","# Pull Request Skills\n\n## Philosophy\n\n- **Reviewer-first**: optimise for the reviewer, not the author.\n- **Context over detail**: explain why; link to how.\n- **Scannable**: busy reviewers skim.\n- **Actionable**: clear testing steps, obvious risks.\n- **Honest**: flag complexity; never hide it.\n\n## Scope\n\nCovers PR descriptions, PR sizing, and PR creation on GitHub (`gh`) and on Forgejo or Gitea (`tea`).\n\nCommit messages are out of scope. When a request also asks for a commit message, draft the PR content and direct the author to the `commit-messages` skill for the commit message.\n\n## Gathering Context\n\nRun `git fetch origin` first. Compare against the remote-tracking branch `origin\u002Fmain`: local `main` can be behind the remote. On a fork, fetch the remote that owns the base branch (often `upstream`) and compare against that remote's branch instead. When the repository's default branch is not `main`, substitute it; `git remote show origin` prints it as `HEAD branch` on any host.\n\n```bash\n# Compare branch changes against main\ngit diff origin\u002Fmain...HEAD\n\n# List modified files\ngit diff origin\u002Fmain...HEAD --name-only\n\n# Review commit history\ngit log origin\u002Fmain..HEAD --oneline\n\n# Get detailed commit messages\ngit log origin\u002Fmain..HEAD --format=\"%B---\"\n\n# Get files changed with stats\ngit diff origin\u002Fmain...HEAD --stat\n```\n\n### Size sanity check\n\nBefore choosing a template or drafting a description, run `git diff origin\u002Fmain...HEAD --stat` and compare the file and line totals with the author's account of the change.\n\nStop when the totals contradict that account, or when the diff includes bulk generated or vendored content the author did not mention (e.g. `dist\u002F`, `vendor\u002F`, `node_modules\u002F`, lockfiles). Report the totals and the mismatch, and ask the author to confirm those files belong in the PR or to remove them. Do not draft the description until the author answers: a description that presents unmentioned bulk content as intentional hides the mismatch from reviewers. A diff that touches several source directories for one coherent change is not a mismatch; report the scope and continue.\n\nIf you cannot run the command, size the PR and draft from the facts you have, and say the size is unverified. Do not refuse to draft because the stat is missing.\n\n## Guides\n\n| Guide | Use for |\n| ----- | ------- |\n| [pr-sizing.md](pr-sizing.md) | Size categories (small\u002Fmedium\u002Flarge); signs a PR should be split; splitting strategies; when large PRs are acceptable |\n| [pr-description.md](pr-description.md) | Commit analysis and issue linking; templates for small, medium, and large PRs; section guidelines (summary, changes, testing, etc.) |\n| [pr-creation.md](pr-creation.md) | `gh pr create` (GitHub) and `tea pr create` (Forgejo\u002FGitea) syntax and options; HEREDOC for multi-line bodies; draft PRs, reviewers, labels, and milestones; troubleshooting |\n\n**Draft rule:** pass `--draft` whenever the title or body calls the PR a draft, WIP, or not ready.\n",{"name":5,"description":7},"main","4e0a12b5048eac78a3ace4feee657873cdd530ef","src\u002Fcore\u002Fskills\u002Fpr",7,"https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills","https:\u002F\u002Fgithub.com\u002Fmintuz","http:\u002F\u002Fwww.mintuz.com","Working at @monzo, Previously worked at Moonpig, @booking and @bbc","2026-11-13 19:21:11",{"source":9,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add mintuz\u002Fskills --skill pr",{"tool":63,"command":64},"bunx","bunx skills add mintuz\u002Fskills --skill pr",{"tool":66,"command":67},"pnpm","pnpm dlx skills add mintuz\u002Fskills --skill pr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fcore\u002Fskills\u002Fpr\u002FSKILL.md",true,[71,77,81],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"pr-creation.md","REFERENCE","参考文档",6071,"https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fcore\u002Fskills\u002Fpr\u002Fpr-creation.md",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"pr-description.md",4783,"https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fcore\u002Fskills\u002Fpr\u002Fpr-description.md",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"pr-sizing.md",2920,"https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fcore\u002Fskills\u002Fpr\u002Fpr-sizing.md",[86,94,115,138,154,178],{"skillNo":87,"name":88,"nameZh":17,"description":89,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":93},"01M7B66DH3EX8C4A3JBAPB1NCY","lens-review","USE WHEN reviewing uncommitted work, a branch diff or a pull request through several installed skills, each run as its own review lens; NOT WHEN you need one cold second opinion (double-check), a verdict against a specification (acceptance-review) or the built-in fixed-lens \u002Fcode-review. Runs each lens in an isolated read-only agent, has a separate agent try to refute every finding, and returns one severity-ranked report.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fcore\u002Fskills\u002Flens-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":95,"name":96,"nameZh":97,"description":98,"descriptionZh":99,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":100,"categories":101,"keywords":106,"publishedAt":43},"01M6C4PDGB6ZZWBS35N3DF7PZZ","xstate","XState 状态机建模","WHEN React state changes in response to an external answer — async submit, in-flight or loading flags, retries, cancellation, polling, optimistic updates, stale responses — or to an interaction with an interruptible middle, such as a drag or a gesture; or WHEN building, reviewing, testing, or visualising XState 5 actors and @xstate\u002Freact integrations; NOT for a value one event sets completely, such as a text draft, a focus flag, or a plain open and closed toggle; models typed lifecycles and renders legal Mermaid stateDiagram-v2 charts.","当 React 状态因外部响应而变化——异步提交、进行中或加载标志、重试、取消、轮询、乐观更新、过期响应——或因与可中断的过程（如拖拽或手势）交互而变化时使用；或在构建、审查、测试或可视化 XState 5 actors 和 @xstate\u002Freact 集成时使用；不适用于单个事件即可完全设定的值，如文本草稿、焦点标志或简单的开关切换；建模类型化生命周期并渲染合法的 Mermaid stateDiagram-v2 图表。","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Fxstate\u002FSKILL.md",[102,103],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":104,"categoryName":105,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[96,107,108,109,110,111,112,113,114],"text","state","integrations","Charts","mermaid","testing","open","react",{"skillNo":116,"name":117,"nameZh":118,"description":119,"descriptionZh":120,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":121,"categories":122,"keywords":129,"publishedAt":43},"01M6C4PB6VVC2X19B63B7YNH0T","web-design","网页界面设计优化","WHEN refining UI layout, typography, color, or polish; NOT code implementation; provides concise principles for intentional, legible design.","在优化 UI 布局、排版、色彩或细节打磨时使用；不涉及代码实现；提供简洁的原则，以实现有意图、易读的设计。","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Fweb-design\u002FSKILL.md",[123,126],{"categoryNo":124,"categoryName":125,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQMKHSMFVQHR2KYAEVN","界面设计师",{"categoryNo":127,"categoryName":128,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C1VGZ0ZM4TQHMPD75R2KWQ","用户体验设计",[130,131,132,133,134,135,136,137],"web","design","web design","polish","code implementation","ui","typography","code",{"skillNo":139,"name":140,"nameZh":141,"description":142,"descriptionZh":143,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":144,"categories":145,"keywords":148,"publishedAt":43},"01M6C4P8D92GJDA49V7X1CZXEV","tailwind","Tailwind CSS 样式开发","USE WHEN writing, fixing or reviewing styling in a project that uses Tailwind CSS, even a one-class change or a request that does not name Tailwind: colours, focus rings, spacing, class names chosen by a prop, map or CVA variants, theme tokens and dark mode in the Tailwind stylesheet or tailwind.config, setup or upgrades (if unsure whether the project uses Tailwind, check package.json or the main stylesheet first); NOT WHEN writing plain CSS or Sass in a project without Tailwind; produces class names Tailwind can find, syntax for the installed major version, visible focus indicators, and no unrequested dependency or invented brand value.","在编写、修复或审查使用 Tailwind CSS 的项目中的样式时使用，即便只是改一个类名，或请求中未提及 Tailwind：颜色、焦点环、间距、由 prop、map 或 CVA 变体选择的类名、Tailwind 样式表或 tailwind.config 中的主题令牌与深色模式、配置或升级（如不确定项目是否使用 Tailwind，先检查 package.json 或主样式表）；不适用于在没有 Tailwind 的项目中编写纯 CSS 或 Sass；产出的类名能被 Tailwind 识别，语法适配已安装的主版本，具有可见的焦点指示器，且不引入未要求的依赖或杜撰的品牌值。","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Ftailwind\u002FSKILL.md",[146,147],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":104,"categoryName":105,"taxonomyType":28,"taxonomyTypeDesc":29},[149,150,151,152,131,153],"Tailwind","libraries","component","css","design systems",{"skillNo":155,"name":156,"nameZh":157,"description":158,"descriptionZh":159,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":160,"categories":161,"keywords":166,"publishedAt":43},"01M6C4P5VWQ69Q32DA0634GDJY","refactoring","代码重构规划","WHEN you need a plan to refactor, restructure, or clean up working code and the test result is known, either green or a recorded failing set; NOT for new feature delivery or any behavior change; reversible-baseline safety with prioritized improvements.","当你需要制定计划来重构、重组或清理正常工作的代码，且测试结果已知（全绿或已记录的失败集合）时使用；不适用于新功能交付或任何行为变更；以可逆的基线安全性和按优先级排序的改进为核心。","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Frefactoring\u002FSKILL.md",[162,163],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":164,"categoryName":165,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QTSZKB08EAW9P9ZCDNQ","设计评审与架构优化",[156,167,168,169,170,171,137,172,173,174,175,176,177],"refactor","baseline","Safety","SET","up","feature delivery","test","new feature","plan","change","behavior",{"skillNo":179,"name":114,"nameZh":17,"description":180,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":43},"01M6C4P345APEFEX00J8T7QMXQ","USE WHEN changing the logic, data, props, state, Effects or rendered text of a React component, hook or page, even a one-line change; NOT WHEN the request is styling only (class names, Tailwind, CSS, dark mode, spacing, shadows) or tests only, or when it models submit, in-flight, loading, retry or failure states, even for a named React form (xstate covers that, including its React wiring); applies React 19 composition, state, Effect, structure, API and performance rules with only the project's installed libraries.","https:\u002F\u002Fgithub.com\u002Fmintuz\u002Fskills\u002Fblob\u002Fmain\u002Fsrc\u002Fweb\u002Fskills\u002Freact\u002FSKILL.md",[],[114,184,152,149,185,112,186,137,187,188,189,190,108,173,191,192],"state management","performance","hooks","components","architecture","api","react components","styling","management"]