frontend-layout-implementer
Skill7 starsChanged 21 days agoApache-2.0View on GitHub
Implement approved React/Next.js design specs using existing CSS Modules, Redux, TanStack, and Axios conventions. Route uninspected designs to intake and resolve product decisions before coding. Excludes unrelated stacks and styling systems.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-rules-skill-authorSkill
- agent-self-improvementSkill
- design-screenshot-specSkill
- execution-plan-managerSkill
- frontend-architecture-plannerSkill
- frontend-bugfix-debuggerSkill
- frontend-design-directorSkill
- frontend-design-intelligenceSkill
- frontend-linter-managerSkill
- frontend-prototype-explorerSkill
- frontend-quality-reviewerSkill
- frontend-refactor-surgeonSkill
- frontend-visual-qaSkill
- goal-plannerSkill
- greenfield-project-builderSkill
- loop-workflow-plannerSkill
- mcp-toolchain-managerSkill
- pattern-library-managerSkill
- project-context-adapterSkill
- project-onboarding-adapterSkill
- webdev-feedbackSkill
- webdev-kit-updaterSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
33 rules. About 0 are common, 13 are distinctive, and 20 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
20
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 52
When the user asks to keep iterating until measurable visual, lint, build, or route acceptance criteria pass, implementation must follow a …
- Very specific: line 73
Read common/approved-patterns.md and relevant anti-pattern rules.
- Very specific: line 74
Read common/css-modules-specificity-rules.md for CSS Modules changes.
- Distinctive: line 75
Read conditional UX rules only when the touched surface needs them: forms, navigation, data visualization, icons, or mobile responsive …
- Very specific: line 76
Read common/agent-loop-policy.md and common/verification-loop-rules.md when measurable iteration or bounded retry is required.
- Distinctive: line 77
Read relevant project overlays when present: stack, architecture, styling, verification, state, data-fetching, build, and workspace …
- Very specific: line 78
Read the Design Implementation Spec, Design Direction Contract, and supplied visual references.
- Distinctive: line 79
Read affected source files, styles, components, routes, and configs.
- Very specific: line 80
Read references/implementation-rules.md when present.
- Very specific: line 82
Do not read generated dist/ during normal runtime.
- Very specific: line 84
When shared UI or compatible component wrappers are in scope, read common/frontend-design-system-rules.md and …
- Very specific: line 89
When React/Next work changes loading, imports, subscriptions or expensive rendering, read the relevant section of …
- Very specific: line 94
Use Project Context MCP when available.
- Distinctive: line 95
Use Design Spec MCP when available.
- Distinctive: line 96
Use Visual Reference MCP when available.
- Very specific: line 97
Use context7 for React, Next.js, Redux, TanStack, Axios, TypeScript, or build-tool docs when implementation depends on current behavior.
- Very specific: line 99
Use mdn for current HTML, CSS, Web API, accessibility, and compatibility facts.
- Distinctive: line 100
Use rendered visual QA only when screenshot comparison, viewport evidence, overflow checks, or visible state verification are in scope.
- Distinctive: line 101
Use Visual Diff MCP when available during final visual comparison.
- Distinctive: line 103
If a named MCP is unavailable, report the missing capability before using a lower-confidence fallback.
- Very specific: line 110
Check component coverage and the spec's product decision register before editing.
- Very specific: line 116
Use frontend-architecture-planner before editing when route, state, data, form, build, workspace, or shared component ownership is unclear …
- Very specific: line 117
Use loop-workflow-planner before editing when the task requires bounded retry, independent review, loop memory, or measurable iteration …
- Distinctive: line 123
Keep UI state local unless existing React, Redux, or TanStack ownership requires otherwise.
- Distinctive: line 124
Keep styles in CSS Modules by default.
- Distinctive: line 126
Do not add dependencies, global tokens, UI libraries, or new styling systems without explicit approval.
- Very specific: line 128
Use frontend-linter-manager after code-changing work when a lint command exists.
- Very specific: line 129
Run relevant project verification commands from project/verification-profile.md.
- Very specific: line 130
Run frontend-visual-qa only when the change needs rendered screenshot comparison, viewport evidence, overflow verification, or visible …
- Very specific: line 131
Use frontend-quality-reviewer before final reporting when the user asks for review, the implementation has significant surface area, a loop …
- Very specific: line 151
When affected product terms have a glossary, load that domain under common/domain-glossary-rules.md.
- Distinctive: line 161
Keep visual QA routed separately.
- Distinctive: line 173
No new package, styling system, global token, architecture layer, or UI library may appear without approval.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Frontend Layout Implementer
Purpose
Implement a Design Implementation Spec or Design Direction Contract in a React or Next.js project while respecting existing CSS Modules, Redux, TanStack, Axios, architecture, styling, decomposition, UX gates, and verification conventions.
When the user asks to keep iterating until measurable visual, lint, build, or route acceptance criteria pass, implementation must follow a Loop Workflow Contract or hand off to loop-workflow-planner before editing.
When To Use
- The user asks to build a screen, section, component, or static page from a
Design Implementation Spec. - The user supplies screenshot-derived design material and asks for code in the current supported frontend project.
- The implementation target is within React, Next.js, CSS Modules, Redux, TanStack, or Axios scope.
When Not To Use
- The design intent has not been converted into a spec from supplied links or
screenshots. Use
design-screenshot-specfirst, then resume requested code work. - The user asks only for live design inspection, canvas edits, or whiteboard work.
- The project is outside the supported target stack unless the user explicitly changes scope.
- The task is unrelated to frontend rendering or layout.
Required Context
- Read
AGENTS.md. - Read
common/target-stack-policy.md. - Confirm the classified task is
frontend-layout,feature/development,bugfix,refactor, oroptimizationfor a rendered React or Next.js surface. - Read
common/approved-patterns.mdand relevant anti-pattern rules. - Read
common/css-modules-specificity-rules.mdfor CSS Modules changes. - Read conditional UX rules only when the touched surface needs them: forms, navigation, data visualization, icons, or mobile responsive behavior.
- Read
common/agent-loop-policy.mdandcommon/verification-loop-rules.mdwhen measurable iteration or bounded retry is required. - Read relevant project overlays when present: stack, architecture, styling, verification, state, data-fetching, build, and workspace profiles.
- Read the
Design Implementation Spec,Design Direction Contract, and supplied visual references. - Read affected source files, styles, components, routes, and configs.
- Read
references/implementation-rules.mdwhen present.
Do not read generated dist/** during normal runtime.
When shared UI or compatible component wrappers are in scope, read
common/frontend-design-system-rules.md and
common/component-substitution-rules.md. Apply purpose-specific naming from
common/frontend-implementation-boundaries.md to changed project-owned code.
When React/Next work changes loading, imports, subscriptions or expensive
rendering, read the relevant section of common/react-performance-rules.md.
Tool Contract
- Use Project Context MCP when available; otherwise read
project/**and source files directly. - Use Design Spec MCP when available; otherwise use the supplied spec text or user-approved local artifact.
- Use Visual Reference MCP when available; otherwise use attached or local image files supplied by the user.
- Use
context7for React, Next.js, Redux, TanStack, Axios, TypeScript, or build-tool docs when implementation depends on current behavior. - Activate
openai_platform_docsonly when current OpenAI API or ChatGPT Apps SDK behavior affects the implementation. - Use
mdnfor current HTML, CSS, Web API, accessibility, and compatibility facts. - Use rendered visual QA only when screenshot comparison, viewport evidence, overflow checks, or visible state verification are in scope.
- Use Visual Diff MCP when available during final visual comparison.
- Route live design reads through
design-screenshot-specand reuse its evidence. - If a named MCP is unavailable, report the missing capability before using a lower-confidence fallback.
Workflow
- Confirm the task is within the supported target stack.
- Detect React/Next.js routing, CSS Modules ownership, Redux ownership, TanStack usage, Axios API adapter boundaries, and verification commands.
- Map the spec to existing project components, layout primitives, tokens, assets, styles, and UX patterns.
- Check component coverage and the spec's product decision register before
editing. Use
skills/design-screenshot-spec/references/product-behavior-review.mdthrough the owning skill for unresolved design or behavior. Ask the user to resolve every needed product choice; implement only confirmed independent scope. Do not invent transitions, form opening/dismissal, persistence, hidden states, responsive choices, or animation defaults to complete the page. - Use
frontend-architecture-plannerbefore editing when route, state, data, form, build, workspace, or shared component ownership is unclear or material. - Use
loop-workflow-plannerbefore editing when the task requires bounded retry, independent review, loop memory, or measurable iteration beyond one implementation pass. - Plan component decomposition before editing.
- Map structure as information before adding numbers, dividers, badges, labels, grids, metrics, or decorative sections.
- Identify conditional UX gates: forms, navigation, data visualization, icon quality, and mobile responsiveness.
- Identify CSS Modules ownership and selector risks before styling.
- Implement the smallest scoped change that satisfies the spec, design direction, architecture handoff, and decomposition plan.
- Keep UI state local unless existing React, Redux, or TanStack ownership requires otherwise.
- Keep styles in CSS Modules by default.
- Reuse existing Axios clients and API adapters for API-facing changes.
- Do not add dependencies, global tokens, UI libraries, or new styling systems without explicit approval.
- Preserve accessibility, semantic structure, keyboard/focus behavior, text wrapping, responsive behavior, and stable layout dimensions.
- Use
frontend-linter-managerafter code-changing work when a lint command exists. - Run relevant project verification commands from
project/verification-profile.md. - Run
frontend-visual-qaonly when the change needs rendered screenshot comparison, viewport evidence, overflow verification, or visible state verification. - Use
frontend-quality-reviewerbefore final reporting when the user asks for review, the implementation has significant surface area, a loop contract requires independent review, or the plan requires a quality pass.
Output Contract
Final response: return only facts that affect the user's understanding, confidence, or next action. Omit empty fields and workflow narration.
Report:
- implemented spec scope;
- affected React or Next.js surface;
- decomposition applied or why the touched component remained intentionally small;
- CSS Modules, Redux, TanStack, Axios, or project primitives reused;
- form, navigation, data, icon, and responsive gates considered or skipped as not applicable;
- loop contract followed or why no loop was needed;
- deviations from the design spec;
- lint and verification commands run;
- rendered visual QA result, skipped reason, or blocker.
Domain Terms
When affected product terms have a glossary, load that domain under
common/domain-glossary-rules.md. Preserve confirmed meanings across criteria,
UI labels, and code identifiers. Do not silently resolve material ambiguity.
Functional Acceptance
For behavior changes, verify the user outcome under
common/verification-loop-rules.md. A named browser-dependent functional
criterion permits a scoped browser check under
common/rendered-visual-verification-policy.md even without a visual change.
Keep visual QA routed separately; report unverified runtime behavior honestly.
Validation Gates
- Implementation must follow inspected project conventions.
- The target must be within React, Next.js, CSS Modules, Redux, TanStack, or Axios scope.
- CSS Modules changes must have clear ownership and stable specificity.
- Structural devices must encode meaning instead of decoration.
- Form, navigation, data, icon, and mobile risks must be handled when present.
- Bounded iteration must have measurable criteria, attempt limit, and stop conditions.
- Source evidence and confirmed user decisions must cover the implemented slice; unresolved dependent behavior is blocked, not silently filled from conventions.
- No new package, styling system, global token, architecture layer, or UI library may appear without approval.
- Code-changing implementation must run lint when an existing lint command is available.
Trigger Evals
Should trigger:
- "Implement this Design Implementation Spec in the current React page."
- "Build this approved design direction with the existing CSS Modules."
Should not trigger:
- "Write a visual direction before coding."
- "Compare the rendered page with the screenshot only."
Reference Map
common/react-performance-rules.mdcommon/target-stack-policy.mdskills/design-screenshot-spec/references/product-behavior-review.mdcommon/approved-patterns.mdcommon/anti-patterns.mdcommon/css-modules-specificity-rules.mdcommon/form-feedback-rules.mdcommon/navigation-ux-rules.mdcommon/data-visualization-rules.mdcommon/icon-quality-rules.mdcommon/mobile-responsive-rules.mdcommon/agent-loop-policy.mdcommon/verification-loop-rules.mdskills/loop-workflow-planner/SKILL.mdskills/frontend-architecture-planner/SKILL.mdskills/frontend-linter-manager/SKILL.mdskills/frontend-quality-reviewer/SKILL.mdskills/frontend-visual-qa/SKILL.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

