Updating noridocs

From microsoft/FluidFramework · View interactive version

Updating noridocs is an AI agent skill from the GitHub repository microsoft/FluidFramework. Use this when you have finished making code changes and you are ready to update the documentation based on those changes.

How to use this skill

Skill file

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:

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:

Step 3: Verify Updates

Check that documentation was updated:

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

Skipping verification

Documenting trivial changes

Red Flags

Never:

Always:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.