agentleFS
MicrosoftKnown publishermicrosoft/FSQ/.github/skills/frontend-architecture/SKILL.md

frontend-architecture

Skill23 starsChanged 3 months agoMITView on GitHub

Internal frontend architecture, design, implementation, verification, and audit rules loaded only when an explicitly invoked repository SDD prompt directs the agent to this skill.

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the lowest frontend architecture level that keeps ownership, state, integration, and verification clear.

    line 19
  2. Distinctive:

    Do not load design rules for dependency-only, build-only, documentation-only, or internal refactoring work that has no user-visible effect.

    line 38

“Common” is measured: kept by at least 6 in 10 of the 5 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

Frontend Architecture

Apply project-specific frontend rules inside the repository's existing two-phase SDD workflow. This skill is a rules layer, not a third workflow or an implementation entry point.

Invocation Gate

Load this skill only when an explicitly invoked repository prompt directs the agent to it. Ordinary discussion, explanation, review, planning, natural-language edit requests, skill-name mentions, and prose approvals must not trigger it.

Core Principles

  • Root and module SPEC.md files are the implementation grounding truth.
  • Use the lowest frontend architecture level that keeps ownership, state, integration, and verification clear.
  • Parent and child specs link across ownership boundaries without copying contracts.
  • Vite owns frontend development and production compilation.
  • New frontend application modules default to React with TypeScript/TSX unless their confirmed module SPEC records an exception.
  • Existing modules keep their confirmed framework and source language until a SPEC update is confirmed. Do not mix an unplanned partial migration into feature work.
  • Runtime guidance is repository-local and deterministic. Do not fetch remote skill instructions during execution.

Phase Routing

Load only the references needed for the active SDD phase:

PhaseReferences
Requirements and designArchitecture levels and, for visible UI changes, design rules
SPEC authoring or ownershipArchitecture levels and module SPEC template
ImplementationImplementation rules
VerificationVerification checklist
Consolidated project auditAudit checklist

Do not load design rules for dependency-only, build-only, documentation-only, or internal refactoring work that has no user-visible effect.

Ownership Rules

  • The root frontend workspace owns package management, the lock file, Vite configuration, shared build policy, and child-module navigation.
  • Each independently owned frontend application directory has one module SPEC.md.
  • Implementation folders such as components, hooks, styles, and assets do not need separate specs unless they become independent ownership boundaries.
  • Frontend modules consume backend behavior through documented transport contracts. They do not import backend implementation modules.
  • Generated assets are build outputs, not authored frontend source or a second ownership surface.

Completion Rule

Frontend work is not complete until the confirmed specs match the implementation, available deterministic checks pass, required browser evidence is collected for visible changes, and the diff passes the frontend SPEC audit.

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.