Skip to content
Back to skills

Frontend Impl

ASecurity

Step-by-step rules for web (Next.js) and mobile (Expo) frontend tasks. Build from the designs and the contract. Do not wait for the backend and do not mock it. Used by frontend-engineer only.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsnextjsapifrontendbackenddevops

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add sayeed1999/aidlc-agent-crew --skill frontend-impl --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Frontend Impl?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Frontend Impl
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sayeed1999-frontend-impl/badge)](https://www.skillsdirectory.com/skills/sayeed1999-frontend-impl)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: frontend-impl
description: Step-by-step rules for web (Next.js) and mobile (Expo) frontend tasks. Build from the designs and the contract. Do not wait for the backend and do not mock it. Used by frontend-engineer only.
---

# frontend-impl

Examples use the default stack (Next.js for `web/`, Expo for `mobile/`). If `docs/architecture.md` names another stack, use its folders and commands and keep the same rules.

## Steps
### 1. Read
- Read `docs/tasks/T-NN.md`. It names everything else you read.
- Read `docs/architecture.md`: layout, commands, auth storage.
- Read the screen files under `design/` that the spec names.
- Read the endpoints the spec names in `contracts/api.md`, if the contract exists.

### 2. Plan the files
- Task title has `Foundation`: build `lib/config.ts`, `lib/logger.ts`, `lib/api/` client, and `lib/auth/`.
- One route per design screen. Web: `src/app/<route>/page.tsx`. Mobile: `app/<route>.tsx`.

### 3. Build
- API client: one place for the base URL, the auth header, and error parsing into the contract error format.
- `lib/api/types.ts` mirrors the contract request and response shapes exactly.
- One client function per contract endpoint, named after it.
- Match the design layout. Every screen with data handles loading, empty, and error states.
- Style web screens with Tailwind CSS utility classes. Style Expo screens with NativeWind utility classes.
- Store tokens where the architecture says. Mobile: `expo-secure-store`.
- Keep components small.

### 4. Check
- Run lint and types (`pnpm lint`, `pnpm exec tsc --noEmit`). Web: also `pnpm build`.
- Tick the Done checklist.

## No backend in the architecture
- There is no API client. The screens and local behavior are the whole task.

## When the backend is wrong
- You ran against the real backend and its response differs from `contracts/api.md`:
  - Do not adapt the frontend to it.
  - Send a handoff to backend-engineer with expected, actual, and steps.
  - If the contract itself looks wrong, send it to architect instead.
- A screen is missing or contradicts the story: send a handoff to ui-ux-designer.
- If it stops you, set the task `blocked` (`skills/flow`, Blockers).

## Done checklist
- Every Acceptance line of the spec passes.
- Screens match the design.
- Only contract endpoints are called.
- Loading, empty, and error states are handled.
- Lint, types, and build pass.
- Task is `built`.

## MUST
- Read env only in `lib/config.ts`.
- Log only through `lib/logger.ts`.
- Use Tailwind CSS for web styling and NativeWind for mobile styling; do not replace them with another UI styling system.
- Web: `next.config.ts` has `output: "standalone"` (devops-engineer needs it).

## NEVER
- Mock, stub, or hardcode responses.
- Wait for the backend task.
- Call an endpoint that is not in the contract.
- Put secrets or the AI provider key in client code.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.