К основному содержанию
скилл CX Codex

recipe-front-adjust — скилл для Claude Code

Скилл recipe-front-adjust для Claude Code корректирует готовый фронтенд прямо в сессии и сверяет правки с источником дизайна. Вызывается для точечной доработки интерфейса без переписывания архитектуры.

MIT ★ 720 обновлён 2026-11-11

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add shinpr/claude-code-workflows --skill recipe-front-adjust -a claude-code
Открыть на GitHub

Что делает recipe-front-adjust

Скилл ведёт цикл доработки существующего интерфейса: правит код, проверяет результат по макету или спецификации и вносит уточнения. Все ключевые шаги идут в родительской сессии, а рутинную проверку типов, линтинг и тесты скилл делегирует субагенту quality-fixer-frontend.

Процесс разбит на этапы с обязательными точками остановки. Сначала скилл собирает внешние данные, определяет набор затрагиваемых файлов и оценивает масштаб задачи. Если правок требует 0 файлов или изменение ломает утверждённый контракт UI, сценарий останавливается и предлагает перейти к полному проектированию через recipe-front-design. Перед внесением правок агент формирует контекст и ждёт подтверждения пользователя.

Для работы скилла нужны вспомогательные навыки из репозитория: external-resource-context, documentation-criteria, coding-principles и quality-fixer-frontend. Финальным шагом после успешных проверок создаётся коммит в Git.

Какие задачи решает

  • подогнать существующий интерфейс под изменения в дизайн-макете
  • оценить границы изменений в коде перед правкой фронтенда
  • прогнать автотесты и линтер через субагента после правок компонентов
  • зафиксировать проверенный результат интерфейса коммитом в репозиторий

Примеры запросов агенту

  • Скорректируй отступы и цвета карточки товара в соответствии с макетом
  • recipe-front-adjust: обнови состояние кнопки при загрузке данных
  • Подгони форму входа под новые спецификации дизайна

Как установить recipe-front-adjust

1Через Skills CLI (Vercel)

npx skills add shinpr/claude-code-workflows --skill recipe-front-adjust -a claude-code

2Вручную: положить файлы

~/.claude/skills/recipe-front-adjust/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/recipe-front-adjust/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о recipe-front-adjust

Как установить recipe-front-adjust в Claude Code?

Выполните команду npx skills add shinpr/claude-code-workflows --skill recipe-front-adjust -a claude-code в терминале.

Что делает recipe-front-adjust?

Скилл организует пошаговую доработку уже написанного интерфейса, сверяет изменения с макетом, отдаёт тесты субагенту и создаёт коммит.

Когда скилл перенаправляет в recipe-front-design?

Скилл передаёт управление в recipe-front-design, когда задача выходит за рамки одного компонента, требует изменения контрактов UI или не находит ни одного существующего файла для правки.

Исходный текст

SKILL.md · MIT
---
name: recipe-front-adjust
description: Adjust an already-implemented UI in-session with verification against the design source
disable-model-invocation: true
---

**Explicit User Instruction**: The user explicitly instructs and authorizes every subagent call named in this recipe. Execute each applicable call when its prerequisites are met.

Execute Skill: llm-friendly-context before writing Agent prompts, handoffs, or generated artifacts.

**Context**: UI adjustment on already-implemented features. The verification loop (edit → check against the design source → refine) runs in the parent session.

## Execution Pattern

**Core Identity**: "I am a guided executor. I run the adjustment and the verification loop myself; subagents handle one-shot tasks."

**Execution Protocol**:
1. **Delegate to subagents** (one-shot calls): quality-fixer-frontend.
2. **Run in the parent session** (multi-step loops and user dialogs): conditional external-evidence resolution, with AskUserQuestion for missing decision-relevant inputs, write-set inspection, scale judgment, adjustment-context approval, adjustment edits, verification against the design source, iteration until acceptance.
3. **Stop at every `[Stop: ...]` marker** before proceeding.

## Execution Gate

Complete Steps 1-7 in order for the adjustment outcome. Advance only through the current step's stated evidence, quality result, or user stop; skip work only when its stated condition is false. Report completion after every applicable Completion Criterion and retained-limitation retry is satisfied.

## Workflow Overview

```
Adjustment request → conditional external resource evidence
                                  ↓
                     existing-pattern and write-set inspection
                                  ↓
                     structural boundary judgment on candidate write set
                                  ↓
                     local existing-pattern adjustment → [Stop]
                                  ↓
                     adjustment + verification (parent session)
                                  ↓
                     quality-fixer-frontend (subagent: typecheck/lint/test)
                                  ↓
                     commit
```

## Scope Boundaries

**Included in this skill**:
- Conditional external-evidence resolution per the external-resource-context skill
- Existing-pattern and write-set inspection in the parent session
- Structural boundary judgment via documentation-criteria
- Adjustment edits and verification against the design source (run in this session)
- Quality verification via quality-fixer-frontend
- Commit the adjustment outcome

