[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77WCJY8K3CS2APQMRA54E8A":3,"skill-same:01M77WCJY8K3CS2APQMRA54E8A":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77WCJY8K3CS2APQMRA54E8A","bug-repro-test-first",null,"Start bug work by proving the reported bug with a failing regression test before attempting a fix. Use when the user reports a bug, asks to fix a bug, or describes a regression, failing behavior, or reproduction case with a plausible test surface.","vana-com\u002Fvana-cli","vana-com","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F123112561?v=4","01M77WCAG7S42PDY7VTEVWXQD1","Vana","01M77WCAGV436KWGZWHNHZXGVH",2,"MIT","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbug-repro-test-first\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bug-repro-test-first\ndescription: Start bug work by proving the reported bug with a failing regression test before attempting a fix. Use when the user reports a bug, asks to fix a bug, or describes a regression, failing behavior, or reproduction case with a plausible test surface.\n---\n\n# Bug Repro Test First\n\nUse this when the user reports a bug or asks for a bug fix.\n\n## Source\n\nRead `references\u002Ftangming2005-test-first-bug-report.md` if you need the source note behind this workflow.\n\n## Rule\n\nDo not start by fixing the code.\n\nFirst write or adapt a test that fails for the reported bug. The test is the definition of the bug.\n\nIf there is no useful test surface, create the narrowest reproducible check available instead (a script under `scripts\u002F`, a curl against a local server, an e2e case), then state why a regression test was not practical before fixing production code.\n\n## Workflow\n\n1. Reproduce or inspect the failure enough to choose the narrowest useful test. Tests live under `test\u002F` mirroring `src\u002F` (`test\u002Fcli`, `test\u002Fcore`, `test\u002Fruntime`, `test\u002Fserver`, `test\u002Fconnectors`) and use Vitest, with `vi.stubGlobal(\"fetch\", mockFetch)` for HTTP and a temporary `VANA_HOME` for state.\n2. Add a failing test that captures the bug, preferably near existing coverage for the same behavior. Assert on the public contract (route status and body shape, exported function result, error code or class), not on log text or private helpers.\n3. Run that test and confirm it fails for the expected reason:\n\n   ```bash\n   pnpm test test\u002F\u003Carea>\u002F\u003Cfile>.test.ts\n   ```\n\n   No build is needed for unit tests. Tests that exercise the built CLI binary or the install lanes do need `pnpm build` first.\n\n4. Only then change production code.\n5. Run the same test and confirm it passes.\n6. Run the smallest relevant surrounding test\u002Fcheck slice, then the repo proof before handoff:\n\n   ```bash\n   pnpm validate\n   ```\n\n## Parallel Fixes\n\nIf the user explicitly asks for subagents or the active tool policy permits delegation for this task, spawn fix workers only after the failing test exists. Give each worker the failing test command and a disjoint write scope.\n\nIf delegation is not available or not appropriate, fix locally after proving the failing test.\n\n## Done\n\n- The bug has a regression test.\n- The regression test, or documented fallback check, failed before the fix.\n- The same test or check passes after the fix.\n- The final report names the test file and exact command run.\n","# Bug Repro Test First\n\nUse this when the user reports a bug or asks for a bug fix.\n\n## Source\n\nRead `references\u002Ftangming2005-test-first-bug-report.md` if you need the source note behind this workflow.\n\n## Rule\n\nDo not start by fixing the code.\n\nFirst write or adapt a test that fails for the reported bug. The test is the definition of the bug.\n\nIf there is no useful test surface, create the narrowest reproducible check available instead (a script under `scripts\u002F`, a curl against a local server, an e2e case), then state why a regression test was not practical before fixing production code.\n\n## Workflow\n\n1. Reproduce or inspect the failure enough to choose the narrowest useful test. Tests live under `test\u002F` mirroring `src\u002F` (`test\u002Fcli`, `test\u002Fcore`, `test\u002Fruntime`, `test\u002Fserver`, `test\u002Fconnectors`) and use Vitest, with `vi.stubGlobal(\"fetch\", mockFetch)` for HTTP and a temporary `VANA_HOME` for state.\n2. Add a failing test that captures the bug, preferably near existing coverage for the same behavior. Assert on the public contract (route status and body shape, exported function result, error code or class), not on log text or private helpers.\n3. Run that test and confirm it fails for the expected reason:\n\n   ```bash\n   pnpm test test\u002F\u003Carea>\u002F\u003Cfile>.test.ts\n   ```\n\n   No build is needed for unit tests. Tests that exercise the built CLI binary or the install lanes do need `pnpm build` first.\n\n4. Only then change production code.\n5. Run the same test and confirm it passes.\n6. Run the smallest relevant surrounding test\u002Fcheck slice, then the repo proof before handoff:\n\n   ```bash\n   pnpm validate\n   ```\n\n## Parallel Fixes\n\nIf the user explicitly asks for subagents or the active tool policy permits delegation for this task, spawn fix workers only after the failing test exists. Give each worker the failing test command and a disjoint write scope.\n\nIf delegation is not available or not appropriate, fix locally after proving the failing test.\n\n## Done\n\n- The bug has a regression test.\n- The regression test, or documented fallback check, failed before the fix.\n- The same test or check passes after the fix.\n- The final report names the test file and exact command run.\n",{"name":5,"description":7},"main","a55d0a0006da6a743b6452796435afa6ed177dd8",".agents\u002Fskills\u002Fbug-repro-test-first",0,"https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli","https:\u002F\u002Fgithub.com\u002Fvana-com","https:\u002F\u002Fvana.org","The first open protocol for data sovereignty.","2026-11-13 18:19:18",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add vana-com\u002Fvana-cli --skill bug-repro-test-first",{"tool":39,"command":40},"bunx","bunx skills add vana-com\u002Fvana-cli --skill bug-repro-test-first",{"tool":42,"command":43},"pnpm","pnpm dlx skills add vana-com\u002Fvana-cli --skill bug-repro-test-first","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbug-repro-test-first\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Ftangming2005-test-first-bug-report.md","REFERENCE","参考文档",588,"https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbug-repro-test-first\u002Freferences\u002Ftangming2005-test-first-bug-report.md",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7BD5YJ16KD0X3M379XA2A4A","verify-setup-resume","Verify BUI-936 setup\u002Fresume identities, funding readiness and overlapping resumes. Use when changing app request, test-credit transport or the request journal. Runs bounded TLA+ checks and offline real-code replays without live funding or paid reads.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-setup-resume\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7BD5V2155AM7W1PWRBY237Y","verify-server-supervision","Verify the local Personal Server stop and restart boundary. Use when changing the supervisor's backoff, port probing, replacement launch or Stop handling.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-server-supervision\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7BD5PPVKFVVGS9B846B99ES","verify-paid-read-recovery","Verify interrupted and overlapping CLI paid reads, receipt-file writers and dead-owner recovery. Use when changing src\u002Fcli\u002Fapp\u002Fread.ts, src\u002Fcore\u002Freceipts.ts or src\u002Fcore\u002Freceipts-lock.ts. Runs TLA+ models and offline real-code replays without live paid reads.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-paid-read-recovery\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7BD5JDEGV165NFZJWSWJBN4","verify-mainnet-registration","Verify mainnet app registration and Account association recovery. Use for the registration journal, gateway confirmation, retry, or ownership check.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-mainnet-registration\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7BD5ETK33JAD1F1XQXGPYYG","verify-hosted-provisioning","Verify hosted Personal Server resource ownership across create and delete. Use for Connect's server API, provisioning-row updates, or deprovisioning admission.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-hosted-provisioning\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7BD5BBKFHJ86JFBE8KT1S78","verify-export-settlement","Verify queued export owner binding and generation settlement. Use for result publication, pending upload receipts, or retry and sync changes.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-export-settlement\u002FSKILL.md",[],[]]