首页/ AI 技能 / @skilllib/skill-2014279379331788803
Skill站外收录 @skilllib/skill-2014279379331788803

paid-write-noridoc

在服务器端 noridocs 系统中创建或更新结构化文档,支持按代码仓库维度组织内容、关联 Git 仓库链接,并自动生成版本号,适用于需要集中维护和版本化服务端技术文档的协作场景。

0.0 (0) 773 次安装 原作者 编程导航
收录于 2026-01-22
文档处理 AI 技能

Skills.MD

# Write Noridoc Writes documentation to the server-side noridocs system. ## When to Use Use this when: - Creating new server-side documentation - Updating existing noridoc content - Adding git repository links to docs Use regular Write tool instead for: - Local file modifications - Files not managed by noridocs ## Usage ```bash node {{skills_dir}}/write-noridoc/script.js --filePath="@<repository>/path" --content="# Documentation" [--gitRepoUrl="https://github.com/..."] ``` ## Parameters - `--filePath` (required): Path in format `@<repository>/<path>` (e.g., `@my-repo/server/src/persistence`) - Use `@<repository>/path` for repository-scoped docs - Use `@/path` or plain paths for `no-repository` scope (backward compatible) - `--content` (required): Markdown content - `--gitRepoUrl` (optional): Link to git repository ## Repository Detection The repository is automatically extracted from the filePath by the server: - `@my-repo/server/src/api` → repository: `my-repo` - `@/server/src/api` → repository: `no-repository` - `server/src/api` → repository: `no-repository` Repository names must be **lowercase letters, numbers, and hyphens** only. ## Examples ### Create repository-scoped noridoc ```bash node {{skills_dir}}/write-noridoc/script.js \ --filePath="@my-repo/server/src/api" \ --content="# API Client Provides access to Nori backend." \ --gitRepoUrl="https://github.com/username/my-repo" ``` ### Create noridoc without repository scope ```bash node {{skills_dir}}/write-noridoc/script.js \ --filePath="@/server/src/api" \ --content="# API Client" ``` ## Output Returns confirmation with version number (creates new version automatically). ## Requirements - Paid Nori subscription - Configured credentials in `~/nori-config.json`

评论 0

还没有评论,来抢沙发。