agentleFS
kozz36kozz36/frontend-architect-skill/skills/frontend-architect/SKILL.md

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

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. k1lgor/virtual-company★ 4same name
    2. xiehuan123/coding-coach★ 4same name
    3. 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
  1. Distinctive:

    Use this skill for frontend architecture decisions when the agent must choose, review, or document production-ready technical direction.

    line 12
  2. Distinctive:

    Do not use this skill for generic explanation, copy editing, or one-off code changes that do not affect architecture or reusable …

    line 18
  3. Distinctive:

    Treat accessibility, Core Web Vitals, and security headers as architecture, not polish.

    line 25
  4. Distinctive:

    Keep content and core interactions functional before enabling optional platform animation, anchoring, or transition features.

    line 26
  5. Distinctive:

    Prefer native HTML and CSS primitives when their semantics, specification maturity, and verified target-browser support fit.

    line 27
  6. Very specific:

    Keep server-rendered output deterministic: do not read window, document, or navigator during server rendering or initial render evaluation.

    line 28
  7. Distinctive:

    Prefer local, inspectable component patterns when agents must maintain the codebase.

    line 29
  8. Distinctive:

    Keep the main answer decision-first.

    line 30
  9. Distinctive:

    Verify version- or API-sensitive claims against live official sources before using them in decision guidance or presenting them in a …

    line 31
  10. Distinctive:

    If those inputs are insufficient to discriminate between options, return the missing decisions as questions and stop.

    line 49
  11. Very specific:

    Read references/technical-reference.md when detailed matrices, native-platform patterns, anti-patterns, commands, or source links are …

    line 51

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.md only 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, or navigator during 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

NeedAction
Missing or insufficient material constraintsReturn the unresolved constraints and quality-attribute questions; do not recommend a stack.
SEO/public contentSSR, SSG, or islands. Avoid SPA-only unless intentionally gated.
Internal adminCompare 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 boundaryEvaluate tRPC when one team controls compatible TypeScript consumers; use a versionable schema-generated contract for heterogeneous or independently released clients.
Design systemHeadless for custom control; opinionated library for delivery speed.
Non-modal overlayPrefer Popover API when its semantics and verified target-browser support fit; use <dialog> for modal interaction.
Optional modern CSS/APIStart from a complete static experience, then gate enhancement by feature support and reduced-motion preferences.
SSR, streaming, or islandsRequire deterministic server output and isolate browser-only behavior behind client lifecycle boundaries.

Execution Steps

  1. 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.
  2. If those inputs are insufficient to discriminate between options, return the missing decisions as questions and stop.
  3. Select the smallest architecture that satisfies the verified SoT inputs.
  4. Read references/technical-reference.md when detailed matrices, native-platform patterns, anti-patterns, commands, or source links are needed.
  5. State the chosen pattern, rejected alternatives, and what breaks at runtime if the choice is wrong.
  6. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.