**Responsibility Boundary**: This skill completes when the adjustment is committed after its quality cycle and any retained proof limitation receives its final retry. Adjustment work is end-to-end within this recipe; parent session owns edits, verification loops, quality-result routing, and commits.

**Escalation Boundary**: Escalate to the full frontend design phase when the request crosses a responsibility or approved UI boundary, requires a complete Design Doc, or contains a technical choice that passes documentation-criteria's Choice and Durability filters.

Adjustment request: $ARGUMENTS

## Execution Flow

### Step 1: External Resource Evidence
Execute Skill: external-resource-context when external evidence is required.

Resolve only external evidence that can change the current adjustment target or verification result; use existing access details and ask only for missing decision-relevant inputs. Otherwise continue with the existing repository/UI Spec evidence and record no external references.

### Step 2: Determine the Route and Write Set

Execute Skill: documentation-criteria.

Inspect the named or current UI and the smallest sufficient repository evidence needed to identify the likely write set and preserved visible behavior. Include a generated artifact only when repository tooling shows that a candidate write triggers its generator. When the UI Spec creation condition applies, route to `recipe-front-design` and stop. Otherwise record the evidence-backed candidate write set for this existing-pattern adjustment.

### Step 3: Scale Judgment

1. Read the candidate write set from Step 2.
2. Apply Structural Scale to the adjustment outcome and responsibility boundary. Use write-set count as supporting evidence only:
   - **0 files**: The adjustment request did not map to any existing file. Escalate to the user with the message "No write target identified from the adjustment request. Please clarify which component(s) should change, or run the full frontend design phase if this is a new feature." Stop this recipe.
   - **Direct adjustment**: One coherent UI outcome follows existing component, state, interaction, and verification patterns inside one responsibility boundary. Continue directly to adjustment context even when generated or tightly coupled files increase the count.
   - **Design required**: The change crosses a responsibility or approved UI contract, coordinates independently valuable outcomes, or needs a durable technical choice between credible alternatives. Escalate to the full frontend design phase.

### Step 4: Adjustment Context

No work plan. Build a minimal adjustment context for the parent session:
- Adjustment request (verbatim)
- Existing UI pattern and preserved visible behavior relevant to the adjustment
- Evidence-backed affected files list from the candidate write set
- External resources fetched_summary and access methods that the verification loop will use

Present the adjustment context to the user for review.
- **[STOP]**: User confirms the adjustment context covers the work.

### Step 5: Adjustment + Verification (parent session)

Execute Skill: ai-development-guide and read its `references/frontend.md` before planning or applying adjustment edits.
Execute Skill: coding-principles and read its `references/frontend.md` before planning or applying adjustment edits.
Execute Skill: implementation-approach before planning or applying adjustment edits.
Execute Skill: testing-principles before adding or changing tests.

