product-context-builder — скилл для Claude Code: функции и установка
Скилл product-context-builder для Claude Code создаёт или обновляет файлы с контекстом продукта и проекта. Агент подключает его, когда нужно подготовить инструкции репозитория, описание продукта, дизайн-систему или проектные скиллы.
MIT ★ 107 обновлён 2026-11-08
npx skills add thedesignproject/agent-skills --skill product-context-builder -a claude-codeЧто делает product-context-builder
Скилл изучает репозиторий и на основе найденных материалов помогает создавать или обновлять AGENTS.md, CLAUDE.md, PRODUCT.md, DESIGN.md и проектные скиллы. Он проверяет существующие инструкции, команды сборки и тестирования, компоненты интерфейса, дизайн-токены и документацию продукта. Каждый файл готовится отдельно, чтобы его можно было просмотреть.
Скилл выбирает файлы по задаче, а не создаёт весь набор автоматически. Он сверяет результат с репозиторием и отмечает, какие решения требуют подтверждения человека. Команды, названия компонентов, позиционирование продукта и ограничения нельзя выдумывать: если фактов в проекте нет, скилл оставляет этот вопрос открытым.
Какие задачи решает
- собрать инструкции для AI-агентов из правил репозитория
- описать продуктовые принципы в
PRODUCT.md - зафиксировать подтверждённую дизайн-систему в
DESIGN.md - разделить общие правила проекта и инструкции для конкретных задач
- найти противоречия в создаваемых файлах контекста
Примеры запросов агенту
- Подготовь контекст проекта для AI-агентов и проверь существующие инструкции.
- Создай
PRODUCT.mdпо материалам репозитория и отметь вопросы, которые нужно подтвердить. - Проверь, можно ли описать дизайн-систему проекта в
DESIGN.md.
Как установить product-context-builder
1Через Skills CLI (Vercel)
npx skills add thedesignproject/agent-skills --skill product-context-builder -a claude-code2Вручную: положить файлы
~/.claude/skills/product-context-builder/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/product-context-builder/
1Через Skills CLI (Vercel)
npx skills add thedesignproject/agent-skills --skill product-context-builder -a codex2Вручную: положить файлы
.agents/skills/product-context-builder/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add thedesignproject/agent-skills --skill product-context-builder -a cursor2Вручную: положить файлы
.cursor/skills/product-context-builder/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install thedesignproject/agent-skills skills/product-context-builder2Вручную: положить файлы
.github/skills/product-context-builder/SKILL.md1Через Skills CLI (Vercel)
npx skills add thedesignproject/agent-skills --skill product-context-builder -a gemini-cli2Командой платформы
gemini skills install https://github.com/thedesignproject/agent-skills --path skills/product-context-builderВручную: положить файлы
.devin/skills/product-context-builder/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add thedesignproject/agent-skills --skill product-context-builder -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о product-context-builder
Как установить product-context-builder в Claude Code?
Выполни npx skills add thedesignproject/agent-skills --skill product-context-builder -a claude-code. Файл скилла находится по пути ~/.claude/skills/product-context-builder/SKILL.md.
Что делает product-context-builder?
Изучает проект и помогает подготовить файлы с инструкциями для агентов, продуктовыми принципами и подтверждёнными правилами дизайна. Также проверяет их на соответствие репозиторию и выделяет вопросы для подтверждения.
Какие файлы может создать product-context-builder?
Он работает с AGENTS.md, CLAUDE.md, PRODUCT.md, DESIGN.md и проектными скиллами. Набор зависит от задачи: скилл не генерирует все файлы автоматически.
Исходный текст
SKILL.md · MIT
--- name: product-context-builder description: Create or improve a repo's AGENTS.md, CLAUDE.md, PRODUCT.md, DESIGN.md, and project skills so AI agents can use the product and design system accurately. --- # Product Context Builder Build a compact, connected context system grounded in the user's real product and repository. The finished files should help an AI agent understand the codebase, the product judgment behind it, the visual system it must reuse, and the task-specific workflows it can load when relevant. ## Start by discovering what exists Inspect the repository before interviewing the user. Locate: - existing `AGENTS.md`, `CLAUDE.md`, `PRODUCT.md`, `DESIGN.md`, and skill folders - package scripts, build and test commands, source directories, and contribution rules - UI components, Storybook stories, theme files, CSS variables, Tailwind configuration, and token packages - product documentation, PRDs, research, brand guidance, and accessibility requirements Report what you found, what can be inferred safely, and what needs a human answer. Never invent commands, component names, product positioning, tokens, or constraints. ## Choose the files that earn their place Do not generate every file automatically. - Create or update `AGENTS.md` when multiple coding agents need stable repository instructions. - Create or update `CLAUDE.md` when Claude Code needs tool-specific guidance that is meaningfully different. Keep shared rules aligned with `AGENTS.md`. - Create `PRODUCT.md` when agents need durable product judgment: audience, purpose, personality, principles, references, and anti-references. - Create `DESIGN.md` when a real visual system or component library can be documented from evidence. - Create a project skill only for a repeatable task with a recognizable trigger and a stable workflow. Read the matching guide before drafting a file: - [Always-loaded files](references/always-loaded-files.md) - [PRODUCT.md](references/product.md) - [DESIGN.md](references/design.md) - [Project skills](references/project-skills.md) - [Validation](references/validation.md) Use the templates in `assets/templates/` as prompts for evidence, not forms that must be filled mechanically. Remove empty and irrelevant sections. ## Work in reviewable passes Draft one file at a time and explain: 1. which repository evidence shaped it 2. which statements came from the user 3. which questions or conflicts remain Ask the user to review strategic judgment before treating it as durable context. Product personality, anti-references, exceptions, and hard constraints need explicit confirmation. ## Keep the layers connected The always-loaded file should contain the smallest useful routing rule. For example: ```md Before writing or changing UI, read PRODUCT.md and DESIGN.md. Reuse documented components and tokens. If the system does not cover a design need, ask before creating a new pattern. ``` Do not copy the full contents of `PRODUCT.md` or `DESIGN.md` into `AGENTS.md` or `CLAUDE.md`. Do not hide universal repository rules inside a task skill. ## Finish with a context audit Read [validation](references/validation.md), check every generated file against the repository, and summarize: - files created or updated - evidence used - contradictions resolved - assumptions still awaiting confirmation - the next real task the user should test with the new context system
© thedesignproject · MIT · thedesignproject/agent-skills