[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M752T5J67B20E8PA3J2GNKJB":3,"skill-same:01M752T5J67B20E8PA3J2GNKJB":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},"01M752T5J67B20E8PA3J2GNKJB","run-the-loop",null,"Fix until done: goal + inspect script under script\u002Fdebug\u002F, then iterate implement → inspect until PASS. Use after establish-a-loop or standalone for \u002Frun-the-loop, \"loop until done\", \"max effort\", \"don't stop until\".","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\u002Frun-the-loop\u002Frun\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: run-the-loop\ndescription: >-\n  Fix until done: goal + inspect script under script\u002Fdebug\u002F, then iterate\n  implement → inspect until PASS. Use after establish-a-loop or standalone for\n  \u002Frun-the-loop, \"loop until done\", \"max effort\", \"don't stop until\".\n---\n\nIterate until an inspect script proves the goal. **Pairing:** if `LOOP_*.md` exists,\nread it in Phase 1 — reuse Build\u002FDeploy\u002FDerived ops and use step **4b** (or invert\nstep 4 `REPRO:`) as the GREEN spec.\n\n# When to use\n\n- Fix\u002Fimplement until a measurable goal is achieved\n- User wants persistent verify-and-fix cycles with evidence\n- **After** `establish-a-loop` when SYMPTOM CONFIRMED and step 4b defines GREEN\n\n# Phases\n\n| Phase | Name |\n|-------|------|\n| 1 | Goal |\n| 2 | Inspect script |\n| 3 | Fix loop |\n| 4 | Complete |\n\n## Phase 1 — Goal\n\n1. Restate goal in one sentence; call `update_goal` with progress message.\n2. **If** `doc\u002FLOOP_*.md` (or `docs\u002F`) exists for this task: read Derived operations,\n   Workspace tools, step 4b — fold into goal and GREEN criteria.\n3. **If** blocking unknowns: ask ≤5 concrete questions (one message); else proceed.\n4. Pick inspect path: `script\u002Fdebug\u002F\u003Cgoal>\u002Fmain.go` (kebab-case).\n\n## Phase 2 — Inspect script\n\nSingle source of truth for \"done.\" See `references\u002Finspect-script-template.go`.\n\n| Requirement | Detail |\n|-------------|--------|\n| Runnable | `go run .\u002Fscript\u002Fdebug\u002F\u003Cpath>` from repo root |\n| Exit 0 | Goal met; non-zero = not met |\n| Output | `PASS:` or `FAIL:` in result block |\n| Evidence | Artifacts under `...\u002Fout\u002F` |\n| Surfaces | UI → `playwright-debug`; API → `curl`; CLI → `os\u002Fexec`; CI → `gh run view` |\n\n1. Write `main.go` for GREEN criteria.\n2. Run it — expect **FAIL** initially (RED). Fix script until failure is actionable.\n3. Gate: agent-readable FAIL output before Phase 3.\n\n## Phase 3 — Fix loop\n\n```\nImplement → go run .\u002Fscript\u002Fdebug\u002F\u003Cpath> → exit 0?\n                ↑ no: analyze FAIL, hypothesize, repeat\n```\n\nRules:\n\n- Run inspect after every meaningful change; cite `PASS:`\u002F`FAIL:` in progress.\n- Root cause before workaround (`sound-fix` when unsure).\n- Run affected tests when touching production code.\n- `update_goal(message=...)` each iteration.\n- **If** same failure 3×: add `LOOP_DEBUG:` logs, then continue.\n\nStop only when: inspect exits 0 and output matches goal → `update_goal(completed=true)`.\nOr: `blocked_reason=...` after one user question (missing creds \u002F 5× same error).\n\n**Never** stop on \"should work\", eyeballing, or tests green without re-running inspect.\n\n## Phase 4 — Complete\n\nSummarize goal, iterations, key fix, inspect path. Paste final PASS output (abbreviated).\nList `out\u002F` artifacts. Keep inspect script for regression.\n\n# Anti-patterns\n\n- Skipping inspect or writing it after claiming success\n- `update_goal(completed=true)` without fresh inspect PASS\n- Stopping at `go test` when goal needs UI\u002FCI inspect\n- Ask-wait-ask clarification loops\n- Deleting inspect script after success\n\n# Quick start\n\n```\n\u002Frun-the-loop \u003Cfix goal; optional: verify via screenshot, CI workflow name, etc.>\n```","Iterate until an inspect script proves the goal. **Pairing:** if `LOOP_*.md` exists,\nread it in Phase 1 — reuse Build\u002FDeploy\u002FDerived ops and use step **4b** (or invert\nstep 4 `REPRO:`) as the GREEN spec.\n\n# When to use\n\n- Fix\u002Fimplement until a measurable goal is achieved\n- User wants persistent verify-and-fix cycles with evidence\n- **After** `establish-a-loop` when SYMPTOM CONFIRMED and step 4b defines GREEN\n\n# Phases\n\n| Phase | Name |\n|-------|------|\n| 1 | Goal |\n| 2 | Inspect script |\n| 3 | Fix loop |\n| 4 | Complete |\n\n## Phase 1 — Goal\n\n1. Restate goal in one sentence; call `update_goal` with progress message.\n2. **If** `doc\u002FLOOP_*.md` (or `docs\u002F`) exists for this task: read Derived operations,\n   Workspace tools, step 4b — fold into goal and GREEN criteria.\n3. **If** blocking unknowns: ask ≤5 concrete questions (one message); else proceed.\n4. Pick inspect path: `script\u002Fdebug\u002F\u003Cgoal>\u002Fmain.go` (kebab-case).\n\n## Phase 2 — Inspect script\n\nSingle source of truth for \"done.\" See `references\u002Finspect-script-template.go`.\n\n| Requirement | Detail |\n|-------------|--------|\n| Runnable | `go run .\u002Fscript\u002Fdebug\u002F\u003Cpath>` from repo root |\n| Exit 0 | Goal met; non-zero = not met |\n| Output | `PASS:` or `FAIL:` in result block |\n| Evidence | Artifacts under `...\u002Fout\u002F` |\n| Surfaces | UI → `playwright-debug`; API → `curl`; CLI → `os\u002Fexec`; CI → `gh run view` |\n\n1. Write `main.go` for GREEN criteria.\n2. Run it — expect **FAIL** initially (RED). Fix script until failure is actionable.\n3. Gate: agent-readable FAIL output before Phase 3.\n\n## Phase 3 — Fix loop\n\n```\nImplement → go run .\u002Fscript\u002Fdebug\u002F\u003Cpath> → exit 0?\n                ↑ no: analyze FAIL, hypothesize, repeat\n```\n\nRules:\n\n- Run inspect after every meaningful change; cite `PASS:`\u002F`FAIL:` in progress.\n- Root cause before workaround (`sound-fix` when unsure).\n- Run affected tests when touching production code.\n- `update_goal(message=...)` each iteration.\n- **If** same failure 3×: add `LOOP_DEBUG:` logs, then continue.\n\nStop only when: inspect exits 0 and output matches goal → `update_goal(completed=true)`.\nOr: `blocked_reason=...` after one user question (missing creds \u002F 5× same error).\n\n**Never** stop on \"should work\", eyeballing, or tests green without re-running inspect.\n\n## Phase 4 — Complete\n\nSummarize goal, iterations, key fix, inspect path. Paste final PASS output (abbreviated).\nList `out\u002F` artifacts. Keep inspect script for regression.\n\n# Anti-patterns\n\n- Skipping inspect or writing it after claiming success\n- `update_goal(completed=true)` without fresh inspect PASS\n- Stopping at `go test` when goal needs UI\u002FCI inspect\n- Ask-wait-ask clarification loops\n- Deleting inspect script after success\n\n# Quick start\n\n```\n\u002Frun-the-loop \u003Cfix goal; optional: verify via screenshot, CI workflow name, etc.>\n```",{"name":5,"description":7},"master","d5d5361083d4adf0dd8a15272123af778b38117a","agents\u002Frun-the-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 run-the-loop",{"tool":38,"command":39},"bunx","bunx skills add xhd2015\u002Fagent-pro --skill run-the-loop",{"tool":41,"command":42},"pnpm","pnpm dlx skills add xhd2015\u002Fagent-pro --skill run-the-loop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Frun-the-loop\u002Frun\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"run_the_loop.go","SCRIPT","脚本",71,"https:\u002F\u002Fgithub.com\u002Fxhd2015\u002Fagent-pro\u002Fblob\u002Fmaster\u002Fagents\u002Frun-the-loop\u002Frun\u002Frun_the_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",[],[]]