Skip to content

LazyCats-dev/ao3-podfic-posting-helper / .agent/skills/svg

Load this skill whenever the project contains SVG graphics — inline SVGs, external SVG files, SVG icons, SVG illustrations, or SVG-based data visualizations. Under no circumstances use SVG without proper accessible titles, descriptions, and ARIA roles where required. Absolutely always add <title> and <desc> to meaningful SVGs and set role="img" with aria-labelledby pointing to those elements. Also apply this skill whenever the project accepts untrusted or user-uploaded SVG content, which requires sanitization before rendering.

FileKindSize
SKILL.mdskill md26.1 KB
SYNC.mdmarkdown1.5 KB
# Sync Metadata

```yaml
canonical_source: examples/SVG_ACCESSIBILITY_BEST_PRACTICES.md
last_synced_commit: "bb235f3"
last_synced_date: "2026-07-22"
skill_maintainer: ""
notes: >
  Canonical example file exists in mgifford/ACCESSIBILITY.md.
  CORRECTION: canonical replaced the prior "Carie Fisher pattern testing"
  framing with a purpose-driven decision model.
  GAP FOUND: canonical added an entirely new Security, Sanitization, and
  Build Processing section (trust classification, SVG-aware sanitization vs.
  DOMPurify, secure XML parsing / XXE prevention, resource limits, safe
  optimization pipeline) that was previously absent from this skill
  entirely. This is safety-critical for any project accepting untrusted or
  user-uploaded SVG.

  DIVERGENCE: retained some of the prior skill's concrete pattern examples
  (icon-in-button, sprite reuse) since they still match canonical's current
  recommendations, but restructured section order and emphasis around
  canonical's purpose-first model. This skill's format (YAML frontmatter,
  severity-tagged sections, condensed Definition of Done checklist) also
  intentionally differs from the canonical file's prose structure.
```

## How to Update This Skill

When the canonical source changes and CI flags drift:

1. Open both files side-by-side
2. Review the diff linked in the GitHub issue/PR comment
3. Update `SKILL.md` to reflect new requirements, changed patterns, or removed guidance
4. Set `last_synced_commit` to the current commit SHA of `mgifford/ACCESSIBILITY.md`
5. Rebuild: `cd skills && zip -r svg.skill svg/`
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall