frontend-patterns

frontend-patterns is a skill for Claude Code, Codex from atstaeff/ai-agents. It costs 23 tokens per session (205 once invoked), scanned A, original, MIT.

Guidance for building frontend applications with TypeScript, Vue.js, or Angular using reusable and maintainable patterns.

In plain words
What is it for?
Use it when writing, reviewing, or refactoring Vue or Angular interfaces, including reusable state logic, pagination, and TypeScript design.
Why use it?
It helps prevent frontend code from becoming inconsistent or difficult to extend as features and state handling grow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when writing, reviewing, or refactoring Vue or Angular interfaces, including reusable state logic, pagination, and TypeScript design.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atstaeff/ai-agents/frontend-patterns
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.

Any agent
npx skills add atstaeff/ai-agents --skill frontend-patterns
Clone the repo
git clone --depth 1 https://github.com/atstaeff/ai-agents

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 frontend-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/atstaeff/ai-agents/frontend-patterns/github.svg)](https://agentmods.dev/skills/atstaeff/ai-agents/frontend-patterns)
Your own site
<a href="https://agentmods.dev/skills/atstaeff/ai-agents/frontend-patterns"><img src="https://agentmods.dev/badge/skills/atstaeff/ai-agents/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.

agentmods 80×15 button for frontend-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/atstaeff/ai-agents/frontend-patterns"><img src="https://agentmods.dev/badge/skills/atstaeff/ai-agents/frontend-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 205 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.00023 $0.00205
Opus 5.5 $0.00009 $0.00082
Sonnet 5.5 $0.00005 $0.00041
Haiku 4.5 $0.00002 $0.00020

Measured 12d ago against content hash 1fbb45b4d6b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 12d 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.

skills/frontend-patterns/SKILL.md · 23 lines

What it actually says

Frontend Patterns

Workflow

  1. Follow the existing framework and design language. For a new modest interface, consider server-rendered HTML or HTMX before a full client framework.
  2. Define loading, empty, error and success states; make the primary action easy to find and give useful feedback.
  3. Use semantic HTML, labels, keyboard interaction, visible focus, responsive layouts and appropriate contrast.
  4. Render untrusted content safely; avoid injecting Markdown or API text into innerHTML without a trusted sanitizer.
  5. Agree on the API contract and test the critical interaction, authorization boundary and failure recovery.

Completion

Return the concrete result, verification evidence and any material unresolved limitation. Keep documentation proportional to the change and preserve human feedback.

Focused references

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago Changed · -397 lines · +1 tokens per session 1fbb45b4d6b1
  2. 1mo ago First seen · 420 lines · 22 tokens per session scan A 825407b23884

Subscribe to this mod's changes

frontend-patterns is a skill published in the GitHub repository atstaeff/ai-agents (3 stars, last pushed 10d ago), licensed MIT. It adds 23 tokens to every session and 205 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.

Related

Other skills, from other repositories

nuxtjs-vue-typescript

Best practices for building Nuxt 3 and Vue 3 applications with TypeScript, the Composition API, and Tailwind CSS. Use when structuring Nuxt/Vue projects, writing composables, typing components and props, wiring up server routes and plugins, or optimizing Nuxt builds and Web Vitals.

Mindrally/skills · 70 tokens

inertia-rails-typescript

TypeScript type safety for Inertia Rails (React, Vue, Svelte): shared props, flash, and errors via InertiaConfig module augmentation in globals.d.ts. Use when setting up TypeScript types, configuring shared props typing, fixing TS2344 or TS2339 errors in Inertia components, or adding new shared data.

inertia-rails/skills · 74 tokens

typescript-strict

Use when writing or reviewing TypeScript in Vue, Nuxt, Node, or shared TS utilities, fixing type errors, or deciding how to type API responses and composables.

pstuart/pstuart · 39 tokens

sveltekit-and-svelte5-runes

Complete architecture patterns, state management with Svelte 5 Runes ($state, $derived, $effect, $props), SvelteKit SSR/streaming pipelines, form actions, and production anti-patterns.

hamzabellouch/agent-skills · 53 tokens

vue-best-practices

MUST be used for Vue.js tasks. Strongly recommends Composition API with and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.

onmax/nuxt-skills · 81 tokens

fec-vue3-project-standard

A Vue 3 and TypeScript project standard covering component boundaries, composables, routing, Pinia state, API layers, errors, styles, and project structure. Vue is a frontend framework, and composables are reusable functions for sharing component logic.

bovinphang/frontend-craft · 114 tokens