Remember

educlopez/ui-craft/.agents/skills/remember

by educlopezceecc8e1fb0c2befda73da996435900d6dd0c1acNo license375 starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated 5 weeks ago

Record a learned design constraint from a correction into the project brief. Invoke when the user asks for remember on their UI, or mentions 'remember' alongside design / UI / frontend work.

AI-generated overview

Records a learned UI design constraint from a correction into a project brief so future sessions apply it.

What it does
Captures a design rule and its reason from a user correction or argument, then appends a dated entry to section 6 (Learned constraints) of .ui-craft/brief.md. It creates the brief or section if missing, deprecates contradicting existing constraints instead of deleting them, and optionally mirrors the rule to an external memory service for cross-project use. It finishes with a one-line confirmation of where the rule landed.
When to use it
Use when the user asks to remember a UI, design, or frontend preference, or corrects a design decision and wants it persisted. It is a lens of the broader ui-craft skill and is meant for design work rather than general note-taking.
Requirements
Instructions only, no scripts. Requires access to the project's .ui-craft/brief.md file and, for cross-project memory, an external memory service available to the agent.
<!-- HARNESS MIRROR — do not edit here. Canonical source: skills/ or commands/. After editing source, copy into cli/assets/<harness>/ and repo-root harness mirrors. -->

Context: this sub-skill is one lens of the broader ui-craft skill. If the ui-craft skill is also installed, read its SKILL.md first for Discovery + Anti-Slop + Craft Test, then apply the specific lens below.

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:

markdown
- **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).

Source and attribution

Source:educlopez/ui-craftin.agents/skills/rememberat commitceecc8e

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal