/abu-context-engineering:design-documentfrom Abu Context Engineering
Use after the product surface map and after visual direction has been accepted, or when Abu has explicitly authorized the current agent to own visual taste. Produces .thoughts/design/YYYY-MM-DD-design-doc.md: the build contract for product LAWS, accepted visual TOKENS, per-surface direction, accessibility, and anti-references. Do not use this skill to commission a separate designer; use designer-commission first. A missing design document never grants the current agent permission to design.
Ships in Abu Context Engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Canonicalize accepted visual direction into a build contract. The context-holding agent writes the document, but it may record only product laws from accepted context and visual decisions from an authorized, accepted source.
Run context-reconciliation first. Confirm the authoritative surface map, selected design owner,
commission and direction-return audit when external, Abu's acceptance, existing design contract,
and current implementation before changing visual direction.
Resolve the same gate as design-execution:
design-execution, which owns
producing and iterating the living samples. Do not write TOKENS here first.designer-commission or wait
for and audit the separate designer's return. Do not write TOKENS or build a sample.“Continue” never chooses IN_REPO_TASTE.
The surface map is authoritative for navigation, screens, states, and data shapes. The design document adds the accepted language and taste needed to build those surfaces; it never teaches a designer the product and never invents a visual system. Keep design ownership and evidence visible.
The contract freezes only what implementation needs frozen. Tokens and laws bind every screen; layout details and micro-aesthetics may evolve through accepted evidence and a document update.
In IN_REPO_TASTE mode, design-execution owns producing and iterating the living samples
(per-direction DESIGN.md contracts first, structurally distinct interactive candidates, mechanical
pre-flight, real-browser verification, Abu's taste gate). This document canonicalizes only the
accepted winner: extract concrete TOKENS and LAWS from its contract and verified sample, and keep
the sample archived as direction evidence. The sample is a taste instrument, not product coverage.
Without explicit authorization, create nothing visual.
In EXTERNAL_COMMISSION mode:
screen-batch-audit's Direction Return Gate. This
gate checks the commission, map, laws, canonical data, accessibility, discoveries, and handback;
it does not require tokens that do not exist yet.Every visual decision cites accepted direction evidence. Every product law cites its product source. Missing evidence is an open question, never an invitation to improvise.
# Design Document: <project>
## How To Read This
## Design Ownership And Accepted Evidence
## LAWS
## TOKENS
## Per-Surface Direction
## Quality Bar
## Anti-Slop
## Evolution And Change Control
## Open Questions
Default path:
<project-root>/.thoughts/design/YYYY-MM-DD-design-doc.md
If artifact boundaries are unclear, read ../../references/operating-model.md from the plugin root.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub blockchain-oracle/abu-context-engineering --plugin abu-context-engineering17 skills in this plugin
/agents-md-authorUse when Abu wants Codex to create, audit, or update user-level ~/.codex/AGENTS.md, repo AGENTS.md, or nested AGENTS.override.md files. Keeps instructions small, practical, and sourced from the project quality profile, routes detailed workflows to skills, and avoids stuffing research, specs, plans, or full process manuals into AGENTS.md./claude-md-authorUse when Abu wants Claude Code to create, audit, or update user-level ~/.claude/CLAUDE.md, repo CLAUDE.md, .claude/CLAUDE.md, CLAUDE.local.md, or .claude/rules/*.md files. Keeps instructions small, practical, and sourced from project evidence, while routing detailed workflows to skills instead of stuffing long process manuals into always-on memory./context-reconciliationUse before researching, selecting, specifying, planning, reviewing, handing off, or implementing in a project that already has code or context artifacts, especially when agents disagree, the user says prior work was ignored, gates conflict, or redundant work is likely. Establishes current authority, chronology, known facts, superseded history, genuine unknowns, and the next authorized action before mutation./designer-commissionUse when Abu explicitly opts into a separate human, agent, or design tool owning visual design, instead of the default in-repo design-execution mode. Also use when Abu asks for a designer prompt, design handoff, external designer brief, or says the current agent is not the designer. Produces a source-backed, self-contained designer commission plus a paste-ready designer-agent prompt. The context-holding agent teaches the product without choosing taste; the designer can work from the packet without rereading the full project corpus. This stage precedes visual-direction acceptance and the design document./design-executionUse whenever Abu assigns visual design work to the current agent — the default design mode after an accepted product surface map. Trigger on "design the UI", "build the living sample", "explore visual directions", "continue the design", "new screens/moments", or any request to create or extend product visuals in-repo, even when the word "design" is not used. Produces per-direction DESIGN.md contracts and browser-verified interactive living samples for Abu's taste gate, then iterates the accepted winner moment by moment. Contract before pixels, bundled mechanical pre-flight before review, real-browser verification before anything is shown. Abu alone owns taste. For an opt-in external designer use designer-commission; to canonicalize accepted evidence use design-document./domain-wikiUse when Abu wants a persistent Karpathy-style LLM wiki for a project or domain, including ingesting raw sources, summarizing and cross-linking concepts, updating index.md and log.md, querying accumulated knowledge, or linting stale and contradictory wiki pages.