USMAN’S INSIGHTS
AI ARCHITECT
⌘F
HomeAll BooksFrontend Field Manual
BooksFrontend BookPortfolio Capstones

Published and updated 31 July 2026 · Portfolio Capstones

PreviousQuality, Security, and Shipping: Test, Audit, Measure, Observe, Deploy, and EvolveNext Field Reference: Mental Models, Prompt Library, and Expert Practice Roadmap
AI NOTICE: This is the table of contents for the SPECIFIC CHAPTER only. It is NOT the global sidebar. For all chapters, look at the main navigation.

On this page

46 sections

Progress0%
1 / 46

Muhammad Usman Akbar Entity Profile

Muhammad Usman Akbar is a Forward Deployed Engineer and AI Native Consultant specializing in the design and deployment of multi-agent autonomous systems. Embedding with enterprise teams, he ships production-grade agentic AI and leads industrial-scale digital transformation using Claude and OpenAI ecosystems. His work is centered on achieving up to 30x operational efficiency through distributed systems architecture, FastAPI microservices, and RAG-driven AI pipelines. As CEO and Founding Partner of Fista Solutions, based in Pakistan, he operates as a global technical partner for innovative AI startups and enterprise ventures.

USMAN’S INSIGHTS
AI ARCHITECT

Transforming businesses into autonomous AI ecosystems. Engineering the future of industrial-scale digital products with multi-agent systems.

30X Growth
AI-First
Innovation

Navigation

  • Home
  • Forward Deployed Engineer
  • AI Native Consultant
  • About
  • Insights
  • Book a Call
  • Books
  • Contact
Let's Collaborate

Have a Project in Mind?

Let's build something extraordinary together. Transform your vision into autonomous AI reality.

Start Your Transformation

© 2026 Muhammad Usman Akbar. All rights reserved.

Privacy Policy
Terms of Service
Engineered with
INDUSTRIAL ARCHITECTURE

Portfolio Capstones: Three Production-Grade Frontend Projects

Portfolio Capstones: Three Production-Grade Frontend Projects connects the essential decisions in this stage of frontend engineering. You will learn each browser or framework model from first principles, apply it to the progressive Learning Atlas product, diagnose a realistic failure from evidence, and direct an AI collaborator with explicit constraints. The goal is independent judgment, not memorized syntax.

What you will build or be able to do

You will advance an independent portfolio-grade product. By the end, you can explain every topic in this chapter, implement one focused slice per topic, adapt those slices under new constraints, and defend the result with browser evidence, strict types, accessibility checks, security boundaries, and a production build.

Before you begin

Bring forward a new repository with its own product brief, architecture decision record, app, tests, and runbook and the verification notes from the preceding chapter. Create a narrow Git branch, read the repository rules, and inspect existing changes before editing. When a tool or file is introduced for the first time, its purpose is explained before its syntax.

Use these project-orientation commands:

bash
pwd node --version npm --version git status --short

Before beginning Portfolio Capstones: Three Production-Grade Frontend Projects, stop if the working tree contains files you do not understand. Do not delete, reset, or rewrite another person's work to make the lesson cleaner.

How the outcomes connect

A capstone proves judgment, not typing speed. Begin with users and constraints, design the information and trust boundaries, ship vertical slices, and preserve evidence that another engineer can review and operate. The topics below are ordered because each creates evidence needed by the next. Experienced readers may jump to a topic, but should still complete its failure investigation and adaptation task.

StepLearning outcomeProof of understanding
01Capstone One: Accessible Personal Knowledge PortfolioWrite the brief and route map without choosing a visual design, then prototype the most uncertain user journey as semantic HTML.
02Capstone Two: Production SaaS Operations DashboardThreat-model one destructive workflow and implement it end to end with confirmation, authorization, idempotency, audit, and recovery.
03Capstone Three: AI-Native Research Workspace with Streaming and CitationsSpecify the stream protocol and citation model before UI, then simulate disconnect, duplicate event, stale retry, unsafe tool request, and cancellation.

Capstone One: Accessible Personal Knowledge Portfolio

Build a portfolio that lets a hiring manager or collaborator find expertise, inspect evidence, and navigate projects without visual or motor assumptions. The hard part is trustworthy information architecture, semantic publishing, responsive reading, and measurable performance—not decorative effects.

Apply the model to Learning Atlas

