[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71H810NV770K54CDR8W1V7B":3,"skill-same:01M71H810NV770K54CDR8W1V7B":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M71H810NV770K54CDR8W1V7B","model-based-testing",null,"Tests state machine transitions with XState-style patterns. Validates transition matrices, guard truth tables, context mutations, and terminal state handling.","JSGforever\u002Fskillguard","JSGforever","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F85541948?v=4","01M71FQD3E132VMR5F4TAYX3YS","01M71FQD4DYW0XJ4XQ4YQH75Y9",2,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__apankov1--model-based-testing\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"testing","model based testing","model","tables","context","patterns","state machine","matrices","terminal","transitions","style","transition","mutations","state","with","guard","xstate","tests","machine","2026-11-10 10:12:30",false,"---\nname: model-based-testing\ndescription: Tests state machine transitions with XState-style patterns. Validates transition matrices, guard truth tables, context mutations, and terminal state handling.\n---\n\n# Model-Based Testing\n\nTest state machines systematically — don't guess at valid transitions.\n\nState machines are everywhere: workflow states, lifecycle management, game turns, circuit breakers. Most bugs come from invalid transitions being allowed or valid transitions being blocked. This skill teaches you to systematically test ALL state pairs, not just the happy path.\n\n**When to use**: Any code with named states, lifecycles (initializing → ready → stopping), workflow progressions (draft → review → published), turn-based systems, circuit breakers, or XState machines.\n\n**When not to use**: Stateless functions, simple CRUD, UI rendering without state machines, pure data transformations.\n\n## Model-Based vs Pairwise\n\nModel-based derives **which state transitions** to test. [Pairwise testing](https:\u002F\u002Fgithub.com\u002Fapankov1\u002Fquality-engineering\u002Ftree\u002Fmain\u002Fskills\u002Fpairwise-test-coverage) selects **which input combinations** to test. Different questions, different tools:\n\n| Your system has... | Use | Example |\n|--------------------|-----|---------|\n| Named states with transitions between them | **Model-based** | draft → review → published workflow |\n| Independent parameters with discrete values | **Pairwise** | retry count × timeout × backoff × status |\n| State machine guards with 5+ boolean inputs | **Both** | Model-based finds the guards, pairwise covers the flag combos |\n\n**Rule of thumb**: if you're testing *what happens next*, use model-based. If you're testing *what goes in*, use pairwise.\n\n## What To Protect (Start Here)\n\nState machine tests protect against **invalid transitions** — states that should be unreachable but aren't. Before generating a transition matrix, identify which decisions apply:\n\n| Decision | Question to Answer | If Yes → Use |\n|----------|--------------------|--------------|\n| Invalid transitions must be impossible | Which state changes are explicitly forbidden? | `getInvalidTransitionPairs` |\n| Guards must enforce access control | Do boolean conditions gate transitions (permissions, flags, locks)? | `assertGuardTruthTable` |\n| Side effects must be exact | Do transitions modify counters, timestamps, or flags? | `assertContextMutation` |\n| Terminal states must be final | Are there states with no valid exit (completed, cancelled, archived)? | `getTerminalStates` |\n\n**Do not generate tests for decisions the human hasn't confirmed.** A 25-test transition matrix that just verifies `canTransition()` returns true\u002Ffalse without connecting to business rules (who can approve? when can you go back to draft?) is testing the map, not the territory.\n\n## Rationalizations (Do Not Skip)\n\n| Rationalization | Why It's Wrong | Required Action |\n|-----------------|----------------|-----------------|\n| \"I tested the happy path\" | Invalid transitions cause production bugs | Test ALL state pairs with transition matrix |\n| \"The enum defines valid states\" | States are listed, but transitions aren't tested | Create explicit validTransitions map + tests |\n| \"Edge cases are rare\" | Murphy's law: rare edge cases happen at scale | Guard truth table covers ALL input combinations |\n| \"Context mutations are obvious\" | Side effects of transitions hide subtle bugs | Assert exact context changes on each transition |\n\n---\n\n## Included Utilities\n\n```typescript\nimport {\n  createStateMachine,\n  canTransition,\n  assertTransition,\n  getValidTransitions,\n  getTerminalStates,\n  testTransitionMatrix,\n  getValidTransitionPairs,\n  getInvalidTransitionPairs,\n  createGuardTruthTable,\n  assertGuardTruthTable,\n  assertContextMutation,\n} from '.\u002Fstate-machine.ts';\n```\n\n## Core Workflow\n\n### Step 1: Define State Machine from Transition Map\n\n```typescript\ntype WorkflowState = 'draft' | 'review' | 'approved' | 'rejected' | 'published';\n\nconst workflow = createStateMachine\u003CWorkflowState>({\n  draft: ['review'],\n  review: ['approved', 'rejected'],\n  approved: ['published'],\n  rejected: ['draft'],       \u002F\u002F Can return to draft\n  published: [],             \u002F\u002F Terminal state\n});\n```\n\n### Step 2: Generate Transition Matrix\n\n```typescript\n\u002F\u002F Generate ALL N*N state pairs with validity\nconst matrix = testTransitionMatrix(workflow);\n\u002F\u002F Returns 25 entries for 5 states\n\n\u002F\u002F Split into valid\u002Finvalid for separate test suites\nconst validPairs = getValidTransitionPairs(workflow);   \u002F\u002F 5 valid\nconst invalidPairs = getInvalidTransitionPairs(workflow); \u002F\u002F 20 invalid\n```\n\n### Step 3: Test Valid Transitions\n\n```typescript\ndescribe('valid transitions', () => {\n  const validPairs = getValidTransitionPairs(workflow);\n\n  for (const { from, to } of validPairs) {\n    it(`allows ${from} -> ${to}`, () => {\n      assert.equal(canTransition(workflow, from, to), true);\n    });\n  }\n});\n```\n\n### Step 4: Test Invalid Transitions\n\n```typescript\ndescribe('invalid transitions', () => {\n  const invalidPairs = getInvalidTransitionPairs(workflow);\n\n  for (const { from, to } of invalidPairs) {\n    it(`rejects ${from} -> ${to}`, () => {\n      assert.equal(canTransition(workflow, from, to), false);\n    });\n  }\n});\n```\n\n### Step 5: Test Guards with Truth Tables\n\nGuards are boolean functions that gate transitions. Test ALL input combinations:\n\n```typescript\ninterface GuardInput { state: string; isPaused: boolean; hasPermission: boolean }\n\nfunction canBeginMove(input: GuardInput): boolean {\n  if (input.state !== 'awaiting_input') return false;\n  if (input.isPaused && !input.hasPermission) return false;\n  return true;\n}\n\n\u002F\u002F Truth table covers ALL 2^N combinations of boolean flags\nassertGuardTruthTable(canBeginMove, [\n  { inputs: { state: 'awaiting_input', isPaused: false, hasPermission: false }, expected: true },\n  { inputs: { state: 'awaiting_input', isPaused: true, hasPermission: false }, expected: false },\n  { inputs: { state: 'awaiting_input', isPaused: true, hasPermission: true }, expected: true },\n  { inputs: { state: 'idle', isPaused: false, hasPermission: true }, expected: false },\n]);\n```\n\n### Step 6: Test Context Mutations\n\nState transitions often modify context (counters, timestamps, flags). Test that ONLY expected fields change:\n\n```typescript\nit('increments moveCount on completeMove', () => {\n  const before = { state: 'executing', moveCount: 5, lastMoveAt: 1000 };\n  const after = { state: 'completed', moveCount: 6, lastMoveAt: 2000 };\n\n  assertContextMutation(before, after, {\n    state: 'completed',\n    moveCount: 6,\n    lastMoveAt: 2000\n  });\n  \u002F\u002F Would throw if any other field changed unexpectedly\n});\n```\n\n### Step 7: Test Terminal States\n\nTerminal states have no outgoing transitions. Verify they're identified correctly:\n\n```typescript\nconst terminals = getTerminalStates(workflow);\nassert.deepEqual(terminals, ['published']);\n```\n\n---\n\n## Violation Rules\n\n### missing_transition_coverage\nState machines MUST have tests for ALL state pairs, not just happy paths. If you have N states, you need N*N test cases (most will be \"rejects invalid transition\").\n**Severity**: must-fail\n\n### missing_guard_truth_table\nGuard functions with multiple boolean inputs MUST have truth table tests covering all 2^N combinations (for N ≤ 4). For 5+ boolean inputs, switch to pairwise coverage.\n**Severity**: must-fail\n\n### missing_context_mutation_test\nTransitions that modify context MUST have assertions verifying exact changes and no unexpected side effects.\n**Severity**: should-fail\n\n### untested_terminal_state\nTerminal states (no outgoing transitions) MUST be explicitly identified and tested.\n**Severity**: should-fail\n\n---\n\n## Companion Skills\n\nThis skill provides **testing utilities** for state machines, not state machine design guidance. For broader methodology:\n\n- Search `state machine` or `xstate` on [skills.sh](https:\u002F\u002Fskills.sh) for machine design, statechart authoring, and framework integration\n- The circuit breaker is a state machine — use [fault-injection-testing](https:\u002F\u002Fgithub.com\u002Fapankov1\u002Fquality-engineering\u002Ftree\u002Fmain\u002Fskills\u002Ffault-injection-testing) for circuit breaker, retry policy, and queue preservation testing\n- Guard truth tables with 5+ boolean inputs produce 32+ rows — use [pairwise-test-coverage](https:\u002F\u002Fgithub.com\u002Fapankov1\u002Fquality-engineering\u002Ftree\u002Fmain\u002Fskills\u002Fpairwise-test-coverage) for near-minimal coverage of all input pairs\n\n---\n\n## Quick Reference\n\n| Pattern | When | Example |\n|---------|------|---------|\n| Transition matrix | Always for state machines | `testTransitionMatrix(machine)` |\n| Valid\u002Finvalid split | Table-driven tests | `getValidTransitionPairs()` \u002F `getInvalidTransitionPairs()` |\n| Guard truth table | Boolean guard functions | 2^N rows for N boolean inputs |\n| Context mutation | Transitions with side effects | `assertContextMutation(before, after, expected)` |\n| Terminal states | Lifecycle endpoints | `getTerminalStates(machine)` |\n\nSee [patterns.md](.\u002Freferences\u002Fpatterns.md) for XState integration, complex guard examples, and hibernation safety testing.\n","# Model-Based Testing\n\nTest state machines systematically — don't guess at valid transitions.\n\nState machines are everywhere: workflow states, lifecycle management, game turns, circuit breakers. Most bugs come from invalid transitions being allowed or valid transitions being blocked. This skill teaches you to systematically test ALL state pairs, not just the happy path.\n\n**When to use**: Any code with named states, lifecycles (initializing → ready → stopping), workflow progressions (draft → review → published), turn-based systems, circuit breakers, or XState machines.\n\n**When not to use**: Stateless functions, simple CRUD, UI rendering without state machines, pure data transformations.\n\n## Model-Based vs Pairwise\n\nModel-based derives **which state transitions** to test. [Pairwise testing](https:\u002F\u002Fgithub.com\u002Fapankov1\u002Fquality-engineering\u002Ftree\u002Fmain\u002Fskills\u002Fpairwise-test-coverage) selects **which input combinations** to test. Different questions, different tools:\n\n| Your system has... | Use | Example |\n|--------------------|-----|---------|\n| Named states with transitions between them | **Model-based** | draft → review → published workflow |\n| Independent parameters with discrete values | **Pairwise** | retry count × timeout × backoff × status |\n| State machine guards with 5+ boolean inputs | **Both** | Model-based finds the guards, pairwise covers the flag combos |\n\n**Rule of thumb**: if you're testing *what happens next*, use model-based. If you're testing *what goes in*, use pairwise.\n\n## What To Protect (Start Here)\n\nState machine tests protect against **invalid transitions** — states that should be unreachable but aren't. Before generating a transition matrix, identify which decisions apply:\n\n| Decision | Question to Answer | If Yes → Use |\n|----------|--------------------|--------------|\n| Invalid transitions must be impossible | Which state changes are explicitly forbidden? | `getInvalidTransitionPairs` |\n| Guards must enforce access control | Do boolean conditions gate transitions (permissions, flags, locks)? | `assertGuardTruthTable` |\n| Side effects must be exact | Do transitions modify counters, timestamps, or flags? | `assertContextMutation` |\n| Terminal states must be final | Are there states with no valid exit (completed, cancelled, archived)? | `getTerminalStates` |\n\n**Do not generate tests for decisions the human hasn't confirmed.** A 25-test transition matrix that just verifies `canTransition()` returns true\u002Ffalse without connecting to business rules (who can approve? when can you go back to draft?) is testing the map, not the territory.\n\n## Rationalizations (Do Not Skip)\n\n| Rationalization | Why It's Wrong | Required Action |\n|-----------------|----------------|-----------------|\n| \"I tested the happy path\" | Invalid transitions cause production bugs | Test ALL state pairs with transition matrix |\n| \"The enum defines valid states\" | States are listed, but transitions aren't tested | Create explicit validTransitions map + tests |\n| \"Edge cases are rare\" | Murphy's law: rare edge cases happen at scale | Guard truth table covers ALL input combinations |\n| \"Context mutations are obvious\" | Side effects of transitions hide subtle bugs | Assert exact context changes on each transition |\n\n---\n\n## Included Utilities\n\n```typescript\nimport {\n  createStateMachine,\n  canTransition,\n  assertTransition,\n  getValidTransitions,\n  getTerminalStates,\n  testTransitionMatrix,\n  getValidTransitionPairs,\n  getInvalidTransitionPairs,\n  createGuardTruthTable,\n  assertGuardTruthTable,\n  assertContextMutation,\n} from '.\u002Fstate-machine.ts';\n```\n\n## Core Workflow\n\n### Step 1: Define State Machine from Transition Map\n\n```typescript\ntype WorkflowState = 'draft' | 'review' | 'approved' | 'rejected' | 'published';\n\nconst workflow = createStateMachine\u003CWorkflowState>({\n  draft: ['review'],\n  review: ['approved', 'rejected'],\n  approved: ['published'],\n  rejected: ['draft'],       \u002F\u002F Can return to draft\n  published: [],             \u002F\u002F Terminal state\n});\n```\n\n### Step 2: Generate Transition Matrix\n\n```typescript\n\u002F\u002F Generate ALL N*N state pairs with validity\nconst matrix = testTransitionMatrix(workflow);\n\u002F\u002F Returns 25 entries for 5 states\n\n\u002F\u002F Split into valid\u002Finvalid for separate test suites\nconst validPairs = getValidTransitionPairs(workflow);   \u002F\u002F 5 valid\nconst invalidPairs = getInvalidTransitionPairs(workflow); \u002F\u002F 20 invalid\n```\n\n### Step 3: Test Valid Transitions\n\n```typescript\ndescribe('valid transitions', () => {\n  const validPairs = getValidTransitionPairs(workflow);\n\n  for (const { from, to } of validPairs) {\n    it(`allows ${from} -> ${to}`, () => {\n      assert.equal(canTransition(workflow, from, to), true);\n    });\n  }\n});\n```\n\n### Step 4: Test Invalid Transitions\n\n```typescript\ndescribe('invalid transitions', () => {\n  const invalidPairs = getInvalidTransitionPairs(workflow);\n\n  for (const { from, to } of invalidPairs) {\n    it(`rejects ${from} -> ${to}`, () => {\n      assert.equal(canTransition(workflow, from, to), false);\n    });\n  }\n});\n```\n\n### Step 5: Test Guards with Truth Tables\n\nGuards are boolean functions that gate transitions. Test ALL input combinations:\n\n```typescript\ninterface GuardInput { state: string; isPaused: boolean; hasPermission: boolean }\n\nfunction canBeginMove(input: GuardInput): boolean {\n  if (input.state !== 'awaiting_input') return false;\n  if (input.isPaused && !input.hasPermission) return false;\n  return true;\n}\n\n\u002F\u002F Truth table covers ALL 2^N combinations of boolean flags\nassertGuardTruthTable(canBeginMove, [\n  { inputs: { state: 'awaiting_input', isPaused: false, hasPermission: false }, expected: true },\n  { inputs: { state: 'awaiting_input', isPaused: true, hasPermission: false }, expected: false },\n  { inputs: { state: 'awaiting_input', isPaused: true, hasPermission: true }, expected: true },\n  { inputs: { state: 'idle', isPaused: false, hasPermission: true }, expected: false },\n]);\n```\n\n### Step 6: Test Context Mutations\n\nState transitions often modify context (counters, timestamps, flags). Test that ONLY expected fields change:\n\n```typescript\nit('increments moveCount on completeMove', () => {\n  const before = { state: 'executing', moveCount: 5, lastMoveAt: 1000 };\n  const after = { state: 'completed', moveCount: 6, lastMoveAt: 2000 };\n\n  assertContextMutation(before, after, {\n    state: 'completed',\n    moveCount: 6,\n    lastMoveAt: 2000\n  });\n  \u002F\u002F Would throw if any other field changed unexpectedly\n});\n```\n\n### Step 7: Test Terminal States\n\nTerminal states have no outgoing transitions. Verify they're identified correctly:\n\n```typescript\nconst terminals = getTerminalStates(workflow);\nassert.deepEqual(terminals, ['published']);\n```\n\n---\n\n## Violation Rules\n\n### missing_transition_coverage\nState machines MUST have tests for ALL state pairs, not just happy paths. If you have N states, you need N*N test cases (most will be \"rejects invalid transition\").\n**Severity**: must-fail\n\n### missing_guard_truth_table\nGuard functions with multiple boolean inputs MUST have truth table tests covering all 2^N combinations (for N ≤ 4). For 5+ boolean inputs, switch to pairwise coverage.\n**Severity**: must-fail\n\n### missing_context_mutation_test\nTransitions that modify context MUST have assertions verifying exact changes and no unexpected side effects.\n**Severity**: should-fail\n\n### untested_terminal_state\nTerminal states (no outgoing transitions) MUST be explicitly identified and tested.\n**Severity**: should-fail\n\n---\n\n## Companion Skills\n\nThis skill provides **testing utilities** for state machines, not state machine design guidance. For broader methodology:\n\n- Search `state machine` or `xstate` on [skills.sh](https:\u002F\u002Fskills.sh) for machine design, statechart authoring, and framework integration\n- The circuit breaker is a state machine — use [fault-injection-testing](https:\u002F\u002Fgithub.com\u002Fapankov1\u002Fquality-engineering\u002Ftree\u002Fmain\u002Fskills\u002Ffault-injection-testing) for circuit breaker, retry policy, and queue preservation testing\n- Guard truth tables with 5+ boolean inputs produce 32+ rows — use [pairwise-test-coverage](https:\u002F\u002Fgithub.com\u002Fapankov1\u002Fquality-engineering\u002Ftree\u002Fmain\u002Fskills\u002Fpairwise-test-coverage) for near-minimal coverage of all input pairs\n\n---\n\n## Quick Reference\n\n| Pattern | When | Example |\n|---------|------|---------|\n| Transition matrix | Always for state machines | `testTransitionMatrix(machine)` |\n| Valid\u002Finvalid split | Table-driven tests | `getValidTransitionPairs()` \u002F `getInvalidTransitionPairs()` |\n| Guard truth table | Boolean guard functions | 2^N rows for N boolean inputs |\n| Context mutation | Transitions with side effects | `assertContextMutation(before, after, expected)` |\n| Terminal states | Lifecycle endpoints | `getTerminalStates(machine)` |\n\nSee [patterns.md](.\u002Freferences\u002Fpatterns.md) for XState integration, complex guard examples, and hibernation safety testing.\n",{"name":5,"description":7},"main","f2ec4b3b9133d34eeaf9b38e4b0a97e8e5705a7f","benchmarks\u002Ffinal\u002Fskills\u002Fasset1__apankov1--model-based-testing",0,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard","https:\u002F\u002Fgithub.com\u002FJSGforever","2026-08-29 18:27:56",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add JSGforever\u002Fskillguard --skill model-based-testing",{"tool":55,"command":56},"bunx","bunx skills add JSGforever\u002Fskillguard --skill model-based-testing",{"tool":58,"command":59},"pnpm","pnpm dlx skills add JSGforever\u002Fskillguard --skill model-based-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__apankov1--model-based-testing\u002FSKILL.md",true,[63,69,75],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fpatterns.md","REFERENCE","参考文档",2935,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__apankov1--model-based-testing\u002Freferences\u002Fpatterns.md",{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"state-machine.spec.ts","SCRIPT","脚本",14063,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__apankov1--model-based-testing\u002Fstate-machine.spec.ts",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"state-machine.ts",9107,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__apankov1--model-based-testing\u002Fstate-machine.ts",[80,107,118,145,164,184],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":37},"01M71HY2SNXBA9Q00WZDTZQ31Z","skillguard-codex-scanner","Hybrid deterministic+LLM agent-skill security scanner. Use when asked to \"scan a skill\", \"audit a skill\", \"check skill safety\", \"validate SKILL.md\", \"is this skill safe to install\", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fsrc\u002Fskillguard\u002Fstatic_scanner\u002Fskillguard-codex-scanner\u002FSKILL.md",[],[87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106],"scanner","skillguard codex scanner","skillguard","codex","chain","skill security","security-review","review report","structural","secret","prompt injection","security scanner","when","review","malicious","permissions","exposure","audit","scripts","safe",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":37},"01M71HY0SPKTT3S27BC2HPAC5M","data-exfiltrator","Analyzes data files","MIT","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Fsmoke-one-skill\u002Fasset1__cisco-ai-defense--data-exfiltrator\u002FSKILL.md",[],[115,116,117],"data","data exfiltrator","files",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":37},"01M71HXVS9EMN44BGDW215FZ72","real-time-collaboration-engine","Build real-time collaborative editing with WebSockets, OT\u002FCRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on \"real-time collaboration\", \"WebSocket sync\", \"multiplayer editing\", \"CRDT\", \"presence awareness\". NOT for simple chat, request-response APIs, or single-user apps.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--real-time-collaboration-engine\u002FSKILL.md",[],[125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144],"time","real time collaboration engine","real time collaboration","collaboration","engine","real time","Video","reliability","video editing","performance","conflict resolution","presence","access","apps","updates","Bash","activate","optimizer","react","streaming",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":37},"01M71HXP6CTY4KFN0QVMMN0V7J","react-performance-optimizer","Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on \"React performance\", \"slow render\", \"useMemo\", \"bundle size\", \"virtualization\". NOT for backend optimization, non-React frameworks, or premature optimization.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--react-performance-optimizer\u002FSKILL.md",[],[134,152,142,143,153,154,155,156,157,158,125,159,160,138,140,161,141,144,162,163],"react performance optimizer","react performance","performance optimizer","app","nextjs","expert","re","render","2025","code","router","strategies",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":37},"01M71HXH7QXSQB4QTDZ7SP7YXQ","llm-streaming-response-handler","Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI\u002FAnthropic\u002FClaude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on \"LLM streaming\", \"SSE\", \"token stream\", \"chat UI\", \"real-time AI\". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--llm-streaming-response-handler\u002FSKILL.md",[],[171,144,172,173,174,175,134,125,176,177,178,140,141,142,179,143,180,181,182,183],"llm streaming response handler","handler","error","processing","retry","chat ui","error recovery","critical","batch","display","text","server","read",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":37},"01M71HXCB0E1YRKYW1Y8T0Y106","github-actions-pipeline-builder","Build production CI\u002FCD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on \"GitHub Actions\", \"CI\u002FCD\", \"workflow\", \"deployment pipeline\", \"automated testing\". NOT for Jenkins\u002FCircleCI, manual deployments, or non-GitHub repositories.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002FSKILL.md",[],[191,192,193,194,195,196,197,132,157,18,198,199,141,163,200,183,201,202,203,204],"github actions pipeline builder","actions","github actions","pipeline builder","github","builder","pipeline","ci","workflows","run","release","write","edit","git"]