Skip to content
Development
Command

/remember

Record a learned design constraint from a correction into the project brief.

From plugin
ui-craft
33425 skills2 agents25 commands1 MCP
Install
> /plugin marketplace add educlopez/ui-craft
> /plugin install ui-craft@ui-craft

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/remember

Context preview

What this command does when you run it.

Record a learned design constraint from a correction into the project brief.

Command definition

remember.md
description: Record a learned design constraint from a correction into the project brief.
argument-hint: "[what to remember, e.g. 'never gradients on hero here']"

Load `references/brief.md` (sections 6 + Self-Correction) before proceeding.

Step 1: Capture the constraint

From the argument (or the immediately preceding correction in the conversation), capture:

  • **What** changed or is preferred — the concrete rule.
  • **Why** — the reason. Mandatory; without it the constraint can't generalize. If it isn't stated, ask one short question.
  • Phrase the rule so a future build can apply it without this conversation's context.

Step 2: Write it to the brief

Append a dated entry to **section 6 (Learned constraints)** of `.ui-craft/brief.md`:

- **YYYY-MM-DD** — <the rule>. *Why:* <reason>.

Create the brief (run `/brief`) or the section 6 heading if absent. If the new constraint contradicts an existing principle or constraint, mark the old one deprecated with a dated reason (brief is append-mostly) rather than deleting it. Never store a rule that breaches the accessibility/correctness floor — record the closest compliant interpretation and say so.

Step 3: Cross-project reach (optional)

If the user signals this should apply to **all** their projects ("in all my projects", "whenever you work with me"), that's general memory, outside the brief's project scope:

  • If an external memory service is available to the agent, mirror the constraint there so other projects inherit it.
  • If not, record it in this brief and note that cross-project recall would need such a service.

Step 4: Confirm

Report in one line where it landed and what it changes, e.g.: > Recorded in the brief (learned constraint): never gradients on a hero here.

**Next step:** Keep working. The constraint now lives in the brief, so every future session reads it (rung 2).

Read more
Ships withui-craft

Ship designer-grade UI by default. A design engineering system for AI coding agents — install it as a skill or as the ui-craft CLI, and your agent starts designing like it has taste. Ask for a dashboard, get one you'd put in production.

Get the whole plugin

Other commands on ui-craft.