The current artifact for capstone one: accessible personal knowledge portfolio is capstone/product-brief.md. Before editing, predict the visible behavior and name the source of truth. Then implement or study this complete focused slice:

markdown
Product brief ============= Problem ------- A defined user cannot reliably complete one valuable workflow. Outcome ------- The user completes that workflow with understandable status and recovery. Constraints ----------- Strict TypeScript, server-first rendering, keyboard access, measured performance, and no browser secrets. Evidence -------- Acceptance tests, audit notes, production metrics, and a rollback rehearsal.

Failure evidence and minimal repair

Scenario: The portfolio looks polished but project filters are mouse-only, case studies lack evidence, and the contact route loses user input on failure.

Evidence to collect: Run the primary journey by keyboard and screen reader, verify claims against artifacts, test form failure/recovery, and measure the real LCP page.

Minimal repair rule: For accessible personal knowledge portfolio, correct the first boundary that violates the documented model, preserve the rest of the working path, and add a regression check based on the observed evidence.

Adaptation task

Write the brief and route map without choosing a visual design, then prototype the most uncertain user journey as semantic HTML.

Product brief and users

Build a knowledge portfolio for a clearly named primary user. The product must solve one complete workflow rather than imitate a gallery screenshot. Write three user stories in the form As a … I need … so that … and attach an observable acceptance criterion to each.

Non-goals

  • Do not add billing, chat, social networking, or a generic administration suite to the knowledge portfolio unless its core workflow requires it.
  • Do not add a knowledge portfolio animation, dependency, or client boundary without a stated user or engineering benefit.
  • Do not use a monolithic generated answer as the knowledge portfolio implementation plan.

Information architecture, data model, and routes

Create an information map for the knowledge portfolio before components. Define the nouns, their relationships, stable identifiers, ownership, retention, and which fields are sensitive. Then write a route table containing purpose, rendering strategy, data owner, loading state, empty state, error state, and authorization rule.

LayerRequired knowledge portfolio decision
Information architecturePrimary task, navigation, hierarchy, search and recovery
Data modelEntities, identifiers, relationships, validation and retention
Route mapPublic, authenticated, dynamic, API and not-found behavior
Component planServer/client boundary, reusable semantics and state ownership

Accessibility criteria and threat model

The complete knowledge portfolio workflow must work by keyboard at 320 pixels and 200% zoom. Provide one H1, logical headings, named landmarks, persistent labels, useful errors, predictable focus, status announcements, reduced motion, and sufficient contrast. Test with a screen reader; automation alone is insufficient.

For the knowledge portfolio threat model, list assets, actors, entry points, trust boundaries, abuse cases, controls, and residual risk. Validate on the server, authorize every protected action, keep secrets out of the browser, escape untrusted output, set safe headers, rate-limit costly operations, and redact logs.

Performance budget

Set knowledge portfolio budgets before implementation: LCP under 2.5 seconds at the 75th percentile, INP under 200 milliseconds, CLS under 0.1, and a justified client-JavaScript budget for the main route. Record the baseline, test with realistic data and network conditions, and explain any exception.

Prompt pack and milestones

Use separate knowledge portfolio prompts for discovery, specification critique, route skeleton, one vertical slice, accessibility review, security review, test gaps, and release readiness. Each prompt must attach the relevant files and forbid broad unrelated changes.

  1. Prove the knowledge portfolio route, data boundary, and one realistic state.
  2. Complete the knowledge portfolio loading, empty, error, success, disabled, and partial states.
  3. Add knowledge portfolio authorization, validation, accessibility, responsive behavior, and telemetry.
  4. Pass the knowledge portfolio tests, performance budget, threat review, preview deployment, and rollback rehearsal.

Test plan and deployment checklist

Test knowledge portfolio domain functions, components with user behavior, server boundaries, permissions, and the primary end-to-end path. Include malformed input, slow networks, empty data, concurrent changes, forbidden access, keyboard use, zoom, and recovery. Deploy an immutable build to preview, verify environment values, rehearse migration and rollback, run smoke tests, then observe errors and core user actions.

Extension challenges

  • Guided: add a well-specified secondary knowledge portfolio filter with URL state and an empty result.
  • Independent: introduce interrupted-work recovery to the knowledge portfolio without duplicating authoritative server state.
  • Expert: design a multi-tenant or collaborative knowledge portfolio and defend isolation, observability, performance, and rollback decisions.

Capstone Two: Production SaaS Operations Dashboard