Implement the adjustment outcome across its affected files:
1. **Plan the edit** from the Step 4 adjustment context and relevant external resource (e.g., design origin's fetched_summary).
2. **Apply the edit** using Edit / Write / MultiEdit on the affected files.
3. **Verify the adjustment target** using applicable repository/UI Spec evidence and any external source selected in Step 1. Reuse its available access or verification method; compare rendering, interaction or tokens only where they determine the requested adjustment.
4. **Refine and re-verify** until the adjustment matches the design source, or matches the user-confirmed adjustment target when no separate design source exists.
5. When the complete adjustment matches the adjustment target, proceed to Step 6.

When required proof is unavailable, use sufficient file-based or other available evidence; retain an exact proof limitation otherwise. Ask for manual confirmation only when a user-owned interpretation is needed to determine the adjustment target.

### Step 6: Quality Verification

- Invoke **quality-fixer-frontend** using Agent tool
  - `subagent_type: "dev-workflows-fullstack:quality-fixer-frontend"`
  - `description: "Quality verification for adjustment"`
  - `direct_scope`: Copy the adjustment request and preserved visible behavior from Step 4 unchanged.
  - `governing_sources`: Pass the existing UI and design source references used for the adjustment unchanged.
  - `observable_verification`: Pass the adjustment request from Step 4 and applicable acceptance criteria from the governing sources unchanged.
  - Pass `qualityCommand` when available (caller first, otherwise current task).
- Route the quality-fixer-frontend response by `status`:
  - `pass` → proceed to Step 7
  - `stub_detected` → return to Step 5 to complete the adjustment, then re-invoke quality-fixer-frontend
  - `verification_incomplete` → retain the complete result for final retry and proceed to Step 7
  - `blocked` → Apply subagents-orchestration-guide Specialist Result Acceptance using the result's semantic evidence, changed files, and repository state

### Step 7: Commit
Before committing, use repository state at the commit boundary as the primary evidence and account for every actual change by mapping it to the adjustment, preserved pattern, or a necessary dependency, test, or generated artifact. Every required change is ready for the adjustment commit, accidental changes introduced during the adjustment are removed, and existing worktree changes unrelated to the adjustment remain intact.

Commit the adjustment after `pass` or `verification_incomplete`. For the latter, derive and append one `Verification-Limitation: <reason>` and `Verification-Affected: <affected check or command>` trailer pair per retained limitation.

On continuation, reconstruct retained limitations from the verification trailers on commits already completed for this request. After the adjustment is committed, retry each retained verification limitation once with quality-fixer-frontend. When the retry returns `pass`, remove that limitation from retained state. Commit any resulting fixes through Steps 6→7, and include only a repeated limitation in the completion report.

## Completion Criteria

- [ ] Decision-relevant external evidence was resolved or its exact limitation retained; no record is required when repository/UI Spec evidence suffices
- [ ] UI Spec applicability and the candidate write set were determined from the requested UI and sufficient repository evidence
- [ ] Structural boundary judgment applied; changes requiring complete design or a qualifying durable decision escalated
- [ ] Adjustment context, including the affected files, was presented and confirmed once
- [ ] The adjustment outcome is implemented; each declared verification mechanism ran, received manual confirmation where required, or retained its exact proof limitation after final retry
- [ ] The adjustment completed quality-fixer-frontend before commit; retained proof limitations were retried and reported
- [ ] The adjustment is committed

## Output Example

```
Frontend adjustment completed.
- External resources: docs/project-context/external-resources.md (updated|unchanged)
- UI evidence: existing pattern [path], external sources [fetched|partial|not_recorded]
- Scale: direct existing-pattern adjustment
- Adjustment commit: [commit hash]
- Quality status: all passed | [remaining proof limitations]
```

© shinpr · MIT · shinpr/claude-code-workflows

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

Все скиллы по теме «Фронтенд и UI» →
styleseed bitjaru Скилл styleseed для Claude Code и других агентов: сборка, правка и проверка UI с сохранением принятых в проекте дизайн-решений. Меняет экраны, не ломая стиль. CX Codex +1 704установок heuristic educlopez Скилл heuristic прогоняет интерфейс по 10 эвристикам Нильсена и 6 законам дизайна, выдаёт таблицу находок и балл UsabilityScore от 0 до 100. CX Codex +1 1 000установок front-end-developer Mindrally Задаёт агенту роль Senior Front-End Developer с экспертизой в React, Next.js, TypeScript и TailwindCSS. CX Codex +1 1 300установок hallmark Nutlope Скилл hallmark для Claude Code и других агентов: заставляет сгенерированные интерфейсы выглядеть сделанными, а не сгенерированными. Собирает новые страницы и сайты по жёстким правилам вёрстки. CX Codex +1 115 000установок antislop-ui miqdadbadjuber Скилл antislop-ui помогает агенту собирать и править интерфейсы без типовых AI-паттернов в цветах, сетках, компонентах и анимации. CX Codex +1 10 700установок frontend-design cline Скилл frontend-design для Claude Code и других агентов задаёт смелое визуальное направление и доводит код до продакшн-уровня. Убирает типовой вывод нейросети из интерфейса. CX Codex +1 9 000установок

Из того же набора43

Весь набор →
solver Субагент solver подбирает несколько вариантов исправлений для подтверждённой причины бага и сравнивает компромиссы. Помогает выбрать оптимальный путь без повторного расследования. CX Codex ★ 720звёзд репо design-sync Субагент design-sync сопоставляет Design Docs, находит противоречия в общих требованиях и выдаёт структурированный отчёт. Запускайте его, когда нужно проверить согласованность нескольких документов. CX Codex ★ 720звёзд репо security-reviewer Субагент security-reviewer сверяет готовый код с требованиями безопасности проекта и отдаёт только те замечания, которые обязательно надо закрыть. CX Codex ★ 720звёзд репо implementation-approach Скилл implementation-approach для Claude Code помогает выбрать стратегию реализации и критерии проверки. Он включается при планировании изменений и сравнении вариантов. CX Codex +1 ★ 720звёзд репо prd-creator Субагент prd-creator превращает идею функции в PRD: пользовательские истории, границы MVP и метрики успеха. Перед финалом задаёт 3-5 вопросов с вариантами. CX Codex ★ 720звёзд репо verifier Субагент verifier проверяет результаты расследования багов методом адвоката дьявола, оценивает покрытие путей и отсекает ложные выводы. CX Codex ★ 720звёзд репо frontend-ai-guide Скилл frontend-ai-guide помогает разбирать React- и TypeScript-код: выявлять анти-паттерны, искать причины ошибок и проверять полноту реализации интерфейса. CX Codex +1 ★ 720звёзд репо investigator Субагент investigator собирает факты о баге: читает код, историю git, конфиги и документацию, строит карту путей исполнения и матрицу доказательств для поиска причины. CX Codex ★ 720звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой