[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ACP2VYY29D1553QSYFW8S4":3,"skill-same:01M7ACP2VYY29D1553QSYFW8S4":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7ACP2VYY29D1553QSYFW8S4","blocking-io-guard",null,"Ensure async-path backend code that could block the asyncio event loop is protected by a teeth-verified runtime anchor in tests\u002Fblocking_io\u002F. Use when changing backend Python under app\u002F, packages\u002Fharness\u002Fdeerflow\u002F, or scripts\u002F, when running a blocking-IO triage round over the whole repo, or when a reviewer\u002FCI asks for blocking-IO coverage. Runs a deterministic scan (changed-lines or full-repo), routes each candidate, drafts\u002Fextends an anchor, and proves it fails when the blocking IO regresses.","Litshp\u002Frepomentor-deerflow","Litshp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F164355439?v=4","01M7ACNZWMPVHV16M40ECAX9H2","01M7ACNZXN5AGQ19MQ83P9RAJB",0,"MIT","https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fblocking-io-guard\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: blocking-io-guard\ndescription: Ensure async-path backend code that could block the asyncio event loop is protected by a teeth-verified runtime anchor in tests\u002Fblocking_io\u002F. Use when changing backend Python under app\u002F, packages\u002Fharness\u002Fdeerflow\u002F, or scripts\u002F, when running a blocking-IO triage round over the whole repo, or when a reviewer\u002FCI asks for blocking-IO coverage. Runs a deterministic scan (changed-lines or full-repo), routes each candidate, drafts\u002Fextends an anchor, and proves it fails when the blocking IO regresses.\n---\n\n# Blocking-IO Guard Skill\n\nHelp a contributor ship backend async changes together with the runtime anchor\nthat lets DeerFlow's blocking-IO CI gate actually see the new code. The dynamic\ndetector only catches blocking IO on paths a test executes — this skill closes\nthat gap, either for your own diff or for a repo-wide triage round.\n\nRead `references\u002Fgood-anchor-rules.md` before writing any anchor.\nOnly read `references\u002Fsop-skeleton.md` when generalizing this SOP to another\ndetector domain — it is not needed to execute the steps below.\n\n## When to use\n\n- Your change touches Python under `backend\u002Fapp\u002F`,\n  `backend\u002Fpackages\u002Fharness\u002Fdeerflow\u002F`, or `backend\u002Fscripts\u002F` and may run on\n  the async event loop (Mode A). If unsure, run Step 0 — it answers\n  deterministically.\n- You are doing a maintenance triage round over the existing codebase\n  (Mode B).\n\n## SOP (router)\n\n### Step 0 — Scope (deterministic)\n\n**Mode A — your own diff** (default, pre-PR). From repo root:\n\n```bash\nuv run --project backend python scripts\u002Fscan_changed_blocking_io.py --base origin\u002Fmain\n```\n\nLists blocking-IO candidates your change introduces: findings on lines the\ndiff added, **plus** findings that are new versus the merge base — the latter\ncatches a new async caller exposing an old sync helper whose blocking line is\nnot in the diff. The diff is `\u003Cbase>...HEAD`, so **commit your work first** —\nuncommitted lines are not selected.\n\nIf the list is empty, this change introduces no blocking-IO surface *that the\nstatic detector can see in the changed files*. One residual blind spot\nremains: reachability is same-file only, so a new async caller of a sync\nhelper **defined in another file** is invisible to both selections. If your\ndiff adds an async call into a helper that lives elsewhere, check that helper\nmanually (codegraph or `git grep`) before stopping.\n\n**Mode B — full-repo triage round.** From repo root:\n\n```bash\nmake detect-blocking-io\n```\n\nPrints a summary and writes the complete structured finding list to\n`.deer-flow\u002Fblocking-io-findings.json`. Work HIGH priority first; do not start\nMEDIUM until every HIGH is dispositioned (fixed, guarded, or recorded\nNO-ACTION).\n\n**Batching policy (PR sizing).** One **fix unit** per PR while any HIGH\nremains: a fix unit is one root cause — usually a single HIGH, but two HIGHs\nresolved by the same one-place fix belong together. Once no HIGH remains,\nMEDIUM\u002FLOW may be batched (about five per round, grouped by module or by\ndisposition) so each PR stays reviewable. A new Blockbuster rule is never\nbatched with anything — it always ships alone (see Step 5).\n\nBoth modes emit the same JSON shape per finding: `priority`, `location`\n(path\u002Fline\u002Ffunction), `blocking_call` (category\u002Foperation\u002Fsymbol),\n`event_loop_exposure`, `reason`, `code`. Priority is a deterministic review\nordering, not proof of a bug — Step 1 makes the actual call.\n\n### Step 1 — Judge each candidate (router)\n\nRead the code around each candidate and route it:\n\n- **Already offloaded** (`asyncio.to_thread`, `run_in_executor`, async client) →\n  **GUARD**: add\u002Fextend an anchor that locks the offload so a future edit cannot\n  move it back onto the loop.\n- **On the loop, not offloaded** → **FIX+ANCHOR**: offload the production code\n  (your fix), then add an anchor that guards it.\n- **Not actually exposed \u002F acceptable** (rare: scanner false positive,\n  startup-only code) → **NO-ACTION**: record one line of why.\n- **Cross-file caveat**: the scanner's async reachability is same-file only\n  (`ASYNC_REACHABLE_SAME_FILE`). If the candidate is a *sync helper*, check for\n  async callers in other files (codegraph or `git grep`) before deciding\n  NO-ACTION.\n\n### Step 2 — Apply the fix, then re-scan (FIX+ANCHOR only)\n\nOffload the blocking call in production code, then re-run the Step 0 scan and\nconfirm the candidate no longer appears. If the offloaded call sits in a\n`finally` \u002F cleanup path, keep it best-effort and bounded (swallow-and-log,\n`asyncio.wait_for`) so a failing or hung cleanup cannot mask the primary\nexception. Match by the stable key\n**(path, function, symbol)** — line numbers shift after edits, so never\ncompare by line.\n\n- The finding must disappear. If it still shows, the fix did not remove the\n  blocking pattern (e.g. the call is still a direct call, not offloaded) —\n  go back before touching any test.\n- GUARD \u002F NO-ACTION routes skip this step: a residual finding there is\n  *expected* (the raw call still exists inside a sync helper with the offload\n  at the caller, or the exposure was judged acceptable).\n\nThis is pattern-level feedback in seconds; it complements but never replaces\nStep 5 — only the runtime gate proves the event loop is actually protected.\n\n### Step 3 — Check existing anchors\n\nLook in `backend\u002Ftests\u002Fblocking_io\u002F` for a test that drives the production async\nentry point reaching this candidate's branch.\n\n- Covers this branch already → go to Step 5 (re-verify teeth).\n- Covers the entry point but not this branch (e.g. happy path covered,\n  cleanup\u002F404\u002F409 not) → **extend** that anchor.\n- None → create one from `templates\u002Fanchor.template.py`.\n\n### Step 4 — Generate \u002F extend the anchor\n\nFollow `references\u002Fgood-anchor-rules.md`. Drive the *specific* branch (e.g. force\nthe create failure that hits the cleanup `shutil.rmtree`). Never bypass the\nblocking surface with a test-only `asyncio.to_thread` wrapper.\n\n### Step 5 — Verify teeth (mandatory; also the anchor-vs-rule discriminator)\n\n1. Reintroduce the block (GUARD: temporarily revert the offload; FIX+ANCHOR: run\n   against the pre-fix code).\n2. Run `cd backend && make test-blocking-io` (or target the one test). It **must\n   go RED**.\n3. Restore the fix. It **must go GREEN**.\n\nA real block that stays GREEN means Blockbuster has no rule for that\nprimitive — that is the **RULE** route; see `references\u002Fgood-anchor-rules.md`\nfor the admission criteria before adding one.\n\n### Step 6 — Deliver\n\nCommit the anchor(s) with your change; `make test-blocking-io` green. In the PR,\nnote: candidates found, each disposition, the re-scan result (Step 2), and\nthe teeth evidence (red→green). Include the reason for any NO-ACTION. A new\nBlockbuster rule, if any, goes in its own commit with the evidence from Step 5.\n","# Blocking-IO Guard Skill\n\nHelp a contributor ship backend async changes together with the runtime anchor\nthat lets DeerFlow's blocking-IO CI gate actually see the new code. The dynamic\ndetector only catches blocking IO on paths a test executes — this skill closes\nthat gap, either for your own diff or for a repo-wide triage round.\n\nRead `references\u002Fgood-anchor-rules.md` before writing any anchor.\nOnly read `references\u002Fsop-skeleton.md` when generalizing this SOP to another\ndetector domain — it is not needed to execute the steps below.\n\n## When to use\n\n- Your change touches Python under `backend\u002Fapp\u002F`,\n  `backend\u002Fpackages\u002Fharness\u002Fdeerflow\u002F`, or `backend\u002Fscripts\u002F` and may run on\n  the async event loop (Mode A). If unsure, run Step 0 — it answers\n  deterministically.\n- You are doing a maintenance triage round over the existing codebase\n  (Mode B).\n\n## SOP (router)\n\n### Step 0 — Scope (deterministic)\n\n**Mode A — your own diff** (default, pre-PR). From repo root:\n\n```bash\nuv run --project backend python scripts\u002Fscan_changed_blocking_io.py --base origin\u002Fmain\n```\n\nLists blocking-IO candidates your change introduces: findings on lines the\ndiff added, **plus** findings that are new versus the merge base — the latter\ncatches a new async caller exposing an old sync helper whose blocking line is\nnot in the diff. The diff is `\u003Cbase>...HEAD`, so **commit your work first** —\nuncommitted lines are not selected.\n\nIf the list is empty, this change introduces no blocking-IO surface *that the\nstatic detector can see in the changed files*. One residual blind spot\nremains: reachability is same-file only, so a new async caller of a sync\nhelper **defined in another file** is invisible to both selections. If your\ndiff adds an async call into a helper that lives elsewhere, check that helper\nmanually (codegraph or `git grep`) before stopping.\n\n**Mode B — full-repo triage round.** From repo root:\n\n```bash\nmake detect-blocking-io\n```\n\nPrints a summary and writes the complete structured finding list to\n`.deer-flow\u002Fblocking-io-findings.json`. Work HIGH priority first; do not start\nMEDIUM until every HIGH is dispositioned (fixed, guarded, or recorded\nNO-ACTION).\n\n**Batching policy (PR sizing).** One **fix unit** per PR while any HIGH\nremains: a fix unit is one root cause — usually a single HIGH, but two HIGHs\nresolved by the same one-place fix belong together. Once no HIGH remains,\nMEDIUM\u002FLOW may be batched (about five per round, grouped by module or by\ndisposition) so each PR stays reviewable. A new Blockbuster rule is never\nbatched with anything — it always ships alone (see Step 5).\n\nBoth modes emit the same JSON shape per finding: `priority`, `location`\n(path\u002Fline\u002Ffunction), `blocking_call` (category\u002Foperation\u002Fsymbol),\n`event_loop_exposure`, `reason`, `code`. Priority is a deterministic review\nordering, not proof of a bug — Step 1 makes the actual call.\n\n### Step 1 — Judge each candidate (router)\n\nRead the code around each candidate and route it:\n\n- **Already offloaded** (`asyncio.to_thread`, `run_in_executor`, async client) →\n  **GUARD**: add\u002Fextend an anchor that locks the offload so a future edit cannot\n  move it back onto the loop.\n- **On the loop, not offloaded** → **FIX+ANCHOR**: offload the production code\n  (your fix), then add an anchor that guards it.\n- **Not actually exposed \u002F acceptable** (rare: scanner false positive,\n  startup-only code) → **NO-ACTION**: record one line of why.\n- **Cross-file caveat**: the scanner's async reachability is same-file only\n  (`ASYNC_REACHABLE_SAME_FILE`). If the candidate is a *sync helper*, check for\n  async callers in other files (codegraph or `git grep`) before deciding\n  NO-ACTION.\n\n### Step 2 — Apply the fix, then re-scan (FIX+ANCHOR only)\n\nOffload the blocking call in production code, then re-run the Step 0 scan and\nconfirm the candidate no longer appears. If the offloaded call sits in a\n`finally` \u002F cleanup path, keep it best-effort and bounded (swallow-and-log,\n`asyncio.wait_for`) so a failing or hung cleanup cannot mask the primary\nexception. Match by the stable key\n**(path, function, symbol)** — line numbers shift after edits, so never\ncompare by line.\n\n- The finding must disappear. If it still shows, the fix did not remove the\n  blocking pattern (e.g. the call is still a direct call, not offloaded) —\n  go back before touching any test.\n- GUARD \u002F NO-ACTION routes skip this step: a residual finding there is\n  *expected* (the raw call still exists inside a sync helper with the offload\n  at the caller, or the exposure was judged acceptable).\n\nThis is pattern-level feedback in seconds; it complements but never replaces\nStep 5 — only the runtime gate proves the event loop is actually protected.\n\n### Step 3 — Check existing anchors\n\nLook in `backend\u002Ftests\u002Fblocking_io\u002F` for a test that drives the production async\nentry point reaching this candidate's branch.\n\n- Covers this branch already → go to Step 5 (re-verify teeth).\n- Covers the entry point but not this branch (e.g. happy path covered,\n  cleanup\u002F404\u002F409 not) → **extend** that anchor.\n- None → create one from `templates\u002Fanchor.template.py`.\n\n### Step 4 — Generate \u002F extend the anchor\n\nFollow `references\u002Fgood-anchor-rules.md`. Drive the *specific* branch (e.g. force\nthe create failure that hits the cleanup `shutil.rmtree`). Never bypass the\nblocking surface with a test-only `asyncio.to_thread` wrapper.\n\n### Step 5 — Verify teeth (mandatory; also the anchor-vs-rule discriminator)\n\n1. Reintroduce the block (GUARD: temporarily revert the offload; FIX+ANCHOR: run\n   against the pre-fix code).\n2. Run `cd backend && make test-blocking-io` (or target the one test). It **must\n   go RED**.\n3. Restore the fix. It **must go GREEN**.\n\nA real block that stays GREEN means Blockbuster has no rule for that\nprimitive — that is the **RULE** route; see `references\u002Fgood-anchor-rules.md`\nfor the admission criteria before adding one.\n\n### Step 6 — Deliver\n\nCommit the anchor(s) with your change; `make test-blocking-io` green. In the PR,\nnote: candidates found, each disposition, the re-scan result (Step 2), and\nthe teeth evidence (red→green). Include the reason for any NO-ACTION. A new\nBlockbuster rule, if any, goes in its own commit with the evidence from Step 5.\n",{"name":5,"description":7},"main","8d45e3d9c879dbd9e07f8259ce32c4f064c1793f",".agent\u002Fskills\u002Fblocking-io-guard","https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow","https:\u002F\u002Fgithub.com\u002FLitshp","2026-08-17 23:05:15",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add Litshp\u002Frepomentor-deerflow --skill blocking-io-guard",{"tool":35,"command":36},"bunx","bunx skills add Litshp\u002Frepomentor-deerflow --skill blocking-io-guard",{"tool":38,"command":39},"pnpm","pnpm dlx skills add Litshp\u002Frepomentor-deerflow --skill blocking-io-guard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fblocking-io-guard\u002FSKILL.md",true,[43,49,53],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"references\u002Fgood-anchor-rules.md","REFERENCE","参考文档",3188,"https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fblocking-io-guard\u002Freferences\u002Fgood-anchor-rules.md",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fsop-skeleton.md",1787,"https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fblocking-io-guard\u002Freferences\u002Fsop-skeleton.md",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"templates\u002Fanchor.template.py","SCRIPT","脚本",1303,"https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fblocking-io-guard\u002Ftemplates\u002Fanchor.template.py",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M7ACTVF6V9H94989NS0QXGPH","web-design-guidelines","Review UI code for Web Interface Guidelines compliance. Use when asked to \"review my UI\", \"check accessibility\", \"audit design\", \"review UX\", or \"check my site against best practices\".","https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow\u002Fblob\u002Fmain\u002Fskills\u002Fpublic\u002Fweb-design-guidelines\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7ACTR6ARJP23PG1JQ0EZ3DB","video-generation","Use this skill when the user requests to generate, create, or imagine videos. Supports structured prompts and reference image for guided generation.","https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow\u002Fblob\u002Fmain\u002Fskills\u002Fpublic\u002Fvideo-generation\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7ACTM9BH70A2G00A0WCV91D","vercel-deploy","Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as \"Deploy my app\", \"Deploy this to production\", \"Create a preview deployment\", \"Deploy and give me the link\", or \"Push this live\". No authentication required - returns preview URL and claimable deployment link.","https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow\u002Fblob\u002Fmain\u002Fskills\u002Fpublic\u002Fvercel-deploy-claimable\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7ACTE7WBWVP2EKXWDZY5M0T","systematic-literature-review","Use this skill when the user wants a systematic literature review, survey, or synthesis across multiple academic papers on a topic. Also covers annotated bibliographies and cross-paper comparisons. Searches arXiv and outputs reports in APA, IEEE, or BibTeX format. Not for single-paper tasks — use academic-paper-review for reviewing one paper.","https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow\u002Fblob\u002Fmain\u002Fskills\u002Fpublic\u002Fsystematic-literature-review\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M7ACTA4ZX21WAJ8MARVYJSVV","surprise-me","Create a delightful, unexpected \"wow\" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says \"surprise me\" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for \"something interesting\".","https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow\u002Fblob\u002Fmain\u002Fskills\u002Fpublic\u002Fsurprise-me\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M7ACT842SD69M32P2HM1041X","zh-output-example","Reviews Chinese skill documentation for publication readiness. Invoke when the user asks in Chinese to review a skill.","https:\u002F\u002Fgithub.com\u002FLitshp\u002Frepomentor-deerflow\u002Fblob\u002Fmain\u002Fskills\u002Fpublic\u002Fskill-reviewer\u002Fevals\u002Ffixtures\u002Fzh-output\u002FSKILL.md",[],[]]