Logo: Frontend Feature

Frontend Feature

Organisatioun
vstorm-co
frontend-feature

Build or change a page, view or data-driven feature in the Next.js frontend — a route under the dashboard, wiring UI to a backend endpoint, a Zustand store, a permission that must hide a control, or localized copy. Use for any work in frontend/src, including "the page renders but shows an empty state" and "this button should not be visible to a Viewer".

Iwwersiicht

Editeurvstorm-co
Repositoryagenticos
Skill-Nummfrontend-feature
Stären
137
Forks
27
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    vstorm-co huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Frontend Feature an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/vstorm-co/agenticos/tree/main/.claude/skills/frontend-feature
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vstorm-co/agenticos.git /tmp/agenticos
mkdir -p .claude/skills
cp -r /tmp/agenticos/.claude/skills/frontend-feature .claude/skills/frontend-feature
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Frontend Feature an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Frontend Feature automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Frontend Feature net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Frontend — Next.js and React

Use the versions declared in frontend/package.json and the lockfile.

.claude/rules/frontend.md has the conventions. docs/architecture.md has the request path. This is the working layout and the traps.

Layout

Path
src/app/[locale]/(dashboard)/…The product: agents, chat, rag (knowledge bases + search; kb only redirects there), skills, vault, mcp-servers, runs, orgs, settings, admin, invitations, profile
src/app/[locale]/(auth)/…, auth/, onboarding/, legal/, shared/Everything else
src/app/api/…Route handlers that proxy to the backend (same-origin auth cookies)
src/lib/Typed API clients on api-client.ts, server-api.ts, query-keys.ts
src/hooks/One per resource: use-agents, use-skills, use-permissions, …
src/stores/Zustand, one per concern, re-exported from index.ts
src/components/<domain>/UI by domain; primitives in components/ui/, empty/error in components/states/

Routes are locale-prefixed. There is no (marketing) group.

Steps

  1. Page — src/app/[locale]/(dashboard)/<feature>/page.tsx. Server Component by default; "use client" only for state, effects or handlers.
  2. Client — a typed module in src/lib/<feature>-api.ts built on api-client.ts. Never scatter fetch in components. Server-side reads go through server-api.ts.
  3. Query keys — register in src/lib/query-keys.ts so invalidation stays consistent.
  4. Hook — src/hooks/use-<feature>.ts wrapping the client, exported from hooks/index.ts. Components consume hooks, not clients.
  5. Store — only for UI/ephemeral state. Server data belongs in the query layer.
  6. Components — under src/components/<domain>/, composed from components/ui/. Under ~100 lines; extract when they grow.
  7. i18n — every user-facing string through next-intl. Never hardcode copy.
  8. Verify:
    bash
    cd frontend && bun run type-check && bun run lint && bun run test

Permissions hide controls, and that needs a test

use-permissions.ts reads the effective permission set for the active organization. A control the caller may not use should not be rendered — not rendered-and-then-403.

Write the integration test. *.integration.test.tsx runs Testing Library against a mocked API and is the cheap, precise place to assert that a permission actually hides a button and that a form submits what it claims to. See components/agents/capability-settings.integration.test.tsx, components/teams/members-table.integration.test.tsx, components/mcp/mcp-server-list.integration.test.tsx.

This is not E2E work. Reserve Playwright for journeys crossing the whole stack — see the e2e-tests skill.

The empty-state trap

Every dashboard page fans out to several queries and renders its empty state when a query fails. "No skills yet" and "the skills request answered 502" are the same pixels. So:

  • When a page looks empty, check the network tab before the component.
  • A test that asserts a heading and a button passes against a backend that was never started. Assert on data.

Tests

bash
bun run test          # vitest watch
bun run test:run      # once
bun run test:coverage
bun run test:e2e      # playwright — see the e2e-tests skill

Unit tests sit beside the source (agent-spec.test.ts, auth-store.test.ts); integration tests are *.integration.test.tsx.

Generated files

src/lib/brand-glyphs.generated.ts is written by bun run gen:brand-icons, which fetches every brand mark the console draws — services and connectors from Simple Icons and Font Awesome, model providers from @lobehub/icons-static-svg — and bakes them in as raw SVG path data. It is the only source of a brand mark: BrandIcon, brandMark(name) and ProviderIcon read it, and nothing else. Adding a mark is a row in BRANDS or PROVIDERS in scripts/gen-brand-icons.ts plus a re-run — not an icon package, and not a hand-authored d. This replaced react-icons and @lobehub/icons in #156: 199 MB installed for 89 marks whose artwork the generator fetches from the same upstream sets, byte for byte.

src/lib/mcp-logos.generated.ts is written by bun run gen:mcp-logos, which fetches each catalog server's favicon and bakes it in as a base64 data URI so the demo MCP badge renders in a self-contained HTML export with no network. Do not hand-edit it — regenerate after changing mcp_servers.json.

Neither is hand-edited, and make lint will not catch it if you do — the guard is that both files say so at the top and both regenerate deterministically, so a hand edit is lost on the next run.

That is separate from the backend icon contract (app/core/catalog/icons/<name>.svg, served as a currentColor silhouette) — see the project-docs and mcp-connections skills.

Heefeg gestallte Froen

Wat mécht de KI-Skill Frontend Feature?

Build or change a page, view or data-driven feature in the Next.js frontend — a route under the dashboard, wiring UI to a backend endpoint, a Zustand store, a permission that must hide a control, or localized copy. Use for any work in frontend/src, including "the page renders but shows an empty state" and "this button should not be visible to a Viewer".

Firwat Frontend Feature op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Frontend Feature besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Frontend Feature an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/vstorm-co/agenticos/tree/main/.claude/skills/frontend-feature an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Frontend Feature benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Frontend Feature benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Frontend Feature domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Frontend Feature gratis?

Jo. vstorm-co huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