Infra, Ops & WorkflowSûr100100/100

Update Docs (.NET)

Keep dotnet/sdk contributor guidance and agent memory synchronized after code changes. Run at the end of tasks that modify code, move files, change public contracts, alter tests or workflows, establish conventions, or reveal durable repository gotchas.

ou envoie-le directement à ton agent.

Installer dans ton projet

$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs update-docs__dotnet-dotnet__src-sdk-github-skills-886c2d4c9b15
.NET
dotnet/dotnet
Contenu à copier
---
name: update-docs
description: >-
  Keep dotnet/sdk contributor guidance and agent memory synchronized after code changes.
  Run at the end of tasks that modify code, move files, change public contracts, alter
  tests or workflows, establish conventions, or reveal durable repository gotchas.
license: MIT
metadata:
  origin: .NET
---

# Update docs

Run a documentation pass after the implementation and validation steps of a code-changing
task. Update only artifacts affected by the change; an internal change with no
contributor-, user-, or agent-visible impact needs no documentation edit.

## Check the knowledge base

**Architecture or ownership changed?** Update
`.github/memory/ARCHITECTURE.md` for component boundaries, process entry points, major
abstractions, or build/data flow.

**Files or responsibilities moved?** Update `.github/memory/FILE_MAP.md` when a
significant path is added, removed, renamed, repurposed, or changes dependency direction.

**The public-surface map changed?** Update `.github/memory/API_MAP.md` when a surface
category, ownership boundary, authoritative registry, or extension-point location changes.
Individual commands, options, properties, targets, diagnostics, templates, analyzers, or
library members normally update their owning code/help/tests, not this non-exhaustive map,
unless the map's summary becomes stale.

**A repository-wide rule or pattern changed?** Update
`.github/memory/CONVENTIONS.md`. Keep area-only guidance in the nearest `AGENTS.md` or
skill and link to it from memory only when it is important for orientation.

**Agent guidance changed?** Keep `.github/agents/*.agent.md` focused on role, boundaries,
and orchestration. Link to repository memory, the nearest `AGENTS.md`, and owning skills
instead of copying their maps, invariants, commands, or procedures.

**Test strategy changed?** Update `.github/memory/TESTING_STRATEGY.md` for test
platform architecture or canonical documentation ownership. Test selection, execution,
and product-layout freshness belong in `run-tests`; authoring and Helix-safe test
conventions belong in `test/AGENTS.md`; conditional-filtering details belong in
`test/ConditionalTests.props` and its design documentation.

**A durable gotcha or workaround was found or removed?** Update
`.github/memory/KNOWN_ISSUES.md`. Do not use it as a list of transient failures or open
bugs.

**Memory files changed?** Update `.github/memory/INDEX.md` when a file is added, removed,
renamed, or changes purpose. Its loading map must list exactly the files that exist.

## Check other documentation

Review the affected area for:

- the root and nearest area `AGENTS.md`
- `.github/skills/*/SKILL.md`, `.claude/skills/*/SKILL.md`, and `.github/agents/*.agent.md`
- contributor and area guidance under `documentation/`
- command help, usage text, completion and Verify snapshots

## Create a memory file only when warranted

Create a focused memory file when the knowledge:

- is durable enough to remain useful after the current task
- is likely to be reused across tasks or repository areas
- forms a coherent subject that does not fit an existing memory file
- is scoped narrowly enough for `INDEX.md` to say when agents should load it without
  pulling unrelated context
- can be grounded in stable primary sources

Do not create a memory file for task status, investigation notes, transient failures,
open-issue tracking, or a single implementation detail. Put area-specific rules in the
nearest `AGENTS.md`, repeatable procedures in a skill, and contributor-facing guidance
under `documentation/`.

## Ground and validate updates

1. Link important claims to the nearest primary repository source.
2. Cross-check memory against current code; do not copy a stale statement forward.
3. Mark inference or uncertainty instead of presenting it as established behavior.
4. Keep files focused and remove placeholders.
5. Give new memory files only `coverage:` frontmatter that states their precise scope,
   plus a descriptive filename.
6. Confirm every local Markdown link in each changed Markdown file resolves to an
   existing file and, when present, an existing heading anchor. When memory changes,
   validate all `.github/memory/*.md` files because their cross-references form one
   knowledge base.
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.

Ce que fait Update Docs (.NET)

the root and nearest area `AGENTS.md`
`.github/skills/*/SKILL.md`, `.claude/skills/*/SKILL.md`, and `.github/agents/*.agent.md`
contributor and area guidance under `documentation/`
command help, usage text, completion and Verify snapshots

Comment utiliser Update Docs (.NET)

1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.

Déclencheurs pour Update Docs (.NET)

Dis simplement à ton agent quelque chose comme :

Applique le skill update-docs__dotnet-dotnet__src-sdk-github-skills-886c2d4c9b15 à cette tâche
Utilise update-docs__dotnet-dotnet__src-sdk-github-skills-886c2d4c9b15 pour améliorer cette implémentation
Passe en revue ce sujet avec update-docs__dotnet-dotnet__src-sdk-github-skills-886c2d4c9b15

Skills liés à Update Docs (.NET)

Add CLI Command (.NET)
Add or change a dotnet CLI command, subcommand, or option across the relevant CLI projects. USE FOR: adding or changing a dotnet CLI command/subcommand, adding a new Option<T> or Argument<T>, registering a subcommand in the command tree, changing an option's help description or a command's runtime message, wiring a command parser, or updating --help output.
Add Dotnet Aot Command (.NET)
Add, enable, or review a dotnet CLI command or feature in the Native AOT CLI (src/Cli/dotnet-aot) and prove its compatibility. USE FOR: migrating a command or option to AOT, reviewing an AOT migration PR, defining conservative eligibility and managed fallback, changing AotSourceFiles.props or AotDependencies.props, validating AOT/managed parity, NativeAOT-publishing tests, checking binary-size impact, or using the dn harness and separated SDK layout. DO NOT USE FOR: resolving IL trim/AOT analyzer warnings alone (use dotnet-aot-compat), running dotnet.Tests incrementally (use incremental-test), or pure managed CLI work.
Add Net Analyzer (.NET)
Add, port, or change a .NET code analysis rule (CA####) under src/Microsoft.CodeAnalysis.NetAnalyzers. USE FOR: implementing a new CA analyzer and its code fixer, porting a rule or PR from the retired dotnet/roslyn-analyzers repo, allocating a diagnostic ID from DiagnosticCategoryAndIdRanges.txt, choosing RuleLevel/severity/category, wiring resx + xlf strings, recording the rule in AnalyzerReleases.Unshipped.md, regenerating the analyzer documentation/sarif files, and writing MSTest analyzer/code-fix tests with the VerifyCS/VerifyVB harness. DO NOT USE FOR: NETSDK#### MSBuild diagnostics (src/Tasks), CS####/BC#### compiler diagnostics or IDE#### analyzers (dotnet/roslyn), or CONTAINER#### diagnostics (src/Containers).