Zum Inhalt springen
Skillpedia
Oberflächen (UI/UX)14k · #11346

user-context

Was er macht

Dieser Skill speichert die Produkt- und Gestaltungsreferenzen, die du oft brauchst, und hält sie für spätere Arbeit bereit. Er richtet sich an Designer, die ihre Quellen und Vorlieben bei jedem Start parat haben wollen.

Wann du ihn nutzt

  • ✓Wenn du Gestaltungsarbeit einrichten und deine Produktlinks oder Dateien speichern willst.
  • ✓Wenn du sehen willst, welcher Gestaltungskontext gespeichert ist.
  • ✓Wenn du eine Vorliebe oder Quelle für künftige Gestaltungsarbeit aktualisieren willst.

Link zum Skill

https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/product-design/workflows/user-context/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/product-design/workflows/user-context/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Ich möchte meine Produktwebsite, meine Figma-Datei und meine Markenfarben speichern, damit künftige Gestaltungsarbeit davon ausgeht.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent prüft, ob er Dateien für künftige Unterhaltungen speichern kann, und liest oder aktualisiert dann deine gespeicherte Kontextdatei. Er verwendet nur die Referenzen, die die aktuelle Aufgabe braucht.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

User Context

User Context stores the product and design references a designer uses often, so future Product Design work starts from the right sources.

Use this skill when the user asks to:

  • set up Product Design
  • get started with Product Design
  • onboard with Product Design
  • save product or design sources
  • see what Product Design remembers
  • update saved product or design context
  • remember a Product Design preference
  • setup my plugin

Critical Overrides

  • Refer to the Plugin router $index before proceeding.
  • Follow $critical-overrides.
  • Before offering onboarding or saving context for future conversations, confirm that local shell access is available, $CODEX_HOME can be resolved, and $CODEX_HOME/state/plugins/product-design/ exists and is writable or can be created in a writable parent directory. If user-context.md already exists, confirm that it is writable too.
  • If any check cannot be completed or fails, persistent context is unavailable. Do not offer saved-context onboarding or claim that new context was saved for future conversations. If the user asks to save something, explain that it can be used in the current conversation but not saved for future conversations.

Saved User Context

If user-context.md exists, use it by default.

Use saved product URLs, Figma files, screenshots, reference images, codebase paths, Storybook, tokens, design systems, brand assets, component refs, browser preferences, and share targets to ground Product Design work.

Ideation, prototypes, audits, clones, and critiques should match the saved product context unless the user asks for something different.

When a workflow needs visual grounding, attach or include relevant saved screenshots, reference images, tokens, design language, and component references in ImageGen, ideation, prototype, audit, and critique work.

State File

Saved context lives here:

$CODEX_HOME/state/plugins/product-design/user-context.md

Saved screenshots and reference images live next to it:

$CODEX_HOME/state/plugins/product-design/assets/

If the file does not exist, continue normally unless the user asks to set up Product Design, save context, or the current task is blocked by missing product/design context.

Preflight

When any Product Design workflow needs saved context, run:

python3 scripts/user_context_preflight.py

Use the returned saved entries as the starting context for the task.

If the script reports that no saved context exists, continue from the current user prompt unless setup context is required.

Do not browse, open, or inspect every saved reference during preflight. Inspect only the saved references needed for the current task.

Setup

Use references/onboarding.md when the user asks to set up Product Design, asks what Product Design can remember, asks what Product Design knows about their product, or provides product/design references to save.

For setup-only requests, explain what Product Design can remember and ask for useful sources.

Adjust the context-gathering request to match the user's request. First-time setup differs from updating existing context.

Do not inspect the workspace, install dependencies, scaffold a prototype, generate images, run audits, or start implementation during setup.

After the user provides references to save, run:

python3 scripts/init_user_context.py

Then add the references to the created user-context.md.

Save

Save useful, durable Product Design context:

  • Product URLs
  • Figma files
  • Screenshots and reference images
  • Codebase paths
  • Storybook and component docs
  • Design tokens and theme sources
  • Brand, logo, icon, illustration, image, and asset sources
  • Preferred browser, capture tools, and share targets
  • Team conventions that make future Product Design work more accurate

When the user provides screenshots or reference images to save, copy them into assets/ next to user-context.md and link them from the saved entry.

Give each saved image a clear, descriptive filename that says what the image shows. Use names future Product Design runs can understand without opening the file.

Good image names:

assets/chatgpt-settings-modal-dark-mode.png
assets/payment-sheet-mobile-error-state.png
assets/product-dashboard-sidebar-navigation.png
assets/storybook-primary-button-states.png
assets/brand-logo-lockup-purple-gradi
Häufige Fragen

Was kann gespeichert werden?

Produkt-URLs, Figma-Dateien, Screenshots, Codepfade, Designsysteme, Markenmaterial und Browservorlieben.

Was ist, wenn Speichern nicht möglich ist?

Der Skill sagt dir, dass er den Kontext nur im aktuellen Gespräch nutzen kann, und behauptet nicht, dass er für später gespeichert wurde.

Liest er bei jedem Mal alle gespeicherten Referenzen?

Nein. Er prüft nur die Referenzen, die die aktuelle Aufgabe braucht.

Details

Originalbeschreibung des Autors

Load or manage Product Design's saved user context. Use when the user asks to set up Product Design, get started, onboard, save product or design sources, see what Product Design remembers, update saved context, or remember Product Design preferences. Examples include product URLs, Figma files, screenshots, reference images, codebase paths, Storybook, tokens, design systems, brand assets, and general product/design notes.

repo: XiaomiMiMo/MiMo-Code

Beliebtheit

GitHub-Sterne
14k
Platz im Ranking
#11346
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills