[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KNF86GD1VD2F2A0CPK2Y8T":3,"skill-same:01M6KNF86GD1VD2F2A0CPK2Y8T":60},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M6KNF86GD1VD2F2A0CPK2Y8T","tools-creusot-init",null,"Prepare an existing Cargo project to use Creusot formal verification","AI-native-Systems-Research\u002Fai-native-storage-certus","AI-native-Systems-Research","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F270755458?v=4","01M6KKQWSJX0D4X33E0KKSR4WM","AI-native Systems Research","01M6KKQWXTKR6MYVQMPKVJ5WD5",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus\u002Fblob\u002Funstable\u002Fcomponents\u002Feviction-policy-session-lists\u002F.claude\u002Fskills\u002Ftools-creusot-init\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"init","Tools","tools creusot init","directory","components","prepare","verification","use","formal verification","project","cargo","manager","Existing","2026-11-10 10:12:30",false,"---\nname: tools-creusot-init\ndescription: Prepare an existing Cargo project to use Creusot formal verification\nargument-hint: \u003Cproject-directory>  (e.g. components\u002Fextent-manager)\n---\n\nThis skill takes a cargo project directory and configures it for Creusot verification.\n\n## Input\n\nThe user must provide the target project directory as an argument (e.g. `\u002Ftools-init-creusot components\u002Fdispatch-map`).\n\nIf no argument is provided, show the hint and stop.\n\n## Prerequisites\n\n- Creusot must already be installed (`cargo creusot version` should succeed)\n- If not installed, inform the user to run the `tools-install-creusot` skill first, then stop\n\n## Steps\n\n1. Verify the target directory contains a `Cargo.toml`. If not, inform the user and stop.\n\n2. Check that Creusot is installed by running `cargo creusot version`. If it fails, tell the user to run `\u002Ftools-install-creusot` first and stop.\n\n3. Modify `Cargo.toml`:\n   - Add `creusot-std = \"0.12.0-dev\"` under `[dependencies]` (if not already present)\n   - Add a `[patch.crates-io]` section pointing to the local creusot-std (use a relative path from the project to the certus repo's `tools\u002Fcreusot\u002Fcreusot\u002Fcreusot-std`, or use `~` notation for shell expansion):\n     ```toml\n     [patch.crates-io]\n     creusot-std = { path = \"\u003Crelative-path-to>\u002Ftools\u002Fcreusot\u002Fcreusot\u002Fcreusot-std\" }\n     ```\n     Compute the correct relative path from the target project directory to `certus\u002Ftools\u002Fcreusot\u002Fcreusot\u002Fcreusot-std`.\n   - Add the `cfg(creusot)` lint configuration under `[lints.rust]`:\n     ```toml\n     [lints.rust]\n     unexpected_cfgs = { level = \"warn\", check-cfg = ['cfg(creusot)'] }\n     ```\n   - If the project is inside another workspace but should be standalone, add an empty `[workspace]` table\n\n4. Create `why3find.json` in the project root (if not already present):\n   ```json\n   {\n     \"fast\": 0.2,\n     \"time\": 1,\n     \"depth\": 6,\n     \"packages\": [ \"creusot\" ],\n     \"provers\": [ \"alt-ergo\", \"z3\", \"cvc5\", \"cvc4\" ],\n     \"tactics\": [ \"compute_specified\", \"split_vc\" ],\n     \"drivers\": [],\n     \"warnoff\": [ \"unused_variable\", \"axiom_abstract\" ]\n   }\n   ```\n\n5. Add `use creusot_std::prelude::*;` to `src\u002Flib.rs` or `src\u002Fmain.rs` (if not already present). If the file has existing functions, add a commented example showing how to annotate:\n   ```rust\n   \u002F\u002F Example Creusot annotations:\n   \u002F\u002F #[requires(precondition)]\n   \u002F\u002F #[ensures(postcondition)]\n   \u002F\u002F pub fn verified_function(...) { ... }\n   ```\n\n6. Run `cargo clean` to remove any stale build artifacts that would block Creusot's translation pass.\n\n7. Verify the setup works by running:\n   ```\n   export PATH=\"$HOME\u002F.local\u002Fshare\u002Fcreusot\u002Fbin:$PATH\"\n   cargo creusot --only coma\n   ```\n   This should compile without errors. If there are no annotated functions yet, it will produce no `.coma` files — that's expected.\n\n8. Report success and tell the user:\n   - Add `#[requires(...)]` and `#[ensures(...)]` annotations to functions they want to verify\n   - Run `cargo creusot` to build and prove\n   - Run `why3find prove verif\u002F\u003Ccrate_name>_rlib\u002F*.coma` to prove individual files\n   - Reference `certus\u002Ftools\u002Fcreusot\u002Fcreusot-test-example\u002Fsrc\u002Flib.rs` for annotation examples\n\n## Notes\n- Always run `cargo clean` before the first `cargo creusot` if the project was previously built with plain `cargo build`\n- The `[patch.crates-io]` section assumes Creusot was cloned to `certus\u002Ftools\u002Fcreusot\u002Fcreusot` per the install skill\n- If the project uses `edition = \"2024\"`, it works with Creusot's required nightly toolchain\n","This skill takes a cargo project directory and configures it for Creusot verification.\n\n## Input\n\nThe user must provide the target project directory as an argument (e.g. `\u002Ftools-init-creusot components\u002Fdispatch-map`).\n\nIf no argument is provided, show the hint and stop.\n\n## Prerequisites\n\n- Creusot must already be installed (`cargo creusot version` should succeed)\n- If not installed, inform the user to run the `tools-install-creusot` skill first, then stop\n\n## Steps\n\n1. Verify the target directory contains a `Cargo.toml`. If not, inform the user and stop.\n\n2. Check that Creusot is installed by running `cargo creusot version`. If it fails, tell the user to run `\u002Ftools-install-creusot` first and stop.\n\n3. Modify `Cargo.toml`:\n   - Add `creusot-std = \"0.12.0-dev\"` under `[dependencies]` (if not already present)\n   - Add a `[patch.crates-io]` section pointing to the local creusot-std (use a relative path from the project to the certus repo's `tools\u002Fcreusot\u002Fcreusot\u002Fcreusot-std`, or use `~` notation for shell expansion):\n     ```toml\n     [patch.crates-io]\n     creusot-std = { path = \"\u003Crelative-path-to>\u002Ftools\u002Fcreusot\u002Fcreusot\u002Fcreusot-std\" }\n     ```\n     Compute the correct relative path from the target project directory to `certus\u002Ftools\u002Fcreusot\u002Fcreusot\u002Fcreusot-std`.\n   - Add the `cfg(creusot)` lint configuration under `[lints.rust]`:\n     ```toml\n     [lints.rust]\n     unexpected_cfgs = { level = \"warn\", check-cfg = ['cfg(creusot)'] }\n     ```\n   - If the project is inside another workspace but should be standalone, add an empty `[workspace]` table\n\n4. Create `why3find.json` in the project root (if not already present):\n   ```json\n   {\n     \"fast\": 0.2,\n     \"time\": 1,\n     \"depth\": 6,\n     \"packages\": [ \"creusot\" ],\n     \"provers\": [ \"alt-ergo\", \"z3\", \"cvc5\", \"cvc4\" ],\n     \"tactics\": [ \"compute_specified\", \"split_vc\" ],\n     \"drivers\": [],\n     \"warnoff\": [ \"unused_variable\", \"axiom_abstract\" ]\n   }\n   ```\n\n5. Add `use creusot_std::prelude::*;` to `src\u002Flib.rs` or `src\u002Fmain.rs` (if not already present). If the file has existing functions, add a commented example showing how to annotate:\n   ```rust\n   \u002F\u002F Example Creusot annotations:\n   \u002F\u002F #[requires(precondition)]\n   \u002F\u002F #[ensures(postcondition)]\n   \u002F\u002F pub fn verified_function(...) { ... }\n   ```\n\n6. Run `cargo clean` to remove any stale build artifacts that would block Creusot's translation pass.\n\n7. Verify the setup works by running:\n   ```\n   export PATH=\"$HOME\u002F.local\u002Fshare\u002Fcreusot\u002Fbin:$PATH\"\n   cargo creusot --only coma\n   ```\n   This should compile without errors. If there are no annotated functions yet, it will produce no `.coma` files — that's expected.\n\n8. Report success and tell the user:\n   - Add `#[requires(...)]` and `#[ensures(...)]` annotations to functions they want to verify\n   - Run `cargo creusot` to build and prove\n   - Run `why3find prove verif\u002F\u003Ccrate_name>_rlib\u002F*.coma` to prove individual files\n   - Reference `certus\u002Ftools\u002Fcreusot\u002Fcreusot-test-example\u002Fsrc\u002Flib.rs` for annotation examples\n\n## Notes\n- Always run `cargo clean` before the first `cargo creusot` if the project was previously built with plain `cargo build`\n- The `[patch.crates-io]` section assumes Creusot was cloned to `certus\u002Ftools\u002Fcreusot\u002Fcreusot` per the install skill\n- If the project uses `edition = \"2024\"`, it works with Creusot's required nightly toolchain\n",{"name":5,"description":7,"argument-hint":37},"\u003Cproject-directory>  (e.g. components\u002Fextent-manager)","unstable","dc564aa356769b7754391c9fa4fdaa0f179f476c","components\u002Feviction-policy-session-lists\u002F.claude\u002Fskills\u002Ftools-creusot-init",4,"https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus","https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research","https:\u002F\u002Fai-native-systems-research.github.io\u002Fai-native-systems-research\u002F","2026-11-12 06:08:32",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add AI-native-Systems-Research\u002Fai-native-storage-certus --skill tools-creusot-init",{"tool":52,"command":53},"bunx","bunx skills add AI-native-Systems-Research\u002Fai-native-storage-certus --skill tools-creusot-init",{"tool":55,"command":56},"pnpm","pnpm dlx skills add AI-native-Systems-Research\u002Fai-native-storage-certus --skill tools-creusot-init","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus\u002Fblob\u002Funstable\u002Fcomponents\u002Feviction-policy-session-lists\u002F.claude\u002Fskills\u002Ftools-creusot-init\u002FSKILL.md",true,[],[61,79,93,104,109,121],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":32},"01M6KP29TWSNGADF3AJ47BR7TY","tools-spin-sync","Synchronize Spin\u002FPromela models with current source code and re-verify","https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus\u002Fblob\u002Funstable\u002Fcomponents\u002Fzyre\u002F.claude\u002Fskills\u002Ftools-spin-sync\u002FSKILL.md",[],[68,20,69,70,71,72,73,74,75,76,77,78],"tools spin sync","sync","code","verify","model","models","name","with","re","source","source code",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":32},"01M6KP277TDY3ZAJEBP5P6MDT8","tools-spin-model","Create a new Spin\u002FPromela formal verification model for a system property","https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus\u002Fblob\u002Funstable\u002Fcomponents\u002Fzyre\u002F.claude\u002Fskills\u002Ftools-spin-model\u002FSKILL.md",[],[86,72,20,87,27,88,89,90,91,92,25],"tools spin model","system","number","for","prove","new","create",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":32},"01M6KP250W406CEDSF02BRXT9D","tools-creusot-install","Install the Creusot Rust verification tool","https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus\u002Fblob\u002Funstable\u002Fcomponents\u002Fzyre\u002F.claude\u002Fskills\u002Ftools-creusot-install\u002FSKILL.md",[],[100,101,20,102,25,103],"tools creusot install","install","rust","tool",{"skillNo":105,"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":106,"categories":107,"keywords":108,"publishedAt":32},"01M6KP22H28FQ1X0V7VJHEFWXD","https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus\u002Fblob\u002Funstable\u002Fcomponents\u002Fzyre\u002F.claude\u002Fskills\u002Ftools-creusot-init\u002FSKILL.md",[],[21,20,19,28,22,23,24,25,26,27,29,30,31],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":32},"01M6KP1V506J9YM8DKKVDG1NRE","tools-creusot-coq-install","Add Coq 8.20 as an additional prover to an existing Creusot installation, for verification conditions that SMT solvers cannot discharge","https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus\u002Fblob\u002Funstable\u002Fcomponents\u002Fzyre\u002F.claude\u002Fskills\u002Ftools-creusot-coq-install\u002FSKILL.md",[],[116,117,101,20,89,31,118,119,25,120],"tools creusot coq install","Coq","as","installation","add",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":32},"01M6KP1PQJF3H765TYZAZ7P3EF","tools-creusot-annotate-interfaces","Formally verify a component's properties with Creusot and annotate its interface definitions","https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus\u002Fblob\u002Funstable\u002Fcomponents\u002Fzyre\u002F.claude\u002Fskills\u002Ftools-creusot-annotate-interfaces\u002FSKILL.md",[],[20,128,129,75,74,130,71,131,132],"tools creusot annotate interfaces","annotate","properties","component","interface"]