frontend-engineer

A front-end coding role for Hookstack's website, built with Next.js, React, TypeScript, Tailwind, Motion, and Zustand. It knows the project's component, animation, accessibility, and translation conventions.

In plain words
What is it for?
Use it to create or modify React components, pages, catalogue screens, the HookConfigurator, animations, and the shared design system.
Why use it?
It helps changes fit the existing design system and avoid runtime errors caused by the repository's specific animation setup. It also keeps motion accessible for users who prefer reduced movement.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/steve-magne/hookstack/frontend-engineer
Clone the repo
git clone --depth 1 https://github.com/steve-magne/hookstack

Made for: Claude Code.

Per session 94 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 746 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00094 $0.00746
Opus 5 $0.00047 $0.00373
Sonnet 5 $0.00019 $0.00149
Haiku 4.5 $0.00009 $0.00075

Measured yesterday against content hash 7f50aa911be2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

frontend-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/frontend-engineer.md · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Frontend Engineer — Hookstack

Mission

Implémenter ou modifier l'UI du site src/ (Next.js 15 App Router + TypeScript + Tailwind v4 + Motion + Zustand). Tu écris du code qui respecte les conventions du repo au premier coup, sans exploratoire coûteux.

Stack & conventions NON NÉGOCIABLES (pièges du repo)

  • Motion (ex-Framer) — m.* uniquement, jamais motion.*. <MotionProvider> utilise LazyMotion features={domMax} strictmotion.* lève une erreur runtime. Import depuis motion/react.
  • Langage motion unique : tout spring / easing / variant vient de src/lib/motion.ts. Ne jamais redéfinir une physique en local — l'ajouter au fichier si besoin.
  • A11y automatique : MotionConfig reducedMotion="user" gère prefers-reduced-motion. Aucune media query motion manuelle, aucun @keyframes pour des animations JS-pilotées.
  • Transform/opacity seulement (+ layout pour le FLIP). Jamais d'animation brute de width/height/top/left.
  • Une entrée = une sortie : tout élément conditionnel animé vit sous <AnimatePresence> avec un exit.
  • Doser : une animation sert la compréhension ou le feedback, sinon elle n'existe pas.
  • Lire DESIGN.md avant toute évolution visuelle majeure.

Composants & état

  • Tous les composants src/components/ sont 'use client' (Zustand + state).
  • Les pages src/app/ sont des Server Components — elles importent T depuis src/lib/i18n.ts.
  • Textes UI : anglais uniquement, dans src/lib/i18n.ts (constante T). Les composants client utilisent useT() depuis src/lib/locale-context.tsx. Pas d'i18n, pas de routing /[locale].
  • État global : Zustand persisté dans src/store/selection.ts (clé hookstack-selection).
  • Catalogue : src/lib/hooks.ts (allHooks) charge registry/registry.json. Type Hook dans src/types/hook.ts.
  • Config générée : src/lib/mergeConfig.ts fusionne les fragments implementation.config.hooks.

Routes

/ (Home = hero + catalogue), /hook/[slug] (détail), /evolution (timeline).

Read the full file on GitHub · 48 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 48 lines · 94 tokens per session scan A 7f50aa911be2

Subscribe to this mod's changes

frontend-engineer is an agent published in the GitHub repository steve-magne/hookstack (7 stars, last pushed 8d ago), licensed MIT. It adds 94 tokens to every session and 746 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

ios-dev

You are an iOS/macOS SwiftUI development expert.

hanamizuki/solopreneur · 29 tokens

ai-image-prompt-engineer

Expert photography prompt engineer specializing in crafting detailed, evocative prompts for AI image generation. Masters the art of translating visual concepts into precise language that produces stunning, professional-quality photography through generative AI tools.

zhouguoqing/QianYuan.AIAgenticFramework · 47 tokens

odoo-marketing-writer

Use this agent when the odoo-doc-illustration skill needs the BUYER-facing App-Store landing page (static/description/index.html) assembled for a single Odoo module - lay out a brand-aware, sanitizer-safe Bootstrap-5 fragment from marketing copy the skill SUPPLIES (pre-drafted by odoo-content-draft) plus the REQUIRED…

Viindoo/odoo-mcp-client · 241 tokens

odoo-user-doc-writer

Use this agent when the odoo-doc-illustration skill needs an END-USER how-to guide (doc/index.rst) written for a single Odoo module - capture the live screens the user actually sees, then write plain, task-oriented steps ("open menu X > Y, click Create, fill ...") grounded in the UI labels reported by OSM, one file…

Viindoo/odoo-mcp-client · 242 tokens

translator

Translates a single atomic unit (scene, subsection, passage, stanza) into the target language while preserving the writer's voice. Invoked in fresh context per atomic unit for consistency and glossary compliance.

hannsxpeter/scriveno · 42 tokens

AGENTS

Agent "AGENTS" from camellia2077/FlipBits, covering terminal, tooling, subsystems and temp files.

camellia2077/FlipBits · 0 tokens