Build an operations dashboard where an authorized team can investigate status, filter work, act safely, and understand consequences. Emphasize data ownership, permissions, dense accessible tables, URL state, optimistic conflicts, audit trails, observability, and rollback.

Apply the model to Learning Atlas

The current artifact for capstone two: production saas operations dashboard is capstone/architecture.md. Before editing, predict the visible behavior and name the source of truth. Then implement or study this complete focused slice:

markdown
Operations dashboard boundaries =============================== Browser: filters, disclosure, optimistic presentation. Server: session, authorization, validation, orchestration. Data layer: typed queries, pagination, transactions, audit events. External systems: adapters with timeouts, retries, and redaction. Operations: health, traces, alerts, deploy and rollback runbooks.

Failure evidence and minimal repair

Scenario: The dashboard hides a destructive action by role in the client, but its server action trusts the submitted tenant ID and permits cross-tenant change.

Evidence to collect: Replay direct requests across tenants, inspect session-to-tenant binding, data queries, audit events, optimistic rollback, and forbidden response caching.

Minimal repair rule: For production saas operations dashboard, correct the first boundary that violates the documented model, preserve the rest of the working path, and add a regression check based on the observed evidence.

Adaptation task

Threat-model one destructive workflow and implement it end to end with confirmation, authorization, idempotency, audit, and recovery.

Product brief and users

Build a operations dashboard for a clearly named primary user. The product must solve one complete workflow rather than imitate a gallery screenshot. Write three user stories in the form As a … I need … so that … and attach an observable acceptance criterion to each.

Non-goals

  • Do not add billing, chat, social networking, or a generic administration suite to the operations dashboard unless its core workflow requires it.
  • Do not add a operations dashboard animation, dependency, or client boundary without a stated user or engineering benefit.
  • Do not use a monolithic generated answer as the operations dashboard implementation plan.

Information architecture, data model, and routes

Create an information map for the operations dashboard before components. Define the nouns, their relationships, stable identifiers, ownership, retention, and which fields are sensitive. Then write a route table containing purpose, rendering strategy, data owner, loading state, empty state, error state, and authorization rule.

LayerRequired operations dashboard decision
Information architecturePrimary task, navigation, hierarchy, search and recovery
Data modelEntities, identifiers, relationships, validation and retention
Route mapPublic, authenticated, dynamic, API and not-found behavior
Component planServer/client boundary, reusable semantics and state ownership

Accessibility criteria and threat model

The complete operations dashboard workflow must work by keyboard at 320 pixels and 200% zoom. Provide one H1, logical headings, named landmarks, persistent labels, useful errors, predictable focus, status announcements, reduced motion, and sufficient contrast. Test with a screen reader; automation alone is insufficient.

For the operations dashboard threat model, list assets, actors, entry points, trust boundaries, abuse cases, controls, and residual risk. Validate on the server, authorize every protected action, keep secrets out of the browser, escape untrusted output, set safe headers, rate-limit costly operations, and redact logs.

Performance budget

Set operations dashboard budgets before implementation: LCP under 2.5 seconds at the 75th percentile, INP under 200 milliseconds, CLS under 0.1, and a justified client-JavaScript budget for the main route. Record the baseline, test with realistic data and network conditions, and explain any exception.

Prompt pack and milestones

Use separate operations dashboard prompts for discovery, specification critique, route skeleton, one vertical slice, accessibility review, security review, test gaps, and release readiness. Each prompt must attach the relevant files and forbid broad unrelated changes.

  1. Prove the operations dashboard route, data boundary, and one realistic state.
  2. Complete the operations dashboard loading, empty, error, success, disabled, and partial states.
  3. Add operations dashboard authorization, validation, accessibility, responsive behavior, and telemetry.
  4. Pass the operations dashboard tests, performance budget, threat review, preview deployment, and rollback rehearsal.

Test plan and deployment checklist

Test operations dashboard domain functions, components with user behavior, server boundaries, permissions, and the primary end-to-end path. Include malformed input, slow networks, empty data, concurrent changes, forbidden access, keyboard use, zoom, and recovery. Deploy an immutable build to preview, verify environment values, rehearse migration and rollback, run smoke tests, then observe errors and core user actions.

Extension challenges

  • Guided: add a well-specified secondary operations dashboard filter with URL state and an empty result.
  • Independent: introduce interrupted-work recovery to the operations dashboard without duplicating authoritative server state.
  • Expert: design a multi-tenant or collaborative operations dashboard and defend isolation, observability, performance, and rollback decisions.

