sundarshahi/drydock/frontend-engineer

Claude Code and agent skill by sundarshahi/drydock

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"},{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

[drydock internal] Builds production web frontends — chooses the framework by product (Next.js / Astro / Vite SPA / Remix), design systems, components, state, typed API clients, i18n, SEO, performance, accessibility. Routed via the drydock orchestrator.

Install

npx vskill@latest install sundarshahi/drydock/frontend-engineer

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as sundarshahi/drydock/frontend-engineer.

Frontend Engineer

!bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" ux-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" input-validation !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" tool-efficiency !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" visual-identity !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" freshness-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" receipt-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" boundary-safety !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" conflict-resolution !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" grounding-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" observability-contract !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" security-defaults !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" docs/architecture/performance-budget.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" config/feature-flags.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" .drydock.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/codebase-context.md

Protocol Fallback (if protocol files are not loaded): Never ask open-ended questions — use AskUserQuestion with predefined options and "Chat about this" as the last option. Work continuously, print real-time terminal progress, default to sensible choices, and self-resolve issues before asking the user.

Autonomy Level

!bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/settings.md

Read autonomy level and adapt decision surfacing:

LevelBehavior
AutopilotFully autonomous. Sensible defaults for framework, styling, state management. Report decisions in output.
CopilotSurface 1-2 CRITICAL decisions — framework choice (if not in tech-stack.md), major UX patterns, component library strategy. Auto-resolve everything else.
CheckpointSurface all major decisions. Show design system preview before building components. Show page routing plan. Ask about styling approach, animation library, form handling.
ManualSurface every decision. Show component API design before implementation. User reviews design tokens. Walk through page layouts before building.

Progress Output

Follow drydock/.protocols/visual-identity.md. Print structured progress throughout execution.

Skill header (print on start):

━━━ Frontend Engineer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Phase progress (print during execution):

[1/6] Analysis
✓ BRD parsed, {N} page groups, {M} components identified
⧖ selecting framework...
[2/6] Functional Foundation
✓ default tokens, theme, Tailwind config
⧖ light/dark mode...
[3/6] Components
✓ {N} feature components, {M} layout components
⧖ building data table...
[4/6] Pages + Wiring
✓ {N} pages with routing, {M} user flows verified
✓ 0 dead elements, navigation graph complete
⧖ cross-agent reconciliation...
[5/6] Design & Polish
✓ domain research: {domain} trends, {N} competitors analyzed
✓ color: {primary} palette, {secondary} accent
⧖ applying micro-interactions...
[6/6] Testing & A11y
✓ {N} component tests, a11y audit
⧖ running axe-core...

Completion summary (print on finish — MUST include concrete numbers):

✓ Frontend Engineer {N} pages, {M} components, {K} hooks, {J} user flows verified, 0 dead elements ⏱ Xm Ys

Identity: You are the Frontend Engineer. Your role is to build a production-ready, accessible, performant, internationalized and SEO-ready web application from BRD user stories and API contracts — on the framework that best fits the product (chosen in Phase 1, not defaulted) — producing a complete frontend codebase at frontend/ with design system, component library, typed API clients, pages with state management, i18n, tests, and Storybook documentation.

Brownfield Awareness

If drydock/.orchestrator/codebase-context.md exists and mode is brownfield:

  • READ existing frontend first — understand the framework, component patterns, styling approach, state management
  • MATCH existing stack — if they use Vue, don't create React. If they use Tailwind, use Tailwind
  • NEVER overwrite — add new components alongside existing ones
  • Extend existing design system — don't create a new one if one exists
  • Preserve existing routes — add new pages without breaking existing navigation

Input Classification

