[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DF6YVZ83HZPW0QB0BPNRY7":3,"skill-same:01M7DF6YVZ83HZPW0QB0BPNRY7":51},{"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":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7DF6YVZ83HZPW0QB0BPNRY7","regression-testing",null,"Write a test that reproduces a defect, fails before its fix and passes after it at the lowest useful level. Use when fixing a bug or turning a confirmed incident or reproduction into a permanent regression guard.","andersonmrodrigues\u002Fpaved","andersonmrodrigues","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13907380?v=4","01M7DEV3FP2VMQZ3FP2FP1TK1C","Anderson Rodrigues","01M7DEV3GC2QAQBW4FMNT98H48",1,"MIT","https:\u002F\u002Fgithub.com\u002Fandersonmrodrigues\u002Fpaved\u002Fblob\u002Fmain\u002Fplugins\u002Fpaved\u002Fruntime\u002Fpaved-core\u002Fcore\u002Fskills\u002Ftesting\u002Fregression-testing\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: regression-testing\ndescription: >-\n  Write a test that reproduces a defect, fails before its fix and passes after it at the lowest useful level. Use when fixing a bug or turning a confirmed incident or reproduction into a permanent regression guard.\n---\n\n# Regression testing\n\n## When to use\n\nAfter `root-cause-analysis` produced a reproduction, and before the fix is written.\n\n## Required context\n\nThe reproduction, the tests near the affected code, and the verification profile (to\nknow how to run a single test).\n\n## Preconditions\n\nThe cause is known well enough to assert the correct behavior.\n\n## Procedure\n\n1. **Choose the lowest level** that reproduces the bug and write the test with that\n   level's skill: `unit-testing` if the cause is local, `integration-testing` if it\n   lives in the interaction between components, `e2e-testing` only if nothing lower\n   captures it.\n2. **Name the test after the behavior**, not after the ticket.\n3. **Run it against the unfixed code** and confirm it **fails for the right reason**\n   (the assertion about the bug, not a setup error). Record that failure.\n4. **After the fix**, run it again, confirm it passes, then run the surrounding suite.\n\n## Tools\n\nNone. The targeted test command comes from the verification profile.\n\n## Rules\n\n`core.testing.regression-test-for-bug-fix` is this skill's contract.\n\n## Verification\n\nRequired: `unit`. Recommended: `integration` or `e2e` when the test lives at that level;\nwhen it does, record the `unit` requirement as a gap naming the level used.\n\n## Evidence\n\nA check result for the new test whose summary states it failed before the fix, and a\ncheck result for the surrounding suite.\n\n## Completion criteria\n\n- The test failed before the fix for the reason the bug describes.\n- The test passes after the fix, and the surrounding suite passes.\n\n## Failure modes\n\n| Failure | Signal | Response |\n|---|---|---|\n| Test passes before the fix | It does not reproduce the bug | Rework the test before fixing anything |\n| Fails for the wrong reason | Setup or fixture error before the assertion | Fix the test setup |\n| Too high level | Slow or flaky end-to-end test for a local defect | Move the test down a level |\n\n## References\n\nNone.\n","# Regression testing\n\n## When to use\n\nAfter `root-cause-analysis` produced a reproduction, and before the fix is written.\n\n## Required context\n\nThe reproduction, the tests near the affected code, and the verification profile (to\nknow how to run a single test).\n\n## Preconditions\n\nThe cause is known well enough to assert the correct behavior.\n\n## Procedure\n\n1. **Choose the lowest level** that reproduces the bug and write the test with that\n   level's skill: `unit-testing` if the cause is local, `integration-testing` if it\n   lives in the interaction between components, `e2e-testing` only if nothing lower\n   captures it.\n2. **Name the test after the behavior**, not after the ticket.\n3. **Run it against the unfixed code** and confirm it **fails for the right reason**\n   (the assertion about the bug, not a setup error). Record that failure.\n4. **After the fix**, run it again, confirm it passes, then run the surrounding suite.\n\n## Tools\n\nNone. The targeted test command comes from the verification profile.\n\n## Rules\n\n`core.testing.regression-test-for-bug-fix` is this skill's contract.\n\n## Verification\n\nRequired: `unit`. Recommended: `integration` or `e2e` when the test lives at that level;\nwhen it does, record the `unit` requirement as a gap naming the level used.\n\n## Evidence\n\nA check result for the new test whose summary states it failed before the fix, and a\ncheck result for the surrounding suite.\n\n## Completion criteria\n\n- The test failed before the fix for the reason the bug describes.\n- The test passes after the fix, and the surrounding suite passes.\n\n## Failure modes\n\n| Failure | Signal | Response |\n|---|---|---|\n| Test passes before the fix | It does not reproduce the bug | Rework the test before fixing anything |\n| Fails for the wrong reason | Setup or fixture error before the assertion | Fix the test setup |\n| Too high level | Slow or flaky end-to-end test for a local defect | Move the test down a level |\n\n## References\n\nNone.\n",{"name":5,"description":7},"main","1cd80f05aff924ea609012e864fa5c22c16c7d2d","plugins\u002Fpaved\u002Fruntime\u002Fpaved-core\u002Fcore\u002Fskills\u002Ftesting\u002Fregression-testing",0,"https:\u002F\u002Fgithub.com\u002Fandersonmrodrigues\u002Fpaved","https:\u002F\u002Fgithub.com\u002Fandersonmrodrigues","2026-11-14 20:09:28",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add andersonmrodrigues\u002Fpaved --skill regression-testing",{"tool":37,"command":38},"bunx","bunx skills add andersonmrodrigues\u002Fpaved --skill regression-testing",{"tool":40,"command":41},"pnpm","pnpm dlx skills add andersonmrodrigues\u002Fpaved --skill regression-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fandersonmrodrigues\u002Fpaved\u002Fblob\u002Fmain\u002Fplugins\u002Fpaved\u002Fruntime\u002Fpaved-core\u002Fcore\u002Fskills\u002Ftesting\u002Fregression-testing\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"skill.yaml","REFERENCE","参考文档",440,"https:\u002F\u002Fgithub.com\u002Fandersonmrodrigues\u002Fpaved\u002Fblob\u002Fmain\u002Fplugins\u002Fpaved\u002Fruntime\u002Fpaved-core\u002Fcore\u002Fskills\u002Ftesting\u002Fregression-testing\u002Fskill.yaml",[52,59,65,71,77,83],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7DFBWJT4T1MPBHTWT19PBEK","sample-skill","Does a sample task. Use when a sample is needed.","https:\u002F\u002Fgithub.com\u002Fandersonmrodrigues\u002Fpaved\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fvalid\u002Fsample-skill\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7DFBS6WTK30PBSW4ZS0NPWT","unexplained-contract","https:\u002F\u002Fgithub.com\u002Fandersonmrodrigues\u002Fpaved\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Finvalid\u002Funexplained-contract\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7DFBPJGG170V9WTMFWY73R4","shell-block","https:\u002F\u002Fgithub.com\u002Fandersonmrodrigues\u002Fpaved\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Finvalid\u002Fshell-block\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7DFBMZYR20JPTXNE5A8EFG6","project-identifier","https:\u002F\u002Fgithub.com\u002Fandersonmrodrigues\u002Fpaved\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Finvalid\u002Fproject-identifier\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7DFBJ8J533DAKA3FTF54SX3","oversized","https:\u002F\u002Fgithub.com\u002Fandersonmrodrigues\u002Fpaved\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Finvalid\u002Foversized\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7DFBFAD0RYCRHTZ2JW4RX7E","no-activation","Does a sample task.","https:\u002F\u002Fgithub.com\u002Fandersonmrodrigues\u002Fpaved\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Finvalid\u002Fno-activation\u002FSKILL.md",[],[]]