agentleFS
dmlguq456dmlguq456/hearting/skills/design-refs/SKILL.md

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.

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
  1. Very specific:

    Follow an explicit artifact or audience language when provided.

    line 20
  2. Very specific:

    If no state exists, report that design-init must run first.

    line 26
  3. Distinctive:

    Use references only for analysis and style direction.

    line 61
  4. Very specific:

    Read 00_init/asset_inventory.md.

    line 65
  5. Distinctive:

    Do not make these reads mandatory.

    line 76
  6. Very specific:

    Write 01_refs/brief.md in the selected artifact language using this structure:

    line 80

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Use explicit --design <path>.
  2. Otherwise select the latest applicable design_state.yaml under $AGENT_ARTIFACT_OUTPUT_DIR/designs/ or $AGENT_ARTIFACT_OUTPUT_DIR/spec/*/design/.
  3. If no state exists, report that design-init must 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 UI
  • slide: <topic> presentation slide design
  • icon: <concept> icon set minimalist
  • diagram: <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_strategy

Do 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.md

Output

  • 01_refs/brief.md
  • 01_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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.