视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
api-docs【文档与办公】Write and review XML API documentation for SkiaSharp following .NET guidelines. Use when user asks to document a 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, or mentions API documentation.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Write and review XML API documentation for SkiaSharp.
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)
docs/SkiaSharpAPI/<Namespace>/<TypeName>.xml<summary>, <param>, <returns>, <value> tags within <Docs> sectionsdotnet cake --target=docs-format-docs to validate and formatdotnet cake --target=docs-format-docs to validate# 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/
CRITICAL: After completing all edits to an XML file, validate its XML syntax before moving to the next file.
# 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 {} \;
</param></param> - happens when copy/pasting<summary>...</param> - tag names must match<, >, & must be <, >, &<summary>text without </summary>xmllint --noout <file> to validate