[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D01AJNH8AWAQC7FDAMRQ4N":3,"skill-same:01M7D01AJNH8AWAQC7FDAMRQ4N":50},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7D01AJNH8AWAQC7FDAMRQ4N","concurrency",null,"Decide whether code should be concurrent, reason about a concurrent design by its timelines, separate shared state before serializing it, and make an operation converge when a crash, a restart or a retry runs it twice, an idempotency key derived from the intent and claimed atomically. Use when adding threading, async, goroutines, workers or parallelism; when a race or an ordering bug appears; when two actors may write the same file, key or branch; and when a command, a step or a loop must survive crashes, restarts and retries.","fern-works\u002Fgreenline","fern-works","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F330252531?v=4","01M7CZ6VNSYC4MB0XZS6BWJRX3","fernworks","01M7CZ6VPZYZWBPRG404SRBNA9",0,"MIT","https:\u002F\u002Fgithub.com\u002Ffern-works\u002Fgreenline\u002Fblob\u002Fmain\u002Ftest\u002Fgoldens\u002Fcorpus\u002Fdot-claude\u002Fskills\u002Fconcurrency\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"concurrency\"\ndescription: \"Decide whether code should be concurrent, reason about a concurrent design by its timelines, separate shared state before serializing it, and make an operation converge when a crash, a restart or a retry runs it twice, an idempotency key derived from the intent and claimed atomically. Use when adding threading, async, goroutines, workers or parallelism; when a race or an ordering bug appears; when two actors may write the same file, key or branch; and when a command, a step or a loop must survive crashes, restarts and retries.\"\n---\n\n# Concurrency\n\nconcurrency is the habit for the moment code is made concurrent or a race or an ordering bug appears, two actors may write the same state, or an operation must survive a crash, a restart or a retry, at whatever step the work is in, most often build. It writes no record of its own. Concurrency is a floor in AGENTS.md: found before the mode is proposed, it raises the proposal to the mode that floor names, and found later it is reported. Sections 1 to 5 reason about concurrent code; section 6 makes an operation that may run twice converge.\n\nThree questions in order: whether concurrency is warranted, how to\nreason about the design, and which laws hold whatever the runtime is\ncalled. The last two are wasted on a program that failed the first.\n\n## 1. Decide, and the default is no\n\nThe burden of proof rests on the concurrency, never on the serial\nversion: three languages agree that \"this shiny feature\" is where the\ndanger sits (Latour), that many tasks do not need it (Matthews), and\nthat short work loses to the cost of moving values (Bodner).\n\n**Three properties qualify a workload, all of them:** parts doing I\u002FO\nwithout interacting, a place where results combine, and a deadline\nthat is a number. For I\u002FO, interleaving pays only where waiting\nexceeds processing, and splitting a saturated resource degrades.\nReason in orders of magnitude, and benchmark only where the order is\ngenuinely unknown. **Decide up front,** since the choice is\narchitectural and dearest after the second consumer. **Write it\nserially first, then benchmark both ways,** with the serial version as\nthe control: one author's own benchmark refuted his own parallel tool,\ncheap arithmetic running longer in parallel (Matthews).\n\n## 2. The instrument: draw the timelines\n\nOne author's method (Normand): section 1 has three witnesses, while\nsections 2, 3 and 5 have one, and rung three of section 3 a second,\nprinciple-separate-before-serializing-shared-state.\n\nA timeline is a sequence of actions over time, and a diagram draws\nseveral side by side, which makes interference visible. Actions in\norder share a timeline; actions that can run at once or out of order\ngo on separate ones. Calculations are left off, since their results\ndo not depend on when they run, which keeps the diagram usably small.\nThree steps, and their order defends against drawing the diagram you\nalready believe: identify the actions, draw each on a new timeline\nonly where it can run in parallel, then simplify by platform\nguarantees. Draw before the code, redraw from zero after a change.\n\n**Count the orderings and prune them; do not trace them all.** Two\nsingle-action timelines admit three orderings, two three-box timelines\nwith one constrained start admit ten, and real systems generate\nthousands or millions. Tracing them all is impossible at realistic\nsizes, and that is the pivot: correctness comes from a structural\nguarantee that deletes orderings, never from green runs that may never\nsee the interleaving a production week will.\n\n**Only pairs touching the same resource need analysis.** Annotate\nevery step with the resource it touches, then for each pair that\nshares one check all three relative orders: simultaneous, left first,\nright first. Decompose before you draw: an increment on a shared value\nis a read, a calculation, and a write, and one box hides the race the\npair analysis exists to find. Explicit temporaries make it visible.\n\n**Duration is never synchronisation:** the rare interleaving becomes\ncommon under load.\n\n## 3. The ladder\n\nRanked: earlier rungs remove the problem, later rungs manage it.\n\n1. **Fewer timelines,** often outside your control.\n2. **Shorter timelines,** by converting actions to calculations and\n   reading shared values once into explicit parameters.\n3. **Fewer shared resources,** preferring a single worker, which cuts\n   the orderings you must think about rather than the orderings.\n4. **Coordinate the sharing that remains** with a primitive.\n5. **Manipulate time as a first-class concept,** since a platform's\n   implicit model of ordering and repetition rarely fits.\n\n### Rung three: separate before you serialize\n\nWhen concurrent actors might share mutable state, first ask whether they need the same mutable object. If not, eliminate the sharing. When sharing is real, enforce serialization structurally: lockfiles, sequential phases, exclusive ownership. Instructions and conventions are not concurrency control.\n\n**Pattern:**\n1. **Identify shared mutable state** (files both read and write, branches both push to, APIs both define and consume).\n2. **Default: eliminate the shared write target.** Ask: do these actors need one canonical object, or are they publishing independent facts? Give each actor its own owned file, key, branch, or state directory, and merge only at the read\u002Freporting boundary. Two workers writing their own `lastX` field into one `state.json` is still shared mutation. `indexer-state.json` + `metrics-state.json` is not.\n3. **Only when one shared write target is a real invariant, serialize access structurally** (lockfiles, sequential phases, single-writer actor, or atomic compare-and-swap). Treat \"we need a lock\" as a design smell to check, not as the default answer.\n\n## 4. The laws that survive translation\n\n**Never block the scheduler, whatever it is called.** Blocking is\nholding the scheduler from switching tasks for a long period; I\u002FO\ncounts, and so does long-running compute. Two remedies and no third:\nrun it off the scheduler's own workers, or break it up with yield\npoints. Scheduler throughput is the shared resource nobody names.\n\n**Share by communicating where the language offers it.** \"Share\nmemory by communicating; do not communicate by sharing memory\" (the\nGo community, via Bodner). Legibility is the argument before safety:\na guarded value never says which worker owns it, while a passed value\nshows its flow. Convert passing to guarding only once it has caused a\nreal performance problem.\n\n**Bound everything unbounded.** Every queue, fan-out, and wait\ncarries a ceiling that is a number a person chose for a reason they\ncan say. Where only the latest result matters it may discard stale\nentries, correct only where discarded work has no independent\neffect.\n\n**Whoever starts a unit of concurrency decides at the launch site how\nit stops.** Above leak-hygiene sits the method claim: an unterminated\ntimeline never closes, so no cut across it, the line splitting\ntimelines into halves that cannot interleave, holds, and its orderings\nnever leave the set.\n\n## 5. Primitives, a vocabulary of shapes\n\nA primitive lets timelines share a resource safely, and the mechanism\nis always the same one: it removes undesirable orderings from the\nset. **Linearize** lets one instance of a timeline run at a time, and\nis the name to teach: the queue is the implementation, the guarantee\nis the point. **The cut** runs across the ends of several timelines,\nsplitting each into halves that cannot interleave.\n\nA primitive is an action, deliberately. It holds mutable state,\ndefended rather than hidden: any timeline may call it and get\npredictable behaviour from state closed where nothing outside\nreaches it. What is built from calculations is what it coordinates,\nrung two. **Use the primitive your language or platform ships,**\nsince hand-built shapes teach the reasoning, not the library, and are\nsafe only on the single-threaded platform they were written for.\n\n## 6. Operations that run twice\n\nDesign operations so they converge to the correct state regardless of how many times they run or where they start from. Every state-mutating operation should answer: \"What happens if this runs twice? What happens if the previous run crashed halfway?\"\n\n**The pattern:**\n- Convergent startup: scan for existing state, clean stale artifacts, adopt live sessions\n- Content-based cleanup: compare by content equivalence, not creation order\n- Idempotent scheduling: failed work respawns cleanly, fresh input regenerated after each cycle\n\n**The test:**\n1. What happens if this runs twice in a row?\n2. What happens if the previous run crashed at every possible point?\n3. Does re-execution converge to the same end state?\n\nIf any answer is \"it depends on what state was left behind,\" the operation needs a reconciliation step.\n\nWhere a caller retries a request against your service, the request carries an idempotency key, and [idempotency-key.md](idempotency-key.md) says how to honour it: derived from the intent, claimed atomically, its payload guarded, the intent recorded before the effect, and kept as long as the longest retry chain.\n\n## Sources\n\nNormand, _Grokking Simplicity_, is the sole witness behind sections 2 and 5 and\nthe ladder of section 3, whose third rung also takes pstack's\nprinciple-separate-before-serializing-shared-state; section 6 is pstack's\nprinciple-make-operations-idempotent and addyosmani's api-and-interface-design.\nOther sources: Bodner, _Learning Go_ (3e early release, revisit April 2027);\nLatour, _Go Pocket Projects_; Matthews, _Code Like a Pro in Rust_.\nThe maintainer's graded research records are provenance, not required installed\nsupport files. The complete method above is available here.\n","# Concurrency\n\nconcurrency is the habit for the moment code is made concurrent or a race or an ordering bug appears, two actors may write the same state, or an operation must survive a crash, a restart or a retry, at whatever step the work is in, most often build. It writes no record of its own. Concurrency is a floor in AGENTS.md: found before the mode is proposed, it raises the proposal to the mode that floor names, and found later it is reported. Sections 1 to 5 reason about concurrent code; section 6 makes an operation that may run twice converge.\n\nThree questions in order: whether concurrency is warranted, how to\nreason about the design, and which laws hold whatever the runtime is\ncalled. The last two are wasted on a program that failed the first.\n\n## 1. Decide, and the default is no\n\nThe burden of proof rests on the concurrency, never on the serial\nversion: three languages agree that \"this shiny feature\" is where the\ndanger sits (Latour), that many tasks do not need it (Matthews), and\nthat short work loses to the cost of moving values (Bodner).\n\n**Three properties qualify a workload, all of them:** parts doing I\u002FO\nwithout interacting, a place where results combine, and a deadline\nthat is a number. For I\u002FO, interleaving pays only where waiting\nexceeds processing, and splitting a saturated resource degrades.\nReason in orders of magnitude, and benchmark only where the order is\ngenuinely unknown. **Decide up front,** since the choice is\narchitectural and dearest after the second consumer. **Write it\nserially first, then benchmark both ways,** with the serial version as\nthe control: one author's own benchmark refuted his own parallel tool,\ncheap arithmetic running longer in parallel (Matthews).\n\n## 2. The instrument: draw the timelines\n\nOne author's method (Normand): section 1 has three witnesses, while\nsections 2, 3 and 5 have one, and rung three of section 3 a second,\nprinciple-separate-before-serializing-shared-state.\n\nA timeline is a sequence of actions over time, and a diagram draws\nseveral side by side, which makes interference visible. Actions in\norder share a timeline; actions that can run at once or out of order\ngo on separate ones. Calculations are left off, since their results\ndo not depend on when they run, which keeps the diagram usably small.\nThree steps, and their order defends against drawing the diagram you\nalready believe: identify the actions, draw each on a new timeline\nonly where it can run in parallel, then simplify by platform\nguarantees. Draw before the code, redraw from zero after a change.\n\n**Count the orderings and prune them; do not trace them all.** Two\nsingle-action timelines admit three orderings, two three-box timelines\nwith one constrained start admit ten, and real systems generate\nthousands or millions. Tracing them all is impossible at realistic\nsizes, and that is the pivot: correctness comes from a structural\nguarantee that deletes orderings, never from green runs that may never\nsee the interleaving a production week will.\n\n**Only pairs touching the same resource need analysis.** Annotate\nevery step with the resource it touches, then for each pair that\nshares one check all three relative orders: simultaneous, left first,\nright first. Decompose before you draw: an increment on a shared value\nis a read, a calculation, and a write, and one box hides the race the\npair analysis exists to find. Explicit temporaries make it visible.\n\n**Duration is never synchronisation:** the rare interleaving becomes\ncommon under load.\n\n## 3. The ladder\n\nRanked: earlier rungs remove the problem, later rungs manage it.\n\n1. **Fewer timelines,** often outside your control.\n2. **Shorter timelines,** by converting actions to calculations and\n   reading shared values once into explicit parameters.\n3. **Fewer shared resources,** preferring a single worker, which cuts\n   the orderings you must think about rather than the orderings.\n4. **Coordinate the sharing that remains** with a primitive.\n5. **Manipulate time as a first-class concept,** since a platform's\n   implicit model of ordering and repetition rarely fits.\n\n### Rung three: separate before you serialize\n\nWhen concurrent actors might share mutable state, first ask whether they need the same mutable object. If not, eliminate the sharing. When sharing is real, enforce serialization structurally: lockfiles, sequential phases, exclusive ownership. Instructions and conventions are not concurrency control.\n\n**Pattern:**\n1. **Identify shared mutable state** (files both read and write, branches both push to, APIs both define and consume).\n2. **Default: eliminate the shared write target.** Ask: do these actors need one canonical object, or are they publishing independent facts? Give each actor its own owned file, key, branch, or state directory, and merge only at the read\u002Freporting boundary. Two workers writing their own `lastX` field into one `state.json` is still shared mutation. `indexer-state.json` + `metrics-state.json` is not.\n3. **Only when one shared write target is a real invariant, serialize access structurally** (lockfiles, sequential phases, single-writer actor, or atomic compare-and-swap). Treat \"we need a lock\" as a design smell to check, not as the default answer.\n\n## 4. The laws that survive translation\n\n**Never block the scheduler, whatever it is called.** Blocking is\nholding the scheduler from switching tasks for a long period; I\u002FO\ncounts, and so does long-running compute. Two remedies and no third:\nrun it off the scheduler's own workers, or break it up with yield\npoints. Scheduler throughput is the shared resource nobody names.\n\n**Share by communicating where the language offers it.** \"Share\nmemory by communicating; do not communicate by sharing memory\" (the\nGo community, via Bodner). Legibility is the argument before safety:\na guarded value never says which worker owns it, while a passed value\nshows its flow. Convert passing to guarding only once it has caused a\nreal performance problem.\n\n**Bound everything unbounded.** Every queue, fan-out, and wait\ncarries a ceiling that is a number a person chose for a reason they\ncan say. Where only the latest result matters it may discard stale\nentries, correct only where discarded work has no independent\neffect.\n\n**Whoever starts a unit of concurrency decides at the launch site how\nit stops.** Above leak-hygiene sits the method claim: an unterminated\ntimeline never closes, so no cut across it, the line splitting\ntimelines into halves that cannot interleave, holds, and its orderings\nnever leave the set.\n\n## 5. Primitives, a vocabulary of shapes\n\nA primitive lets timelines share a resource safely, and the mechanism\nis always the same one: it removes undesirable orderings from the\nset. **Linearize** lets one instance of a timeline run at a time, and\nis the name to teach: the queue is the implementation, the guarantee\nis the point. **The cut** runs across the ends of several timelines,\nsplitting each into halves that cannot interleave.\n\nA primitive is an action, deliberately. It holds mutable state,\ndefended rather than hidden: any timeline may call it and get\npredictable behaviour from state closed where nothing outside\nreaches it. What is built from calculations is what it coordinates,\nrung two. **Use the primitive your language or platform ships,**\nsince hand-built shapes teach the reasoning, not the library, and are\nsafe only on the single-threaded platform they were written for.\n\n## 6. Operations that run twice\n\nDesign operations so they converge to the correct state regardless of how many times they run or where they start from. Every state-mutating operation should answer: \"What happens if this runs twice? What happens if the previous run crashed halfway?\"\n\n**The pattern:**\n- Convergent startup: scan for existing state, clean stale artifacts, adopt live sessions\n- Content-based cleanup: compare by content equivalence, not creation order\n- Idempotent scheduling: failed work respawns cleanly, fresh input regenerated after each cycle\n\n**The test:**\n1. What happens if this runs twice in a row?\n2. What happens if the previous run crashed at every possible point?\n3. Does re-execution converge to the same end state?\n\nIf any answer is \"it depends on what state was left behind,\" the operation needs a reconciliation step.\n\nWhere a caller retries a request against your service, the request carries an idempotency key, and [idempotency-key.md](idempotency-key.md) says how to honour it: derived from the intent, claimed atomically, its payload guarded, the intent recorded before the effect, and kept as long as the longest retry chain.\n\n## Sources\n\nNormand, _Grokking Simplicity_, is the sole witness behind sections 2 and 5 and\nthe ladder of section 3, whose third rung also takes pstack's\nprinciple-separate-before-serializing-shared-state; section 6 is pstack's\nprinciple-make-operations-idempotent and addyosmani's api-and-interface-design.\nOther sources: Bodner, _Learning Go_ (3e early release, revisit April 2027);\nLatour, _Go Pocket Projects_; Matthews, _Code Like a Pro in Rust_.\nThe maintainer's graded research records are provenance, not required installed\nsupport files. The complete method above is available here.\n",{"name":5,"description":7},"main","c4a6bc27da835d109348b8708301821838e98db2","test\u002Fgoldens\u002Fcorpus\u002Fdot-claude\u002Fskills\u002Fconcurrency","https:\u002F\u002Fgithub.com\u002Ffern-works\u002Fgreenline","https:\u002F\u002Fgithub.com\u002Ffern-works","2026-10-21 15:51:59",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add fern-works\u002Fgreenline --skill concurrency",{"tool":36,"command":37},"bunx","bunx skills add fern-works\u002Fgreenline --skill concurrency",{"tool":39,"command":40},"pnpm","pnpm dlx skills add fern-works\u002Fgreenline --skill concurrency","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffern-works\u002Fgreenline\u002Fblob\u002Fmain\u002Ftest\u002Fgoldens\u002Fcorpus\u002Fdot-claude\u002Fskills\u002Fconcurrency\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"idempotency-key.md","REFERENCE","参考文档",3125,"https:\u002F\u002Fgithub.com\u002Ffern-works\u002Fgreenline\u002Fblob\u002Fmain\u002Ftest\u002Fgoldens\u002Fcorpus\u002Fdot-claude\u002Fskills\u002Fconcurrency\u002Fidempotency-key.md",[51,58,63,70,77,84],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7D04ARSVW93Y1EGVM7HQQR8","use-garden","Consulting garden, the separately installed guidance command this repository's owner enabled, when an open engineering choice the repository does not settle, made in a change or only recommended, would be informed by published guidance. Use for a choice between approaches, a pattern or pitfall for a technology or concern the work touches, or a unit a repository decision names; not for a question about this repository's own facts or a change whose choices are already settled.","https:\u002F\u002Fgithub.com\u002Ffern-works\u002Fgreenline\u002Fblob\u002Fmain\u002Ftest\u002Fgoldens\u002Fgarden-enabled\u002Fdot-claude\u002Fskills\u002Fuse-garden\u002FSKILL.md",[],[],{"skillNo":59,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7D045RXH0SEYZKHHW2YD0FQ","https:\u002F\u002Fgithub.com\u002Ffern-works\u002Fgreenline\u002Fblob\u002Fmain\u002Ftest\u002Fgoldens\u002Fgarden-enabled\u002Fdot-agents\u002Fskills\u002Fuse-garden\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7D03ZXQHBP1RASSRHH5DX7S","what-to-build","Propose what this product could do next at three altitudes: sharpen a shipped slice, extend one, or open ground the product does not stand on yet. Use for 'what should we build next', 'any ideas for this app', 'what's missing', 'is this done or is there more in it', and quick-win hunts. Not for refactors, which belong to the architecture survey.","https:\u002F\u002Fgithub.com\u002Ffern-works\u002Fgreenline\u002Fblob\u002Fmain\u002Ftest\u002Fgoldens\u002Fcorpus\u002Fdot-claude\u002Fskills\u002Fwhat-to-build\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"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},"01M7D03WVYR3NN0N0CTN51RWBV","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets in a plan directory's map.md, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002Ffern-works\u002Fgreenline\u002Fblob\u002Fmain\u002Ftest\u002Fgoldens\u002Fcorpus\u002Fdot-claude\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7D03R6MAHHKQ42E5NBRHSF6","verify","Prove a change's claims with fresh evidence: restate each item of its acceptance so it can fail, capture a baseline and a treatment with the same command, compare the raw artifacts, and return VERIFIED, NOT VERIFIED or INCONCLUSIVE for each, at the depth the change's mode gives the verify step. Use when the mode reaches verify, or when the owner says \"verify this\", \"prove it works\" or \"did this fix it\".","https:\u002F\u002Fgithub.com\u002Ffern-works\u002Fgreenline\u002Fblob\u002Fmain\u002Ftest\u002Fgoldens\u002Fcorpus\u002Fdot-claude\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7D03JYGW4945FSJV6CDE2K9","tdd","Test-first development at any step: discover the repository's own test commands, name the break a test catches, watch it fail for the intended reason, make it pass with the smallest change, and add a new test only where it catches a realistic failure the existing ones would miss. Use when writing or changing a test, building a feature or fixing a bug test-first, or deciding whether a change needs a new test; also on 'red-green-refactor' and integration tests.","https:\u002F\u002Fgithub.com\u002Ffern-works\u002Fgreenline\u002Fblob\u002Fmain\u002Ftest\u002Fgoldens\u002Fcorpus\u002Fdot-claude\u002Fskills\u002Ftdd\u002FSKILL.md",[],[]]