[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7833CGHK649WHJCW9DKWPKT":3,"skill-same:01M7833CGHK649WHJCW9DKWPKT":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7833CGHK649WHJCW9DKWPKT","rust-unsafe-ffi",null,"Design and review unsafe Rust, safe wrappers, manual Send or Sync, ABI boundaries, foreign ownership, callbacks, and FFI build integration. Use whenever unsafe code or a foreign interface is introduced, changed, or relied upon. Do not use unsafe merely to bypass borrow checking or for unmeasured optimization.","RawSocketLabs\u002Frsl","RawSocketLabs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F195399781?v=4","01M782XS20P1ZA01RHNK1SC3JZ","Raw Socket Labs","01M782XS2KPM9FYSN6PRZN7ZAH",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FRawSocketLabs\u002Frsl\u002Fblob\u002Fmain\u002Ftools\u002Frust-skills\u002Fgenerated\u002Fclaude-skills\u002Frust-unsafe-ffi\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: rust-unsafe-ffi\ndescription: Design and review unsafe Rust, safe wrappers, manual Send or Sync, ABI boundaries, foreign ownership, callbacks, and FFI build integration. Use whenever unsafe code or a foreign interface is introduced, changed, or relied upon. Do not use unsafe merely to bypass borrow checking or for unmeasured optimization.\n---\n\n# Review Unsafe Rust and FFI\n\n## Establish permission and necessity\n\n1. Read `$rust-core`, repository unsafe policy, target ABIs, panic strategy,\n   foreign headers and versions, build scripts, ownership conventions, and\n   existing safety documentation.\n2. Confirm unsafe or FFI is allowed and that a safe or established crate cannot\n   satisfy the requirement adequately.\n3. Read [unsafe and FFI review](references\u002Funsafe-and-ffi.md).\n\n## Write the safety argument first\n\nState the invariant, who establishes it, who preserves it, and how lifetime,\naliasing, initialization, alignment, provenance, concurrency, panic\u002Funwind,\ndrop, and safe-caller interaction uphold it. For FFI also state ABI, layout,\ncalling convention, nullability, lengths, ownership transfer, thread affinity,\ncallback lifetime, error mapping, and foreign reentrancy.\n\nContain unsafe in the smallest auditable module and expose a safe API whose\ninvariant callers cannot violate without unsafe code. Make every unsafe block\njustify the local obligation it discharges. Treat manual `Send` or `Sync` as a\nwhole-type proof.\n\n## Verify\n\nRoute tests to `$rust-testing`, concurrency to `$rust-async-concurrency`,\nperformance motivation to `$rust-performance`, embedded ABI work to\n`$rust-embedded`, and dependency\u002Fbuild surfaces to\n`$rust-dependencies-security`. Use Miri, sanitizers, target ABI tests,\ncompile-fail tests, foreign integration tests, and fuzzing where feasible.\n\n## Output\n\nProvide the written safety case, exposed safe contract, ABI and ownership\nanalysis, validation actually run, unavailable evidence, and residual risk.\n","# Review Unsafe Rust and FFI\n\n## Establish permission and necessity\n\n1. Read `$rust-core`, repository unsafe policy, target ABIs, panic strategy,\n   foreign headers and versions, build scripts, ownership conventions, and\n   existing safety documentation.\n2. Confirm unsafe or FFI is allowed and that a safe or established crate cannot\n   satisfy the requirement adequately.\n3. Read [unsafe and FFI review](references\u002Funsafe-and-ffi.md).\n\n## Write the safety argument first\n\nState the invariant, who establishes it, who preserves it, and how lifetime,\naliasing, initialization, alignment, provenance, concurrency, panic\u002Funwind,\ndrop, and safe-caller interaction uphold it. For FFI also state ABI, layout,\ncalling convention, nullability, lengths, ownership transfer, thread affinity,\ncallback lifetime, error mapping, and foreign reentrancy.\n\nContain unsafe in the smallest auditable module and expose a safe API whose\ninvariant callers cannot violate without unsafe code. Make every unsafe block\njustify the local obligation it discharges. Treat manual `Send` or `Sync` as a\nwhole-type proof.\n\n## Verify\n\nRoute tests to `$rust-testing`, concurrency to `$rust-async-concurrency`,\nperformance motivation to `$rust-performance`, embedded ABI work to\n`$rust-embedded`, and dependency\u002Fbuild surfaces to\n`$rust-dependencies-security`. Use Miri, sanitizers, target ABI tests,\ncompile-fail tests, foreign integration tests, and fuzzing where feasible.\n\n## Output\n\nProvide the written safety case, exposed safe contract, ABI and ownership\nanalysis, validation actually run, unavailable evidence, and residual risk.\n",{"name":5,"description":7},"main","da7a8aa64b3ca314c4734150c206d70842907c72","tools\u002Frust-skills\u002Fgenerated\u002Fclaude-skills\u002Frust-unsafe-ffi",0,"https:\u002F\u002Fgithub.com\u002FRawSocketLabs\u002Frsl","https:\u002F\u002Fgithub.com\u002FRawSocketLabs","2026-11-15 05:21:44",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add RawSocketLabs\u002Frsl --skill rust-unsafe-ffi",{"tool":37,"command":38},"bunx","bunx skills add RawSocketLabs\u002Frsl --skill rust-unsafe-ffi",{"tool":40,"command":41},"pnpm","pnpm dlx skills add RawSocketLabs\u002Frsl --skill rust-unsafe-ffi","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FRawSocketLabs\u002Frsl\u002Fblob\u002Fmain\u002Ftools\u002Frust-skills\u002Fgenerated\u002Fclaude-skills\u002Frust-unsafe-ffi\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Funsafe-and-ffi.md","REFERENCE","参考文档",5008,"https:\u002F\u002Fgithub.com\u002FRawSocketLabs\u002Frsl\u002Fblob\u002Fmain\u002Ftools\u002Frust-skills\u002Fgenerated\u002Fclaude-skills\u002Frust-unsafe-ffi\u002Freferences\u002Funsafe-and-ffi.md",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"skill.toml","OTHER","其他",721,"https:\u002F\u002Fgithub.com\u002FRawSocketLabs\u002Frsl\u002Fblob\u002Fmain\u002Ftools\u002Frust-skills\u002Fgenerated\u002Fclaude-skills\u002Frust-unsafe-ffi\u002Fskill.toml",[58,63,70,77,84,91],{"skillNo":59,"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":60,"categories":61,"keywords":62,"publishedAt":19},"01M78361RCGE7ZQW1V14VGS5ZK","https:\u002F\u002Fgithub.com\u002FRawSocketLabs\u002Frsl\u002Fblob\u002Fmain\u002Ftools\u002Frust-skills\u002Fskills\u002Frust-unsafe-ffi\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7835GXKBTJN0DA494R9DRV6","rust-testing","Select, implement, and assess Rust unit, integration, documentation, property, fuzz, snapshot, concurrency, unsafe, protocol, benchmark, and verification evidence. Use whenever behavior changes or claims need proof. Do not run every tool mechanically when the repository or risk makes it inapplicable.","https:\u002F\u002Fgithub.com\u002FRawSocketLabs\u002Frsl\u002Fblob\u002Fmain\u002Ftools\u002Frust-skills\u002Fskills\u002Frust-testing\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7834V9RARQW3QKKTCNK33N9","rust-skill-maintenance","Maintain this modular Rust skills system, including canonical content, manifests, references, profiles, generated adapters, migrations, examples, evaluations, releases, and compatibility. Use when changing the skills repository itself. Do not hand-edit generated adapters.","https:\u002F\u002Fgithub.com\u002FRawSocketLabs\u002Frsl\u002Fblob\u002Fmain\u002Ftools\u002Frust-skills\u002Fskills\u002Frust-skill-maintenance\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7834QMRCNWWFSBQT15Q9VMH","rust-review","Review Rust diffs, commits, branches, and designs for actionable correctness, soundness, security, compatibility, concurrency, protocol, performance, testing, and maintainability risks. Use for review or pre-merge assessment. Do not modify code unless separately requested.","https:\u002F\u002Fgithub.com\u002FRawSocketLabs\u002Frsl\u002Fblob\u002Fmain\u002Ftools\u002Frust-skills\u002Fskills\u002Frust-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7834KHHRYNZFB0NK14FR2V7","rust-repository-onboarding","Inspect, interview, profile, configure, and install the modular Rust engineering skills into a repository. Use when adopting or refreshing these skills, generating repository-specific Rust rules, or creating validation workflows. Never finalize policy before repository inspection and user approval.","https:\u002F\u002Fgithub.com\u002FRawSocketLabs\u002Frsl\u002Fblob\u002Fmain\u002Ftools\u002Frust-skills\u002Fskills\u002Frust-repository-onboarding\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7834GKXQPZZX10AH4AEP7QZ","rust-protocol","Engineer and review binary protocols, wire formats, builders, encoders, parsers, framing, stateful messages, bit ordering, integrity, correction, malformed input, and conformance. Use for protocol or serializer code. Do not apply protocol rules to unrelated in-memory models.","https:\u002F\u002Fgithub.com\u002FRawSocketLabs\u002Frsl\u002Fblob\u002Fmain\u002Ftools\u002Frust-skills\u002Fskills\u002Frust-protocol\u002FSKILL.md",[],[]]