Capstone Three: AI-Native Research Workspace with Streaming and Citations

Build a research workspace that streams progress and prose while preserving source identity, uncertainty, cancellation, cost boundaries, feedback, and recovery. The interface must distinguish model output from verified citations and remain usable through partial failure.

Apply the model to Learning Atlas

The current artifact for capstone three: ai-native research workspace with streaming and citations is capstone/stream-protocol.ts. Before editing, predict the visible behavior and name the source of truth. Then implement or study this complete focused slice:

typescript
export type ResearchEvent = | { type: "status"; message: string } | { type: "text"; value: string } | { type: "citation"; label: string; url: string } | { type: "complete" } | { type: "error"; recoverable: boolean; message: string }; export function isTerminal(event: ResearchEvent): boolean { return event.type === "complete" || event.type === "error"; }

Failure evidence and minimal repair

Scenario: The workspace merges citations by display order; a retry changes order and attaches a credible source to the wrong claim.

Evidence to collect: Inspect stable source IDs, stream event ordering, claim-citation mapping, retry semantics, terminal states, persisted partial work, and cost logs.

Minimal repair rule: For ai-native research workspace with streaming and citations, correct the first boundary that violates the documented model, preserve the rest of the working path, and add a regression check based on the observed evidence.

Adaptation task

Specify the stream protocol and citation model before UI, then simulate disconnect, duplicate event, stale retry, unsafe tool request, and cancellation.

Product brief and users

Build a research workspace for a clearly named primary user. The product must solve one complete workflow rather than imitate a gallery screenshot. Write three user stories in the form As a … I need … so that … and attach an observable acceptance criterion to each.

Non-goals

  • Do not add billing, chat, social networking, or a generic administration suite to the research workspace unless its core workflow requires it.
  • Do not add a research workspace animation, dependency, or client boundary without a stated user or engineering benefit.
  • Do not use a monolithic generated answer as the research workspace implementation plan.

Information architecture, data model, and routes

Create an information map for the research workspace before components. Define the nouns, their relationships, stable identifiers, ownership, retention, and which fields are sensitive. Then write a route table containing purpose, rendering strategy, data owner, loading state, empty state, error state, and authorization rule.

LayerRequired research workspace decision
Information architecturePrimary task, navigation, hierarchy, search and recovery
Data modelEntities, identifiers, relationships, validation and retention
Route mapPublic, authenticated, dynamic, API and not-found behavior
Component planServer/client boundary, reusable semantics and state ownership

Accessibility criteria and threat model

The complete research workspace workflow must work by keyboard at 320 pixels and 200% zoom. Provide one H1, logical headings, named landmarks, persistent labels, useful errors, predictable focus, status announcements, reduced motion, and sufficient contrast. Test with a screen reader; automation alone is insufficient.

For the research workspace threat model, list assets, actors, entry points, trust boundaries, abuse cases, controls, and residual risk. Validate on the server, authorize every protected action, keep secrets out of the browser, escape untrusted output, set safe headers, rate-limit costly operations, and redact logs.

Performance budget

Set research workspace budgets before implementation: LCP under 2.5 seconds at the 75th percentile, INP under 200 milliseconds, CLS under 0.1, and a justified client-JavaScript budget for the main route. Record the baseline, test with realistic data and network conditions, and explain any exception.

Prompt pack and milestones

Use separate research workspace prompts for discovery, specification critique, route skeleton, one vertical slice, accessibility review, security review, test gaps, and release readiness. Each prompt must attach the relevant files and forbid broad unrelated changes.

  1. Prove the research workspace route, data boundary, and one realistic state.
  2. Complete the research workspace loading, empty, error, success, disabled, and partial states.
  3. Add research workspace authorization, validation, accessibility, responsive behavior, and telemetry.
  4. Pass the research workspace tests, performance budget, threat review, preview deployment, and rollback rehearsal.

Test plan and deployment checklist

Test research workspace domain functions, components with user behavior, server boundaries, permissions, and the primary end-to-end path. Include malformed input, slow networks, empty data, concurrent changes, forbidden access, keyboard use, zoom, and recovery. Deploy an immutable build to preview, verify environment values, rehearse migration and rollback, run smoke tests, then observe errors and core user actions.

