搜索

PythonReactSEOPDF
GitHub Skill

updating-noridocs

Use this when you have finished making code changes and you are ready to update the documentation based on those changes.

tilework-tech☆ 106 仓库 Stars5 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Updating Noridocs

Overview

Noridocs are docs.md files throughout the codebase that document each folder's purpose, architecture, and implementation. Update them after code changes using the nori-change-documenter subagent.

Core principle: Provide context → Dispatch subagent → Verify updates.

Announce at start: "I'm using the Updating Noridocs skill to update documentation."

The Process

Step 1: Gather Context

Prepare information for the subagent:

  • What changed? (feature added, bug fixed, refactor, etc.)
  • Why was it changed? (motivation, problem being solved)
  • Which folders/files were modified?
  • Any architectural changes or new patterns?
Step 2: Dispatch nori-change-documenter Subagent

Use Task tool with nori-change-documenter type:

Task(subagent_type: nori-change-documenter)

In the prompt, provide:

  • Clear description of what changed and why
  • File paths that were modified
  • Relevant context from PR/commits
  • Any architectural implications
  • Any out of date documentation that you noticed that is not directly related to your change
Step 3: Verify Updates

Check that documentation was updated:

  • Run git status to see which docs.md files changed
  • Review the diffs to ensure updates are accurate
  • Verify updates focus on system architecture, not minutiae
Step 4: Sync Remote docs.md Files
  • Check if the 'nori-sync-docs' skill exists at {{skills_dir}}/nori-sync-docs/SKILL.md.
    • If it does not exist, skip this step.
  • Ask the user if they want to sync all docs.md files to the remote server.
    • If the user declines, skip this step.
  • Read and follow {{skills_dir}}/nori-sync-docs/SKILL.md to sync all noridocs to the remote server.

Noridocs Format

Each docs.md follows this structure:

# Noridoc: [Folder Name]

Path: [Path to the folder from the repository root. Always start with @. For
  example, @/src/endpoints or @/docs ]

### Overview
[2-3 bullet summary of the folder]

### How it fits into the larger codebase

[2-10 bullet description of how the folder interacts with and fits into other
 parts of the codebase. Focus on system invariants, architecture, internal
 depenencies, places that call into this folder, and places that this folder
 calls out to]

### Core Implementation

[2-10 bullet description of entry points, data paths, key architectural
 details, state management]

### Things to Know

[2-10 bullet description of tricky implementation details, system invariants,
 or likely error surfaces]

Created and maintained by Nori.

Noridocs should NOT list files, maintain counts, or track line numbers. These are brittle documentation patterns that will break very quickly.

Common Mistakes

Providing vague context

  • Problem: Subagent can't understand what changed
  • Fix: Be specific about what/why/where

Skipping verification

  • Problem: Inaccurate or missing documentation updates
  • Fix: Always check git diff after subagent runs

Documenting trivial changes

  • Problem: Noise in documentation, wasted effort
  • Fix: Only update docs for significant architectural changes

Red Flags

Never:

  • Skip providing context to the subagent
  • Assume docs were updated without verifying
  • Update docs manually instead of using the subagent

Always:

  • Provide detailed context about what changed and why
  • Verify the subagent updated appropriate docs.md files
  • Focus on architectural/system-level changes

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!