skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
mblode/agent-skills49 installs

implement-frontend

Standards for implementing and reviewing React/TypeScript/Next.js features in codebases that use React Hook Form, Zod, React Query or Connect Query, and proto-generated API types. Use when building frontend forms, hooks/components, state flows, and type-safe UI mappings in this stack.

How do I install this agent skill?

npx skills add https://github.com/mblode/agent-skills --skill implement-frontend
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill is a set of documentation and coding standards for frontend development using React, TypeScript, and Next.js. It contains no executable code, does not perform network operations, and does not access sensitive system resources. Its primary function is to guide an AI agent in following specific architectural patterns and best practices.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    4/4 files flagged

What does this agent skill do?

Implement Frontend

Apply this skill when the repository already follows this stack:

  • React + TypeScript + Next.js
  • React Hook Form + Zod
  • React Query or Connect Query
  • Proto-generated API types (when present)

If local conventions differ, preserve existing project standards and apply only the transferable principles.

Core workflow

  1. Set ownership boundaries before editing.
    • Keep render-only concerns in components.
    • Keep fetching, mapping, and business rules in hooks.
    • Keep server state in query cache, form state in RHF, and UI-only state in useState.
  2. Implement with strict typing and explicit mappings.
    • Avoid type escapes such as any, as any, and ignore directives.
    • Map API models to UI models in mappers instead of casting.
  3. Verify reliability and UX before finishing.
    • Cover loading, error, and empty states.
    • Add cancellation and cleanup for async work when race conditions are possible.
    • Preserve keyboard accessibility and focus behavior.

Non-negotiable checks

  • Remove duplicate state and useEffect sync loops.
  • Keep API calls and business logic out of render components.
  • Invalidate or update only affected query keys.
  • Use rollback-safe optimistic updates only.
  • Remove console.*, debugger, dead code, and unused imports.

Stack guardrails

  • If the repo uses RHF + Zod, use createZodResolver; avoid zodResolver(schema as any).
  • If using RHF, avoid putting the entire form object in dependency arrays.
  • Keep proto-to-UI transforms in a dedicated mapper file (for example utils/proto-mappers.ts) when proto contracts are used.

References

  • Use react-patterns.md for forms, hooks, state ownership, query usage, and accessibility.
  • Use typescript-patterns.md for type hygiene, proto typing, and code organization.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/mblode/agent-skills/implement-frontend">View implement-frontend on skillZs</a>