Frontend production engineer
An open Agent Skill for production Next.js and TypeScript on a Django backend: twenty-four domains, one router, and a rule against inventing an API.
- Role
- Author and maintainer
- Years
- Since 2026
- Status
- Maintained
- Stack
- Agent Skill, Next.js 16, React 19, TypeScript
- Links
Why it exists
A frontend is easy to get to the point where it renders and hard to get to the point where it ships. The gap is a handful of things: the render boundary a component actually sits on, types that come from the backend schema rather than a guess, a focus order that a keyboard user can follow, a bundle that does not slow interaction down, and a build that survives a self-hosted deploy. The knowledge exists in framework documents, specifications, and release notes, and they move every few months.
One skill, twenty-four domains
It began as twenty-four planned skills and shipped as one. SKILL.md is the spine and the router, and the domains live in 73 reference files that load only when a task calls for them. The domains sit in tiers: the operating doctrine, the foundations, the backend contract, interface craft, and the guarantees that run as a review pass before anything is called done.
| Tier | Domains |
|---|---|
| 0 | How the agent plans, proves versions, and decides the work is done |
| 1 | App Router architecture, the type system, components, project tooling |
| 2 | The DRF contract, data and state, authentication, realtime |
| 3 | Design system, accessibility, forms, data surfaces, media, motion, copy |
| 4 | Performance, security, SEO, internationalization and right-to-left, testing, operations, privacy |
Two rules that do not bend
Never invent an API. The skill reads the installed versions from package.json before it writes code, reports an unconfirmed function or option as unconfirmed, and never mixes the idioms of two major versions in one file.
The conflict rule. Security comes before accessibility, accessibility before correctness, correctness before performance, and performance before developer convenience. No level trades down to satisfy the one above it, and seven domains hold a veto over completion.
A task that fails accessibility or security is a failed task, never a follow-up ticket.
The boundary, in code
Each reference states its concern without a framework, then implements it on the pinned stack with runnable code and a review checklist of yes-or-no questions. The render boundary is the clearest case: the client directive belongs on the leaf that needs the browser, never on the page.
// Correct: the page stays a Server Component.
// app/page.tsx
import { Toggle } from "./toggle";
import { getData } from "@/lib/dal/data";
export default async function Page() {
const data = await getData();
return (
<div>
{/* the same subtree, rendered on the server */}
<Toggle label={data.label} />
</div>
);
}
Where it runs
This site is built with it: the Next.js frontend of nimashadloo.dev follows its rules for the route boundary, the API contract, the security headers, and the end-to-end journeys. The skill is MIT-licensed, works in Claude, Codex, Cursor, and Gemini CLI, and carries Persian and right-to-left handling for the work that needs it.