frontend-architect
Skill0 starsChanged 3 months agoApache-2.0View on GitHub
Trigger: frontend architecture, rendering, state, design systems, performance, testing, a11y. Choose production UI architecture.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- xiehuan123/coding-coachtheir own version, first seen Aug 14, 2026
- omarfarahatoglu-tur/ai-agent-skillstheir own version, first seen May 22, 2026
- k1lgor/virtual-companytheir own version, first seen Apr 30, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- k1lgor/virtual-company★ 4same name
- xiehuan123/coding-coach★ 4same name
- omarfarahatoglu-tur/ai-agent-skills★ 1same 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 repositoryOne other file it gives its agents.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill for frontend architecture decisions when the agent must choose, review, or document production-ready technical direction.
- Distinctive: line 18
Do not use this skill for generic explanation, copy editing, or one-off code changes that do not affect architecture or reusable …
- Distinctive: line 25
Treat accessibility, Core Web Vitals, and security headers as architecture, not polish.
- Distinctive: line 26
Keep content and core interactions functional before enabling optional platform animation, anchoring, or transition features.
- Distinctive: line 27
Prefer native HTML and CSS primitives when their semantics, specification maturity, and verified target-browser support fit.
- Very specific: line 28
Keep server-rendered output deterministic: do not read window, document, or navigator during server rendering or initial render evaluation.
- Distinctive: line 29
Prefer local, inspectable component patterns when agents must maintain the codebase.
- Distinctive: line 30
Keep the main answer decision-first.
- Distinctive: line 31
Verify version- or API-sensitive claims against live official sources before using them in decision guidance or presenting them in a …
- Distinctive: line 49
If those inputs are insufficient to discriminate between options, return the missing decisions as questions and stop.
- Very specific: line 51
Read references/technical-reference.md when detailed matrices, native-platform patterns, anti-patterns, commands, or source links are …
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Activation Contract
Use this skill for frontend architecture decisions when the agent must choose, review, or document production-ready technical direction.
- Starting or reviewing a frontend project architecture.
- Choosing framework, rendering mode, state strategy, testing baseline, or design system.
- Hardening UI delivery for performance, accessibility, security, or AI-agent maintainability.
Do not use this skill for generic explanation, copy editing, or one-off code changes that do not affect architecture or reusable implementation patterns.
Hard Rules
- Discover repository-native authoritative sources for product constraints and quality attributes before selecting a stack. Treat
docs/product-charter.mdonly as a non-mandatory example. If material constraints remain insufficient, return the missing decisions as questions and stop selection. - Choose rendering from product constraints, not framework marketing.
- Separate server state from client UI state; do not force one store to own both.
- Treat accessibility, Core Web Vitals, and security headers as architecture, not polish.
- Keep content and core interactions functional before enabling optional platform animation, anchoring, or transition features.
- Prefer native HTML and CSS primitives when their semantics, specification maturity, and verified target-browser support fit; do not replace proven accessible behavior merely to remove JavaScript.
- Keep server-rendered output deterministic: do not read
window,document, ornavigatorduring server rendering or initial render evaluation. - Prefer local, inspectable component patterns when agents must maintain the codebase.
- Keep the main answer decision-first; move deep rationale to local references instead of long inline prose.
- Verify version- or API-sensitive claims against live official sources before using them in decision guidance or presenting them in a changelog or release note.
Decision Gates
| Need | Action |
| Missing or insufficient material constraints | Return the unresolved constraints and quality-attribute questions; do not recommend a stack. |
| SEO/public content | SSR, SSG, or islands. Avoid SPA-only unless intentionally gated. |
| Internal admin | Compare SPA, SSR, and hybrid delivery by startup latency, JavaScript dependency, caching, security, hosting, and operational uniformity; lack of SEO alone does not decide rendering. |
| Controlled TypeScript boundary | Evaluate tRPC when one team controls compatible TypeScript consumers; use a versionable schema-generated contract for heterogeneous or independently released clients. |
| Design system | Headless for custom control; opinionated library for delivery speed. |
| Non-modal overlay | Prefer Popover API when its semantics and verified target-browser support fit; use <dialog> for modal interaction. |
| Optional modern CSS/API | Start from a complete static experience, then gate enhancement by feature support and reduced-motion preferences. |
| SSR, streaming, or islands | Require deterministic server output and isolate browser-only behavior behind client lifecycle boundaries. |
Execution Steps
- Discover and read repository-native authoritative sources for product constraints and quality attributes (for example, a product charter, requirements, ADRs, delivery documentation, or an existing architecture record). Extract explicit constraints, quality attributes, team capabilities, runtime, data ownership, security boundaries, and validation paths.
- If those inputs are insufficient to discriminate between options, return the missing decisions as questions and stop.
- Select the smallest architecture that satisfies the verified SoT inputs.
- Read
references/technical-reference.mdwhen detailed matrices, native-platform patterns, anti-patterns, commands, or source links are needed. - State the chosen pattern, rejected alternatives, and what breaks at runtime if the choice is wrong.
- Verify version- or API-sensitive claims against live official sources before using them in decision guidance or presenting them in a changelog or release note.
Output Contract
Return:
- For every recommendation, the exact SoT constraint or quality attribute that justifies it.
- Alternatives rejected with concrete tradeoffs.
- Runtime risks, failure triggers, and mitigation.
- Validation steps or evidence needed before adoption.
- Missing SoT decisions as blocking questions when selection cannot be justified.
References
references/technical-reference.md— canonical full v3.1.2 technical basis for detailed decisions.references/source-index.md— official source evidence and verification dates for retained volatile claims.
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.

