adr-author
Author a new ADR for the uianatomy project under docs/adr/ following the established template (Status / Date / Supersedes / Context / Decision / Rationale / Consequences). Use whenever the user wants to record an architectural decision, deprecate a prior ADR, or document why a proposal was rejected — phrases like "ADR für X", "neue ADR", "decision record", "supersede ADR-NNN", "reject this proposal as ADR", "schreib eine ADR". Picks the next sequential number, links the supersedes target, and sets the status correctly. Prefer this over freehand writing whenever the topic is an architectural choice that shapes the schema, repo layout, MCP tools, or content conventions.
Repository SourceNeeds Review
backlog-tick
Maintain docs/backlog.md as the single source of workflow truth — flip [ ] → [x] when an item finishes, append the completion date and a one-line outcome plus affected files, update the "Empfohlener Pfad" line if the next item shifted, and append newly discovered work in the right priority bucket. Use whenever the user says "fertig", "done", "erledigt", "gerade gepusht", "ship that", or whenever any non-trivial work concludes; also use mid-session when new follow-ups, bugs, missing tests, deferred cleanups, or schema gaps surface — append them automatically per docs/CLAUDE.md without waiting to be asked. Keeps PX-NN ids sequential within their bucket and prevents stale items from accumulating.
Repository SourceNeeds Review
canon-component-author
Research and author a new canonical component YAML in content/components/<id>.yaml from scratch — synthesizing anatomy, axes, mismatches, mistakes, frameworkMap, motion, responsive, and all P2 sections from W3C APG, MDN, WCAG, and at least three mature headless libraries (Radix, React Aria, Headless UI, Spectrum) plus two design systems (Polaris, Carbon, Material 3, Atlassian, GOV.UK). Use whenever the user asks to add, draft, or research a new canonical component — phrases like "neue komponente X", "draft canonical Y", "research and write the Z anatomy", "add component", "author canon for component", "synthesize component anatomy". Strictly canon-first per ADR-001 — never references implementations like Atelier UI. Validates against the depth contract in shared/tests/depth.test.ts before declaring done.
Repository SourceNeeds Review
mcp-tool-add
Add a new tool to the uianatomy MCP server (mcp-server/src/server.ts) — Zod input schema, handler that reads from getComponents/getPatterns/getImplementations state, deterministic output shape, error-path for unknown ids, and a matching test in mcp-server/tests/. Use whenever the user wants a new MCP tool, a bulk-fetch wrapper, an aggregation across canon, or a new query surface for AI agents — phrases like "neues MCP-tool", "add tool to MCP server", "expose X via MCP", "bulk-fetch tool", "aggregation tool", "new tool X". Picks the right naming bucket (list_/get_/search_/validate_), writes consistent error returns, and updates the tool-count in docs/backlog.md and project_state memory.
Repository SourceNeeds Review