keyvaluesoftwaresystems/kv-skills · Archived

frontend-implement

Implement an approved frontend scope by consuming the cross-repo contract exactly, with all required UI states, meeting the frontend engineering standards (accessibility, performance, security, i18n, resilience).

First seen Jul 3, 2026

Installation

$ npx skills add keyvaluesoftwaresystems/kv-skills --skill frontend-implement

Summary

  • Implement an approved frontend scope by consuming the cross-repo contract exactly, with all required UI states, meeting the frontend engineering standards (accessibility, performance, security, i18n, resilience).
  • Edits code within scope only.
  • Use only after the contract is stable.
  • Front door for /frontend-impl.

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from keyvaluesoftwaresystems/kv-skills · top by installs.

npx skills add keyvaluesoftwaresystems/kv-skills

Browse all from keyvaluesoftwaresystems/kv-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 3
License licenses
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsRead, Grep, Glob, Bash, Edit, Write
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,645 B
  • docs SUMMARY.md 338 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 11 installs

SKILL.md

frontend-implement

Implement the approved frontend scope. Consume the contract exactly as published — never invent API shapes. Start only after the contract is stable.

When to use / not use

  • Use after the contract is stable (backend need not be finished — mock to the contract).
  • Don't ship happy-path-only UI; don't invent fields; don't ignore type errors.
  • Plan mode: if invoked to plan only, produce the task/UI-state list and stop.

Before editing

  1. Read CLAUDE.md, the frontend LLD (docs/technical/<slug>/lld/frontend.md) — reuse the

components/patterns it identified before adding new ones — and the contract.

  1. List pages affected, components to reuse/add, API hooks, form schema/validation,

analytics, and tests. List files to change.

Steps

  1. Types/API client from the contract (generate or hand-write; single source of truth).
  2. State & data-fetching via the existing layer; define cache keys & invalidation.
  3. Component/page — build the happy path, then wire every required UI state.
  4. Form validation mirroring the contract's rules; inline field errors.
  5. Error handling & resilience — retries, messaging, optimistic-update rollback.
  6. Accessibility & i18n pass.
  7. Tests — component + the critical E2E flow; then Storybook if present.
  8. Run /verify; on failure /fix.

Required UI states (build AND test each)

loading · empty · success · validation error · API error · permission denied · retry / failed operation.

Standards every frontend change must satisfy

  • Accessibility (WCAG AA) — keyboard operable, visible focus, correct roles/labels,

color contrast, screen-reader semantics, no keyboard traps, focus management on route/modal.

  • All UI states — the seven above, each designed and tested.
  • Performance — code-split heavy routes, lazy-load, memoize to avoid needless

re-renders, watch bundle size, virtualize large lists.

  • Security — no secrets/tokens in client code; escape/encode to prevent XSS; CSRF-safe

requests; validate redirects/deep links; no PII in logs/analytics.

  • Resilience — handle slow/failed/stale APIs with retry/backoff + clear messaging;

optimistic updates roll back on failure; guard against double-submit.

  • Forms & validation — mirror the contract; field-level errors; disable submit while pending.
  • Responsive & mobile — works across breakpoints; long text/overflow; touch targets.
  • i18n/l10n — user-facing strings localizable; locale-aware dates/numbers; RTL if supported.
  • Analytics — emit the spec's events without leaking PII.

Edge cases to handle and test

  • Empty datasets; single vs many items; very long names/text; missing/broken images.
  • Slow network, offline, request cancelled, race between rapid actions, stale cache.
  • API 4xx/5xx, validation errors mapped to fields, permission denied, session expiry.
  • Double-click / double-submit; back/forward navigation mid-flow; deep-link to a guarded page.
  • Timezone/locale/number formatting; RTL layout; reduced-motion / high-contrast prefs.
  • Large lists (virtualization); pagination first/last/empty; unstable ordering.

External skills (provision)

Read skills.config.yamlfrontend.external:

  • tdd (a skill name or none) — if set, drive component work test-first; the tests must

still cover the UI states and edge cases above. If none, implement then test to that bar.

  • a11y (a skill name or none) — if set, run the accessibility pass via it; it must cover

keyboard, focus, roles/labels, and contrast. If none, use the in-pack axe/WCAG-AA check.

Safety

Never run destructive commands or write prod config/secrets. Stop and ask a human before auth/permission, prod config, or dependency changes. Nothing auto-blocks this; you are the backstop.

Verification

Invoke /verify (lint, typecheck, unit/component, build, Playwright E2E, a11y basics). On failure invoke /fix (max 3).

Definition of done

All required UI states built and tested; standards addressed; edge cases handled; no TypeScript errors; reuses existing components; contract consumed exactly. Outputs: branch, summary, tests_passed.