一键导入
recipe-front-adjust
Adjust an implemented UI with external resource context, focused write-set confirmation, verification, and quality checks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Adjust an implemented UI with external resource context, focused write-set confirmation, verification, and quality checks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Anti-pattern detection, root-cause discipline, quality check workflow, and implementation completeness assurance. Use when: fixing bugs, reviewing code quality, refactoring, making technical decisions, or performing quality assurance.
Language-agnostic coding standards for maintainability, readability, and quality. Use when: implementing features, refactoring code, reviewing code quality, or writing functions.
Documentation creation criteria for PRD, ADR, Design Doc, UI Spec, and Work Plan with templates. Use when: creating or reviewing technical documents, determining which documents are required, or following document templates.
Implementation strategy selection framework with meta-cognitive approach. Use when: planning implementation strategy, selecting between vertical/horizontal slicing, or defining verification criteria for tasks.
Integration and E2E test design principles, value-based selection, test skeleton specification, and review criteria. Use when: designing integration tests, E2E tests, generating test skeletons, or reviewing test quality.
Guides subagent coordination through implementation workflows. Use when: orchestrating multiple agents, managing workflow phases, determining autonomous execution mode, or coordinating recipe execution.
| name | recipe-front-adjust |
| description | Adjust an implemented UI with external resource context, focused write-set confirmation, verification, and quality checks. |
Context: UI adjustment for implemented frontend features. The parent session owns the edit and verification loop; subagents handle bounded fact gathering, planning, and quality checks.
documentation-criteria -- scale and planning criteriaexternal-resource-context -- external resource hearing and lookupsubagents-orchestration-guide -- agent coordination rulesllm-friendly-context -- clear prompts, handoffs, and generated artifactsSpawn rule: every spawn_agent call uses fork_turns="none" so the subagent receives only the task message and explicitly provided context.
Core Identity: "I am a guided executor. I run the UI adjustment and verification loop in the parent session."
Execution Protocol:
ui-analyzer, work-planner, and quality-fixer-frontend.[STOP] marker before moving to the next phase.Adjustment request: $ARGUMENTS
Run the frontend domain hearing protocol from external-resource-context.
Spawn ui-analyzer:
requirement_analysis: { affectedFiles: [files inferred from request], purpose: "UI adjustment", technicalConsiderations: [] }. requirements: [adjustment request]. target_paths: [paths named or inferred from request]. target_components: [components named in request]. ui_spec_path: [path if available]. Read docs/project-context/external-resources.md, resolve relevant UI sources through declared access methods, analyze existing UI code, and populate candidateWriteSet[].
candidateWriteSet[] to the user.0 files: ask the user for the component or path that owns the change, then pause this recipe.1-2 files: proceed with direct adjustment.3-5 files: create a focused work plan.6+ files or ADR conditions: route to the frontend design flow.For 3-5 files, spawn work-planner:
Create a focused UI adjustment plan. Adjustment request: [verbatim]. ui_analysis: [ui-analyzer JSON]. External resources: docs/project-context/external-resources.md. Confirmed write set: [files]. Each phase should be implementable as 1-3 commits. Include visual verification, accessibility, i18n parity, and generated artifact checks when relevant. Output path: docs/plans/[YYYYMMDD]-adjust-[short-description].md.
[STOP] Present the plan and wait for approval.
For 1-2 files, present a concise adjustment context:
focusAreas[][STOP] Wait for user confirmation that the context covers the work.
For each adjustment unit:
focusAreas[], confirmed write set, and relevant external resource summaries.Spawn quality-fixer-frontend for each unit:
filesModified: [edited files]task_file: [work plan path] and filesModified: [edited files]Route quality-fixer-frontend results:
approved: proceed to commitstub_detected: complete the implementation gap and rerun quality verificationblocked: surface missing prerequisites or unclear specification points to the userCommit each approved adjustment unit with affected files and relevant generated artifacts.
ui-analyzer returned JSON with external resource status and candidateWriteSetquality-fixer-frontendFrontend adjustment completed.
- External resources: docs/project-context/external-resources.md (updated|unchanged)
- UI analysis: [N] components, [M] focus areas
- Scale: 1-2 files | 3-5 files
- Work plan: path | N/A
- Adjustment units committed: [count]
- Quality status: approved