Agent skill

API Add Review

by mono in mono/SkiaSharp

Add new C APIs to SkiaSharp by wrapping Skia C++ functionality, or review existing API PRs for correctness and style.

MITAuto-check passedBackend & APIs

Install API Add Review

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

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

GitHub CLI
$ gh skill install mono/SkiaSharp api-add-review --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-add-review .claude/skills/api-add-review && 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-add-review
GitHub stars
5.6k
Token cost
~916 tokens
SKILL.md length
327 words
Files
5 (incl. references)
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

Add new C APIs to SkiaSharp by wrapping Skia C++ functionality, or review existing API PRs for correctness and style.

  • Works in 2 steps: Add mode — implement a new API from… → Review mode — review an existing PR/diff…
  • Tasks that involve API design
  • SKILL.md covers Detecting Mode, ⚠️ Branch Protection…, ❌ NEVER Do These and References, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

API Add Review is an agent skill from mono/SkiaSharp. Add new C APIs to SkiaSharp by wrapping Skia C++ functionality, or review existing API PRs for correctness and style. Two workflows: (1) Add: C++ analysis → C API → bindings → C wrapper → tests → review (2) Review: check naming, Span overloads, properties, tests, interop safety. Triggers: - "add DrawFoo method", "expose SkSurface::draw", "wrap skfoobar" - "add API", "expose function", "wrap method", "create binding for" - "review this API", "check the API surface", "review PR NNN for API design" - Issue…