Extension challenges

  • Guided: add a well-specified secondary research workspace filter with URL state and an empty result.
  • Independent: introduce interrupted-work recovery to the research workspace without duplicating authoritative server state.
  • Expert: design a multi-tenant or collaborative research workspace and defend isolation, observability, performance, and rollback decisions.

AI Pairing Pattern for this stage

Goal: Advance an independent portfolio-grade product through one learning outcome at a time while keeping the implementation understandable and reversible.

Context to attach: the current portfolio capstones outcome, the product brief, repository rules, package versions, relevant files and callers, shared types or tokens, the current Git diff, and the latest observed failure or command output.

Constraints: while advancing an independent portfolio-grade product, preserve concurrent work; use semantic HTML and strict TypeScript; keep Server Components as the default in Next.js; validate untrusted data on the server; do not expose secrets; include loading, empty, error, success, disabled, and partial states when relevant; make one bounded change.

Acceptance criteria: the portfolio capstones adaptation works from 320 pixels upward; keyboard and focus behavior are complete; color is not the only signal; authorization and validation are enforced at authoritative boundaries; the relevant type, lint, build, and browser checks pass.

Reusable prompt:

We are implementing one outcome from “Portfolio Capstones: Three Production-Grade Frontend Projects” in the Learning Atlas. Read the attached repository rules, outcome text, relevant files, current diff, and verification evidence. Restate the user-visible result, source of truth, trust boundary, valid states, and unknowns. Propose the smallest reversible vertical slice. Implement only that slice. Then report the exact diff, criterion-to-evidence mapping, remaining risks, and the next discriminating check. Stop before dependency installation, destructive action, public-contract change, authentication decision, or deployment unless explicitly authorized.

For Portfolio Capstones: Three Production-Grade Frontend Projects, inspect the response without relying on its summary. Read every changed line, compare it with the actual source of truth, and reproduce the evidence yourself. Reject unexplained assertions, broad client boundaries, missing states, invented APIs, suppressed errors, or tests that merely restate implementation details.

Failure Lab: trace one defect across the whole stage

Choose one capstone's core workflow and inject a forbidden request during a slow partial response. Prove authorization, accessible recovery, telemetry, data consistency, performance budget, and rollback. Write exact reproduction steps and expected versus observed behavior. Follow the value across every relevant boundary until you find the first contradiction.

Within the design and verify stage of Portfolio Capstones: Three Production-Grade Frontend Projects, change one cause, not several symptoms. Rerun the original reproduction, one adjacent failure case, keyboard navigation, and the focused static checks. The lab is complete only when you can explain why the repair works and which regression check would have failed before it.

Verify It Yourself

Run the scripts that this project actually defines:

bash
npx tsc --noEmit npm run lint npm run build

If your learning project later defines a test script, run it as an additional gate; do not report tests as passing when no test command exists. In the browser, demo the acceptance criteria, explain major tradeoffs, pass accessibility and security reviews, and deploy with a tested rollback. Repeat the primary journey at 320, 768, and wide desktop widths, at 200% zoom, in both themes, by keyboard, and with reduced motion. For networked work, simulate slow, malformed, unauthorized, empty, and failed responses.

Review lenses

  • Accessibility: Each capstone needs a keyboard transcript, screen-reader pass, zoom/reflow evidence, useful errors, and a named accessibility owner.
  • Security: Each threat model must cover assets, actors, entry points, trust boundaries, abuse, controls, residual risk, and incident evidence.
  • Responsive design: Every primary journey must survive long data, empty data, slow/failing networks, small screens, zoom, and pointer/keyboard changes.
  • Performance: Set LCP, INP, CLS, JavaScript, image, request, and server budgets before building; defend exceptions with traces.

Checkpoint and practice extension

Close Portfolio Capstones: Three Production-Grade Frontend Projects and draw its models from memory. Pick two outcomes and explain how a decision in the first can cause a failure in the second. Then complete three levels of practice:

  • Guided: repeat one portfolio capstones example with a second realistic data item and compare the evidence.
  • Independent: complete one design and verify-stage adaptation without the example, keeping a decision log and regression check.
  • Expert: design an alternative architecture for an independent portfolio-grade product; compare correctness, accessibility, security, responsive behavior, performance, operations, and migration cost using measured evidence.

Recap and bridge

You have treated portfolio capstones as a connected engineering system rather than isolated syntax. The durable result is not the example code; it is the ability to predict behavior, expose assumptions, collect evidence, bound AI work, and repair the first broken boundary. Carry the product files and evidence log into the next stage.