agentleFS
memi-designmemi-design/design-skills/skills/memoire-design-tooling/SKILL.md

memoire-design-tooling

Skill7 starsChanged 4 months agoMITView on GitHub

Set up and operate Mémoire's CLI, MCP server, agent kits, design preflight, UX audits, craft checks, tokens, and registry evidence. Use when a repository explicitly needs Mémoire tooling; use portable design skills when Mémoire is unavailable.

  • Installs packages

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use memi as the local interface-understanding layer before broad frontend changes.

    line 8
  2. Very specific:

    Read the local instructions first: AGENTS.md, README files, .memoire/, specs, tokens, and memoire.agent.yaml.

    line 30
  3. Very specific:

    If a runtime route matters, run memi diagnose http://localhost:<port> or memi design-doc <url> --spec.

    line 34
  4. Distinctive:

    If Figma is connected, use memi/Figma context for token pulls, component inspection, screenshot capture, and sync.

    line 35
  5. Distinctive:

    Prefer shadcn/ui primitives and Tailwind.

    line 37
  6. Distinctive:

    Use UX Tenets and Traps as the review layer: clarity, feedback, control, consistency, accessibility, error recovery, progressive …

    line 38
  7. Distinctive:

    Use Interface Craft as the polish layer: focusing mechanism, visual hierarchy, spacing rhythm, color intentionality, visual weight, …

    line 39
  8. Very specific:

    Use memi agent install --dry-run --json before writing kit files in shared repositories.

    line 75
  9. Distinctive:

    When the task is onboarding, publishing, or release alignment, verify the connected surfaces instead of describing them from memory:

    line 79
  10. Distinctive:

    Keep product boundaries explicit: the CLI is the engine, MCP exposes local tools, Agent Skills provide workflow context, Studio supervises …

    line 90

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

memi Design Tooling

Use memi as the local interface-understanding layer before broad frontend changes. The goal is to give the agent evidence about the product UI before it edits code.

Fast Path

npm i -g @memi-design/cli
memi suite init --project .
memi daemon start --project . --port auto
memi daemon status --json
memi agent install --dry-run --json
memi agent brief . --intent "Improve this interface" --json
memi status
memi diagnose .
memi ux audit . --json
memi craft audit . --json
memi tokens --from ./src --report
memi shadcn export --out public/r
memi mcp start --no-figma

Interface Understanding Protocol

  1. Read the local instructions first: AGENTS.md, README files, .memoire/, specs, tokens, and memoire.agent.yaml.
  2. Generate a design-agent preflight with memi agent brief . --intent "<task>" --json; use it as the local evidence and cost-control contract. For a supplied Figma or Paper design, pair the brief with design-to-code-handoff so the source, component/token mapping, Storybook state, browser check, and unresolved differences survive into the implementation receipt.
  3. Collect evidence with memi diagnose ., memi ux audit . --json, memi craft audit . --json, and memi tokens --from ./src --report before making broad UI edits.
  4. If a runtime route matters, run memi diagnose http://localhost:<port> or memi design-doc <url> --spec.
  5. If Figma is connected, use memi/Figma context for token pulls, component inspection, screenshot capture, and sync. Figma is optional; do not block code-first audits on it.
  6. Map components to Atomic Design levels: atom, molecule, organism, template, page.
  7. Prefer shadcn/ui primitives and Tailwind. Avoid introducing CSS modules or styled-components for memi-generated UI.
  8. Use UX Tenets and Traps as the review layer: clarity, feedback, control, consistency, accessibility, error recovery, progressive disclosure, workflow fit, trust, and state continuity.
  9. Use Interface Craft as the polish layer: focusing mechanism, visual hierarchy, spacing rhythm, color intentionality, visual weight, component cohesion, responsive resilience, and user context.
  10. For research-backed product work, run the research flow before implementation:
memi research synthesize
memi simulate plan --hypothesis "Evidence links improve product confidence" --json
memi research design --intent "Design from the accepted research evidence" --json
memi research design --write-specs --mermaid-jam --json
memi mermaid-jam export --from research --json
  1. For registry work, keep the output installable:
memi shadcn doctor
memi shadcn export --out public/r
memi publish --name @you/ds
memi add Button --from @you/ds
  1. End with evidence: commands run, artifacts produced, files changed, remaining assumptions, and the next verification command.

Agent Stack Setup

memi agent install universal --project .
memi agent install hermes
memi agent install openclaw --project .
memi agent install claude-code --project .
memi agent install cursor --project .
memi agent install codex
memi agent install codex-plugin
memi agent install opencode --project .
npx skills add memi-design/memi --skill memoire-design-tooling

Use memi agent install --dry-run --json before writing kit files in shared repositories.

Public Surface and Release Proof

When the task is onboarding, publishing, or release alignment, verify the connected surfaces instead of describing them from memory:

SurfaceVerification
npm engineConfirm the current @memi-design/cli package and install command.
MCPCheck the committed server entrypoint and run memi mcp start --no-figma as the safe local proof.
Agent SkillsVerify the current memoire-design-tooling installation path and run a local discovery smoke.
StudioConfirm the current macOS Studio repository, its relationship to the CLI, and the receipt or artifact contract.
SandboxRun the committed design-sandbox proof commands rather than relying on positioning copy.
Design SkillsVerify the catalog, provenance, selected-skill install, and generated-file checks.

Keep product boundaries explicit: the CLI is the engine, MCP exposes local tools, Agent Skills provide workflow context, Studio supervises runs, and the sandbox is a runnable proof surface. End with exact links, commands run, artifacts produced, and any surface that could not be verified.

Output Artifacts To Cite

  • .memoire/app-quality/diagnosis.json
  • .memoire/app-quality/diagnosis.md
  • .memoire/app-quality/ux-audit.json
  • .memoire/app-quality/interface-craft.json
  • .memoire/design-system.json
  • public/r/registry.json
  • .memoire/mermaid-jam/<package-id>/
  • memoire.agent.yaml

Common Mistakes

  • Starting a UI patch before collecting design evidence.
  • Treating Figma as mandatory when code-first audit commands are enough.
  • Creating new component patterns when shadcn/ui or local components already exist.
  • Omitting Atomic Design levels from new component specs.
  • Ignoring UX trap findings because the screen looks acceptable in one viewport.
  • Skipping interface craft checks, then relying on taste for hierarchy, rhythm, polish, or conventions.
  • Installing agent kits without a dry run in a shared workspace.
  • Skipping the design-agent brief, then guessing which evidence, agent stack, or cost mode applies.

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.