design-refs
Skill8 starsChanged 2 months agoMITView on GitHub
Use only when autopilot-design dispatches visual-reference collection and brief creation. Not for top-level user requests or primary capability routing.
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codex_setting/AGENTS.mdAGENTS.md
- opencode_setting/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- claude_setting/CLAUDE.mdCLAUDE.md
- analyze-projectSkill
- analyze-userSkill
- artifact-projection-readSkill
- auditSkill
- autopilot-applySkill
- autopilot-codeSkill
- autopilot-designSkill
- autopilot-draftSkill
- autopilot-labSkill
- autopilot-refineSkill
- autopilot-researchSkill
- autopilot-shipSkill
- autopilot-specSkill
- code-executeSkill
- code-planSkill
- code-refineSkill
- code-reportSkill
- code-testSkill
- design-componentsSkill
- design-handoffSkill
- design-initSkill
- design-reviewSkill
- design-tokensSkill
- draft-refineSkill
- draft-strategySkill
- post-itSkill
- session-tidySkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Follow an explicit artifact or audience language when provided.
- Very specific: line 26
If no state exists, report that design-init must run first.
- Distinctive: line 61
Use references only for analysis and style direction.
- Very specific: line 65
Read 00_init/asset_inventory.md.
- Distinctive: line 76
Do not make these reads mandatory.
- Very specific: line 80
Write 01_refs/brief.md in the selected artifact language using this structure:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
design-refs
Language Rule
Follow an explicit artifact or audience language when provided. Otherwise, write the brief, captions, and user-facing report in the conversation language according to <agent-home>/roles/response-policy.md. Preserve paths, URLs, query literals, tool IDs, and source titles.
Resolve the Design
- Use explicit
--design <path>. - Otherwise select the latest applicable
design_state.yamlunder$AGENT_ARTIFACT_OUTPUT_DIR/designs/or$AGENT_ARTIFACT_OUTPUT_DIR/spec/*/design/. - If no state exists, report that
design-initmust run first.
Procedure
Do not start without enough context to avoid generic output. When brand, design system, references, and tone are all absent, run one focused clarification round covering product context, the intended variation, tone, length, audience, and constraints. Skip this for a small follow-up. Prefer an explicit gap over an invented brief.
Step 1: Organize User Material
Process --refs <paths> and user attachments:
- JPG, PNG, or WebP → copy or symlink under
01_refs/_internal/user_provided/ - URL → append to
01_refs/_internal/references_url.md - text brief → write
01_refs/brief_input.md
Preserve originals and record whether an item was copied or linked.
Step 2: Collect Optional External References
Unless --no-web is set, derive focused image-search queries from scope. Useful patterns include:
ui:<feature> dashboard UI inspiration,<feature> mobile app UIslide:<topic> presentation slide designicon:<concept> icon set minimalistdiagram:<concept> architecture diagram
Dispatch the material/web-image-search unit:
Design brief: <brief>
Search queries: <queries>
max_results: 5 per query
Output: <design_path>/01_refs/_internal/web_references/
For each result record thumbnail, URL, caption, and source.Use references only for analysis and style direction. Do not copy protected artwork or imply ownership.
Step 3: Review Existing Assets
Read 00_init/asset_inventory.md. Summarize the current token and component style, then identify which properties must remain compatible with the new work.
Step 4: Consult Relevant User Context When Useful
For paper figures or presentation-heavy work, the acting agent may consult established visual preferences when they would materially improve the brief:
python3 <agent-home>/tools/memory/mem.py profile 01_paper_figure_style
python3 <agent-home>/tools/memory/mem.py profile 03_presentation_strategyDo not make these reads mandatory. Explicit task, audience, venue, and project assets take precedence over remembered preferences.
Step 5: Write the Brief
Write 01_refs/brief.md in the selected artifact language using this structure:
# Design Brief — <name>
## Intent
What the user wants to create in 1–2 lines.
## User and Audience
Who will use or view it.
## Scope
ui / slide / icon / diagram / mixed
## Tone and Mood
- 3–5 keywords such as minimal, playful, technical, or warm
- evidence from user notes and inspected references
## References
### User Provided
- <path>: short description
### External
- <url>: short description
### Existing Assets
- <path>: short description
## Constraints
- existing-token compatibility: required / optional / new system
- responsive range: mobile-first / equivalent
- accessibility: at least WCAG AA
- venue style when producing a paper figure
## Input to the Next Phase
- core mood: ...
- color direction: ...
- typography direction: ...Step 6: Update State
Update design_state.yaml with:
phases:
refs: done
brief_path: 01_refs/brief.mdOutput
01_refs/brief.md01_refs/_internal/user_provided/01_refs/_internal/web_references/01_refs/_internal/references_url.md
Return Format
<design_path>/01_refs/ -- ✅ brief ready (N user refs + M web refs)The acting agent may retain durable tone or reference patterns when they are genuinely useful. Do not make memory writes a completion requirement.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

