[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M752SA3YYH5VVNVJ4Y5MSKPJ":3,"skill-same:01M752SA3YYH5VVNVJ4Y5MSKPJ":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"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":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M752SA3YYH5VVNVJ4Y5MSKPJ","establish-a-loop",null,"Produce LOOP_\u003CYYYY-MM-DD>_\u003Cslug>.md — a real runnable repro\u002Fverify runbook from user logs or prose. Expands to precise CLI\u002FURL ops, builds workspace tools, runs steps 1–4 for real, records SYMPTOM CONFIRMED or VERIFY PASS. Pair with run-the-loop for fixes. Use for \u002Festablish-a-loop, \"establish a loop\", or \"create a debug loop\".","xhd2015\u002Fagent-pro","xhd2015","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F14964938?v=4","01M752R5K679TBRT2X43X9RYCR","01M752R5MBCWS6252YZW22Y49W",1,"MIT","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Festablish-a-loop\u002Frun\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: establish-a-loop\ndescription: >-\n  Produce LOOP_\u003CYYYY-MM-DD>_\u003Cslug>.md — a real runnable repro\u002Fverify runbook from\n  user logs or prose. Expands to precise CLI\u002FURL ops, builds workspace tools,\n  runs steps 1–4 for real, records SYMPTOM CONFIRMED or VERIFY PASS. Pair with\n  run-the-loop for fixes. Use for \u002Festablish-a-loop, \"establish a loop\", or\n  \"create a debug loop\".\n---\n\nDeliverable: `LOOP_\u003CYYYY-MM-DD>_\u003Cslug>.md`. **Pairing:** after Phase 4, hand off to\n`run-the-loop` for code\u002Fenv fixes until GREEN (LOOP step 4b).\n\n# When to use\n\n- User pastes logs or prose steps and needs a repeatable repro\u002Fverify runbook\n- Verification spans build, deploy, run, inspect (local or remote)\n- **Not** when a LOOP doc already exists and the task is fix-only → `run-the-loop`\n\n# Loop kinds\n\n| Kind | Inspect in steps 1–4 | Establishment complete |\n|------|----------------------|------------------------|\n| **bug-repro** (default on log paste) | Symptom present (RED) | **SYMPTOM CONFIRMED** |\n| **health-check** | Healthy state (GREEN) | **VERIFY PASS** |\n| **regression** | Symptom then absent post-adjust | **SYMPTOM CONFIRMED** → **VERIFY PASS** |\n\n# LOOP doc steps (reference)\n\n```\nBuild → Deploy → Run → Inspect → Adjust (documented; code\u002Fenv only in step 5)\n  ▲___________________________________________|\n```\n\nSteps 1–4 run **for real** (not simulated). Details: `references\u002FLOOP-template.md`.\n\n# Phases\n\n| Phase | Name |\n|-------|------|\n| 1 | Plan |\n| 2 | Write LOOP |\n| 3 | Run establishment |\n| 4 | Handoff |\n\n## Phase 1 — Plan\n\n1. **Classify** kind, pick kebab **slug**, note verification surface.\n2. **Expand to operations** (always): copy user paste → **User input (verbatim)**;\n   derive **Derived operations** (exact CLI\u002F`curl`\u002F`playwright-debug` URL per row);\n   list **Workspace tools** for any `.\u002Fcmd\u002F*` used (Build + Deploy — never `which` alone).\n3. **Audit** prerequisites (non-destructive). BLOCKER → document in Pitfalls; no fixes.\n4. **If** symptom vague or step-4 criteria unclear: minimal real trigger, save evidence\n   under `script\u002Fdebug\u002F\u003Cslug>\u002Fout\u002Fobservation\u002F`, add **Observation notes**.\n\nBug-repro\u002Fregression: do not mkdir\u002Fconfig\u002Finstall to change the symptom during planning.\n\n## Phase 2 — Write LOOP\n\nCreate file at resolved path (see template for path rules and all sections):\n\n```\ndoc\u002FLOOP_\u003Cdate>_\u003Cslug>.md  → else docs\u002F → else docs\u002Floops\u002F (mkdir -p)\n```\n\n- Command blocks in steps 1–4 must match **Derived operations**.\n- Steps 1–5: Build (workspace tools), Deploy, Run (trigger only), Inspect, Adjust\n  (instrument | code | env — document only for bug-repro code\u002Fenv).\n- Aux repro: `script\u002Fdebug\u002F\u003Cslug>\u002F` via `go run`; `REPRO:` + non-zero on unfixed system.\n- Every step: fenced `sh` + **Verify** line.\n\n## Phase 3 — Run establishment\n\nExecute LOOP steps **1–4 for real**. Append **Run log** rows with evidence.\n\n1. Bug-repro\u002Fregression: steps 1–4 **without** step 5 code\u002Fenv adjust.\n2. Set `establishment_status` when gate met (see loop kinds table).\n3. Regression: apply step 5 code\u002Fenv adjust, re-run 3→4b, then **VERIFY PASS**.\n\n**If step 4 fails:** update Derived ops \u002F inspect criteria; **or** instrument-only\nAdjust (`LOOP_DEBUG:` logs), rebuild, **repeat Phase 3**. No code\u002Fenv fix for bug-repro\nestablishment — that is `run-the-loop`.\n\n| Status | Meaning |\n|--------|---------|\n| **SYMPTOM CONFIRMED** | User's failure reproduced on command |\n| **VERIFY PASS** | Healthy \u002F fixed per step 4b |\n| **BLOCKED** | Prerequisite missing |\n\n## Phase 4 — Handoff\n\nTighten LOOP (timeouts, cleanup, idempotency). Report: path, kind, status, aux scripts.\n\n- **SYMPTOM CONFIRMED** → `\u002Frun-the-loop \u003Cfix goal>` using step **4b** as GREEN gate.\n- **VERIFY PASS** (health-check) → close or monitor.\n\n# Anti-patterns\n\n- Code\u002Fenv adjust during bug-repro establishment (before SYMPTOM CONFIRMED)\n- Remedies in Run (step 3) that belong in Adjust (step 5)\n- GREEN-only inspect for a reported bug\n- Loosening inspect assertions to force a gate\n- Prose commands (\"open the app\") without derived URL\u002FCLI\n- `which` for workspace CLIs when `.\u002Fcmd\u002F\u003Ctool>` exists\n- Skipping the real establishment run\n- Go code inside LOOP markdown\n- Treating SYMPTOM CONFIRMED as \"fixed\"\n\n# Quick start\n\n```\n\u002Festablish-a-loop \u003Clogs, prose steps, or what to verify>\n```","Deliverable: `LOOP_\u003CYYYY-MM-DD>_\u003Cslug>.md`. **Pairing:** after Phase 4, hand off to\n`run-the-loop` for code\u002Fenv fixes until GREEN (LOOP step 4b).\n\n# When to use\n\n- User pastes logs or prose steps and needs a repeatable repro\u002Fverify runbook\n- Verification spans build, deploy, run, inspect (local or remote)\n- **Not** when a LOOP doc already exists and the task is fix-only → `run-the-loop`\n\n# Loop kinds\n\n| Kind | Inspect in steps 1–4 | Establishment complete |\n|------|----------------------|------------------------|\n| **bug-repro** (default on log paste) | Symptom present (RED) | **SYMPTOM CONFIRMED** |\n| **health-check** | Healthy state (GREEN) | **VERIFY PASS** |\n| **regression** | Symptom then absent post-adjust | **SYMPTOM CONFIRMED** → **VERIFY PASS** |\n\n# LOOP doc steps (reference)\n\n```\nBuild → Deploy → Run → Inspect → Adjust (documented; code\u002Fenv only in step 5)\n  ▲___________________________________________|\n```\n\nSteps 1–4 run **for real** (not simulated). Details: `references\u002FLOOP-template.md`.\n\n# Phases\n\n| Phase | Name |\n|-------|------|\n| 1 | Plan |\n| 2 | Write LOOP |\n| 3 | Run establishment |\n| 4 | Handoff |\n\n## Phase 1 — Plan\n\n1. **Classify** kind, pick kebab **slug**, note verification surface.\n2. **Expand to operations** (always): copy user paste → **User input (verbatim)**;\n   derive **Derived operations** (exact CLI\u002F`curl`\u002F`playwright-debug` URL per row);\n   list **Workspace tools** for any `.\u002Fcmd\u002F*` used (Build + Deploy — never `which` alone).\n3. **Audit** prerequisites (non-destructive). BLOCKER → document in Pitfalls; no fixes.\n4. **If** symptom vague or step-4 criteria unclear: minimal real trigger, save evidence\n   under `script\u002Fdebug\u002F\u003Cslug>\u002Fout\u002Fobservation\u002F`, add **Observation notes**.\n\nBug-repro\u002Fregression: do not mkdir\u002Fconfig\u002Finstall to change the symptom during planning.\n\n## Phase 2 — Write LOOP\n\nCreate file at resolved path (see template for path rules and all sections):\n\n```\ndoc\u002FLOOP_\u003Cdate>_\u003Cslug>.md  → else docs\u002F → else docs\u002Floops\u002F (mkdir -p)\n```\n\n- Command blocks in steps 1–4 must match **Derived operations**.\n- Steps 1–5: Build (workspace tools), Deploy, Run (trigger only), Inspect, Adjust\n  (instrument | code | env — document only for bug-repro code\u002Fenv).\n- Aux repro: `script\u002Fdebug\u002F\u003Cslug>\u002F` via `go run`; `REPRO:` + non-zero on unfixed system.\n- Every step: fenced `sh` + **Verify** line.\n\n## Phase 3 — Run establishment\n\nExecute LOOP steps **1–4 for real**. Append **Run log** rows with evidence.\n\n1. Bug-repro\u002Fregression: steps 1–4 **without** step 5 code\u002Fenv adjust.\n2. Set `establishment_status` when gate met (see loop kinds table).\n3. Regression: apply step 5 code\u002Fenv adjust, re-run 3→4b, then **VERIFY PASS**.\n\n**If step 4 fails:** update Derived ops \u002F inspect criteria; **or** instrument-only\nAdjust (`LOOP_DEBUG:` logs), rebuild, **repeat Phase 3**. No code\u002Fenv fix for bug-repro\nestablishment — that is `run-the-loop`.\n\n| Status | Meaning |\n|--------|---------|\n| **SYMPTOM CONFIRMED** | User's failure reproduced on command |\n| **VERIFY PASS** | Healthy \u002F fixed per step 4b |\n| **BLOCKED** | Prerequisite missing |\n\n## Phase 4 — Handoff\n\nTighten LOOP (timeouts, cleanup, idempotency). Report: path, kind, status, aux scripts.\n\n- **SYMPTOM CONFIRMED** → `\u002Frun-the-loop \u003Cfix goal>` using step **4b** as GREEN gate.\n- **VERIFY PASS** (health-check) → close or monitor.\n\n# Anti-patterns\n\n- Code\u002Fenv adjust during bug-repro establishment (before SYMPTOM CONFIRMED)\n- Remedies in Run (step 3) that belong in Adjust (step 5)\n- GREEN-only inspect for a reported bug\n- Loosening inspect assertions to force a gate\n- Prose commands (\"open the app\") without derived URL\u002FCLI\n- `which` for workspace CLIs when `.\u002Fcmd\u002F\u003Ctool>` exists\n- Skipping the real establishment run\n- Go code inside LOOP markdown\n- Treating SYMPTOM CONFIRMED as \"fixed\"\n\n# Quick start\n\n```\n\u002Festablish-a-loop \u003Clogs, prose steps, or what to verify>\n```",{"name":5,"description":7},"master","d5d5361083d4adf0dd8a15272123af778b38117a","agents\u002Festablish-a-loop\u002Frun",0,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro","https:\u002F\u002Fgithub.com\u002Fxhd2015","https:\u002F\u002Fblog.xhd2015.xyz","@Harbin Institute of Technology","2026-11-12 07:05:51",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add xhd2015\u002Fagent-pro --skill establish-a-loop",{"tool":38,"command":39},"bunx","bunx skills add xhd2015\u002Fagent-pro --skill establish-a-loop",{"tool":41,"command":42},"pnpm","pnpm dlx skills add xhd2015\u002Fagent-pro --skill establish-a-loop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Festablish-a-loop\u002Frun\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"establish_a_loop.go","SCRIPT","脚本",71,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Festablish-a-loop\u002Frun\u002Festablish_a_loop.go",[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":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M752V7X3HGMWGCPSWMG498TY","verify-with-prototype","Prototype-before-production workflow for risky host integrations (sudo, privileges, system config). Use when a feature touches the real OS, when behavior must be proven with a small script before full implementation, or when the user mentions prototype verification, POC script, or verify-with-prototype. Run after investigate\u002Ffollowup and before doctest-TDD integration.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fverify-with-prototype\u002Frun\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M752V363XA61Q2PSVS0W9M3H","verify-on-behalf-of-user","Run human-style scenario verification after an agent claims work is done: git status, build into ~\u002F.sandbox\u002Fbin (default sandbox mode) or opt-in host mode (outside sandbox: wrk --reinstall-local \u002F change-scoped install), real integration\u002FE2E scenarios (start servers, browser-agent for UI), always-labeled depth, markdown transcript written and inlined for review. Use for \"verify on my behalf\", before commit. Complements doctests; does not replace them. Load a sub-topic with: agent-pro skill --show verify-on-behalf-of-user\u002F\u003Ctopic>","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fverify-on-behalf-of-user\u002Frun\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M752TVN3Y9ZMKW52A8MKZ3QP","test-case-tree-design-expert","Use when the user wants a decision-tree style test case design with inherited setup and per-leaf assertions.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftest-case-tree-design-expert\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M752TSECEXD80J650BC6YXMY","test-case-design-expert","Use when the user wants comprehensive user-facing end-to-end test scenarios for a feature description.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftest-case-design-expert\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M752TQB00WQJ9475GF0JVEGY","tdd-expert","Use when the user has a test-case-tree output and wants runnable Go tests plus stub implementation following Test-Driven Development.","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Ftdd-expert\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M752TGQ1905Y0FTCTQPMJTA7","summarize-a-skill","Meta-skill: distill durable high-signal guidance (worked vs failed, wrong → correct, and anything else that quickens future similar tasks) into a brief reusable skill document with YAML frontmatter. When the user does not explicitly ask for a new skill\u002Ffile, prefer updating an existing skill over creating one. Writes skills\u002F\u003Cname>\u002FSKILL.md (or docs|doc\u002Fskills\u002F…). Use for \u002Fsummarize-a-skill, \"summarize what worked\", \"lessons learned into a skill\", or \"write a skill from this session\".","https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Fsummarize-a-skill\u002Frun\u002FSKILL.md",[],[]]