[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACCP3HAMTRVENVB5ZT9TX1":3,"skill-same:01M6ACCP3HAMTRVENVB5ZT9TX1":142},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":53,"linkOnly":54,"markdownContent":55,"markdownBody":56,"frontMatter":57,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":17,"updatedAt":67,"install":68,"resources":81},"01M6ACCP3HAMTRVENVB5ZT9TX1","write-reproducer","Bug复现程序编写","Write minimal, reliable bug reproducers (repros) for any project. Use when: (1) a bug report or issue needs a test that reliably demonstrates the failure, (2) converting a described failure scenario into runnable code, (3) minimizing an existing complex test to its essential trigger conditions. Covers the full repro workflow: failure characterization, scope selection, writing the repro, verifying it fails for the right reason, and minimizing to the smallest possible trigger.","为任何项目编写最小化、可靠的 bug 复现程序（repro）。使用时机：(1) bug 报告或 issue 需要一个能够可靠演示失败的测试；(2) 将描述的失败场景转换为可运行代码；(3) 将现有复杂测试最小化为必要的触发条件。涵盖完整的复现工作流：失败特征化、范围选择、编写复现程序、验证其因正确的原因失败，以及最小化到尽可能小的触发条件。","apache\u002Fcassandra","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACBT70F584W658X9T70A5M",10153,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"write reproducer","reproducer","write","bug","when","for","scope","trigger","scenario","essential","full","project","selection","issue","writing","minimal","repro","report","code","bug report","test","workflow","2026-11-10 10:12:30",false,"---\nname: write-reproducer\nversion: \"1.0.0\"\ndescription: \"Write minimal, reliable bug reproducers (repros) for any project. Use when: (1) a bug report or issue needs a test that reliably demonstrates the failure, (2) converting a described failure scenario into runnable code, (3) minimizing an existing complex test to its essential trigger conditions. Covers the full repro workflow: failure characterization, scope selection, writing the repro, verifying it fails for the right reason, and minimizing to the smallest possible trigger.\"\n---\n\n# Write Bug Reproducer\n\nYour goal is to turn a bug description into a minimal, self-contained, runnable reproduction that triggers a specific, machine-checkable failure criterion.\n\nA reproducer has three parts — keep them distinct in your head and in your code:\n\n- **Trigger**: the minimum input, state, schedule, or environment that causes the bug\n- **Harness**: how the trigger is executed (test runner, script, container, cluster test)\n- **Oracle**: the machine-checkable failure criterion (assertion, exit code, log pattern, invariant violation)\n\nFollow the five phases below in order. Do not skip ahead. Write the failure criterion before writing any repro code.\n\n## Phase 1: Understand and classify\n\nRestate the bug in one sentence: \"The bug is...\"\n\nClassify along three axes:\n\n- **Bug class**: crash, incorrect output, hang\u002Fdeadlock, race condition, assertion\u002Finvariant violation, performance regression, resource leak, serialization bug, consistency anomaly. See `references\u002Fbug-taxonomy.md` for the full taxonomy when classification is unclear.\n- **Scope**: pure function, module, single process, multiple processes, cluster.\n- **Determinism**: deterministic, flaky (state what makes it flaky), requires rare schedule or timing.\n\nIf the user gave only symptoms with no code, list the 2-4 most likely causes before proceeding. Do not pick one yet — write hypotheses, not conclusions.\n\nIf the user included code or pointed at a codebase, read the suspect region and identify the likely code path before moving on.\n\n## Phase 2: Define the failure criterion\n\nThis is the most important phase. Before writing any repro code, write out the oracle in one of these machine-checkable forms:\n\n- **Assertion with concrete values**: `assert expected == actual` with both spelled out\n- **Exit code**: `expected: 0, actual: 139 (SIGSEGV)`\n- **Regex against stdout\u002Fstderr**: exact string fragment to match\n- **Log grep**: file and pattern\n- **Exception type and message fragment**: the specific error and location\n- **Linearizability\u002Fisolation check result**: checker verdict (e.g., linearizability violation, cycle detected)\n- **Invariant violation**: state the invariant in one line; state what breaks it\n\nRecord the failure criterion verbatim. It will be used in Phase 4 (to write the assertion) and Phase 5 (to prevent shrinking into a different bug).\n\nWithout an explicit oracle, shrinking can produce something that \"fails\" but not in the described way, and reviewers cannot tell whether the repro is successful.\n\n## Phase 3: Detect context and choose repro form\n\nInspect the working directory for build-system markers and prefer the project's existing test framework and conventions. Explore existing tests to understand helpers, fixtures, naming patterns, and how integration tests are structured.\n\nPick the lowest tier on the minimality lattice that can reliably exhibit the failure. See `references\u002Fminimality-lattice.md` for tier definitions and decision rules.\n\n- Tier 1: expression \u002F REPL snippet\n- Tier 2: single-file snippet with `main`\n- Tier 3: single test in the project's existing framework\n- Tier 4: multi-file project fixture\n- Tier 5: containerized environment + test script\n- Tier 6: ephemeral cluster\n- Tier 7: deterministic simulation\n\nWrite one sentence naming the tier and why, based on what you found in the project.\n\nFor concurrency bugs: `references\u002Fconcurrency.md`\nFor distributed-systems bugs: `references\u002Fdistributed-systems.md`\nFor invariant bugs where a property test is the natural form: `references\u002Fproperty-based-testing.md`\nFor bugs found by fuzzing or where a fuzz harness is the natural repro: `references\u002Ffuzzing.md`\n\n## Phase 4: Draft the repro\n\n### Structure\n\nLabel the three parts in comments:\n\n```\n\u002F\u002F TRIGGER: \u003Cwhat causes the bug>\n\u002F\u002F HARNESS: \u003Chow we run it>\n\u002F\u002F ORACLE:  \u003Cwhat we check>\n```\n\nUse the project's test framework and conventions. Match existing test style. Do not introduce a new framework unless the existing one cannot express the bug.\n\n### The pass-then-invert strategy\n\nFor subtle assertion bugs where the correct behavior is easy to state but the failing test is hard to get right, use **pass-then-invert**: first write a test that *passes* on the current buggy behavior (mirroring the observed wrong output in its assertions), then invert the assertions so they encode the *correct* expectation and therefore fail on the bug. This reduces hallucinated APIs and setup errors compared to writing a failing test directly.\n\nUse pass-then-invert when:\n- The bug produces a wrong value (not a crash or exception)\n- The correct expected value is known\n- Direct \"write a failing test\" attempts keep failing for setup reasons\n\nDo not use pass-then-invert when:\n- The bug is a crash, exception, or hang — just trigger it directly\n- The oracle is an absence check (no exception, no crash) — inversion doesn't apply\n\n### Verification before presenting\n\nThe repro must compile or parse cleanly. Resolve imports against the project's actual dependencies. Do not hallucinate APIs — if unsure of a method signature, read the library source or ask.\n\nIf execution is available, run the repro and confirm the failure criterion triggers. If not, trace through the code mentally and state your confidence level.\n\n### Generating multiple candidates\n\nWhen the bug is unclear or the first attempt fails, generate 2-5 candidate repro strategies:\n- Smallest direct unit test\n- Integration test if state\u002Fconfig matters\n- Standalone script if no test harness is obvious\n- Property-based test if the bug is about an invariant\n- Fuzz seed \u002F deterministic scenario for correctness bugs\n\nExecute each candidate with a timeout. Classify each result using `references\u002Ffailure-classification.md`. Refine until one produces an issue-relevant failure.\n\n### Documentation\n\nThe repro must include a comment or docstring stating:\n- Issue reference and one-line bug title\n- Expected (correct) behavior\n- Actual (buggy) behavior\n- Failure criterion (verbatim from Phase 2)\n\n## Phase 5: Shrink and validate\n\n### Validate first\n\nRun the repro (or trace through it mentally) and confirm:\n1. The failure criterion from Phase 2 triggers\n2. The failure is the *described* bug, not a test setup error\n3. The failure message matches what Phase 2 specified\n\nSee `references\u002Ffailure-classification.md` for how to classify test results and distinguish issue-relevant failures from setup errors.\n\n### Then shrink\n\nUse the subtraction method from `references\u002Fminimization.md`. Work through dimensions in order (cheapest first):\n1. Reduce infrastructure scale (instances, partitions, replication)\n2. Reduce data volume (items, size, batches)\n3. Remove non-default configuration\n4. Remove setup steps\n5. Replace real sleeps with controlled time or polling\n6. Simplify trigger sequence\n\nSee `references\u002Fshrinking-checklist.md` for the guardrail checklist.\n\n### Over-minimization guardrail\n\nAfter each shrinking step, re-check that the failure is still *the same failure* — same assertion, same exception type, same message fragment from Phase 2. If the failure changed, revert that step. This prevents shrinking into a different bug.\n\n### For nondeterministic bugs\n\nWrap the trigger in an N-iteration harness with a retry budget. Report the observed failure rate (e.g., \"fails 23\u002F1000 iterations\"). Do not use sleep-based synchronization — it makes tests flaky on different hardware. Prefer event-based scheduling, explicit synchronization primitives, or deterministic simulation.\n\nAlways print and record seeds for randomized tests so failing scenarios can be replayed.\n\n## Output\n\nAlways produce:\n\n1. **Repro file(s)** with `\u002F\u002F TRIGGER`, `\u002F\u002F HARNESS`, `\u002F\u002F ORACLE` comments. Correct file placement matching the project's test layout.\n2. **Status**: one of `REPRODUCED` \u002F `CANDIDATE` \u002F `BLOCKED`. See `references\u002Foutput-contract.md` for what each status means and requires.\n3. **Run command**: the exact command to execute the repro.\n4. **Failure summary**: \"This test should fail on the current code with: `\u003Cexpected failure message>`\"\n5. **For flaky bugs**: failure rate and seed.\n6. **For blocked repros**: what's missing, what was attempted, next best direction.\n\n## Hard rules\n\n- **Write the failure criterion before the repro code.** Without an explicit oracle, you cannot distinguish a successful repro from a coincidental failure. This is the single most common failure mode.\n\n- **Do not hallucinate APIs.** If unsure whether a method, class, or flag exists, read the source or ask. Hallucinated APIs are the most frequent reason LLM-generated repros fail to compile.\n\n- **Assert expected behavior, not current broken behavior.** The oracle encodes what *should* happen. The test fails because reality doesn't match.\n\n- **Do not shrink past the bug.** After every shrinking step, re-verify the failure matches Phase 2. See `references\u002Fshrinking-checklist.md`.\n\n- **Flaky repros must declare their flakiness.** A repro that reproduces 23\u002F1000 times must say so and wrap itself in a retry loop.\n\n- **Match the project's conventions.** Use the test framework, style, and helpers that already exist. Do not introduce a new framework unless the existing one cannot express the bug.\n\n- **Do not fix the bug.** Create tests\u002Fscripts\u002Fharnesses only. Do not edit production code unless explicitly asked.\n\n- **Do not use `:latest` image tags or unpinned dependency versions.** A repro is not reproducible if its dependencies drift.\n\n- **Do not confuse setup errors with reproduced bugs.** An error in test setup is not the same as the error caused by the bug. See `references\u002Ffailure-classification.md`.\n\n## When to escalate to higher tiers\n\nEscalate to Tier 5+ (containerized, cluster, deterministic simulation) when:\n\n- The bug involves two or more processes (client + server, replica + leader)\n- The bug requires a specific network condition (partition, delay, drop)\n- The bug requires clock skew or node failure scenarios\n- The bug is about isolation, linearizability, or consensus\n- The user mentions Cassandra, Kafka, or any distributed system\n\nFor these cases read `references\u002Fdistributed-systems.md` before drafting.\n\n## When to use a property-based test\n\nUse a property-based test when:\n\n- The bug is about an invariant (round-trip, idempotence, commutativity, ordering, bounded sums)\n- Shrinking comes for free in the property framework\n- You want the test to serve as a regression test with seed persistence\n\nSee `references\u002Fproperty-based-testing.md`.\n\n## When to use a fuzz harness\n\nUse a fuzz harness when:\n\n- The bug was originally found by fuzzing and a crashing input exists\n- The input is a byte stream or structured binary format\n- A single example fails but many nearby inputs are interesting for regression\n\nSee `references\u002Ffuzzing.md`.\n","# Write Bug Reproducer\n\nYour goal is to turn a bug description into a minimal, self-contained, runnable reproduction that triggers a specific, machine-checkable failure criterion.\n\nA reproducer has three parts — keep them distinct in your head and in your code:\n\n- **Trigger**: the minimum input, state, schedule, or environment that causes the bug\n- **Harness**: how the trigger is executed (test runner, script, container, cluster test)\n- **Oracle**: the machine-checkable failure criterion (assertion, exit code, log pattern, invariant violation)\n\nFollow the five phases below in order. Do not skip ahead. Write the failure criterion before writing any repro code.\n\n## Phase 1: Understand and classify\n\nRestate the bug in one sentence: \"The bug is...\"\n\nClassify along three axes:\n\n- **Bug class**: crash, incorrect output, hang\u002Fdeadlock, race condition, assertion\u002Finvariant violation, performance regression, resource leak, serialization bug, consistency anomaly. See `references\u002Fbug-taxonomy.md` for the full taxonomy when classification is unclear.\n- **Scope**: pure function, module, single process, multiple processes, cluster.\n- **Determinism**: deterministic, flaky (state what makes it flaky), requires rare schedule or timing.\n\nIf the user gave only symptoms with no code, list the 2-4 most likely causes before proceeding. Do not pick one yet — write hypotheses, not conclusions.\n\nIf the user included code or pointed at a codebase, read the suspect region and identify the likely code path before moving on.\n\n## Phase 2: Define the failure criterion\n\nThis is the most important phase. Before writing any repro code, write out the oracle in one of these machine-checkable forms:\n\n- **Assertion with concrete values**: `assert expected == actual` with both spelled out\n- **Exit code**: `expected: 0, actual: 139 (SIGSEGV)`\n- **Regex against stdout\u002Fstderr**: exact string fragment to match\n- **Log grep**: file and pattern\n- **Exception type and message fragment**: the specific error and location\n- **Linearizability\u002Fisolation check result**: checker verdict (e.g., linearizability violation, cycle detected)\n- **Invariant violation**: state the invariant in one line; state what breaks it\n\nRecord the failure criterion verbatim. It will be used in Phase 4 (to write the assertion) and Phase 5 (to prevent shrinking into a different bug).\n\nWithout an explicit oracle, shrinking can produce something that \"fails\" but not in the described way, and reviewers cannot tell whether the repro is successful.\n\n## Phase 3: Detect context and choose repro form\n\nInspect the working directory for build-system markers and prefer the project's existing test framework and conventions. Explore existing tests to understand helpers, fixtures, naming patterns, and how integration tests are structured.\n\nPick the lowest tier on the minimality lattice that can reliably exhibit the failure. See `references\u002Fminimality-lattice.md` for tier definitions and decision rules.\n\n- Tier 1: expression \u002F REPL snippet\n- Tier 2: single-file snippet with `main`\n- Tier 3: single test in the project's existing framework\n- Tier 4: multi-file project fixture\n- Tier 5: containerized environment + test script\n- Tier 6: ephemeral cluster\n- Tier 7: deterministic simulation\n\nWrite one sentence naming the tier and why, based on what you found in the project.\n\nFor concurrency bugs: `references\u002Fconcurrency.md`\nFor distributed-systems bugs: `references\u002Fdistributed-systems.md`\nFor invariant bugs where a property test is the natural form: `references\u002Fproperty-based-testing.md`\nFor bugs found by fuzzing or where a fuzz harness is the natural repro: `references\u002Ffuzzing.md`\n\n## Phase 4: Draft the repro\n\n### Structure\n\nLabel the three parts in comments:\n\n```\n\u002F\u002F TRIGGER: \u003Cwhat causes the bug>\n\u002F\u002F HARNESS: \u003Chow we run it>\n\u002F\u002F ORACLE:  \u003Cwhat we check>\n```\n\nUse the project's test framework and conventions. Match existing test style. Do not introduce a new framework unless the existing one cannot express the bug.\n\n### The pass-then-invert strategy\n\nFor subtle assertion bugs where the correct behavior is easy to state but the failing test is hard to get right, use **pass-then-invert**: first write a test that *passes* on the current buggy behavior (mirroring the observed wrong output in its assertions), then invert the assertions so they encode the *correct* expectation and therefore fail on the bug. This reduces hallucinated APIs and setup errors compared to writing a failing test directly.\n\nUse pass-then-invert when:\n- The bug produces a wrong value (not a crash or exception)\n- The correct expected value is known\n- Direct \"write a failing test\" attempts keep failing for setup reasons\n\nDo not use pass-then-invert when:\n- The bug is a crash, exception, or hang — just trigger it directly\n- The oracle is an absence check (no exception, no crash) — inversion doesn't apply\n\n### Verification before presenting\n\nThe repro must compile or parse cleanly. Resolve imports against the project's actual dependencies. Do not hallucinate APIs — if unsure of a method signature, read the library source or ask.\n\nIf execution is available, run the repro and confirm the failure criterion triggers. If not, trace through the code mentally and state your confidence level.\n\n### Generating multiple candidates\n\nWhen the bug is unclear or the first attempt fails, generate 2-5 candidate repro strategies:\n- Smallest direct unit test\n- Integration test if state\u002Fconfig matters\n- Standalone script if no test harness is obvious\n- Property-based test if the bug is about an invariant\n- Fuzz seed \u002F deterministic scenario for correctness bugs\n\nExecute each candidate with a timeout. Classify each result using `references\u002Ffailure-classification.md`. Refine until one produces an issue-relevant failure.\n\n### Documentation\n\nThe repro must include a comment or docstring stating:\n- Issue reference and one-line bug title\n- Expected (correct) behavior\n- Actual (buggy) behavior\n- Failure criterion (verbatim from Phase 2)\n\n## Phase 5: Shrink and validate\n\n### Validate first\n\nRun the repro (or trace through it mentally) and confirm:\n1. The failure criterion from Phase 2 triggers\n2. The failure is the *described* bug, not a test setup error\n3. The failure message matches what Phase 2 specified\n\nSee `references\u002Ffailure-classification.md` for how to classify test results and distinguish issue-relevant failures from setup errors.\n\n### Then shrink\n\nUse the subtraction method from `references\u002Fminimization.md`. Work through dimensions in order (cheapest first):\n1. Reduce infrastructure scale (instances, partitions, replication)\n2. Reduce data volume (items, size, batches)\n3. Remove non-default configuration\n4. Remove setup steps\n5. Replace real sleeps with controlled time or polling\n6. Simplify trigger sequence\n\nSee `references\u002Fshrinking-checklist.md` for the guardrail checklist.\n\n### Over-minimization guardrail\n\nAfter each shrinking step, re-check that the failure is still *the same failure* — same assertion, same exception type, same message fragment from Phase 2. If the failure changed, revert that step. This prevents shrinking into a different bug.\n\n### For nondeterministic bugs\n\nWrap the trigger in an N-iteration harness with a retry budget. Report the observed failure rate (e.g., \"fails 23\u002F1000 iterations\"). Do not use sleep-based synchronization — it makes tests flaky on different hardware. Prefer event-based scheduling, explicit synchronization primitives, or deterministic simulation.\n\nAlways print and record seeds for randomized tests so failing scenarios can be replayed.\n\n## Output\n\nAlways produce:\n\n1. **Repro file(s)** with `\u002F\u002F TRIGGER`, `\u002F\u002F HARNESS`, `\u002F\u002F ORACLE` comments. Correct file placement matching the project's test layout.\n2. **Status**: one of `REPRODUCED` \u002F `CANDIDATE` \u002F `BLOCKED`. See `references\u002Foutput-contract.md` for what each status means and requires.\n3. **Run command**: the exact command to execute the repro.\n4. **Failure summary**: \"This test should fail on the current code with: `\u003Cexpected failure message>`\"\n5. **For flaky bugs**: failure rate and seed.\n6. **For blocked repros**: what's missing, what was attempted, next best direction.\n\n## Hard rules\n\n- **Write the failure criterion before the repro code.** Without an explicit oracle, you cannot distinguish a successful repro from a coincidental failure. This is the single most common failure mode.\n\n- **Do not hallucinate APIs.** If unsure whether a method, class, or flag exists, read the source or ask. Hallucinated APIs are the most frequent reason LLM-generated repros fail to compile.\n\n- **Assert expected behavior, not current broken behavior.** The oracle encodes what *should* happen. The test fails because reality doesn't match.\n\n- **Do not shrink past the bug.** After every shrinking step, re-verify the failure matches Phase 2. See `references\u002Fshrinking-checklist.md`.\n\n- **Flaky repros must declare their flakiness.** A repro that reproduces 23\u002F1000 times must say so and wrap itself in a retry loop.\n\n- **Match the project's conventions.** Use the test framework, style, and helpers that already exist. Do not introduce a new framework unless the existing one cannot express the bug.\n\n- **Do not fix the bug.** Create tests\u002Fscripts\u002Fharnesses only. Do not edit production code unless explicitly asked.\n\n- **Do not use `:latest` image tags or unpinned dependency versions.** A repro is not reproducible if its dependencies drift.\n\n- **Do not confuse setup errors with reproduced bugs.** An error in test setup is not the same as the error caused by the bug. See `references\u002Ffailure-classification.md`.\n\n## When to escalate to higher tiers\n\nEscalate to Tier 5+ (containerized, cluster, deterministic simulation) when:\n\n- The bug involves two or more processes (client + server, replica + leader)\n- The bug requires a specific network condition (partition, delay, drop)\n- The bug requires clock skew or node failure scenarios\n- The bug is about isolation, linearizability, or consensus\n- The user mentions Cassandra, Kafka, or any distributed system\n\nFor these cases read `references\u002Fdistributed-systems.md` before drafting.\n\n## When to use a property-based test\n\nUse a property-based test when:\n\n- The bug is about an invariant (round-trip, idempotence, commutativity, ordering, bounded sums)\n- Shrinking comes for free in the property framework\n- You want the test to serve as a regression test with seed persistence\n\nSee `references\u002Fproperty-based-testing.md`.\n\n## When to use a fuzz harness\n\nUse a fuzz harness when:\n\n- The bug was originally found by fuzzing and a crashing input exists\n- The input is a byte stream or structured binary format\n- A single example fails but many nearby inputs are interesting for regression\n\nSee `references\u002Ffuzzing.md`.\n",{"name":5,"version":58,"description":7},"1.0.0","trunk","ae4e78c0ece616138963019388061efa4208f67a",".claude\u002Fskills\u002Fwrite-reproducer",4066,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra","https:\u002F\u002Fcassandra.apache.org\u002F","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-14 00:43:44",{"source":9,"skillName":5,"commands":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add apache\u002Fcassandra --skill write-reproducer",{"tool":74,"command":75},"bunx","bunx skills add apache\u002Fcassandra --skill write-reproducer",{"tool":77,"command":78},"pnpm","pnpm dlx skills add apache\u002Fcassandra --skill write-reproducer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002FSKILL.md",true,[82,88,92,96,100,104,108,112,116,120,124,128,134,138],{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fbug-taxonomy.md","REFERENCE","参考文档",5385,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Freferences\u002Fbug-taxonomy.md",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fconcurrency.md",5798,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Freferences\u002Fconcurrency.md",{"path":93,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fdistributed-systems.md",6300,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Freferences\u002Fdistributed-systems.md",{"path":97,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Ffailure-classification.md",4179,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Freferences\u002Ffailure-classification.md",{"path":101,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Ffuzzing.md",7039,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Freferences\u002Ffuzzing.md",{"path":105,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fminimality-lattice.md",4950,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Freferences\u002Fminimality-lattice.md",{"path":109,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fminimization.md",5530,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Freferences\u002Fminimization.md",{"path":113,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Foutput-contract.md",3689,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Freferences\u002Foutput-contract.md",{"path":117,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Fproperty-based-testing.md",4902,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Freferences\u002Fproperty-based-testing.md",{"path":121,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":122,"sourceHtmlUrl":123},"references\u002Fshrinking-checklist.md",3291,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Freferences\u002Fshrinking-checklist.md",{"path":125,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Ftest-patterns.md",6520,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Freferences\u002Ftest-patterns.md",{"path":129,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":132,"sourceHtmlUrl":133},"scripts\u002Fdetect_context.sh","SCRIPT","脚本",4389,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Fscripts\u002Fdetect_context.sh",{"path":135,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":136,"sourceHtmlUrl":137},"scripts\u002Fshrink_text.py",3746,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Fscripts\u002Fshrink_text.py",{"path":139,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":140,"sourceHtmlUrl":141},"scripts\u002Fvalidate_repro.sh",3061,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fwrite-reproducer\u002Fscripts\u002Fvalidate_repro.sh",[143,175,206,229,253,274],{"skillNo":144,"name":145,"nameZh":146,"description":147,"descriptionZh":148,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":155,"publishedAt":53},"01M6ACCJXC5SQSQ2K3APRC6GQV","tla-plus","TLA+形式化验证","Create, run, and verify TLA+ and PlusCal formal specifications. Use for modeling distributed systems, protocols, concurrent algorithms, state machines. Can compose specs from code, find divergences between spec and implementation, spot concurrency bugs and invariant violations. Use when asked to \"write a TLA+ spec\", \"model check\", \"verify protocol\", \"find race conditions\", or \"formal verification\".","创建、运行和验证 TLA+ 与 PlusCal 形式化规约。用于对分布式系统、协议、并发算法和状态机进行建模。可以从代码编写规约、发现规约与实现之间的分歧、识别并发 bug 和不变量违规。当用户要求“write a TLA+ spec”、“model check”、“verify protocol”、“find race conditions”或“formal verification”时使用。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Ftla-plus\u002FSKILL.md",[151,152],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":153,"categoryName":154,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[156,157,158,159,160,49,161,162,163,164,165,166,33,167,168,169,170,171,172,36,173,174,35],"tla plus","spec","distributed","create","run","state","protocol","verification","protocols","concurrency","model","use","compose","algorithms","modeling","state machines","TLA+","bugs","model check",{"skillNo":176,"name":177,"nameZh":178,"description":179,"descriptionZh":180,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":181,"categories":182,"keywords":185,"publishedAt":53},"01M6ACCF4FQX1PFWXEDHQ8YRF9","targeted-review","定向代码审查","Findings-driven targeted code review. Understands the patch via patch-explainer and surrounding code via codebase-analysis, then consults a catalog of bug patterns (~11 categories under references\u002Fcategories\u002F). Picks only categories whose diff-signals match the patch and items whose \"look for\" hints match actual code shapes, groups them by review focus (function\u002Ffile\u002Ffeature), and spawns parallel subagents — each with a tight scope and selective checklist. Use for medium-to-large patches (50-1000 LOC) as a focused alternative to whole-patch ensemble or whole-file deep review. Triggers on: \"review this patch\u002Fdiff\u002Fchange\", \"find bugs in this change\", \"scoped review\", \"what could go wrong here\", \"review using findings\", or proactive PR review.","发现驱动的定向代码审查。通过 patch-explainer 理解补丁，通过 codebase-analysis 理解周边代码，然后查阅 bug 模式目录（references\u002Fcategories\u002F 下约 11 个类别）。仅挑选 diff 信号与补丁匹配的类别，以及“look for”提示与实际代码形态匹配的条目，按审查重点（函数\u002F文件\u002F特性）分组，并生成并行子代理——每个子代理都有紧凑的范围和经过挑选的清单。适用于中大型补丁（50-1000 行代码），可作为整补丁集成式审查或整文件深度审查的聚焦替代方案。触发条件包括：“review this patch\u002Fdiff\u002Fchange”、“find bugs in this change”、“scoped review”、“what could go wrong here”、“review using findings”，或主动进行 PR 审查。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Ftargeted-review\u002FSKILL.md",[183,184],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":153,"categoryName":154,"taxonomyType":28,"taxonomyTypeDesc":29},[186,187,188,189,190,191,192,49,193,194,195,196,197,198,34,199,200,201,202,203,204,37,205],"review","targeted review","code review","go","change","pr review","pr","deep review","analysis","parallel","subagents","only","patch","references","patterns","focus","signals","deep","as","categories",{"skillNo":207,"name":208,"nameZh":209,"description":210,"descriptionZh":211,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":212,"categories":213,"keywords":216,"publishedAt":53},"01M6ACCCAA36RCWAA93YDDRBX8","shallow-review","快速并行代码审查","Shallow (quick) ensemble bug-finding review using 6 specialist agents in parallel. Each specialist reviews the same patch through a different lens: Logic & Types, Boundaries & I\u002FO, Concurrency & State, Resources & Serialization, Absence Analysis, and API Completeness. Findings are merged and deduplicated. Best for: quick first-pass review of patches, triage of diffs, broad surface-level bug scan. For deeper file-focused review with full pattern catalogs and codebase investigation, use the deep-review skill instead.","使用 6 个专家代理并行开展浅层（快速）集成式 bug 查找审查。每个专家通过不同视角审查同一补丁：逻辑与类型、边界与 I\u002FO、并发与状态、资源与序列化、缺失分析以及 API 完整性。发现的问题会被合并并去重。最适合：补丁的快速初审、diff 分诊、广泛的表层 bug 扫描。如需以文件为中心、包含完整模式目录和代码库调查的更深入审查，请改用 deep-review 技能。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fshallow-review\u002FSKILL.md",[214,215],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":153,"categoryName":154,"taxonomyType":28,"taxonomyTypeDesc":29},[186,217,218,219,161,165,194,220,195,198,34,221,222,223,203,41,224,225,226,227,228,36],"shallow review","diffs","triage","api","scan","deeper","pattern","resources","lens","types","quick","reviews",{"skillNo":230,"name":231,"nameZh":232,"description":233,"descriptionZh":234,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":235,"categories":236,"keywords":241,"publishedAt":53},"01M6ACC9R6QCJN390ERFPN8VA0","patch-explainer","代码补丁可视化解析","Deep code analysis with ASCII visualizations showing structure, flow, and state transitions. Use when analyzing patches\u002Fdiffs, explaining classes or subsystems, understanding code architecture, reviewing changes for inconsistencies, or when asked to visualize how code works. Provides before\u002Fafter diagrams, data\u002Fcontrol flow, concurrency analysis, assumptions, and failure modes. Triggers on explain this patch\u002Fcode\u002Fclass, how does X work, show me the flow, visualize this change, code review requests, or proactive analysis during PR reviews.","深度代码分析，通过 ASCII 可视化展示代码结构、流程和状态转换。适用于分析补丁\u002Fdiff、解释类或子系统、理解代码架构、审查变更中的不一致之处，或被要求可视化代码的工作原理时。提供前后对比图、数据\u002F控制流、并发分析、假设条件和失败模式。触发词：explain this patch\u002Fcode\u002Fclass、how does X work、show me the flow、visualize this change、代码审查请求，或在 PR 审查期间主动分析。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fpatch-explainer\u002FSKILL.md",[237,240],{"categoryNo":238,"categoryName":239,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TKQDF2K4KQS863Q79P4","开发参考",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[242,243,198,188,186,218,244,190,245,192,49,161,194,246,247,248,249,250,251,203,252,228,35],"patch explainer","explainer","visualize","architecture","show me","work","diagrams","show","me","structure","code analysis",{"skillNo":254,"name":255,"nameZh":256,"description":257,"descriptionZh":258,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":259,"categories":260,"keywords":263,"publishedAt":53},"01M6ACC7FFFSHENM9P5SGMWGQJ","mega-review","大型补丁多轮深度代码审查","Multi-pass deep code review for large patches (1000+ LOC) that maximizes real bug detection. Orchestrates targeted-review, shallow-review, and deep-review in parallel across all HIGH and MEDIUM risk files and commits: understands the feature holistically, splits by file and commit, runs deep review on every HIGH\u002FMEDIUM file, targeted review across the same scope, and per-commit shallow review, followed by cross-cut consistency checks. Use when: reviewing a large patch (feature branch, multi-commit, or single large diff, 1000+ LOC), doing a thorough pre-merge review, or when shallower reviews miss bugs due to patch size. Triggers on: \"review this branch\", \"review these commits\", \"review this feature\", \"mega review\", \"thorough review\", \"full review of X commits\", or when the user specifies a commit range or feature for review.","针对大型补丁（1000+ 行代码）的多轮深度代码审查，最大化真实 Bug 的检出率。并行编排 targeted-review、shallow-review 和 deep-review，覆盖所有高风险（HIGH）和中风险（MEDIUM）文件与提交：从整体上理解特性，按文件和提交拆分，对每个 HIGH\u002FMEDIUM 文件运行深度审查，在同一范围内运行定向审查，并对每个提交执行浅层审查，随后进行交叉一致性检查。适用场景：审查大型补丁（特性分支、多提交或单个大型 diff，1000+ 行代码）；进行彻底的合并前审查；或当浅层审查因补丁规模过大而漏掉 Bug 时。触发词：\"review this branch\"、\"review these commits\"、\"review this feature\"、\"mega review\"、\"thorough review\"、\"full review of X commits\"，或当用户指定提交范围或特性进行审查时。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fmega-review\u002FSKILL.md",[261,262],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":153,"categoryName":154,"taxonomyType":28,"taxonomyTypeDesc":29},[186,264,188,265,266,49,193,267,198,34,268,269,203,41,270,37,271,228,272,273,35],"mega review","commit","merge","branch","files","across","cut","full review","pre-merge","merge review",{"skillNo":275,"name":276,"nameZh":277,"description":278,"descriptionZh":279,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":280,"categories":281,"keywords":286,"publishedAt":53},"01M6ACC5GEW6PB6RYG58VJ58SQ","heatmap","Git 代码热力图分析","Use git heatmap analysis to identify high-churn files and lines as candidates for thorough review or bug hunting. Works for PR reviews, security audits, bug hunts, or any code analysis task.","使用 Git 热力图分析识别高变动量的文件和代码行，作为深入审查或 Bug 排查的候选对象。适用于 PR 审查、安全审计、Bug 排查或任何代码分析任务。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fcassandra\u002Fblob\u002Ftrunk\u002F.claude\u002Fskills\u002Fheatmap\u002FSKILL.md",[282,283],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":284,"categoryName":285,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[276,186,287,192,49,288,194,167,34,268,289,204,252,290,291,292,228,293,36],"security","git","task","churn","heatmap analysis","hunting","high"]