[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78EXK4ZPNX0XB3Q22VHERFC":3,"skill-same:01M78EXK4ZPNX0XB3Q22VHERFC":47},{"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},"01M78EXK4ZPNX0XB3Q22VHERFC","test-first",null,"Drive meaningful behaviour changes with the smallest useful failing test.","fiq\u002Fagentic-team-project-template","fiq","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F236293?v=4","01M78EQGW3HF88E3HBN7HZ5JG1","Raf Gemmail","01M78EQGWP2B0TZD7T3A5Y3GBF",1,"MIT","https:\u002F\u002Fgithub.com\u002Ffiq\u002Fagentic-team-project-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow\u002Ftest-first\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: test-first\ndescription: Drive meaningful behaviour changes with the smallest useful failing test.\n---\n\n# Test-first Workflow\n\n```\nbehaviour -> smallest failing test -> minimal implementation\n  -> test passes -> refactor if useful -> increase fidelity for remaining risk\n```\n\nAsk:\n\n1. What behaviour are we proving?\n2. What is the cheapest test that can fail for the right reason?\n3. Which integration semantics remain untested?\n4. Is a real dependency cheap enough to use?\n5. What added fidelity buys real confidence?\n\nDo not force theatre when work is exploratory or test cost exceeds learning.\n\n## Structure: Arrange-Act-Assert\n\nEvery test has three visible parts, in order:\n\n- **Arrange** — build the starting state from a real fixture: a\n  setup\u002Fteardown method, a fixture function, or a factory. Never reuse\n  another test's shared mutable state (a module-level object, a leftover\n  database row, a file another test wrote) — that is what makes tests\n  order-dependent and flaky.\n- **Act** — exercise exactly one behaviour.\n- **Assert** — check the specific outcome the test names, not incidental\n  side effects.\n\nA test whose arrange step is copy-pasted setup with no isolation, or that\nsilently depends on a previous test having run first, is not arranged — it\nis coupled.\n\n## FIRST\n\n| | Property | Means |\n|---|---|---|\n| F | Fast | runs in the feedback loop a developer actually uses, not just CI |\n| I | Independent | no ordering dependency, no shared fixture state between tests |\n| R | Repeatable | deterministic — no unseeded randomness, wall clock or live network |\n| S | Self-validating | pass\u002Ffail is programmatic; no reading log output to decide |\n| T | Timely | written with the behaviour it guards, not backfilled long after |\n\nA suite that only passes in file order, or that needs a human to eyeball\noutput, has failed FIRST even if every assertion is individually correct.\n","# Test-first Workflow\n\n```\nbehaviour -> smallest failing test -> minimal implementation\n  -> test passes -> refactor if useful -> increase fidelity for remaining risk\n```\n\nAsk:\n\n1. What behaviour are we proving?\n2. What is the cheapest test that can fail for the right reason?\n3. Which integration semantics remain untested?\n4. Is a real dependency cheap enough to use?\n5. What added fidelity buys real confidence?\n\nDo not force theatre when work is exploratory or test cost exceeds learning.\n\n## Structure: Arrange-Act-Assert\n\nEvery test has three visible parts, in order:\n\n- **Arrange** — build the starting state from a real fixture: a\n  setup\u002Fteardown method, a fixture function, or a factory. Never reuse\n  another test's shared mutable state (a module-level object, a leftover\n  database row, a file another test wrote) — that is what makes tests\n  order-dependent and flaky.\n- **Act** — exercise exactly one behaviour.\n- **Assert** — check the specific outcome the test names, not incidental\n  side effects.\n\nA test whose arrange step is copy-pasted setup with no isolation, or that\nsilently depends on a previous test having run first, is not arranged — it\nis coupled.\n\n## FIRST\n\n| | Property | Means |\n|---|---|---|\n| F | Fast | runs in the feedback loop a developer actually uses, not just CI |\n| I | Independent | no ordering dependency, no shared fixture state between tests |\n| R | Repeatable | deterministic — no unseeded randomness, wall clock or live network |\n| S | Self-validating | pass\u002Ffail is programmatic; no reading log output to decide |\n| T | Timely | written with the behaviour it guards, not backfilled long after |\n\nA suite that only passes in file order, or that needs a human to eyeball\noutput, has failed FIRST even if every assertion is individually correct.\n",{"name":5,"description":7},"main","2e1386f0fc9bb51c8c3d036fd957ad9701d5af2c",".agents\u002Fskills\u002Fworkflow\u002Ftest-first",0,"https:\u002F\u002Fgithub.com\u002Ffiq\u002Fagentic-team-project-template","https:\u002F\u002Fgithub.com\u002Ffiq","www.dreamthought.com","See also: github.com\u002Fdreamthought","2026-08-08 12:58:37",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add fiq\u002Fagentic-team-project-template --skill test-first",{"tool":39,"command":40},"bunx","bunx skills add fiq\u002Fagentic-team-project-template --skill test-first",{"tool":42,"command":43},"pnpm","pnpm dlx skills add fiq\u002Fagentic-team-project-template --skill test-first","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffiq\u002Fagentic-team-project-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow\u002Ftest-first\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M78EXRP339RTZPMP632VZ3JA","agentic-template","Start or continue work in this repository using the canonical AGENTS.md contract and repository skill catalog.","https:\u002F\u002Fgithub.com\u002Ffiq\u002Fagentic-team-project-template\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fagentic-template\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M78EXP4HZ9D8DFS7D89VGAXA","wiki-tidy","Reconcile the wiki against the knowledge graph, specs and code; prune stale, keep links resolving.","https:\u002F\u002Fgithub.com\u002Ffiq\u002Fagentic-team-project-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow\u002Fwiki-tidy\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M78EXMFDW9KBC49PZ7V1QTGX","update-handoff","Update HANDOFF.toon with current semantic work state.","https:\u002F\u002Fgithub.com\u002Ffiq\u002Fagentic-team-project-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow\u002Fupdate-handoff\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M78EXJ12X1SETV8V88Z38DSQ","test-change","Select and run tests that prove a change at suitable fidelity.","https:\u002F\u002Fgithub.com\u002Ffiq\u002Fagentic-team-project-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow\u002Ftest-change\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"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},"01M78EXGS493XYQ98Q0ZKV242P","specify","Create proportional OpenSpec-shaped structured change proposals for meaningful changes.","https:\u002F\u002Fgithub.com\u002Ffiq\u002Fagentic-team-project-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow\u002Fspecify\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},"01M78EXEQ9SAQPT8MWCS9R2A5N","review-loop","Bounded clean-up review for boy-scout, code and architectural smells and inappropriate coupling.","https:\u002F\u002Fgithub.com\u002Ffiq\u002Fagentic-team-project-template\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow\u002Freview-loop\u002FSKILL.md",[],[]]