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.
curl -O https://raw.githubusercontent.com/systemowiec/ai-agents-workspace-starter/main/.agents/skills/frontend-patterns/SKILL.mdgit clone --depth 1 https://github.com/systemowiec/ai-agents-workspace-starterWrote 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.
[](https://agentmods.dev/skills/systemowiec/ai-agents-workspace-starter/frontend-patterns)<a href="https://agentmods.dev/skills/systemowiec/ai-agents-workspace-starter/frontend-patterns"><img src="https://agentmods.dev/badge/skills/systemowiec/ai-agents-workspace-starter/frontend-patterns/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.
<a href="https://agentmods.dev/skills/systemowiec/ai-agents-workspace-starter/frontend-patterns"><img src="https://agentmods.dev/badge/skills/systemowiec/ai-agents-workspace-starter/frontend-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00579 |
| Opus 5.5 | $0.00009 | $0.00232 |
| Sonnet 5.5 | $0.00004 | $0.00116 |
| Haiku 4.5 | $0.00002 | $0.00058 |
Grade A, and why
frontend-patterns 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: Frontend Patterns
Core guidelines and fundamental rules for implementing frontend functionality using React and TypeScript.
1. UI Components (Metric UI)
- Base your UI architecture on the provided
metric-uilibrary. - Create wrapper components only to encapsulate repetitive logic (e.g., extending a Button to handle an
isLoadingprop and render an inline spinner).
2. API Client (Axios)
- Route all HTTP communication through a centralized Axios instance (
apiClient). - Configure interceptors for dynamic token injection (setting the
Authorization: Bearerheader) and global error handling (e.g., triggering a logout on 401 Unauthorized errors). - The client wrapper should unpack the response envelope (e.g., stripping the outer
ApiEnvelope<T>) before returning data to consumers.
3. Server State Management (React Query / TanStack Query)
- Use
useQueryexclusively for data fetching anduseMutationfor side effects and writes. - Define strict, strongly-typed Query Keys (as constant arrays) to allow reliable cache invalidation via
QueryClient.invalidateQueries. - Configure sensible
staleTimedefaults (e.g., 5 minutes) for immutable or slow-moving resources.
4. Feature-Based Architecture
- Group views, hooks, and logic into bounded business "features" rather than file-type directories.
- Provide comprehensive lifecycle state management inside container components:
isLoading-> render skeleton loaders (Skeleton).isError-> render a dedicated error component (ErrorAlert).- empty payload -> render a centered null-state (
EmptyState).
- Map over data collections using small, isolated presentation components (Cards, List rows).
5. Testing Tools (Vitest + Testing Library)
- Build reusable test utilities (e.g.,
renderWithProviders) that wrap the component under test with essential context providers (MemoryRouter, QueryClientProvider with retries disabled). - Mock network boundaries deterministically using MSW (Mock Service Worker).
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.
- 2mo ago First seen · 46 lines · 22 tokens per session scan A 7f18bed9b3ec
frontend-patterns is a skill published in the GitHub repository systemowiec/ai-agents-workspace-starter (2 stars, last pushed 7mo ago), licensed MIT. It adds 22 tokens to every session and 579 once invoked, about $0.0001 per session on Opus 5.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.
frontend-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frontend-patternssystemowiec/ai-agents-workspace-starter | Skill | 2 | 7mo ago | MIT | A | 22 | Claude Code, Codex |
| build-ghost-appTryGhost/Ghost | Skill | 56k | today | MIT | A | 44 | Claude Code, Codex |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | 2d ago | MIT | A | 214 | Claude Code, Codex |
| material-ui-tailwindmui/material-ui | Skill | 99k | today | MIT | A | 67 | Claude Code, Codex |
| fuzzy-rankingTanStack/table | Skill | 29k | 5d ago | MIT | A | 62 | Claude Code, Codex |
| r3f-best-practiceszebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 74 | Claude Code, Codex |
| git-safetytamagui/tamagui | Skill | 14k | yesterday | MIT | A | 0 | Claude Code |