Its SKILL.md is about 920 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/add-workflow.md`, `references/api-design-rules.md` and `references/review-workflow.md`).

It sits in Backend & APIs, covering API design and Pull requests. It works with C# and 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

  • Tasks that involve API design
  • Tasks that involve Pull requests

Example prompts

  • “add DrawFoo method”
  • “expose SkSurface::draw”
  • “wrap skfoobar”
  • “/api-add-review”

Workflow steps

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

  1. Add mode — implement a new API from scratch, then review it
  2. Review mode — review an existing PR/diff for API design correctness

What it can do on your machine

Read from SKILL.md and the folder at commit 51e2097. 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 Add Review loads about 916 tokens when it runs, and up to ~6k if it reads all its reference files. Until then it costs about 147 tokens; SKILL.md has 327 words of instructions outside code blocks.

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

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 51e2097, republished under its MIT licence (© mono). 327 words, ~916 tokens.

Download SKILL.mdSave it as .claude/skills/api-add-review/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
api-add-review
description
Add new C# APIs to SkiaSharp by wrapping Skia C++ functionality, or review existing API PRs for correctness and style. Two workflows: (1) Add: C++ analysis → C API → bindings → C# wrapper → tests → review (2) Review: check naming, Span overloads, properties, tests, interop safety. Triggers: - "add DrawFoo method", "expose SkSurface::draw", "wrap sk_foo_bar" - "add API", "expose function", "wrap method", "create binding for" - "review this API", "check the API surface", "review PR #NNN for API design" - Issue classified as "New API" (after fetching and classification)

Add / Review API Skill

This skill has two modes:

  1. Add mode — implement a new API from scratch, then review it
  2. Review mode — review an existing PR/diff for API design correctness

Both modes share the same design rules and quality bar.

Detecting Mode

User saysMode
"add", "expose", "wrap", "create binding"Add
"review", "check API", "look at PR"Review
Issue classified as "New API"Add
Self-review after addingReview (automatic)

⚠️ Branch Protection (COMPLIANCE REQUIRED)

🛑 NEVER commit directly to protected branches. This is a policy violation.

RepositoryProtected BranchesRequired Action
SkiaSharp (parent)mainCreate feature branch first
externals/skia (submodule)main, skiasharpCreate feature branch first

❌ NEVER Do These

ShortcutConsequence
Commit directly to main or skiasharpPolicy violation
Edit generated declarations or interop code manuallyOverwritten on regenerate; edit only source-controlled /// trivia and verify preservation
Skip native build after C API changeEntryPointNotFoundException
Skip testsUnacceptable
Skip tests because they failUnacceptable — fix the issue
Use default parameters in public APIsABI breaking change
Invent type names not in upstream SkiaConfusing, wrong naming
Omit accurate /// comments on public APIsConsumers receive incomplete compiler XML
Fabricate test fontsUse real fonts from known sources

References

All three references work together:

FilePurposeWhen to read
references/api-design-rules.mdNaming, documentation, properties vs methods, Span patterns, type wrapping, test and sample requirementsAlways — before writing or reviewing any API
references/add-workflow.mdStep-by-step add workflow with C API patterns, struct conversion, JSON config, gallery samplesAdd mode
references/review-workflow.mdStructured review checklist, test coverage analysis, sample review, auto-fix modeReview mode, and as final phase of add mode
references/troubleshooting.mdCommon errors and fixesWhen something goes wrong

Add Mode

  1. Read api-design-rules.md
  2. Follow add-workflow.md phases 1-10
  3. Run review-workflow.md on your own changes
  4. Fix any issues identified by the review
  5. Re-run tests to confirm

Review Mode

  1. Read api-design-rules.md
  2. Follow review-workflow.md
  3. In fix-first mode: auto-fix high-confidence issues, re-run tests
  4. In review-only mode: produce structured feedback report

© 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 4 other files (references) in .agents/skills/api-add-review of mono/SkiaSharp.

  • SKILL.md
  • references/add-workflow.md
  • references/api-design-rules.md
  • references/review-workflow.md
  • references/troubleshooting.md

Open the folder on GitHubat commit 51e2097

Compare with similar skills

API Add Review 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 Add Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
API Add Review this skillmono/SkiaSharp5.6k—~916Automated safety check: PassMIT
Code Revieweralirezarezvani/claude-skills28k1 repos~1.6kAutomated safety check: PassMIT
.NET API Compatibility DesignAaronontheweb/dotnet-skills1.2k2 repos~2.7kAutomated safety check: PassMIT
Rsid SDKrealsenseai/RealSenseID122—~4.1kAutomated safety check: PassApache-2.0
Csharp Nullable Reference TypesAaronontheweb/dotnet-skills1.2k1 repos~2.9kAutomated safety check: PassMIT
Generate Testability Wrappersdotnet/skills5.6k1 repos~3.9kAutomated safety check: PassMIT

Similar skills

  • Code Reviewer

    alirezarezvani/claude-skills

    Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin, C, .NET, Java, C, C++, Rust, Ruby, PHP, and Dart/Flutter.

    28k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • .NET API Compatibility Design

    Aaronontheweb/dotnet-skills

    Applies extend-only design rules to NuGet packages and distributed systems, covering source, binary and wire compatibility and how to deprecate members safely.

    1.2k GitHub starsUsed in 2 repos~2.7k tokens
    Backend & APIsAuto-check passed
  • Rsid SDK

    realsenseai/RealSenseID

    RealSenseID face authentication SDK reference. An agent skill from realsenseai/RealSenseID.

    122 GitHub stars~4.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Csharp Nullable Reference Types

    Aaronontheweb/dotnet-skills

    Guidelines for introducing and using nullable reference types (NRT) and System.Diagnostics.CodeAnalysis nullable attributes in C / .NET codebases.

    1.2k GitHub starsUsed in 1 repo~2.9k tokens
    Backend & APIsAuto-check passed
  • Official

    DO NOT USE when the target already consumes an injected interface or built-in abstraction such as IFileSystem or TimeProvider, even if the request says "generate a wrapper"; no new wrapper is needed.

    5.6k GitHub starsUsed in 1 repo~3.9k tokens
    Backend & APIsAuto-check passed
  • Official

    Generate wrapper interfaces and DI registration for hard-to-test static dependencies in C.

    1k GitHub stars~2.2k tokensUpdated today
    Backend & APIsAuto-check passed

More from mono/SkiaSharp

All 21 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 Add Review

What does API Add Review do?

Add new C APIs to SkiaSharp by wrapping Skia C++ functionality, or review existing API PRs for correctness and style. API Add Review is an agent skill from mono/SkiaSharp. Add new C APIs to SkiaSharp by wrapping Skia C++ functionality, or review existing API PRs for correctness and style.

When should I use API Add Review?

API Add Review fits situations like: tasks that involve API design; tasks that involve Pull requests.

How do I install API Add Review in Claude Code?

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

How do I install API Add Review in Codex?

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

Can I use API Add Review 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-add-review -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-add-review, .gemini/skills/api-add-review, .github/skills/api-add-review and .opencode/skills/api-add-review in your project.

What does API Add Review need to run?

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

Does API Add Review 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 Add Review 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 Add Review use?

API Add Review 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 Add Review use?

About 916 tokens (SKILL.md is roughly 3.7k 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 5.1k tokens, read only when the agent opens those files.

What are the alternatives to API Add Review?

Skills that share tags, products or a category with API Add Review: Code Reviewer (alirezarezvani/claude-skills, 28k stars), .NET API Compatibility Design (Aaronontheweb/dotnet-skills, 1.2k stars), Rsid SDK (realsenseai/RealSenseID, 122 stars) and Csharp Nullable Reference Types (Aaronontheweb/dotnet-skills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains API Add Review?

mono (a GitHub organization) maintains it in mono/SkiaSharp, which has 5,585 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 8, 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.