agentleFS
MicrosoftKnown publishermicrosoft/scope/.agents/skills/documentation/SKILL.md

documentation

Skill7 starsChanged 2 months agoMITView on GitHub

Best practices for writing and maintaining documentation in this repository. Use this skill when writing or updating files in docs/, adding Mermaid diagrams, or creating README and onboarding documentation.

58 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use refactoring, oauth and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • pproencaSkill

    refactoring

    Code refactoring best practices based on Martin Fowler's catalog and Clean Code principles. This skill should be used when refactoring existing code, improving code structure, reducing complexity, eliminating code smells, or reviewing code for maintainability. Triggers on tasks involving extract method, rename, decompose conditional, reduce coupling, or improve readability.

    Also in 8 projects that use this

  • VercelSkill

    oauth

    Configure OAuth providers (Google, Apple, Microsoft, Facebook, GitHub, etc.) to work with portless local dev URLs. Use when setting up OAuth redirect URIs, fixing "redirect_uri_mismatch" or "invalid redirect" errors, configuring sign-in providers for local development, or when a provider rejects .localhost subdomains. Triggers include "OAuth not working with portless", "redirect URI mismatch", "Google/Apple/Microsoft sign-in fails locally", "configure OAuth for local dev", or any task involving OAuth callback URLs with portless domains.

    Also in 3 projects that use this

  • MicrosoftSkill

    rust

    Use this guide when working on Rust changes in the FAST monorepo.

    Also in 3 projects that use this

  • JohnJBorenSkill

    ci-cd

    CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies

    Also in 3 projects that use this

  • Microsoft AzureSkill

    git-workflow

    Squad branching model: dev-first workflow with insiders preview channel

    Also in 10 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 10 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 52 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 17
  2. Distinctive:

    Keep diagrams focused — one concept per diagram

    line 51
  3. Distinctive:

    Use descriptive node labels (not single letters)

    line 52
  4. Very specific:

    Prefer LR (left-to-right) for pipelines and TD (top-down) for hierarchies

    line 53
  5. Distinctive:

    Add a brief text description above the diagram for accessibility

    line 54
  6. Distinctive:

    If a diagram becomes too complex (>15 nodes), split it into multiple diagrams

    line 55
  7. Distinctive:

    Use the existing docs as style reference (headings, tables, code blocks)

    line 62

“Common” is measured: kept by at least 6 in 10 of the 52 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Documentation Skill

Best practices for writing and maintaining documentation in this repository.

When to Use

Use this skill when:

  1. Writing or updating any documentation in docs/
  2. Adding diagrams to markdown files
  3. Creating README or onboarding documentation

Diagrams

Always use Mermaid for diagrams in markdown files. Do not use ASCII art, PlantUML, or external image files for architecture diagrams.

Mermaid is natively rendered by GitHub, the portal markdown viewer, and most documentation tools. It keeps diagrams version-controlled, diffable, and editable without external tooling.

Common Diagram Types

Use CaseMermaid Type
Architecture / data flowflowchart LR or flowchart TD
State machines / lifecyclesstateDiagram-v2
Sequences / request flowssequenceDiagram
Class relationshipsclassDiagram
Timelines / Ganttgantt

Example

​```mermaid
flowchart LR
    A[Service A] -->|REST| B[Service B]
    B --> C[(Database)]
​```

Guidelines

  • Keep diagrams focused — one concept per diagram
  • Use descriptive node labels (not single letters)
  • Prefer LR (left-to-right) for pipelines and TD (top-down) for hierarchies
  • Add a brief text description above the diagram for accessibility
  • If a diagram becomes too complex (>15 nodes), split it into multiple diagrams

Documentation Structure

  • Architecture docs live in docs/architecture/
  • Each major component or subsystem gets its own file
  • New docs must be linked in the AGENTS.md Documentation table
  • Use the existing docs as style reference (headings, tables, code blocks)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.