Agent skill

API Docs

by mono in mono/SkiaSharp

Add and review C XML documentation comments for SkiaSharp public APIs.

MITAuto-check passedDevelopment

Install API Docs

skills CLI
$ npx skills add mono/SkiaSharp --skill api-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mono/SkiaSharp api-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mono/SkiaSharp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/api-docs .claude/skills/api-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
api-docs
GitHub stars
5.6k
Token cost
~1.1k tokens
SKILL.md length
440 words
Files
8 (incl. references)
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Add and review C XML documentation comments for SkiaSharp public APIs.

  • Works in 7 steps: Resolve the consumer-visible public… → Add or correct accurate /// comments… → Generated bindings are… → …
  • Documenting a class
  • SKILL.md covers Scope and procedure, API-documentation contract, References and Boundaries
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

API Docs is an agent skill from mono/SkiaSharp. Add and review C XML documentation comments for SkiaSharp public APIs. Use for documenting a class or member, filling missing API docs, reviewing public API documentation, or correcting inaccurate API examples.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `references/adding.md`, `references/checklist.md` and `references/obsolete-api-map.md`).

It sits in Development, covering Technical documentation. It works with C#. The repository describes itself as: SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile… The licence is MIT.

When your agent uses it

  • Documenting a class
  • Filling missing API docs
  • Reviewing public API documentation
  • Correcting inaccurate API examples

Example prompts

  • “/api-docs”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Resolve the consumer-visible public types and members in scope. Read their
  2. Add or correct accurate /// comments immediately above public
  3. Generated bindings are source-controlled. Edit only their /// comment
  4. Follow references/adding.md for source-first
  5. Refresh documentation-convention knowledge from the first-party sources
  6. Verify SkiaSharp and HarfBuzzSharp facts in
  7. Classify findings with references/checklist.md

What it can do on your machine

Read from SKILL.md and the folder at commit a74f7f9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

API Docs loads about 1.1k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 440 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mono/SkiaSharp at commit a74f7f9, republished under its MIT licence (© mono). 440 words, ~1,128 tokens.

Download SKILL.mdSave it as .claude/skills/api-docs/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
api-docs
description
Add and review C# XML documentation comments for SkiaSharp public APIs. Use for documenting a class or member, filling missing API docs, reviewing public API documentation, or correcting inaccurate API examples.
metadata.layer
router

API Documentation

Write and review the public API prose that mono/SkiaSharp owns. C# /// comments on public declarations are authoritative. Managed builds generate compiler XML from those comments and package it beside the managed assemblies.

This repository has no API-reference ECMA/mdoc source, mdoc engine, docs submodule, XML-editing workflow, or placeholder-writing workflow. mono/SkiaSharp-API-docs independently consumes package/compiler XML and _DocsMedia, produces ECMA/mdoc, preserves deferred Uno output, validates, and publishes Learn. Do not edit that repository or generated output here.

Scope and procedure

  1. Resolve the consumer-visible public types and members in scope. Read their declarations and implementations in binding/ or source/ before writing any prose. Implementation-assembly XML does not make an API public.
  2. Add or correct accurate /// comments immediately above public declarations. Work from the source declaration, never from compiler XML.
  3. Generated bindings are source-controlled. Edit only their /// comment trivia directly, then run pwsh -NoLogo -NoProfile -File ./utils/generate.ps1 and verify it preserves the intended comments. Never manually change generated declarations, interop code, or implementation.
  4. Follow references/adding.md for source-first authoring or references/reviewing.md for a source-first review. Apply the detailed syntax and prose rules in references/patterns.md.
  5. Refresh documentation-convention knowledge from the first-party sources listed in references/patterns.md before a broad authoring or review pass. Reconcile a changed official convention with existing source forms and external rendering before applying it; do not mechanically rewrite source comments merely to match a style rule.
  6. Verify SkiaSharp and HarfBuzzSharp facts in references/skia-patterns.md, and ensure examples avoid error-obsolete APIs with references/obsolete-api-map.md.
  7. Classify findings with references/checklist.md and perform the build, compiler-XML, and package checks in references/validation.md.
Show full SKILL.md (180 more words)Show less

API-documentation contract

  • The compiler XML generated from public /// comments is packaged beside the corresponding managed assemblies in both lib/<tfm> and ref/<tfm>.
  • The XML beside the reference assembly is the consumer-visible documentation contract. The copy beside lib is intentional but implementation-only XML entries do not expand the public API surface.
  • _DocsMedia is versioned source in this repository and a nonshipping transport artifact. The external API-docs repository retrieves matching package and media inputs and owns downstream ECMA/mdoc generation, validation, and publication.

References

NeedRead
Adding or updating source commentsreferences/adding.md
Reviewing documentation and examplesreferences/reviewing.md
C# XML-comment syntax and conventionsreferences/patterns.md
Severity bar and reportingreferences/checklist.md
Build, compiler-XML, and package validationreferences/validation.md
SkiaSharp/HarfBuzzSharp factual sourcesreferences/skia-patterns.md
Error-obsolete API replacementsreferences/obsolete-api-map.md

Boundaries

  • Do not manually edit compiler-generated XML or ECMA/mdoc files. In generated bindings, edit only source-controlled /// comment trivia and verify a generator round trip preserves it.
  • Do not remove valid public source comments to defer documentation elsewhere. Missing or inaccurate public documentation blocks API review.
  • Do not claim defaults, validation, ownership, threading, native layout, or standards behavior without verifying the relevant source.

