updating-noridocs
$
npx mdskill add microsoft/FluidFramework/updating-noridocsUpdates Noridocs documentation after code changes
- Synchronizes documentation with recent code modifications
- Uses the nori-change-documenter subagent for updates
- Requires context about changes, files, and motivations
- Verifies updated docs.md files through git status and diffs
SKILL.md
.github/skills/updating-noridocsView on GitHub ↗
--- name: updating-noridocs description: Use this when you have finished making code changes and you are ready to update the documentation based on those changes. --- # 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:** ```bash 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 ## 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
More from microsoft/FluidFramework
- api-changesUse when customer-facing API changes were made — i.e., API report .md files differ from main. Guides through release tag assignment, API Council review requirements, breaking change classification, deprecation process, and changeset guidance. Triggered automatically by ci-readiness-check when api-report diffs are detected.
- brainstormingIMMEDIATELY USE THIS SKILL when creating or develop anything and before writing code or implementation plans - refines rough ideas into fully-formed designs through structured Socratic questioning, alternative exploration, and incremental validation
- building-ui-uxUse when implementing user interfaces or user experiences - guides through exploration of design variations, frontend setup, iteration, and proper integration
- ci-readiness-checkUse when the user explicitly asks for a CI check or to push their branch — e.g. "ci readiness", "check ci", "pre-push check", "ready for CI", "ci check", "ready to push", "push my changes", "push the branch", "let's push". Catches common CI failures before pushing — formatting, stale API reports, missing changesets, policy violations.
- creating-debug-tests-and-iteratingUse this skill when faced with a difficult debugging task where you need to replicate some bug or behavior in order to see what is going wrong.
- creating-skillsUse when you need to create a new custom skill for a profile - guides through gathering requirements, creating directory structure, writing SKILL.md, and optionally adding bundled scripts
- ff-oce-dashboardGenerate the OCE shift status dashboard. Triggers on: 'generate shift dashboard', 'show dashboard', 'shift status', 'status dashboard', 'what's going on', or any request for a NON-SPECIFIC overview of current OCE status (incidents, pipelines, errors).
- ff-oce-kustoUse this skill for any Kusto query or telemetry investigation specifically related to Fluid Framework or its partners. Triggers include: writing or running a Kusto query against the Office Fluid database, investigating Fluid Framework telemetry or error rates, querying Office_Fluid_FluidRuntime_* tables, looking up a Fluid session by Session_Id or docId, investigating a Fluid-related error in Loop or Whiteboard telemetry, monitoring an FF bump or partner ring deployment, checking Fluid render reliability or Scriptor errors, or when the user mentions Fluid-specific tables (Office_Fluid_FluidRuntime_*, OwhLoads, HostTracker, Scriptor) or Fluid-specific error types (dataCorruptionError, dataProcessingError, DeltaConnectionFailureToConnect, ICE, ACE). Do NOT trigger for general Kusto questions that are not related to Fluid Framework.
- finishing-a-development-branchUse this when you have completed some feature implementation and have written passing tests, and you are ready to create a PR.
- fluid-prUse when creating a pull request in the Fluid Framework repo. Composes a PR title and body following Fluid Framework conventions, proposes them to the user, then pushes the branch and creates the PR on GitHub. Triggers on "create a PR", "make a PR", "open a PR", "submit a PR", or "push and create a PR".