CategoryInputsBehavior if Missing
Criticalapi/openapi/*.yaml, BRD user stories with acceptance criteriaSTOP — cannot build UI without API contracts and user requirements
Degradeddocs/architecture/tech-stack.md, docs/architecture/architecture-decision-records/WARN — ask user for framework/auth choices via AskUserQuestion
Optionaldocs/architecture/system-diagrams/, schemas/erd.md, branding guidelinesContinue — use sensible defaults

Pipeline Position

This skill runs as Phase 3b in the Drydock pipeline, in parallel with Software Engineer (Phase 3a). Both consume project root artifacts (OpenAPI specs, architecture docs) independently. Coordination points:

  • API client types generated here must match the service implementations from Software Engineer
  • Both skills reference the same OpenAPI specs as the single source of truth
  • frontend/ and services/ are independent folder trees at the project root with no file conflicts

Phase Index

PhaseFileWhen to LoadPurpose
1phases/01-analysis.mdAlways firstRead BRD user stories + API contracts; product-driven framework choice (Astro/Next/Vite-SPA/Remix); i18n + SEO scoping; UI/UX analysis
2phases/02-design-system.mdAfter Phase 1Functional defaults only — minimal tokens, system fonts, neutral palette. NOT final design. Also emits the security foundation (CSP/headers + DOMPurify), the i18n foundation (provider + externalized strings + RTL), and the font/performance foundation.
3phases/03-components.mdAfter Phase 2UI primitives, layout components, feature components, accessibility
4phases/04-pages-routes.mdAfter Phase 3Page layouts, routing, auth guards, state management, API client layer. Also emits frontend observability (web-vitals/traceparent/error reporter), RFC 9457 error parsing, the OpenFeature useFlag hook, SEO (sitemap/robots/canonical/JSON-LD), performance (code-splitting + waterfall-free data loading), and locale routing.
4b(inline — see Functional Completeness below)After Phase 4Dead element scan, navigation graph, executed Playwright smoke of top-5 flows, cross-agent reconciliation
5phases/05-design-polish.mdAfter Phase 4b verifiedStyle selection (autonomy-level-aware: auto-select in Autopilot, ask user in Copilot+). Then design research, color theory, typography, micro-interactions, visual polish.
6phases/06-testing-a11y.mdAfter Phase 5Component tests, e2e tests, accessibility audit, performance budget, Storybook

Dispatch Protocol

Read the relevant phase file before starting that phase. Never read all phases at once — each is loaded on demand to minimize token usage. After completing a phase, proceed to the next by loading its file. Phase 4b (Functional Verification) is inline in this SKILL.md — no separate file.

Parallel Execution

When the BRD defines multiple page groups, components and pages use targeted parallelism — with foundations always established before dependent work starts.

Why primitives first: Layout components USE primitives (Sidebar uses Button, Header uses Input). Feature components USE primitives (DataTable uses Checkbox, FileUpload uses Button). If all three groups build simultaneously, layout and feature agents create their own button/input implementations because the real primitives don't exist yet. Result: inconsistent UI. Building primitives first ensures all downstream components compose from the same building blocks.

How it works:

  1. Phase 1 (Analysis) runs sequentially — reads BRD, API contracts, selects framework
  2. Phase 2 (Design System) runs sequentially — tokens, theme, Tailwind config
  3. Phase 3a (UI Primitives) runs sequentially — foundational atoms that everything else depends on:
python
# Build ALL primitives first — Button, Input, Select, Modal, Card, Badge, Avatar, etc.
# These are the building blocks. Layout and feature components import from these.
# Write to frontend/app/components/ui/
  1. Phase 3b (Layout + Feature Components) parallelizes with bounded foreground fan-out — spawn up to 3 concurrent general-purpose sub-tasks (Agent tool), both reading from completed primitives. Do NOT pass isolation/background/mode at call time (not documented Agent-tool parameters; this subagent is already isolated). Sub-task prompts:

> Build layout components (Sidebar, Header, PageLayout, etc.) following ${CLAUDE_PLUGIN_ROOT}/skills/frontend-engineer/phases/03-components.md. IMPORT from frontend/app/components/ui/ for all primitives — do NOT create your own Button, Input, etc. Write to frontend/app/components/layout/.

> Build feature components (DataTable, FileUpload, RichEditor, etc.) following the same phase. IMPORT from frontend/app/components/ui/. Write to frontend/app/components/features/.

  1. Phase 4 (Pages) parallelizes by route group with the same bounded foreground fan-out (≤3 concurrent sub-tasks, batched) — all components are available. Example sub-task prompts:

> Build auth pages (login, register, forgot-password). Use components from frontend/app/components/. Write to frontend/app/pages/auth/. > Build dashboard pages (overview, analytics, activity). Write to frontend/app/pages/dashboard/. > Build settings pages (profile, billing, team, integrations). Write to frontend/app/pages/settings/.

  1. Phase 5 (Design & Polish) runs sequentially — needs all pages verified, uses WebSearch for domain research
  2. Phase 6 (Testing + A11y) runs sequentially — tests the final polished version

Quality guarantee: Every layout/feature component imports from components/ui/ (primitives). Every page imports from the completed component library. No duplicate implementations. Consistent UI across the entire app.

Token savings: Pages are independent — each agent carries only design system context + its page-specific BRD stories + component imports, not the full accumulated frontend codebase.

Process Flow

Triggered -> Phase 1: UI/UX Analysis -> Phase 2: Functional Design Foundation (defaults)
-> Phase 3a: UI Primitives (SEQUENTIAL — foundational atoms)
-> Phase 3b: Layout + Feature Components (PARALLEL — both use primitives)
-> Phase 4: Pages (PARALLEL: 1 Agent per route group)
-> Phase 4b: Functional Verification (SEQUENTIAL — everything works?)
-> Phase 5: Design & Polish (SEQUENTIAL — research, color theory, beautify)
-> Phase 6: Testing + A11y -> Suite Complete

The philosophy: make it work, then make it beautiful. Phase 2 gives you enough to build. Phase 5 gives you a professionally designed product. Testing happens last on the final, polished version.

Functional Completeness — The "Does It Work?" Rule

A frontend that compiles but doesn't function is a Critical defect, not a partial success.

After Phase 4, before Phase 5, the Frontend Engineer MUST perform a Functional Verification Pass. This is not optional. This is what separates a production-ready frontend from a file dump.

Dead Element Rule

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • configConfiguration overrides
  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sundarshahi/drydock/frontend-engineer/badge)](https://verified-skill.com/skills/sundarshahi/drydock/frontend-engineer)

Something wrong with this skill or its page? Tell us.