[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KKY9B7BQNZNNAE194629SF":3,"skill-same:01M6KKY9B7BQNZNNAE194629SF":71},{"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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6KKY9B7BQNZNNAE194629SF","tools-count-sloc",null,"Present a summary of the code base including lines of source code and complexity metrics.","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\u002F.claude\u002Fskills\u002Ftools-count-sloc\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"count","Tools","tools count sloc","sloc","base","source code","source","path","root","present","code","summary","default","complexity","repo","Bash","metrics","2026-11-10 10:12:30",false,"---\nname: tools-count-sloc\ndescription: Present a summary of the code base including lines of source code and complexity metrics.\nallowed-tools: Bash(*)\nargument-hint: \"[path]  (default: repo root)\"\n---\n\nCount lines of source code and present complexity metrics for the codebase.\n\n## Input\n\nOptional argument: a subdirectory to scope the analysis (e.g. `components\u002Fdispatcher\u002Fv0`). Defaults to the repository root.\n\n## Steps\n\n1. Determine the target directory:\n\n```bash\nREPO_ROOT=$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\nif [[ -n \"$ARGUMENTS\" ]]; then\n    TARGET=\"$REPO_ROOT\u002F$ARGUMENTS\"\n    if [[ ! -d \"$TARGET\" ]]; then\n        echo \"Error: directory not found: $TARGET\" >&2\n        exit 1\n    fi\nelse\n    TARGET=\"$REPO_ROOT\"\nfi\n```\n\n2. Ensure `tokei` is installed (it's a fast, accurate SLOC counter written in Rust):\n\n```bash\nif ! command -v tokei &>\u002Fdev\u002Fnull; then\n    echo \"Installing tokei...\"\n    cargo install tokei --quiet\nfi\n```\n\n3. Run tokei for the SLOC summary, excluding build artifacts and vendored dependencies:\n\n```bash\ntokei \"$TARGET\" --exclude deps\u002Fspdk-build --exclude target --sort code\n```\n\n4. Run the complexity analysis script to produce per-component metrics:\n\n```bash\nSCRIPT=\"$(git rev-parse --show-toplevel)\u002F.claude\u002Fskills\u002Ftools-count-sloc\u002Fcomplexity.sh\"\nbash \"$SCRIPT\" \"$TARGET\"\n```\n\n5. Present the results to the user in a clear summary with:\n   - Total lines of code (by language)\n   - Breakdown by component\u002Fdirectory\n   - Complexity indicators (files with highest function counts, deepest nesting)\n   - Comparison of code vs tests vs comments ratios\n\n6. Write out the presented results to SUMMARY.md file. Interactively allow user to specify a different directory.\n","Count lines of source code and present complexity metrics for the codebase.\n\n## Input\n\nOptional argument: a subdirectory to scope the analysis (e.g. `components\u002Fdispatcher\u002Fv0`). Defaults to the repository root.\n\n## Steps\n\n1. Determine the target directory:\n\n```bash\nREPO_ROOT=$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\nif [[ -n \"$ARGUMENTS\" ]]; then\n    TARGET=\"$REPO_ROOT\u002F$ARGUMENTS\"\n    if [[ ! -d \"$TARGET\" ]]; then\n        echo \"Error: directory not found: $TARGET\" >&2\n        exit 1\n    fi\nelse\n    TARGET=\"$REPO_ROOT\"\nfi\n```\n\n2. Ensure `tokei` is installed (it's a fast, accurate SLOC counter written in Rust):\n\n```bash\nif ! command -v tokei &>\u002Fdev\u002Fnull; then\n    echo \"Installing tokei...\"\n    cargo install tokei --quiet\nfi\n```\n\n3. Run tokei for the SLOC summary, excluding build artifacts and vendored dependencies:\n\n```bash\ntokei \"$TARGET\" --exclude deps\u002Fspdk-build --exclude target --sort code\n```\n\n4. Run the complexity analysis script to produce per-component metrics:\n\n```bash\nSCRIPT=\"$(git rev-parse --show-toplevel)\u002F.claude\u002Fskills\u002Ftools-count-sloc\u002Fcomplexity.sh\"\nbash \"$SCRIPT\" \"$TARGET\"\n```\n\n5. Present the results to the user in a clear summary with:\n   - Total lines of code (by language)\n   - Breakdown by component\u002Fdirectory\n   - Complexity indicators (files with highest function counts, deepest nesting)\n   - Comparison of code vs tests vs comments ratios\n\n6. Write out the presented results to SUMMARY.md file. Interactively allow user to specify a different directory.\n",{"name":5,"description":7,"allowed-tools":41,"argument-hint":42},"Bash(*)","[path]  (default: repo root)","unstable","dc564aa356769b7754391c9fa4fdaa0f179f476c",".claude\u002Fskills\u002Ftools-count-sloc",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":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add AI-native-Systems-Research\u002Fai-native-storage-certus --skill tools-count-sloc",{"tool":57,"command":58},"bunx","bunx skills add AI-native-Systems-Research\u002Fai-native-storage-certus --skill tools-count-sloc",{"tool":60,"command":61},"pnpm","pnpm dlx skills add AI-native-Systems-Research\u002Fai-native-storage-certus --skill tools-count-sloc","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus\u002Fblob\u002Funstable\u002F.claude\u002Fskills\u002Ftools-count-sloc\u002FSKILL.md",true,[65],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"complexity.sh","SCRIPT","脚本",4392,"https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus\u002Fblob\u002Funstable\u002F.claude\u002Fskills\u002Ftools-count-sloc\u002Fcomplexity.sh",[72,87,103,114,131,143],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":36},"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",[],[79,20,80,29,81,82,83,84,85,86,25,24],"tools spin sync","sync","verify","model","models","name","with","re",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":36},"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",[],[94,82,20,95,96,97,98,99,100,101,102],"tools spin model","system","formal verification","number","for","prove","new","create","verification",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":36},"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",[],[110,111,20,112,102,113],"tools creusot install","install","rust","tool",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":36},"01M6KP22H28FQ1X0V7VJHEFWXD","tools-creusot-init","Prepare an existing Cargo project to use Creusot formal verification","https:\u002F\u002Fgithub.com\u002FAI-native-Systems-Research\u002Fai-native-storage-certus\u002Fblob\u002Funstable\u002Fcomponents\u002Fzyre\u002F.claude\u002Fskills\u002Ftools-creusot-init\u002FSKILL.md",[],[121,20,122,123,124,125,126,102,127,96,128,129,130],"tools creusot init","init","project","directory","components","prepare","use","cargo","manager","Existing",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":36},"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",[],[138,139,111,20,98,130,140,141,102,142],"tools creusot coq install","Coq","as","installation","add",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":36},"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,150,151,85,84,152,81,153,154],"tools creusot annotate interfaces","annotate","properties","component","interface"]