[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EFS1NW4T7F9A567Q2E2JD5":3,"skill-same:01M7EFS1NW4T7F9A567Q2E2JD5":44},{"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":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7EFS1NW4T7F9A567Q2E2JD5","rs-add-lib-mod-file",null,"Use it to create a Rust source file in a library module","diego-minguzzi-sw\u002Fai-coding","diego-minguzzi-sw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F172079330?v=4","01M7EFRBN2F8VYSC20K3JKV25H","01M7EFRBP4XWHKJRXY8585Z273",1,"MIT","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Frs-add-lib-mod-file\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: rs-add-lib-mod-file\ndescription: Use it to create a Rust source file in a library module\n---\nInstructions to create a Rust source file [rs-file] in the library module [mod].\n\nRequired parameters:\n\n  - [rs-file] the name of the Rust source file.  The filename will be [rs-file].rs\n  - [mod] the module that will contain the new Rust source file.\n\nSteps:\n  - locate the Rust project\n  - retrieve the parameters from the user\n  - find information related to the environment\n  - validate and possibly update [rs-file]\n  - create the Rust source file\n  - create or update mod.rs to include the new module\n\n# Locate the Rust project\nThis skill is intended to be used in  Rust projects only.\nThe module is created in a Rust project.\nIf it not clear, ask the user which one is the Rust project root directory and use it to locate the src directory; the one containing the files Cargo.toml and Cargo.lock.\n\n\n# Retrieve the parameters from the user\nThe user must specify all the neede parameters:\n  - [rs-file] the name of the Rust source file.  The filename will be src\u002F[mod]\u002F[rs-file].rs\n  - [mod] the module that will contain the new Rust source file.\n\nIn any of these cases, notify the user and exit:\n\n  - the user does not specify all the needed parameters\n  - [rs-file] is such that [rs-file].rs is not a valid filename\n  - the Rust project does not contain a directory named src\u002F[mod]\n\n# Find information related to the environment\n## Username\nThe username of the current user is required to populate the file header.\nUse the skill \u002Futils-get-username to retrieve the username.\nAssign the username to the variable [username] .\n\n# Validate and possibly update [rs-file]\nMake sure that [rs-file].rs is lowercase snakecase.\nIf not try to:\n  - substitute dash characters with underscore\n  - transform into lowercase\n\nIf these transformations do not get a valid lower snakecase filename, notify the user and exit.\n\nOtherwise transform into lowercase snakecase.\n\n# Create the Rust source file\nUse the skill \u002Frs-create-file to create a Rust source file src\u002F[mod]\u002F[rs-file].rs in the directory src\u002F[mod] with name [rs-file].rs\n\n# Create or update mod.rs to include the new module\n\n- If the file src\u002F[mod]\u002Fmod.rs does not exist, create it using the skill \u002Frs-create-file\n- otherwise add the following lines to src\u002F[mod]\u002Fmod.rs file\n\nAdd the following lines to src\u002F[mod]\u002Fmod.rs, sorting the child modules by name:\n```rust\nmod [rs-file];\npub use self::[rs-file]::*; \u002F\u002F Exposes pub entities of [rs-file] as pub in [mod].\n```\n\n\n","Instructions to create a Rust source file [rs-file] in the library module [mod].\n\nRequired parameters:\n\n  - [rs-file] the name of the Rust source file.  The filename will be [rs-file].rs\n  - [mod] the module that will contain the new Rust source file.\n\nSteps:\n  - locate the Rust project\n  - retrieve the parameters from the user\n  - find information related to the environment\n  - validate and possibly update [rs-file]\n  - create the Rust source file\n  - create or update mod.rs to include the new module\n\n# Locate the Rust project\nThis skill is intended to be used in  Rust projects only.\nThe module is created in a Rust project.\nIf it not clear, ask the user which one is the Rust project root directory and use it to locate the src directory; the one containing the files Cargo.toml and Cargo.lock.\n\n\n# Retrieve the parameters from the user\nThe user must specify all the neede parameters:\n  - [rs-file] the name of the Rust source file.  The filename will be src\u002F[mod]\u002F[rs-file].rs\n  - [mod] the module that will contain the new Rust source file.\n\nIn any of these cases, notify the user and exit:\n\n  - the user does not specify all the needed parameters\n  - [rs-file] is such that [rs-file].rs is not a valid filename\n  - the Rust project does not contain a directory named src\u002F[mod]\n\n# Find information related to the environment\n## Username\nThe username of the current user is required to populate the file header.\nUse the skill \u002Futils-get-username to retrieve the username.\nAssign the username to the variable [username] .\n\n# Validate and possibly update [rs-file]\nMake sure that [rs-file].rs is lowercase snakecase.\nIf not try to:\n  - substitute dash characters with underscore\n  - transform into lowercase\n\nIf these transformations do not get a valid lower snakecase filename, notify the user and exit.\n\nOtherwise transform into lowercase snakecase.\n\n# Create the Rust source file\nUse the skill \u002Frs-create-file to create a Rust source file src\u002F[mod]\u002F[rs-file].rs in the directory src\u002F[mod] with name [rs-file].rs\n\n# Create or update mod.rs to include the new module\n\n- If the file src\u002F[mod]\u002Fmod.rs does not exist, create it using the skill \u002Frs-create-file\n- otherwise add the following lines to src\u002F[mod]\u002Fmod.rs file\n\nAdd the following lines to src\u002F[mod]\u002Fmod.rs, sorting the child modules by name:\n```rust\nmod [rs-file];\npub use self::[rs-file]::*; \u002F\u002F Exposes pub entities of [rs-file] as pub in [mod].\n```\n\n\n",{"name":5,"description":7},"main","26d912625dd9a12b0a24b20e4eec245c7e51f12f","skills\u002Frs-add-lib-mod-file",0,"https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw","2026-11-15 02:24:47",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add diego-minguzzi-sw\u002Fai-coding --skill rs-add-lib-mod-file",{"tool":36,"command":37},"bunx","bunx skills add diego-minguzzi-sw\u002Fai-coding --skill rs-add-lib-mod-file",{"tool":39,"command":40},"pnpm","pnpm dlx skills add diego-minguzzi-sw\u002Fai-coding --skill rs-add-lib-mod-file","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Frs-add-lib-mod-file\u002FSKILL.md",true,[],[45,52,59,65,72,79],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M7EFSK00N89VJN4Z7F57WERA","utils-get-username","Use it to get the name of the user running the skill.","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Futils-get-username\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7EFSFNN3JHBRC5FM4TK4J38","sparring-partner","When I plan a task, act like a sparring partner.","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Fsparring-partner\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7EFSCJKKJPPR0RZ7FNNA9T1","rs-create-lib","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Frs-create-lib\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7EFS88SWRW6P8QNH8Y4B565","rs-create-lib-mod","Use with Rust, to create a new module in the project library.","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Frs-create-lib-mod\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7EFS4DRWFP231PHGH4987MF","rs-create-file","Use it to create a new Rust source file","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Frs-create-file\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EFRXXRRTZ21BJZCJK23NNX","roll-dice","Roll dice using a random number generator. Use when asked to roll a die (6, 20, etc.), roll dice, or generate a random dice roll.","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Froll-dice\u002FSKILL.md",[],[]]