api-docs
Write and review XML API documentation for SkiaSharp following .NET guidelines. Triggers: "document class", "add XML docs", "write XML documentation", "add triple-slash comments", "review documentation quality", "check docs for errors", "fix doc issues", "fill in missing docs", "remove To be added placeholders", API documentation requests.
Install
mkdir -p .claude/skills/api-docs && curl -L -o skill.zip "https://mcp.directory/api/skills/download/2986" && unzip -o skill.zip -d .claude/skills/api-docs && rm skill.zipInstalls to .claude/skills/api-docs
About this skill
API Documentation
Write and review XML API documentation for SkiaSharp.
Key Concepts
- The
docs/directory is a Git submodule pointing tomono/SkiaSharp-API-docs— changes must be committed and PR'd to that repository - XML files are generated from NuGet assemblies using
mdoc— if new APIs were added, regenerate before editing (see Regenerating Docs) - For existing APIs, you can edit the XML files directly without regenerating
File Locations
docs/SkiaSharpAPI/
├── SkiaSharp/ # Main namespace
│ ├── SKCanvas.xml # One XML file per type
│ ├── SKPaint.xml
│ ├── SKImage.xml
│ └── ...
├── HarfBuzzSharp/ # HarfBuzz namespace
├── SkiaSharp.Views.*/ # Platform-specific views
└── index.xml # Extension methods (auto-synced, don't edit)
Writing Documentation
- Find the type's XML file in
docs/SkiaSharpAPI/<Namespace>/<TypeName>.xml - Edit
<summary>,<param>,<returns>,<value>tags within<Docs>sections - Follow patterns in references/patterns.md
- After editing a file, validate XML syntax (see XML Validation below)
- Run
dotnet cake --target=docs-format-docsto validate and format
Reviewing Documentation
- Search for issues using grep patterns below
- Classify by severity using references/checklist.md
- Fix issues following references/patterns.md
- Run
dotnet cake --target=docs-format-docsto validate
Quick Issue Search
# Find placeholders
grep -r "To be added" docs/SkiaSharpAPI/
# Find empty tags (self-closing)
grep -rE "<(summary|value|returns)\s*/>" docs/SkiaSharpAPI/
# Find empty tags (open/close with optional whitespace)
grep -rE "<(summary|value|returns)>\s*</" docs/SkiaSharpAPI/
# Find spelling errors (common ones)
grep -riE "teh|recieve|seperate|occured|paramter" docs/SkiaSharpAPI/
# Find whitespace issues
grep -rE " </| </" docs/SkiaSharpAPI/
Resources
- references/patterns.md - XML syntax and examples
- references/checklist.md - Review severity criteria
- documentation/writing-docs.md - Full docs generation workflow (automated pipeline, local generation, cake targets)
Regenerating Docs
When new APIs have been added (new classes, methods, properties), the XML doc files must be regenerated before you can document them. A daily GitHub Actions workflow does this automatically from the latest CI NuGet packages.
To regenerate locally (e.g., after adding new APIs):
dotnet tool restore
dotnet cake --target=docs-download-output # Download latest NuGets
dotnet cake --target=update-docs # Regenerate XML docs
New members will appear with "To be added." placeholders. See documentation/writing-docs.md for full details.
To edit existing docs (no regeneration needed): just edit the XML files directly and run dotnet cake --target=docs-format-docs to format and validate.
XML Validation
CRITICAL: After completing all edits to an XML file, validate its XML syntax before moving to the next file.
Validation Command
# Validate a single file
xmllint --noout docs/SkiaSharpAPI/SkiaSharp/SKCanvas.xml
# Validate all XML files in a namespace
find docs/SkiaSharpAPI/SkiaSharp -name "*.xml" -exec xmllint --noout {} \;
# Validate entire docs directory
find docs/SkiaSharpAPI -name "*.xml" -exec xmllint --noout {} \;
Common XML Errors to Avoid
- Duplicate closing tags:
</param></param>- happens when copy/pasting - Mismatched tags:
<summary>...</param>- tag names must match - Unescaped characters:
<,>,&must be<,>,& - Missing closing tags:
<summary>textwithout</summary>
Workflow
- Make all edits to a file
- Run
xmllint --noout <file>to validate - If errors, fix them before proceeding
- Move to next file
More by mono
View all skills by mono →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
pdf-to-markdown
aliceisjustplaying
Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions "load the whole PDF", "bring the PDF into context", "read the entire PDF", or when partial extraction/grepping would miss important context. This is the preferred method for PDF text extraction over page-by-page or grep approaches.
Related MCP Servers
Browse all serversOptimize your codebase for AI with Repomix—transform, compress, and secure repos for easier analysis with modern AI tool
DeepWiki converts deepwiki.com pages into clean Markdown, with fast, secure extraction—perfect as a PDF text, page, or i
LLM Code Context boosts code reviews and documentation with smart file selection, code outlining, and multi-language sup
Analyze OpenAPI specifications: load specs, list APIs, search endpoints, detect inconsistencies, and compare schemas eff
Automate GitHub Pages documentation with top static site generators like MkDocs. Generate, structure, and publish your d
Access PatternFly documentation and React docs, component schemas, and dev rules via PatternFly MCP Server — AI-assisted
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.