© mono, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (references) in .agents/skills/api-docs of mono/SkiaSharp.

  • SKILL.md
  • references/adding.md
  • references/checklist.md
  • references/obsolete-api-map.md
  • references/patterns.md
  • references/reviewing.md
  • references/skia-patterns.md
  • references/validation.md

Open the folder on GitHubat commit a74f7f9

Compare with similar skills

API Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

API Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
API Docs this skillmono/SkiaSharp5.6k—~1.1kAutomated safety check: PassMIT
Create Skill Samplepnp/copilot-prompts891—~3.1kAutomated safety check: PassMIT
ScottPlot Cookbook RecipeScottPlot/ScottPlot6.8k—~384Automated safety check: PassMIT
Maintain DisCatSharpAiko-IT-Systems/DisCatSharp140—~1.2kAutomated safety check: PassMIT
API DocsWildGums/Orc.LicenseManager108—~1kAutomated safety check: PassCustom licence
Doc Writermitchdenny/hex1b177—~8.7kAutomated safety check: PassMIT

Similar skills

  • Create Skill Sample

    pnp/copilot-prompts

    This skill should be used when the user asks to "create a new skill sample", "add a skill", "scaffold a new skill", "contribute a skill", "create a GitHub Copilot skill", "build a custom skill", or…

    891 GitHub stars~3.1k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • ScottPlot Cookbook Recipe

    ScottPlot/ScottPlot

    Adds or extends a ScottPlot Cookbook recipe for a given plottable, in the right PlotTypes category and in the style of neighboring recipes.

    6.8k GitHub stars~384 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Maintain DisCatSharp

    Aiko-IT-Systems/DisCatSharp

    Guides changes to the DisCatSharp C# Discord library: tracing a payload field through parsing, serialization and caches, then validating across target frameworks.

    140 GitHub stars~1.2k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • API Docs

    WildGums/Orc.LicenseManager

    Write and review XML API documentation following .NET guidelines.

    108 GitHub stars~1k tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • Doc Writer

    mitchdenny/hex1b

    Guidelines for producing accurate and maintainable documentation for the Hex1b TUI library.

    177 GitHub stars~8.7k tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Version Release

    AtomUI/AtomUI

    A skill your agent uses when preparing or validating an AtomUI release, including version-scope confirmation, AtomUIVersion consistency, README version sync, CHANGELOG and Chinese release sections…

    842 GitHub stars~2.7k tokensUpdated today
    DevelopmentAuto-check passed

More from mono/SkiaSharp

All 23 skills in this repo
  • Issue Fix

    mono/SkiaSharp

    Fix bugs in SkiaSharp C bindings. An agent skill from mono/SkiaSharp.

    5.6k GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • Issue Repro

    mono/SkiaSharp

    Reproduce a SkiaSharp issue systematically and capture structured reproduction results.

    5.6k GitHub stars~4.7k tokensUpdated today
    Auto-check passed
  • Issue Triage

    mono/SkiaSharp

    Triage a SkiaSharp GitHub issue or PR into structured JSON with classification (type, area, platform, severity), suggested response, automatable actions, and companion Markdown/HTML reports.

    5.6k GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Update native dependencies (libpng, libexpat, zlib, libwebp, harfbuzz, freetype, libjpeg-turbo, etc.) in SkiaSharp's Skia fork.

    5.6k GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Review Skia Update

    mono/SkiaSharp

    Review a Skia upstream merge PR in mono/skia. An agent skill from mono/SkiaSharp.

    5.6k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Sample Scout

    mono/SkiaSharp

    Scout Skia GM (golden master) samples in the externals/skia submodule to find demos worth porting to the SkiaSharp Gallery.

    5.6k GitHub stars~1.5k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about API Docs

What does API Docs do?

Add and review C XML documentation comments for SkiaSharp public APIs. API Docs is an agent skill from mono/SkiaSharp. Add and review C XML documentation comments for SkiaSharp public APIs.

When should I use API Docs?

API Docs fits situations like: documenting a class; filling missing API docs; reviewing public API documentation; correcting inaccurate API examples.

How do I install API Docs in Claude Code?

Run `npx skills add mono/SkiaSharp --skill api-docs -a claude-code`. Or copy the skill folder (.agents/skills/api-docs in mono/SkiaSharp) into .claude/skills/api-docs in your project. Claude Code loads it when a task matches its description.

How do I install API Docs in Codex?

Run `npx skills add mono/SkiaSharp --skill api-docs -a codex`. Or copy the skill folder (.agents/skills/api-docs in mono/SkiaSharp) into .agents/skills/api-docs in your project. Codex loads it when a task matches its description.

Can I use API Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mono/SkiaSharp --skill api-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/api-docs, .gemini/skills/api-docs, .github/skills/api-docs and .opencode/skills/api-docs in your project.

What does API Docs need to run?

SKILL.md names no scripts, command-line tools or credentials: API Docs is instructions for the agent only.

Does API Docs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is API Docs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does API Docs use?

API Docs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does API Docs use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 12k tokens, read only when the agent opens those files.

What are the alternatives to API Docs?

Skills that share tags, products or a category with API Docs: Create Skill Sample (pnp/copilot-prompts, 891 stars), ScottPlot Cookbook Recipe (ScottPlot/ScottPlot, 6.8k stars), Maintain DisCatSharp (Aiko-IT-Systems/DisCatSharp, 140 stars) and API Docs (WildGums/Orc.LicenseManager, 108 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains API Docs?

mono (a GitHub organization) maintains it in mono/SkiaSharp, which has 5,585 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 7, 2026.

Source: mono/SkiaSharp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.