[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADZQBR04XQE3FSBP27BND9":3,"skill-same:01M7ADZQBR04XQE3FSBP27BND9":71},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M7ADZQBR04XQE3FSBP27BND9","testing",null,"Use when implementing any feature or bugfix and a test-driven approach is appropriate (red-green-refactor, seams-first), or when the user asks to find testing gaps, mutation test, or identify surviving mutants. Unit and integration tests only; browser journeys go to e2e-testing, test infrastructure to observability-quality, completion claims to gates.","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: testing\ndescription: Use when implementing any feature or bugfix and a test-driven approach is appropriate (red-green-refactor, seams-first), or when the user asks to find testing gaps, mutation test, or identify surviving mutants. Unit and integration tests only; browser journeys go to e2e-testing, test infrastructure to observability-quality, completion claims to gates.\ntriggers: [user, model]\n---\n\n# Testing\n\nTwo modes; full detail in `modes\u002F\u003Cmode>.md`. Reference:\n`reference\u002Fwriting-good-tests.md`, `reference\u002Fmocking.md`,\n`reference\u002Ftests.md`.\n\n| Mode | When | Detail |\n|---|---|---|\n| **TDD** | Implementing a feature\u002Fbugfix test-first | `modes\u002Ftdd.md` |\n| **Mutation** | Finding coverage gaps via surviving mutants | `modes\u002Fmutation.md` |\n\nSuite-scale assembly\u002Faudit (a suite derived from an explicit edge\ninventory, not intuition): use `skills\u002Fedge-coverage`.\n\n## TDD — the contract\n\n```\nRED → verify RED → GREEN → verify GREEN → REFLECT → REFACTOR\n```\n\n**Iron law: NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST.** Code written\nbefore the test gets deleted — not kept, not adapted. Verify RED fails for\nthe expected reason (feature missing, not a typo). REFLECT: could a wrong\nimplementation pass? Then the test is too weak — rewrite before continuing.\n\nSeams-first: agree WHERE to test (public interface, highest seam) before\nwriting tests; the iron law enforces HOW. Refactoring → characterization\ntests first. Bug fix → failing test reproducing the bug at the right seam.\nThrowaway prototype → confirm with user, then skip.\n\n## Mutation testing — essentials\n\nA mutant = small deliberate change mimicking a realistic bug. Killed = tests\nfail (good). Survives = tests pass → coverage gap.\n\nPriority targets: security\u002Fauth checks, control-flow inversions, validation\nremoval, state\u002Fconstant alteration, swallowed errors. Bias toward survivors:\nboundary conditions, error paths, recently changed code.\n\nNever mutate: test code\u002Fhelpers\u002Ffakes, logging-only blocks, generated\u002Fvendored\ncode. Verify each mutant compiles\u002Floads; report killed vs survived with the\nmutations that exposed gaps.\n","# Testing\n\nTwo modes; full detail in `modes\u002F\u003Cmode>.md`. Reference:\n`reference\u002Fwriting-good-tests.md`, `reference\u002Fmocking.md`,\n`reference\u002Ftests.md`.\n\n| Mode | When | Detail |\n|---|---|---|\n| **TDD** | Implementing a feature\u002Fbugfix test-first | `modes\u002Ftdd.md` |\n| **Mutation** | Finding coverage gaps via surviving mutants | `modes\u002Fmutation.md` |\n\nSuite-scale assembly\u002Faudit (a suite derived from an explicit edge\ninventory, not intuition): use `skills\u002Fedge-coverage`.\n\n## TDD — the contract\n\n```\nRED → verify RED → GREEN → verify GREEN → REFLECT → REFACTOR\n```\n\n**Iron law: NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST.** Code written\nbefore the test gets deleted — not kept, not adapted. Verify RED fails for\nthe expected reason (feature missing, not a typo). REFLECT: could a wrong\nimplementation pass? Then the test is too weak — rewrite before continuing.\n\nSeams-first: agree WHERE to test (public interface, highest seam) before\nwriting tests; the iron law enforces HOW. Refactoring → characterization\ntests first. Bug fix → failing test reproducing the bug at the right seam.\nThrowaway prototype → confirm with user, then skip.\n\n## Mutation testing — essentials\n\nA mutant = small deliberate change mimicking a realistic bug. Killed = tests\nfail (good). Survives = tests pass → coverage gap.\n\nPriority targets: security\u002Fauth checks, control-flow inversions, validation\nremoval, state\u002Fconstant alteration, swallowed errors. Bias toward survivors:\nboundary conditions, error paths, recently changed code.\n\nNever mutate: test code\u002Fhelpers\u002Ffakes, logging-only blocks, generated\u002Fvendored\ncode. Verify each mutant compiles\u002Floads; report killed vs survived with the\nmutations that exposed gaps.\n",{"name":5,"triggers":24,"description":7},[25,26],"user","model","main","02b95ddb62959a00b3c31442c2046aca0d19563c","skills\u002Ftesting",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill testing",{"tool":41,"command":42},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill testing",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002FSKILL.md",true,[49,55,59,63,67],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"modes\u002Fmutation.md","REFERENCE","参考文档",6224,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002Fmodes\u002Fmutation.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"modes\u002Ftdd.md",11756,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002Fmodes\u002Ftdd.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"reference\u002Fmocking.md",1481,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002Freference\u002Fmocking.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"reference\u002Ftests.md",2214,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002Freference\u002Ftests.md",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"reference\u002Fwriting-good-tests.md",8257,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002Freference\u002Fwriting-good-tests.md",[72,79,86,93,100,107],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":108,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]