ai-agents-workspace-starter: Skill for Claude Code

.agents/skills/add-frontend-page/SKILL.md

add-frontend-page is a skill for Claude Code, Codex from systemowiec/ai-agents-workspace-starter. It costs 42 tokens per session (617 once invoked), scanned A, original, MIT.

A step-by-step guide for adding a page to a React frontend, a web interface built from reusable components. It covers the page component, URL route, navigation menu, state, and API connection.

In plain words
What is it for?
Use it when adding a new screen to a React single-page application. It helps place the component, register its route, add navigation, and connect it to API data.
Why use it?
It reduces the risk of a page being built but not reachable, linked in the menu, or connected to the backend. It also encourages reuse of the project's existing UI components.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is systemowiec/ai-agents-workspace-starter's own configuration. It tells Claude Code and Codex how to work on ai-agents-workspace-starter itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-agents-workspace-starter configures →

Reuse

Borrowing it

Nothing to install: this file belongs to systemowiec/ai-agents-workspace-starter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/systemowiec/ai-agents-workspace-starter/main/.agents/skills/add-frontend-page/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/systemowiec/ai-agents-workspace-starter

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-frontend-page

README.md
[![agentmods](https://agentmods.dev/badge/skills/systemowiec/ai-agents-workspace-starter/add-frontend-page/github.svg)](https://agentmods.dev/skills/systemowiec/ai-agents-workspace-starter/add-frontend-page)
Your own site
<a href="https://agentmods.dev/skills/systemowiec/ai-agents-workspace-starter/add-frontend-page"><img src="https://agentmods.dev/badge/skills/systemowiec/ai-agents-workspace-starter/add-frontend-page/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-frontend-page

Your own site · 80×15
<a href="https://agentmods.dev/skills/systemowiec/ai-agents-workspace-starter/add-frontend-page"><img src="https://agentmods.dev/badge/skills/systemowiec/ai-agents-workspace-starter/add-frontend-page.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 617 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00042 $0.00617
Opus 5 $0.00021 $0.00309
Sonnet 5 $0.00008 $0.00123
Haiku 4.5 $0.00004 $0.00062

Measured 11d ago against content hash 47bdd92a44d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

add-frontend-page 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 11d ago.

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.

.agents/skills/add-frontend-page/SKILL.md · 68 lines

How it starts

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

Skill: Add Frontend Page

Full procedure for adding a new page in the React SPA with UI template.

0. Check UI Framework Template FIRST

NEVER create UI from scratch. Check frontend/src/components/ (existing) - whether a ready-made counterpart exists.

  1. Search frontend/src/components/ (existing) for a ready-made component/page
  2. Propose a mapping: "I'll use card from X, table from Y"
  3. After approval - implement

1. Create Page Component (frontend/src/features/)

  • File: features/{module}/components/{Module}Page.tsx
  • Use <Container> wrapper + card / card-header / card-body structure
  • Import from @/components/ for reusable elements

2. Add Route (frontend/src/routing/)

  • Add { path: '{slug}', element: <Component /> } to the route config

3. Add Menu Item (frontend/src/config/)

  • Add { title: '{Label}', icon: '{icon-name}', path: '/{slug}' } to sidebar config

4. UI Framework Components - Quick Reference

Use Case Component / Class
Page wrapper <Container>
Card card, card-header, card-body
Data table table table-border + DataGrid
Button btn btn-primary, btn btn-sm btn-light
Badge badge badge-success, badge badge-warning
Icons <KeenIcon icon="..." />
Modal UI framework modal component

5. Dark Mode - MANDATORY

Every element MUST support both themes using bg-white dark:bg-coal-600 text-gray-800 dark:text-gray-200 pattern.

6. Data Fetching Pattern

  • Use useQuery from @tanstack/react-query
  • Query key: descriptive constant array ['entity-name']
  • Query fn: () => apiClient.get('/endpoint')
  • staleTime: 5 * 60 * 1000 for slow-moving resources

7. Internationalization (i18n)

  • Use useTranslation() hook from react-i18next
  • All user-facing strings via t('module.key')

See also (MANDATORY)

  • Before implementation - read workflows/spec-development.md
  • Frontend patterns - read skills/frontend-patterns.md
  • Frontend role - read roles/frontend-engineer.md
  • After implementation - run workflows/post-impl-verify.md

Read the full file on GitHub · 68 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. 11d ago First seen · 68 lines · 42 tokens per session scan A 47bdd92a44d1

Subscribe to this mod's changes

add-frontend-page is a skill published in the GitHub repository systemowiec/ai-agents-workspace-starter (2 stars, last pushed 5mo ago), licensed MIT. It adds 42 tokens to every session and 617 once invoked, about $0.0002 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 skills, from other repositories

react-patterns

React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.

affaan-m/ECC · 49 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

material-ui-tailwind

Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.

mui/material-ui · 67 tokens

fuzzy-ranking

Rank fuzzy matches with rankItem, filter with RankingInfo.passed, compare saved ranking metadata with compareItems, and configure rankings, thresholds, accessors, min/max bounds, or diacritics. Load for @tanstack/match-sorter-utils itself or fuzzy Table filterMeta wiring.

TanStack/table · 62 tokens

api-not-found

Diagnose missing TanStack Table v9 exports, options, state slices, and instance methods. Load before inventing an API when code sees a type error, undefined feature method, absent object key, adapter mismatch, or v8-shaped example.

TanStack/table · 53 tokens

r3f-best-practices

React Three Fiber (R3F) and Poimandres ecosystem best practices. Use when writing, reviewing, or optimizing R3F code. Triggers on tasks involving @react-three/fiber, @react-three/drei, zustand, @react-three/postprocessing, @react-three/rapier, or leva.

zebbern/claude-code-guide · 74 tokens