[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CSNH711EJ0GCKDH6J7D952":3,"skill-same:01M7CSNH711EJ0GCKDH6J7D952":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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7CSNH711EJ0GCKDH6J7D952","native-memory-safety-and-ffi",null,"Use when the diff changes C, C++ or Objective-C, Rust unsafe blocks, Go unsafe or cgo, JNI, Python ctypes\u002Fcffi or C extensions, Swift unsafe pointers, C# unsafe or Marshal code, or a native plugin, parser or loader that sees untrusted bytes - bounds, integer overflow before allocation, unit confusion, lifetimes, uninitialized memory, format strings, FFI ownership and library search order","makifbaysal\u002Ftasktrooper","makifbaysal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F25031940?v=4","01M7CRG3ZCSYZSSEVDMW3DEYC8","Mehmet Akif Baysal","01M7CRG401FJ8YAXH5ER730XYV",122,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fsecurity-agent\u002Fskills\u002Fnative-memory-safety-and-ffi\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: native-memory-safety-and-ffi\ncategory: security\ndescription: Use when the diff changes C, C++ or Objective-C, Rust unsafe blocks, Go unsafe or cgo, JNI, Python ctypes\u002Fcffi or C extensions, Swift unsafe pointers, C# unsafe or Marshal code, or a native plugin, parser or loader that sees untrusted bytes - bounds, integer overflow before allocation, unit confusion, lifetimes, uninitialized memory, format strings, FFI ownership and library search order\ntech_stack: Native code & FFI\nsource: cloudflare\u002Fsecurity-audit-skill (MIT) memory-safety, FFI\u002FABI and binary-loading attack classes, adapted to diff review; own wording; CWE and SEI CERT C\u002FC++ cited by name only\n---\n# Native Memory Safety and FFI\n\n## Overview\n\nThe hard exclusion on memory safety covers memory-safe languages. Native code is the opposite case: in C, C++, Objective-C, `unsafe` Rust, cgo, JNI and ctypes, one wrong length turns a packet, a save file, a mod, an image or a model file into a read or write outside the buffer. These bugs are in scope whenever untrusted bytes reach the code.\n\n**Core principle:** re-derive every length, index and lifetime from the worst value the attacker can send — not from the value the tests use — and state the effect you can show (read, write, use-after-free, crash) without inflating it.\n\n## 1. Who Sends the Bytes?\n\nA finding needs a realistic untrusted source: a network peer, a file the user opens or downloads (save, replay, mod, asset, document, model), an IPC message from a less-trusted process, a plugin from a third party. A buffer bug reachable only from the program's own constant data, or from a developer's local CLI flag, is a bug, not a vulnerability.\n\n## 2. Bounds (CWE-119, CWE-125, CWE-787)\n\n```c\n\u002F\u002F ❌ len comes from the packet; dst holds 64 bytes\nuint16_t len = read_u16(pkt);\nmemcpy(dst, pkt->data, len);\n\n\u002F\u002F ✅ check against the destination AND what the source actually holds\nif (len > sizeof(dst) || len > pkt->remaining) return ERR_MALFORMED;\nmemcpy(dst, pkt->data, len);\n```\n\nCheck both sides of every copy. Recompute the room left after a header, a prefix, alignment padding or a terminator. `strcpy`, `strcat`, `sprintf`, `gets` and `strncpy` (no terminator when it truncates) on input are findings by shape; `std::vector::operator[]` and `std::span` do not check, `.at()` does.\n\n## 3. Integer Arithmetic Before Allocation (CWE-190, CWE-191, CWE-681)\n\n```cpp\n\u002F\u002F ❌ both factors come from the wire: the 32-bit product wraps, the allocation is tiny,\n\u002F\u002F    and the loop still writes count records of rec bytes\nuint32_t count = r.u32(), rec = r.u32();\nuint8_t* buf = (uint8_t*)malloc(count * rec);\nfor (uint32_t i = 0; i \u003C count; ++i) r.read(buf + (size_t)i * rec, rec);\n\n\u002F\u002F ✅ upper bounds, then checked multiplication in size_t\nsize_t bytes;\nif (count > kMaxRecords || rec > kMaxRecordSize ||\n    __builtin_mul_overflow((size_t)count, (size_t)rec, &bytes)) return Reject();\n```\n\nHigh-hit shapes: `a - b` where `b > a` can happen; a 64-bit length narrowed to `int` or `uint16_t`; a signed length that is negative passed as `size_t`; `-1` as a sentinel that becomes `SIZE_MAX`; an addition near the type's maximum. Rust: `checked_mul`\u002F`checked_add`, or `try_into()` instead of `as` for narrowing.\n\n## 4. Units (CWE-131)\n\nBytes vs elements vs UTF-16 code units vs pages; `sizeof(ptr)` where `sizeof(*ptr)` was meant; a length validated in one unit and used in another. A bounds check that uses the same wrong unit as the allocation is still wrong.\n\n## 5. Lifetimes (CWE-416, CWE-415, CWE-825)\n\n- A callback, timer, completion handler or observer that fires after its owner was freed — look at every error, cancel and close path.\n- Iterator invalidation: `push_back`\u002F`erase` on a container while iterating it; a reference into a vector kept across a resize.\n- `c_str()` or `std::string_view` of a temporary; a pointer into a buffer that is reallocated.\n- Double free on an error path that frees and then falls through to common cleanup.\n- Rust `unsafe`: `slice::from_raw_parts(ptr, len)` with `len` from input, `get_unchecked`, `set_len` before initialization, `transmute` between unrelated types, a hand-written `unsafe impl Send\u002FSync`.\n\n## 6. Uninitialized and Type-Confused Memory (CWE-457, CWE-843)\n\n- A struct or buffer with padding or unwritten fields sent over the network, written to a file or hashed — it leaks stack or heap contents to a peer.\n- A downcast chosen by a tag from the wire (`static_cast\u003CDerived*>(base)` after `if (msg.kind == …)`) where the object's real type was never checked; a union read through the wrong member.\n\n## 7. Format Strings (CWE-134)\n\n`printf(user)`, `syslog(LOG_INFO, user)`, `NSLog(user)`, `String(format: user)` — a fixed format with the input as an argument is the fix.\n\n## 8. FFI and ABI Boundaries\n\n- **Ownership:** caller and callee disagree on who frees a buffer, or how long a pointer stays valid; a callback keeps a pointer to a Go, Java or Python object after the runtime moved or freed it.\n- **cgo:** passing Go memory that contains Go pointers to C, or keeping a Go pointer in C after the call returns (both break the cgo pointer rules); `unsafe.Slice`\u002F`unsafe.String` over a C buffer with a length from input.\n- **JNI and ctypes:** `GetByteArrayElements`\u002F`GetStringUTFChars` without the matching release; ctypes calls with no `argtypes`\u002F`restype`, so 64-bit pointers are truncated to `int`.\n- **Layout:** a struct declared differently on the two sides (packing, alignment, enum width), or a length passed in bytes where the other side expects elements.\n- **Unwinding:** a Rust panic or C++ exception crossing an `extern \"C\"` boundary.\n\n## 9. Library and Plugin Loading (CWE-426, CWE-427)\n\nA process — especially one that runs elevated or starts automatically — loads a library, plugin or helper by bare name or relative path, from the working directory, a downloads folder or a user-writable plugin directory: `LoadLibrary(\"x.dll\")`, `dlopen(\"libx.so\")` with an attacker-influenced `LD_LIBRARY_PATH`, a plugin folder scanned without a signature check. A user loading their own plugin into their own process is not a boundary.\n\n## How to Judge Without Running\n\nThis review never compiles or runs the code. Settle it from source: write the worst accepted input through the arithmetic, name the allocation and the access with `file:line`, and say which effect the trace shows — out-of-bounds read, out-of-bounds write, use-after-free, or only a clean rejection or abort. If the decisive fact is a build flag, architecture, allocator or a foreign library you cannot read, it is a needs-validation note (source-visibility-needs-validation), not a block.\n\n## Severity Guide\n\nAn attacker-controlled out-of-bounds write or use-after-free reachable from the network or from an opened file → CRITICAL (HIGH when it needs a rare precondition). An out-of-bounds read that returns memory to the peer → HIGH. A crash of a shared process (a game server, a daemon) from one input → MEDIUM to HIGH as availability with shared impact (security-hard-exclusions-and-precedents §4). A crash of only the attacker's own client → not a finding.\n\n## Common Mistakes\n\n- Claiming code execution from an out-of-bounds read, or from a crash whose cause you did not trace.\n- Reporting `strcpy` on a constant or a length-checked buffer.\n- Reporting a memory leak (an un-freed `C.CString`, a missing `free`) as a vulnerability — it is a bug.\n- Applying this skill to safe Go, Java, C#, Python or JavaScript — memory safety there is excluded.\n\n## Red Flags\n\n- A length, count or offset read from input and used in `memcpy`, `malloc`, an index or a loop bound with no check against the buffer.\n- `count * size` or `a - b` before an allocation or copy, with no overflow check.\n- `strcpy`, `sprintf`, `gets`, or `printf(var)`.\n- `from_raw_parts`, `get_unchecked`, `set_len`, `transmute` inside a new `unsafe` block.\n- `LoadLibrary`\u002F`dlopen` with a relative name in a privileged or auto-started process.\n\n## References (names and links only)\n\n[SEI CERT C Coding Standard](https:\u002F\u002Fwiki.sei.cmu.edu\u002Fconfluence\u002Fdisplay\u002Fc\u002FSEI+CERT+C+Coding+Standard) · [SEI CERT C++](https:\u002F\u002Fwiki.sei.cmu.edu\u002Fconfluence\u002Fpages\u002Fviewpage.action?pageId=88046682) · [cgo pointer passing rules](https:\u002F\u002Fpkg.go.dev\u002Fcmd\u002Fcgo#hdr-Passing_pointers) · [The Rustonomicon](https:\u002F\u002Fdoc.rust-lang.org\u002Fnomicon\u002F) · CWE-119, 125, 131, 134, 190, 416, 426, 787, 843 · [Cloudflare security-audit-skill](https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fsecurity-audit-skill)\n","# Native Memory Safety and FFI\n\n## Overview\n\nThe hard exclusion on memory safety covers memory-safe languages. Native code is the opposite case: in C, C++, Objective-C, `unsafe` Rust, cgo, JNI and ctypes, one wrong length turns a packet, a save file, a mod, an image or a model file into a read or write outside the buffer. These bugs are in scope whenever untrusted bytes reach the code.\n\n**Core principle:** re-derive every length, index and lifetime from the worst value the attacker can send — not from the value the tests use — and state the effect you can show (read, write, use-after-free, crash) without inflating it.\n\n## 1. Who Sends the Bytes?\n\nA finding needs a realistic untrusted source: a network peer, a file the user opens or downloads (save, replay, mod, asset, document, model), an IPC message from a less-trusted process, a plugin from a third party. A buffer bug reachable only from the program's own constant data, or from a developer's local CLI flag, is a bug, not a vulnerability.\n\n## 2. Bounds (CWE-119, CWE-125, CWE-787)\n\n```c\n\u002F\u002F ❌ len comes from the packet; dst holds 64 bytes\nuint16_t len = read_u16(pkt);\nmemcpy(dst, pkt->data, len);\n\n\u002F\u002F ✅ check against the destination AND what the source actually holds\nif (len > sizeof(dst) || len > pkt->remaining) return ERR_MALFORMED;\nmemcpy(dst, pkt->data, len);\n```\n\nCheck both sides of every copy. Recompute the room left after a header, a prefix, alignment padding or a terminator. `strcpy`, `strcat`, `sprintf`, `gets` and `strncpy` (no terminator when it truncates) on input are findings by shape; `std::vector::operator[]` and `std::span` do not check, `.at()` does.\n\n## 3. Integer Arithmetic Before Allocation (CWE-190, CWE-191, CWE-681)\n\n```cpp\n\u002F\u002F ❌ both factors come from the wire: the 32-bit product wraps, the allocation is tiny,\n\u002F\u002F    and the loop still writes count records of rec bytes\nuint32_t count = r.u32(), rec = r.u32();\nuint8_t* buf = (uint8_t*)malloc(count * rec);\nfor (uint32_t i = 0; i \u003C count; ++i) r.read(buf + (size_t)i * rec, rec);\n\n\u002F\u002F ✅ upper bounds, then checked multiplication in size_t\nsize_t bytes;\nif (count > kMaxRecords || rec > kMaxRecordSize ||\n    __builtin_mul_overflow((size_t)count, (size_t)rec, &bytes)) return Reject();\n```\n\nHigh-hit shapes: `a - b` where `b > a` can happen; a 64-bit length narrowed to `int` or `uint16_t`; a signed length that is negative passed as `size_t`; `-1` as a sentinel that becomes `SIZE_MAX`; an addition near the type's maximum. Rust: `checked_mul`\u002F`checked_add`, or `try_into()` instead of `as` for narrowing.\n\n## 4. Units (CWE-131)\n\nBytes vs elements vs UTF-16 code units vs pages; `sizeof(ptr)` where `sizeof(*ptr)` was meant; a length validated in one unit and used in another. A bounds check that uses the same wrong unit as the allocation is still wrong.\n\n## 5. Lifetimes (CWE-416, CWE-415, CWE-825)\n\n- A callback, timer, completion handler or observer that fires after its owner was freed — look at every error, cancel and close path.\n- Iterator invalidation: `push_back`\u002F`erase` on a container while iterating it; a reference into a vector kept across a resize.\n- `c_str()` or `std::string_view` of a temporary; a pointer into a buffer that is reallocated.\n- Double free on an error path that frees and then falls through to common cleanup.\n- Rust `unsafe`: `slice::from_raw_parts(ptr, len)` with `len` from input, `get_unchecked`, `set_len` before initialization, `transmute` between unrelated types, a hand-written `unsafe impl Send\u002FSync`.\n\n## 6. Uninitialized and Type-Confused Memory (CWE-457, CWE-843)\n\n- A struct or buffer with padding or unwritten fields sent over the network, written to a file or hashed — it leaks stack or heap contents to a peer.\n- A downcast chosen by a tag from the wire (`static_cast\u003CDerived*>(base)` after `if (msg.kind == …)`) where the object's real type was never checked; a union read through the wrong member.\n\n## 7. Format Strings (CWE-134)\n\n`printf(user)`, `syslog(LOG_INFO, user)`, `NSLog(user)`, `String(format: user)` — a fixed format with the input as an argument is the fix.\n\n## 8. FFI and ABI Boundaries\n\n- **Ownership:** caller and callee disagree on who frees a buffer, or how long a pointer stays valid; a callback keeps a pointer to a Go, Java or Python object after the runtime moved or freed it.\n- **cgo:** passing Go memory that contains Go pointers to C, or keeping a Go pointer in C after the call returns (both break the cgo pointer rules); `unsafe.Slice`\u002F`unsafe.String` over a C buffer with a length from input.\n- **JNI and ctypes:** `GetByteArrayElements`\u002F`GetStringUTFChars` without the matching release; ctypes calls with no `argtypes`\u002F`restype`, so 64-bit pointers are truncated to `int`.\n- **Layout:** a struct declared differently on the two sides (packing, alignment, enum width), or a length passed in bytes where the other side expects elements.\n- **Unwinding:** a Rust panic or C++ exception crossing an `extern \"C\"` boundary.\n\n## 9. Library and Plugin Loading (CWE-426, CWE-427)\n\nA process — especially one that runs elevated or starts automatically — loads a library, plugin or helper by bare name or relative path, from the working directory, a downloads folder or a user-writable plugin directory: `LoadLibrary(\"x.dll\")`, `dlopen(\"libx.so\")` with an attacker-influenced `LD_LIBRARY_PATH`, a plugin folder scanned without a signature check. A user loading their own plugin into their own process is not a boundary.\n\n## How to Judge Without Running\n\nThis review never compiles or runs the code. Settle it from source: write the worst accepted input through the arithmetic, name the allocation and the access with `file:line`, and say which effect the trace shows — out-of-bounds read, out-of-bounds write, use-after-free, or only a clean rejection or abort. If the decisive fact is a build flag, architecture, allocator or a foreign library you cannot read, it is a needs-validation note (source-visibility-needs-validation), not a block.\n\n## Severity Guide\n\nAn attacker-controlled out-of-bounds write or use-after-free reachable from the network or from an opened file → CRITICAL (HIGH when it needs a rare precondition). An out-of-bounds read that returns memory to the peer → HIGH. A crash of a shared process (a game server, a daemon) from one input → MEDIUM to HIGH as availability with shared impact (security-hard-exclusions-and-precedents §4). A crash of only the attacker's own client → not a finding.\n\n## Common Mistakes\n\n- Claiming code execution from an out-of-bounds read, or from a crash whose cause you did not trace.\n- Reporting `strcpy` on a constant or a length-checked buffer.\n- Reporting a memory leak (an un-freed `C.CString`, a missing `free`) as a vulnerability — it is a bug.\n- Applying this skill to safe Go, Java, C#, Python or JavaScript — memory safety there is excluded.\n\n## Red Flags\n\n- A length, count or offset read from input and used in `memcpy`, `malloc`, an index or a loop bound with no check against the buffer.\n- `count * size` or `a - b` before an allocation or copy, with no overflow check.\n- `strcpy`, `sprintf`, `gets`, or `printf(var)`.\n- `from_raw_parts`, `get_unchecked`, `set_len`, `transmute` inside a new `unsafe` block.\n- `LoadLibrary`\u002F`dlopen` with a relative name in a privileged or auto-started process.\n\n## References (names and links only)\n\n[SEI CERT C Coding Standard](https:\u002F\u002Fwiki.sei.cmu.edu\u002Fconfluence\u002Fdisplay\u002Fc\u002FSEI+CERT+C+Coding+Standard) · [SEI CERT C++](https:\u002F\u002Fwiki.sei.cmu.edu\u002Fconfluence\u002Fpages\u002Fviewpage.action?pageId=88046682) · [cgo pointer passing rules](https:\u002F\u002Fpkg.go.dev\u002Fcmd\u002Fcgo#hdr-Passing_pointers) · [The Rustonomicon](https:\u002F\u002Fdoc.rust-lang.org\u002Fnomicon\u002F) · CWE-119, 125, 131, 134, 190, 416, 426, 787, 843 · [Cloudflare security-audit-skill](https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fsecurity-audit-skill)\n",{"name":5,"source":24,"category":25,"tech_stack":26,"description":7},"cloudflare\u002Fsecurity-audit-skill (MIT) memory-safety, FFI\u002FABI and binary-loading attack classes, adapted to diff review; own wording; CWE and SEI CERT C\u002FC++ cited by name only","security","Native code & FFI","main","910394a0b6db9fc8c9a8f36328ec421d3ebd8b38","catalog\u002Fagents\u002Fsecurity-agent\u002Fskills\u002Fnative-memory-safety-and-ffi",18,"https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper","https:\u002F\u002Ftasktrooper.ai","https:\u002F\u002Fgithub.com\u002Fmakifbaysal","Senior Software Developer","2026-11-15 04:50:29",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add makifbaysal\u002Ftasktrooper --skill native-memory-safety-and-ffi",{"tool":42,"command":43},"bunx","bunx skills add makifbaysal\u002Ftasktrooper --skill native-memory-safety-and-ffi",{"tool":45,"command":46},"pnpm","pnpm dlx skills add makifbaysal\u002Ftasktrooper --skill native-memory-safety-and-ffi","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fsecurity-agent\u002Fskills\u002Fnative-memory-safety-and-ffi\u002FSKILL.md",true,[],[51,57,64,71,78,85],{"skillNo":52,"name":53,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7CSVEPQW6J6TD6CS2T5FPNZ","visual-craft","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fvisual-craft\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7CSVAQG91ETHQ0HBNZDG5FR","ux-copy","Use when you write any words a user reads in a mockup or a hand-off - content language and voice, buttons, labels, errors, empty states, confirmations, numbers and dates, and the longest-string check","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fux-copy\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7CSV6H0J38659NDXHJQ8396","screen-mockup-html","Use when you draw screens as the design task's HTML mockup - ONE canvas document holding every screen and every variant side by side, the sanitizer-safe recipe, phone and wide frames, the states grid, static control states, and the loopback self-check with screenshots at 375, 768 and 1440 attached to the task","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fscreen-mockup-html\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7CSV3JFRF3BM3XK52M7YEYR","performance-awareness","How the performance score moves for your role. Use when the score context shows a declining trend, or before handing off work you have not self-checked against every criterion.","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fperformance-awareness\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7CSTZDH00YRF5SCT7BRT9QD","design-variants","Use when a screen design needs variants - how many, variants as side-by-side rows on the one canvas, what makes two variants genuinely different, recommending one, how the human's choice is read, and narrowing to the chosen one in revision","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fdesign-variants\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7CSTV6P3SM3PAE28DB0RF77","design-system-authoring","Use when you derive, change or extend a design system - where tokens live per stack, the DTCG token tree, role-based names for both themes, base vs layer vs drift, the DESIGN.md section order, the inventory format, the contrast check and the lint every proposal returns","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fdesign-system-authoring\u002FSKILL.md",[],[]]