[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FEPTNWQ300ZXJE2NQK157F":3,"skill-same:01M7FEPTNWQ300ZXJE2NQK157F":43},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7FEPTNWQ300ZXJE2NQK157F","rust-change",null,"Implement or review a change to the core or the bindings crate with the layering, tests and documentation evidence the invariants require.","BiscuitBin\u002Falliumpy","BiscuitBin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F345587809?v=4","01M7EB2YJH5XDMD513JY25JRH2","01M7FEPAEJ83F5AYQ4XK3D5QHA",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FBiscuitBin\u002Falliumpy\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Frust-change\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: rust-change\ndescription: Implement or review a change to the core or the bindings crate with the layering, tests and documentation evidence the invariants require.\n---\n\n# Change a crate\n\n1. Read `AGENTS.md` and `docs\u002Fexplanation\u002Farchitecture.md`. Identify the crate:\n   `crates\u002Falliumpy-core` holds conversions and constants without an interpreter;\n   `crates\u002Falliumpy` is the thin bindings crate. Cargo enforces the direction\n   `alliumpy` → `alliumpy-core` → `allium-parser`, never the reverse; pyo3 appears only\n   in `crates\u002Falliumpy`. A public core item exposed to Python is part of that API's shape.\n2. Find upstream's behaviour at the pin. For a conversion, read how `allium-cli`\n   computes the same value and assert it in a test. Ticket-scoped scaffolding without\n   parser or command behaviour may cite the ticket instead; behaviour still follows\n   invariant 1.\n3. Keep the lint boundary: the core inherits the workspace table; the bindings crate\n   has its own `[lints]` table, including `unsafe_code = \"forbid\"`. A lint pyo3's macro\n   output trips may be allowed there with a comment naming the macro, never in the\n   workspace table. Keep pedantic enabled and unsafe code forbidden in both crates.\n4. Derive the test from upstream's result before implementing, and confirm it fails\n   first. Unit tests live in the core module they test under `#[cfg(test)]`; public\n   items carry doctests that assert. The bindings crate has no Rust tests. An item the\n   binding exposes needs a pytest case under `crates\u002Falliumpy\u002Ftests\u002F`, with the stub\n   and Rust binding changed together. Use `python-change` for that evidence.\n5. Public core types are `Send + Sync + 'static`, `Clone` and `Debug`; public enums and\n   structs are `#[non_exhaustive]`. Errors have stable `Display` text: it becomes the\n   Python exception's message (invariant 3).\n6. Silence an item lint only with `#[expect(lint, reason = \"...\")]` on the item it names;\n   the macro-output exception belongs in the bindings table as step 3 describes.\n7. Run `just fmt-check`, `just clippy`, `just test`, `just coverage` and, for public\n   documentation, `just doc`, then `just check` before handoff. These test and coverage\n   recipes exclude the bindings crate. Snapshot checks validate locks first and run\n   offline because cargo-insta cannot forward `--locked`; cargo shear has no such flag\n   either (the invariant 7 wording gap is recorded in T05).\n8. Report by `file:line`: what changed, which upstream behaviour it reproduces, and\n   which test proves it.\n","# Change a crate\n\n1. Read `AGENTS.md` and `docs\u002Fexplanation\u002Farchitecture.md`. Identify the crate:\n   `crates\u002Falliumpy-core` holds conversions and constants without an interpreter;\n   `crates\u002Falliumpy` is the thin bindings crate. Cargo enforces the direction\n   `alliumpy` → `alliumpy-core` → `allium-parser`, never the reverse; pyo3 appears only\n   in `crates\u002Falliumpy`. A public core item exposed to Python is part of that API's shape.\n2. Find upstream's behaviour at the pin. For a conversion, read how `allium-cli`\n   computes the same value and assert it in a test. Ticket-scoped scaffolding without\n   parser or command behaviour may cite the ticket instead; behaviour still follows\n   invariant 1.\n3. Keep the lint boundary: the core inherits the workspace table; the bindings crate\n   has its own `[lints]` table, including `unsafe_code = \"forbid\"`. A lint pyo3's macro\n   output trips may be allowed there with a comment naming the macro, never in the\n   workspace table. Keep pedantic enabled and unsafe code forbidden in both crates.\n4. Derive the test from upstream's result before implementing, and confirm it fails\n   first. Unit tests live in the core module they test under `#[cfg(test)]`; public\n   items carry doctests that assert. The bindings crate has no Rust tests. An item the\n   binding exposes needs a pytest case under `crates\u002Falliumpy\u002Ftests\u002F`, with the stub\n   and Rust binding changed together. Use `python-change` for that evidence.\n5. Public core types are `Send + Sync + 'static`, `Clone` and `Debug`; public enums and\n   structs are `#[non_exhaustive]`. Errors have stable `Display` text: it becomes the\n   Python exception's message (invariant 3).\n6. Silence an item lint only with `#[expect(lint, reason = \"...\")]` on the item it names;\n   the macro-output exception belongs in the bindings table as step 3 describes.\n7. Run `just fmt-check`, `just clippy`, `just test`, `just coverage` and, for public\n   documentation, `just doc`, then `just check` before handoff. These test and coverage\n   recipes exclude the bindings crate. Snapshot checks validate locks first and run\n   offline because cargo-insta cannot forward `--locked`; cargo shear has no such flag\n   either (the invariant 7 wording gap is recorded in T05).\n8. Report by `file:line`: what changed, which upstream behaviour it reproduces, and\n   which test proves it.\n",{"name":5,"description":7},"main","545e7f2fc9283cd30a64dc6c0eb9d88ce92b5f50",".agents\u002Fskills\u002Frust-change","https:\u002F\u002Fgithub.com\u002FBiscuitBin\u002Falliumpy","https:\u002F\u002Fgithub.com\u002FBiscuitBin","2026-11-15 14:26:57",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add BiscuitBin\u002Falliumpy --skill rust-change",{"tool":35,"command":36},"bunx","bunx skills add BiscuitBin\u002Falliumpy --skill rust-change",{"tool":38,"command":39},"pnpm","pnpm dlx skills add BiscuitBin\u002Falliumpy --skill rust-change","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBiscuitBin\u002Falliumpy\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Frust-change\u002FSKILL.md",true,[],[44,49,56,63,70,77],{"skillNo":45,"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":46,"categories":47,"keywords":48,"publishedAt":18},"01M7FEQWXGZJ5AK4ZMN1TWXVJF","https:\u002F\u002Fgithub.com\u002FBiscuitBin\u002Falliumpy\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Frust-change\u002FSKILL.md",[],[],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7FEQSR6T3BT0QFHGR1STJWC","review-docs","Add or revise a handbook page so it satisfies the documentation contract and stays reachable.","https:\u002F\u002Fgithub.com\u002FBiscuitBin\u002Falliumpy\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Freview-docs\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M7FEQQMT1W6AJCD49DEVDEBJ","review-change","Review a change in this repository against its invariants, specifications, tests, and documentation contract.","https:\u002F\u002Fgithub.com\u002FBiscuitBin\u002Falliumpy\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Freview-change\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M7FEQMVDNGECVDDZB0VKK6X1","python-change","Implement or review a change to the Python package, its stub, its tests or the console script with the stubtest, pytest and wheel-smoke evidence the invariants require.","https:\u002F\u002Fgithub.com\u002FBiscuitBin\u002Falliumpy\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fpython-change\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M7FEQJXCX5NHEWQ2HR3W9FHM","project-check","Bring a workspace to a state where the full gate runs, and interpret what it reports.","https:\u002F\u002Fgithub.com\u002FBiscuitBin\u002Falliumpy\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fproject-check\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M7FEQGSVXF12NJDFPAQ0BPZ9","plan-change","Plan a change when the scope, affected specifications, risks, or validation need evidence before any code is written.","https:\u002F\u002Fgithub.com\u002FBiscuitBin\u002Falliumpy\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fplan-change\u002FSKILL.md",[],[]]