Перейти к содержанию
Skillpedia
Интерфейсы (UI/UX)14k · #11346

user-context

Что он делает

Этот скилл хранит справочные материалы по продукту и дизайну, которыми вы часто пользуетесь, и держит их под рукой для будущей работы. Он нужен дизайнерам, которые хотят, чтобы источники и предпочтения были готовы при каждом старте.

Когда использовать

  • ✓Когда вы настраиваете работу над дизайном и хотите сохранить ссылки на продукт или файлы.
  • ✓Когда хотите посмотреть, какой контекст по дизайну уже сохранён.
  • ✓Когда нужно обновить предпочтение или источник для будущей работы над дизайном.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/product-design/workflows/user-context/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Сохрани ссылку на сайт моего продукта, файл Figma и цвета бренда, чтобы будущая работа над дизайном начиналась с них.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент проверяет, может ли он сохранять файлы для будущих разговоров, затем читает или обновляет ваш файл с сохранённым контекстом. Он использует только те материалы, которые нужны текущей задаче.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с 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
Частые вопросы

Что можно сохранить?

Ссылки на продукт, файлы Figma, скриншоты, пути к кодовой базе, дизайн-системы, брендовые материалы и настройки браузера.

Что если сохранить не получается?

Скилл говорит, что может использовать контекст только в текущем разговоре, и не будет утверждать, что контекст сохранён для будущего.

Читает ли он каждый раз все сохранённые материалы?

Нет. Он проверяет только те материалы, которые нужны текущей задаче.

Подробности

Оригинальное описание автора

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

Популярность

Звёзды на GitHub
14k
Место в рейтинге
#11346
Лицензия
MIT
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы