web-components
Skill0 starsChanged 3 months agoMITView on GitHub
Propose component patterns and layout structure for a web page like a senior designer — hero, nav, card, form, footer, plus layout primitives (container width, grid, vertical rhythm, whitespace, edge treatment), with every idea cited to a named source (Awwwards, CollectUI, Framer, Webflow, Godly, Land-book) and translated to a named aesthetic voice (Kage, Towers, Sketchbook, or a user-added one). Use when the user asks to redesign a hero or section, propose component patterns, sketch a layout for a pricing / portfolio / landing page, work from an inspiration reference, make a page feel like a named aesthetic voice, or restructure the shape of a section. Extract the pattern, never clone the artefact; cite every source specifically.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- CorySchulz/skillstheir own version, first seen Sep 2, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- CorySchulz/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skill-makerSkill
- web-accessibilitySkill
- web-colorSkill
- web-copySkill
- web-motionSkill
- web-typographySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 10 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
If the project has any of these, load them and treat them as constraints:
- Distinctive: line 48
Respect the existing spacing scale: If spacing steps at 4px, don't introduce 6px.
- Distinctive: line 55
If the user shared a reference:
- Distinctive: line 64
If the voice isn't in there yet, ask the user for two or three traits, then propose adding it to the file at the end of the pass.
- Distinctive: line 67
If nothing was shared, treat the current page as the baseline to polish.
- Distinctive: line 89
Consider each primitive explicitly, even if the answer is "keep as-is":
- Very specific: line 100
Use assets/review-template.md for the output shape.
- Distinctive: line 106
Extract the pattern, don't clone the artefact: No one-to-one copies of another site's hero, nav, or layout.
- Very specific: line 123
User names a voice not in
voices.md: Ask for two or three concrete traits, propose the transferable ones, and offer to add the voice to … - Distinctive: line 134
Every proposed component change names a specific source (site + entry, not just the platform).
- Distinctive: line 136
No proposal is a one-to-one clone of the cited source.
- Very specific: line 138
If a named voice was used, the voice appears in voices.md or is proposed for addition.
- Distinctive: line 140
No token rename appears in the change list.
≈ “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
Web Components & Layout
Runs the component + layout stage of a design pass: what shape does each meaningful component take, what layout primitives carry them, and which named source in the inspiration canon inspired the choice. With the existing design system as a hard constraint.
Output is a written proposal with citations, not applied edits.
Process
1. Read the target
Identify what to redesign. The target can be:
- a URL → fetch with
WebFetch - a file path →
Readit - a screenshot / video → describe from the image
- a section named in prose → ask the user which file it maps to
Extract, in one pass: the current layout primitives (container width, column grid, spacing rhythm, edge treatment) and the current pattern of each meaningful component (hero, nav, cards, forms, footer). Do not propose changes yet.
2. Read the design system
If the project has any of these, load them and treat them as constraints:
- a
DESIGN.mdat repo root - a tokens file (spacing scale, radius, elevation)
- a styleguide route (e.g.
/styleguide) - a component library or Figma library
Rules that apply everywhere until proven otherwise:
- Add tokens, do not rename them. Renames break every consumer.
- Respect the existing spacing scale. If spacing steps at 4px, don't introduce 6px.
- Keep the styleguide honest. New component patterns should appear on it if one exists.
3. Reference intake + voice
If the user shared a reference:
- Image or video → describe the aesthetic in five to seven concrete traits (colour temperature, contrast level, type style, motion density, layout rhythm, image treatment, decorative elements). Name the traits before proposing anything.
- URL → fetch and read; if fetching fails, fall back to the user's description or a screenshot.
- Named voice ("make it feel like Kage") → open
references/voices.md. If the voice isn't in there yet, ask the user for two or three traits, then propose adding it to the file at the end of the pass.
If nothing was shared, treat the current page as the baseline to polish.
4. Component pass
Open references/inspiration.md for source guidance.
For each meaningful component in the target (hero, card, nav, form, footer, section header, testimonial block, pricing table, etc.):
- Note the current pattern in one line.
- Propose the change and cite the pattern source specifically — Awwwards site X, CollectUI daily N, Framer template "Sable", Webflow showcase entry. Never "sites like this" or "modern design trends".
- Give a one-line rationale tied to the reference aesthetic from step 3.
Rule: extract the pattern, don't clone the artefact. Isolate the transferable idea (dense editorial grid, oversized serif on a colour block, sticky vertical section counter) and apply it with the target's own content and brand.
5. Layout primitives
Consider each primitive explicitly, even if the answer is "keep as-is":
- Container width — narrow editorial / standard / full-bleed.
- Column grid — 12 / 8 / broken-grid / no grid.
- Vertical rhythm — spacing scale and consistency between sections.
- Whitespace ratio — dense / airy / mixed per section.
- Edge treatment — inset with margin / full-bleed / mixed.
- Image-to-text ratio — text-driven / image-driven / mixed.
6. Output
Use assets/review-template.md for the output shape.
Always-on rules
- Cite every inspiration source specifically. "Awwwards" alone is useless — name the entry.
- Extract the pattern, don't clone the artefact. No one-to-one copies of another site's hero, nav, or layout.
- No token renames. Additions only.
- Respect the existing spacing scale. Additions only where genuinely needed.
- One primary hero pattern per page. Second heroes fight the first.
- When the reference is a competitor, distil traits and cite a different source that hits the same traits — never propose porting a competitor's layout.
Edge cases
- User asks for a full redesign, not a pass. Same process, state up front that this is replacement patterning, not refinement. Confirm scope before writing snippets.
- No design system exists. Propose a starter spacing scale and container widths in the output.
- User names a voice not in
voices.md. Ask for two or three concrete traits, propose the transferable ones, and offer to add the voice toreferences/voices.mdat the end. - Reference is a whole competitor site. Distil the five-to-seven traits and cite a different source that hits the same traits.
- User wants a component pattern but the site has no comparable content. Ask what content the component should carry before proposing a shape.
Checks before finishing
- Every proposed component change names a specific source (site + entry, not just the platform).
- No proposal is a one-to-one clone of the cited source.
- Layout primitives are addressed even if the answer is "keep as-is".
- If a named voice was used, the voice appears in
voices.mdor is proposed for addition. - No token rename appears in the change list.
- Change list is ordered blockers first.
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.

