[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77SYTQVYH5G4J263WS6K7RB":3,"skill-same:01M77SYTQVYH5G4J263WS6K7RB":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":13,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M77SYTQVYH5G4J263WS6K7RB","rust-unsafe-boundaries",null,"Isolate and review unsafe Rust behind small, documented, testable boundaries with explicit invariants. Use when writing, refactoring, or reviewing unsafe code, raw pointers, unsafe functions, unsafe traits, MaybeUninit, pointer aliasing, panic safety, Miri checks, or safe abstractions over unsafe internals.","ConcertoNotes\u002Fcodex-plugins","ConcertoNotes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F249301288?v=4","01M77NJ0BK2KN5YW0D8RHD99TB","01M77NJ0CCEDPATAY3JTXEWNK5",0,"MIT","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-unsafe-boundaries\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: rust-unsafe-boundaries\ndescription: Isolate and review unsafe Rust behind small, documented, testable boundaries with explicit invariants. Use when writing, refactoring, or reviewing unsafe code, raw pointers, unsafe functions, unsafe traits, MaybeUninit, pointer aliasing, panic safety, Miri checks, or safe abstractions over unsafe internals.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.1.0\"\n  displayName: Rust Unsafe Boundaries\n  category: Rust\n  tags: rust,unsafe,raw-pointers,memory-safety,miri\n---\n\n# Rust Unsafe Boundaries\n\nUse this skill to isolate unsafe Rust behind small, documented, testable\nboundaries. Unsafe code is acceptable only when a safe API cannot express the\nneeded operation with acceptable correctness and performance.\n\n## Core Workflow\n\n1. Try the safe design first. Check standard APIs, ownership restructuring,\n   iterators, synchronization primitives, and existing crates.\n2. State the invariant that safe Rust cannot prove. If the invariant cannot be\n   written down, do not write unsafe code yet.\n3. Keep unsafe blocks tiny. Put runtime checks and setup in safe code before the\n   block.\n4. Add a `\u002F\u002F SAFETY:` comment immediately before each unsafe block explaining\n   why every unsafe operation inside is valid.\n5. Mark a function `unsafe fn` only when callers must uphold extra conditions.\n   Document those conditions in a `# Safety` section.\n6. Enable or respect `unsafe_op_in_unsafe_fn`; unsafe operations inside unsafe\n   functions should still be wrapped in explicit unsafe blocks.\n7. Test normal behavior, boundary cases, panic paths, and drop behavior. Run\n   Miri when the project supports it.\n\n## Boundary Rules\n\nRead `references\u002Fsafety-invariants.md` before adding or approving unsafe code.\n\n- Prefer private unsafe internals plus a safe public wrapper.\n- Prefer `MaybeUninit\u003CT>` over deprecated or ad hoc uninitialized memory\n  patterns.\n- Never create references from raw pointers unless validity, alignment,\n  initialization, aliasing, and lifetime are all proven.\n- Do not use `set_len`, pointer arithmetic, or `from_raw_parts` without proving\n  capacity, initialization, and ownership.\n- Make panic safety explicit when partially initialized values, manual drops, or\n  length changes are involved.\n- Avoid `static mut`; prefer `OnceLock`, `LazyLock`, atomics, or locked state.\n\n## Documentation Pattern\n\n```rust\n\u002F\u002F\u002F # Safety\n\u002F\u002F\u002F\n\u002F\u002F\u002F `ptr` must be non-null, aligned for `T`, initialized, and valid for reads\n\u002F\u002F\u002F for the returned lifetime. No mutable reference may alias the same value.\npub unsafe fn read_ref\u003C'a, T>(ptr: *const T) -> &'a T {\n    \u002F\u002F SAFETY: The caller guarantees `ptr` satisfies the documented contract.\n    unsafe { &*ptr }\n}\n```\n\n## Review Checklist\n\n- Every unsafe block has a local `SAFETY` explanation.\n- Every `unsafe fn` or unsafe trait has a `# Safety` contract.\n- Public safe APIs cannot be used to violate internal invariants.\n- Drop, panic, and early-return paths preserve initialization and ownership.\n- Tests or Miri cover the dangerous edge, not only the happy path.\n","# Rust Unsafe Boundaries\n\nUse this skill to isolate unsafe Rust behind small, documented, testable\nboundaries. Unsafe code is acceptable only when a safe API cannot express the\nneeded operation with acceptable correctness and performance.\n\n## Core Workflow\n\n1. Try the safe design first. Check standard APIs, ownership restructuring,\n   iterators, synchronization primitives, and existing crates.\n2. State the invariant that safe Rust cannot prove. If the invariant cannot be\n   written down, do not write unsafe code yet.\n3. Keep unsafe blocks tiny. Put runtime checks and setup in safe code before the\n   block.\n4. Add a `\u002F\u002F SAFETY:` comment immediately before each unsafe block explaining\n   why every unsafe operation inside is valid.\n5. Mark a function `unsafe fn` only when callers must uphold extra conditions.\n   Document those conditions in a `# Safety` section.\n6. Enable or respect `unsafe_op_in_unsafe_fn`; unsafe operations inside unsafe\n   functions should still be wrapped in explicit unsafe blocks.\n7. Test normal behavior, boundary cases, panic paths, and drop behavior. Run\n   Miri when the project supports it.\n\n## Boundary Rules\n\nRead `references\u002Fsafety-invariants.md` before adding or approving unsafe code.\n\n- Prefer private unsafe internals plus a safe public wrapper.\n- Prefer `MaybeUninit\u003CT>` over deprecated or ad hoc uninitialized memory\n  patterns.\n- Never create references from raw pointers unless validity, alignment,\n  initialization, aliasing, and lifetime are all proven.\n- Do not use `set_len`, pointer arithmetic, or `from_raw_parts` without proving\n  capacity, initialization, and ownership.\n- Make panic safety explicit when partially initialized values, manual drops, or\n  length changes are involved.\n- Avoid `static mut`; prefer `OnceLock`, `LazyLock`, atomics, or locked state.\n\n## Documentation Pattern\n\n```rust\n\u002F\u002F\u002F # Safety\n\u002F\u002F\u002F\n\u002F\u002F\u002F `ptr` must be non-null, aligned for `T`, initialized, and valid for reads\n\u002F\u002F\u002F for the returned lifetime. No mutable reference may alias the same value.\npub unsafe fn read_ref\u003C'a, T>(ptr: *const T) -> &'a T {\n    \u002F\u002F SAFETY: The caller guarantees `ptr` satisfies the documented contract.\n    unsafe { &*ptr }\n}\n```\n\n## Review Checklist\n\n- Every unsafe block has a local `SAFETY` explanation.\n- Every `unsafe fn` or unsafe trait has a `# Safety` contract.\n- Public safe APIs cannot be used to violate internal invariants.\n- Drop, panic, and early-return paths preserve initialization and ownership.\n- Tests or Miri cover the dangerous edge, not only the happy path.\n",{"name":5,"license":14,"metadata":23,"description":7,"compatibility":28},{"tags":24,"version":25,"category":26,"displayName":27},"rust,unsafe,raw-pointers,memory-safety,miri","0.1.0","Rust","Rust Unsafe Boundaries","Codex, Claude Code, and other Agent Skills-compatible clients.","main","9ba3c9fadff1092395837bf1502e1b8a7f98b1e1","plugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-unsafe-boundaries","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins","https:\u002F\u002Fgithub.com\u002FConcertoNotes","2026-06-26 10:13:54",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add ConcertoNotes\u002Fcodex-plugins --skill rust-unsafe-boundaries",{"tool":41,"command":42},"bunx","bunx skills add ConcertoNotes\u002Fcodex-plugins --skill rust-unsafe-boundaries",{"tool":44,"command":45},"pnpm","pnpm dlx skills add ConcertoNotes\u002Fcodex-plugins --skill rust-unsafe-boundaries","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-unsafe-boundaries\u002FSKILL.md",true,[49,55],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"agents\u002Fopenai.yaml","REFERENCE","参考文档",233,"https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-unsafe-boundaries\u002Fagents\u002Fopenai.yaml",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fsafety-invariants.md",1353,"https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-unsafe-boundaries\u002Freferences\u002Fsafety-invariants.md",[60,69,76,84,91,98],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":64,"licenseFileUrl":65,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M77YB7WW36DS9AERTWP673E0","android-emulator-qa","Use when validating Android feature flows in an emulator with adb-driven launch, input, UI-tree inspection, screenshots, and logcat capture.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Ftest-android-apps\u002Fskills\u002Fandroid-emulator-qa\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Ftest-android-apps\u002Fskills\u002Fandroid-emulator-qa\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M77Y7AA8N45G6NM0WJSS2W9C","supabase-postgres-best-practices","Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Fsupabase\u002Fskills\u002Fsupabase-postgres-best-practices\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":64,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M77Y2W5H5YGSW7MYWEJ8HYXD","sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Fsentry\u002Fskills\u002Fsentry\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Fsentry\u002Fskills\u002Fsentry\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M77Y06GV1DAME7PN9KBFHWRX","render-workflows","Sets up, develops, tests, and deploys Render Workflows. Covers first-time scaffolding (via CLI or manual), SDK installation (Python or TypeScript), task patterns (retries, subtasks, fan-out), local development, Dashboard deployment, and troubleshooting. Use when a user wants to set up Render Workflows for the first time, scaffold a workflow service, add or modify workflow tasks, test workflows locally, or deploy workflows to Render.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Frender\u002Fskills\u002Frender-workflows\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M77Y01A6RJA8VYT7CZ2TVETF","render-web-services","Configures Render web services—port binding, TLS, health checks, custom domains, auto-deploy, PR previews, persistent disks, and deploy lifecycle. Use when the user needs to set up a web service, fix health check failures, add a custom domain, configure zero-downtime deploys, or troubleshoot port binding issues.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Frender\u002Fskills\u002Frender-web-services\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M77XZW1AZ6B6NZTWWFVY72T3","render-static-sites","Deploys and configures static sites on Render's global CDN—build commands, publish paths, SPA routing, redirects, custom headers, and PR previews. Use when the user needs to deploy a static site, set up a React\u002FVue\u002FHugo\u002FGatsby frontend, configure SPA fallback routing, add redirect rules, customize response headers, or choose between a static site and a web service for their frontend. Trigger terms: static site, CDN, SPA, single-page app, React deploy, Vue deploy, Hugo, Gatsby, Docusaurus, Jekyll, staticPublishPath.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Frender\u002Fskills\u002Frender-static-sites\u002FSKILL.md",[],[]]