agentsclimarketplace

Dashboard architecture

Skill ahtishamshahzad/agent_dev_flow/.ai/skills/web/dashboard-architecture

Use to decide where an admin dashboard lives — inside the customer web app, as a route group, as a separate application, or in a separate repository — weighing user roles, deployment boundaries, security boundaries, team ownership, UI system sharing, and release cadence. Placement is a decision, not a default.From its SKILL.md

Install
npx -y skills add ahtishamshahzad/agent_dev_flow --skill dashboard-architecture

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 28 days oldThe repository was created 28 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.2 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it

Dashboard Architecture

Purpose

Decide the admin dashboard's placement and boundaries before any dashboard work: whether it lives inside the customer web app, as an isolated route group, as a separate application, or in a separate repository — with the trade-offs recorded. The dashboard is its own application decision (../../application-selection); this skill decides its shape.

When to Use

  • As soon as ../../application-selection confirms an admin dashboard is needed.
  • When an existing embedded dashboard shows strain (security concerns, release coupling, team friction).
  • Not for dashboard features (tables/reports/bulk ops) — those follow this decision.

Inputs

  • Selected applications and audiences (../../application-selection).
  • Access model: who are the admins, and do they overlap with customers (web-authorization)?
  • Team/ownership structure and release expectations.
  • Repository layout options (../../repository-architecture).

Discovery Questions

  • User roles: are admins a small internal group, a customer-facing role, or both? Do people hold both customer and admin identities?
  • Deployment boundaries: must the dashboard deploy/scale/restrict (VPN, IP allowlist) independently of the customer app?
  • Security boundaries: what's the blast radius if the customer app is compromised — and should admin code even ship in the public bundle?
  • Team ownership: does one team own both surfaces, or do separate teams need independent velocity?
  • UI system sharing: must the dashboard share the design system/components with the customer app (web-design-system)?
  • Release cadence: do the surfaces release together or on different rhythms?

Responsibilities

  • Evaluate the four placements honestly — inside the customer web app (shared chrome, same audience mix), a route group (same app, isolated layout/layer boundaries), a separate application (own build/deploy, possibly own framework via web-stack-selection, typically in the same repo/monorepo), a separate repository (full independence: code, CI, release, ownership).
  • Score each against the six factors above for this project.
  • Recommend one placement with justification and consequences (repo layout, stack choice scope, auth session sharing, UI sharing mechanism).
  • Feed the decision to ../../repository-architecture, web-stack-selection (separate app gets its own framework decision), and web-routing (embedded gets a route group plan).

Required Workflow

  1. Gather the six factors (roles, deployment, security, ownership, UI sharing, cadence).
  2. Evaluate all four placements against them; note disqualifiers first.
  3. Recommend one, with trade-offs of the runners-up.
  4. Record consequences: repo/stack/auth/UI-sharing follow-ups.
  5. Submit for Gate 2 approval before any dashboard implementation.

Decision Rules

  • Placement is a decision, not a default — do not silently bolt an /admin route onto the customer app.
  • Strong pull toward separation (app or repo): hard security/deployment boundaries (admin must not ship to public clients, network-restricted access), distinct teams, or clashing release cadences.
  • Strong pull toward embedding (in-app or route group): heavy UI/session/data sharing, one small team, admins who are also product users, low security differential.
  • A separate repository needs justification beyond a separate application — it trades sharing costs for ownership independence; monorepo-with-separate-app covers most separation needs.
  • If embedded, prefer a route group with its own layout, permission gate, and code-splitting over admin logic woven through customer code.

Rules

  • The recommendation names all six factors explicitly — silent factors become surprise constraints later.
  • Whatever the placement, admin access is enforced server-side (web-authorization, dashboard-permissions).
  • Revisit the decision if audience, team, or security facts change materially — placement is migratable, not sacred.

Anti-Patterns

  • Defaulting to "just add /admin" without evaluating boundaries.
  • A separate repo for a dashboard one team releases in lockstep with the app.
  • Embedding an admin surface that regulation/network policy says must be isolated.
  • Sharing a session cookie across customer/admin surfaces that were separated for security.

Validation Checklist

  • All four placements evaluated against the six factors.
  • One placement recommended with justification + runner-up trade-offs.
  • Consequences recorded (repo layout, stack scope, auth/session, UI sharing).
  • Server-side admin enforcement noted regardless of placement.
  • Recorded for Gate 2 approval.

Definition of Done

A recorded, justified dashboard-placement decision — one of in-app / route group / separate application / separate repository — with the six factors weighed, consequences assigned to follow-up skills, and approval pending.

Related Skills

../../application-selection, ../../repository-architecture, web-stack-selection, web-routing, web-authorization, dashboard-permissions, web-design-system, web-deployment.

Related Knowledge

../../../knowledge/ (team structure, security policy, release model).

Related References

../../../references/web/dashboard/ (placement notes — when populated).

Context Loading Guidance

  • Requires: application decisions, access model, team/release facts.
  • Does not require: dashboard feature detail, UI specifics, table/report skills.
  • May load: ../../repository-architecture for repo consequences; web-stack-selection if a separate app results.
  • Stop when: the placement decision is recorded for Gate 2.

Token Efficiency Guidance

Decide from a six-factor summary table. Keep the evaluation to disqualifiers and deciding factors — not an essay per option.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Gives 0 of the 12 instructions most architecture codebase skills give in ~1.2k tokens

Counted across 811 of the 1,134 authors here whose files we hold, read 2026-08-07

  • Ask the user which candidate to explorein 45 of 811, across 15 files
  • Apply the deletion test to suspected shallow modulesin 43 of 811, across 15 files
  • Read any relevant architecture decision records firstin 31 of 811, across 8 files
  • Use exact glossary terms in every suggestionin 30 of 811, across 10 files
  • Accept dependencies instead of creating themin 24 of 811, across 5 files
  • Include before and after visualisations for each candidatein 24 of 811, across 5 files
  • Read the domain glossary before exploringin 24 of 811, across 6 files
  • Return results instead of producing side effectsin 23 of 811, across 4 files
  • Explore the codebase for shallow modules and frictionin 23 of 811, across 3 files
  • Introduce seams only where things varyin 22 of 811, across 3 files
  • Reduce the number of methodsin 21 of 811, across 2 files
  • Design deep modules with small interfacesin 21 of 811, across 3 files

Said here and by no other author read

  • Decide dashboard placement before any implementation
  • Gather six placement factors
  • Evaluate all four placements against the factors
  • Recommend one placement with runner-up trade-offs
  • Name all six factors in the recommendation
  • Enforce admin access server-side

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 326,614. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.