[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AWD7AR3Y80ER0YQ522JB9C":3,"skill-same:01M7AWD7AR3Y80ER0YQ522JB9C":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":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7AWD7AR3Y80ER0YQ522JB9C","nim-doc-comments",null,"Document exported Nim modules and APIs with doc comments that `nim doc` actually picks up, including module docs, proc and type docs, field docs, and runnable examples. Use when writing documentation for a Nim library or fixing docs that are missing, attached to the wrong symbol, or rendering incorrectly.","Vyrnexis\u002Fnim-agent-template","Vyrnexis","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F315210836?v=4","01M7AWARQX2P2CQ25GD7S71DHH","01M7AWARRJ3WF9DRPNJ6S1W9CG",5,"MIT","https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template\u002Fblob\u002Fmain\u002Fskills\u002Fnim-doc-comments\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nim-doc-comments\ndescription: Document exported Nim modules and APIs with doc comments that `nim doc` actually picks up, including module docs, proc and type docs, field docs, and runnable examples. Use when writing documentation for a Nim library or fixing docs that are missing, attached to the wrong symbol, or rendering incorrectly.\n---\n\n# Nim Doc Comments\n\n## Rules\n\n### Placement\n\n- `##` is a doc comment — `nim doc` picks it up. `#` is a regular comment and is ignored by docs.\n- Module docs go at the top of the file, before imports.\n- Proc\u002Ffunc\u002Fiterator\u002Ftemplate\u002Fconverter docs go immediately after the signature line, before the body.\n- Inside `type`, `const`, and `let` blocks, attach docs to the declaration line with trailing `##`.\n- Multi-line docs continue with `##` on the following lines, aligned under the declaration.\n- Enum value and object field docs go on their declaration lines.\n- Do not put a standalone `##` line above a declaration inside a `type` or `const` block and expect it to attach.\n\n### Visibility\n\n- Only exported symbols (`*`) appear in rendered docs. Non-exported symbols are hidden.\n\n### runnableExamples\n\n- Do not add `runnableExamples:` by default.\n- If used, place `runnableExamples:` after doc text and before implementation statements.\n- `nim doc` compiles and runs all `runnableExamples:` blocks.\n\n### Content\n\n- Start with a short summary sentence. Explain behavior, contracts, and constraints.\n- Skip comments that only restate the symbol name or obvious type info.\n\n## Workflow\n\n1. Identify the exported API.\n2. Place each doc comment using the correct source layout.\n3. Run `nim doc path\u002Fto\u002Fmodule.nim`.\n4. Check source placement and rendered output.\n5. Fix the source comments. Never edit generated output.\n\n## Common Mistakes\n\n| Mistake | Why it's wrong |\n|---------|----------------|\n| Putting a proc doc comment above the proc signature | `nim doc` treats it as module documentation, not proc documentation. |\n| Putting a standalone `##` line above a declaration inside a `type` or `const` block | It does not attach to that symbol; put the doc on the declaration line. |\n| Checking only rendered HTML | A misplaced module-style comment can still render, so source placement still needs inspection. |\n\n## References\n\n- `references\u002Fmodule_docs.md` — Line and block forms for module docs and top-level examples.\n- `references\u002Fproc_and_type_docs.md` — Doc placement for exported declarations and fields.\n- `references\u002Frunnable_examples.md` — `runnableExamples` forms with placement and compiler flags.\n","# Nim Doc Comments\n\n## Rules\n\n### Placement\n\n- `##` is a doc comment — `nim doc` picks it up. `#` is a regular comment and is ignored by docs.\n- Module docs go at the top of the file, before imports.\n- Proc\u002Ffunc\u002Fiterator\u002Ftemplate\u002Fconverter docs go immediately after the signature line, before the body.\n- Inside `type`, `const`, and `let` blocks, attach docs to the declaration line with trailing `##`.\n- Multi-line docs continue with `##` on the following lines, aligned under the declaration.\n- Enum value and object field docs go on their declaration lines.\n- Do not put a standalone `##` line above a declaration inside a `type` or `const` block and expect it to attach.\n\n### Visibility\n\n- Only exported symbols (`*`) appear in rendered docs. Non-exported symbols are hidden.\n\n### runnableExamples\n\n- Do not add `runnableExamples:` by default.\n- If used, place `runnableExamples:` after doc text and before implementation statements.\n- `nim doc` compiles and runs all `runnableExamples:` blocks.\n\n### Content\n\n- Start with a short summary sentence. Explain behavior, contracts, and constraints.\n- Skip comments that only restate the symbol name or obvious type info.\n\n## Workflow\n\n1. Identify the exported API.\n2. Place each doc comment using the correct source layout.\n3. Run `nim doc path\u002Fto\u002Fmodule.nim`.\n4. Check source placement and rendered output.\n5. Fix the source comments. Never edit generated output.\n\n## Common Mistakes\n\n| Mistake | Why it's wrong |\n|---------|----------------|\n| Putting a proc doc comment above the proc signature | `nim doc` treats it as module documentation, not proc documentation. |\n| Putting a standalone `##` line above a declaration inside a `type` or `const` block | It does not attach to that symbol; put the doc on the declaration line. |\n| Checking only rendered HTML | A misplaced module-style comment can still render, so source placement still needs inspection. |\n\n## References\n\n- `references\u002Fmodule_docs.md` — Line and block forms for module docs and top-level examples.\n- `references\u002Fproc_and_type_docs.md` — Doc placement for exported declarations and fields.\n- `references\u002Frunnable_examples.md` — `runnableExamples` forms with placement and compiler flags.\n",{"name":5,"description":7},"main","060e1c453fdad0410a2b385f59275494911d9a4b","skills\u002Fnim-doc-comments",2,"https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template","https:\u002F\u002Fgithub.com\u002FVyrnexis","https:\u002F\u002Fvyrnexis.github.io","2026-10-27 00:06:43",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Vyrnexis\u002Fnim-agent-template --skill nim-doc-comments",{"tool":37,"command":38},"bunx","bunx skills add Vyrnexis\u002Fnim-agent-template --skill nim-doc-comments",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Vyrnexis\u002Fnim-agent-template --skill nim-doc-comments","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template\u002Fblob\u002Fmain\u002Fskills\u002Fnim-doc-comments\u002FSKILL.md",true,[45,51,55],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fmodule_docs.md","REFERENCE","参考文档",869,"https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template\u002Fblob\u002Fmain\u002Fskills\u002Fnim-doc-comments\u002Freferences\u002Fmodule_docs.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fproc_and_type_docs.md",1474,"https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template\u002Fblob\u002Fmain\u002Fskills\u002Fnim-doc-comments\u002Freferences\u002Fproc_and_type_docs.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Frunnable_examples.md",851,"https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template\u002Fblob\u002Fmain\u002Fskills\u002Fnim-doc-comments\u002Freferences\u002Frunnable_examples.md",[60,67,74,81,88,95],{"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":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M7AWEDMYZVEFGPQYGCVC4NQN","run-tests","Runs the project unit tests and validation suites.","https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template\u002Fblob\u002Fmain\u002Fskills\u002Frun-tests\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7AWE9HNJ36TDH5NPDVCEAHC","nimonyplugins","Build and debug Nimony compile-time plugins for code generation and DSL rewrites. Use when replacing Nim macros with Nimony plugins, writing or reviewing template, for-loop, module, type, or import plugins, or diagnosing NIF traversal and generated output.","https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template\u002Fblob\u002Fmain\u002Fskills\u002Fnimonyplugins\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7AWE4F7EJ1H837ETBHESE2T","nim-testing","Write and run deterministic Nim tests, including isolated test files, expected-exception checks, multi-configuration builds, and sanitizer integration. Use when setting up a Nim test suite, testing failure behavior, running tests across debug\u002Frelease\u002Fdanger modes, or adding AddressSanitizer support.","https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template\u002Fblob\u002Fmain\u002Fskills\u002Fnim-testing\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7AWE0S8C3Y39VGR54R23FZD","nim-style-guide","Write clear, consistent Nim code in a simple stdlib-aligned style, covering imports, naming, proc vs func vs template choices, local variables, constructors, formatting, and control flow. Use when writing new Nim code or reviewing a Nim module for readability, consistency, and low-noise style decisions.","https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template\u002Fblob\u002Fmain\u002Fskills\u002Fnim-style-guide\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M7AWDWZAD6RQ547RT96RHA5B","nim-ownership-hooks","Implement and review Nim ARC\u002FORC ownership hooks for types that manually manage resources, including move-only, deep-copy, refcounted, and copy-on-write patterns. Use when a Nim type owns pointers, buffers, file descriptors, or custom heap memory and you need correct `=destroy`, `=copy`, `=dup`, `=sink`, or move semantics.","https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template\u002Fblob\u002Fmain\u002Fskills\u002Fnim-ownership-hooks\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M7AWDQ5JGN9XNNJ9FKJQ14GP","nim-mcp-tools","Use for Nim symbol navigation, diagnostics, and type resolution. MANDATORY: Use specialized MCP tools (nimFindSymbols, nimFindReferences, nimListSymbols, nimCheckFile, nimCheckProject, nimFindTypeDefinition) first; fall back to grep only on error or user confirmation.","https:\u002F\u002Fgithub.com\u002FVyrnexis\u002Fnim-agent-template\u002Fblob\u002Fmain\u002Fskills\u002Fnim-mcp-tools\u002FSKILL.md",[],[]]