frontend-architecture

Generates a frontend architecture document by scanning project docs and interviewing on relevant decisions.

Updated May 24, 2026
One-click install
npx skills add https://github.com/pirras-torres/pirras-marketplace --skill frontend-architecture-pirras-torres
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: frontend-architecture
Source: https://github.com/pirras-torres/pirras-marketplace/tree/main/plugins/pi-dev/skills/frontend-architecture
Command: npx skills add https://github.com/pirras-torres/pirras-marketplace --skill frontend-architecture-pirras-torres

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Frontend architecture decisions are often made without considering the project's actual context, leading to over-engineered or mismatched tech choices. This Skill reads your existing product, design, and backend documents first, then interviews you only on the decisions that genuinely matter for your specific project. ## Core Features & Use Cases - Context-Aware Decision Detection: Scans PRD, domain model, UX/UI specs, and backend architecture to identify which decision areas (state management, routing, data fetching, offline, real-time) apply to your project. - Adaptive Interview: Asks targeted questions one at a time based on detected needs, with framework-specific options for React, Vue, React Native, Next.js, and Flutter. - Use Case: After defining your UX spec and backend architecture, run this Skill to produce docs/04_tech/frontend_architecture.md containing stack decisions, file structure, state architecture, and data fetching patterns tailored to your first sprint slice. ## Quick Start Ask the assistant to create the frontend architecture document for this project based on the existing docs.

Frequently Asked Questions about frontend-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a frontend architecture document for my project?▼

Run this Skill after defining your product and design docs. It scans existing documentation, identifies which architectural decisions matter for your project, interviews you on those decisions, and writes the result to docs/04_tech/frontend_architecture.md.

How to choose state management for a React frontend architecture?▼

The Skill presents framework-matched options during its interview. For React it offers local state, Zustand, Redux, or server-state-only with React Query, and records your choice with rationale in the generated document.

Does the frontend architecture skill work without existing project docs?▼

Yes. If no existing docs are found, it falls back to a baseline interview covering framework, state management, routing, styling, and data fetching. However, richer docs produce more targeted questions and a better-tailored document.

What documents does the frontend architecture skill read first?▼

It reads the PRD, product principles, domain model, business rules, UX spec, UI spec, backend architecture, and slice discovery files if they exist. Each document informs specific decision areas such as data fetching patterns or client-side rule enforcement.

Where is the frontend architecture document saved?▼

The generated document is written to docs/04_tech/frontend_architecture.md, and the folder is created if missing. If multiple docs folders are detected, the Skill asks which one to use before writing.