Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

frontend-conventions

Skill by fpindej

Provides SvelteKit and Svelte 5 frontend conventions for AI agents working on a specific project. It covers API client use, error handling, component rules, styling, routing guards, i18n, state and testing. It is auto-injected into frontend-aware agents and is not user-invocable.

  • Score 71
  • 236 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install frontend-conventions

Built from the published package, never by AI.

git clone --depth 1 https://github.com/fpindej/netrock /tmp/netrock && mkdir -p ~/.claude/skills && cp -r /tmp/netrock/.claude/skills/frontend-conventions ~/.claude/skills/frontend-conventions

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install frontend-conventions in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

frontend-conventions is a reference skill from fpindej that lists coding conventions for a SvelteKit and Svelte 5 frontend. It describes the project structure and a typed API client with auth middleware. It also covers error handling based on ProblemDetails codes, component props and barrel imports, logical CSS properties, mobile-first layout rules, route and permission guards, i18n key naming, state files, security headers and vitest testing.

The skill is marked as auto-injected into frontend-aware agents and is not user-invocable. It is aimed at assistants and developers working on this frontend codebase, which uses openapi-fetch types, shadcn-svelte components, Paraglide messages and pnpm. The source states that frontend guards are UX only and the backend is authoritative.

Written from the project's SKILL.md and checked against it.

What it can do

  • API client usageExplains the typed client factory, the browser singleton and the auth middleware refresh flow.
  • Error handlingShows how to branch on backend error codes and handle mutation validation and rate limits.
  • Component rulesSets props typing with interface Props and imports components through barrel files only.
  • Styling rulesLists logical CSS properties, button layout, mobile-first breakpoints and theming variables.
  • Routing and permission guardsDescribes the root, app and public layout checks and the adminRoutes permission registry.
  • i18n keysGives the key naming pattern and the feature message files to update across locales.
  • State filesLists the .svelte.ts state modules such as cooldown, theme, health and shortcuts.
  • Security settingsCovers response headers, CSP nonce setup and CSRF origin checks in the API proxy.
  • Testing setupSets co-location of tests, vitest imports and the default node test environment.
  • TypeScript strictnessNotes the noUncheckedIndexedAccess setting and the ban on explicit any.

What you need

  • pnpm
  • A SvelteKit and Svelte 5 project
  • A backend that provides OpenAPI types

Try asking

  • Add a profile form that follows the project's component barrel rules.
  • Write a submit button with a rate-limit countdown and mobile-first layout.
  • Add a new admin page guarded by the adminRoutes permission registry.

Good to know

  • Not user-invocable; it is injected into frontend-aware agents.
  • Describes conventions for one project, not a general frontend guide.
  • The source is truncated near its end.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/frontend-conventions/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to frontend-conventions

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

frontend-conventions: common questions

Is frontend-conventions a skill I can call directly?

No. The source marks it as not user-invocable and auto-injected into frontend-aware agents.

Which frontend stack does it target?

It targets SvelteKit and Svelte 5, with shadcn-svelte components, Paraglide i18n and openapi-fetch types.

How does it handle expired sessions?

The auth middleware refreshes on a 401 and retries only GET, HEAD and OPTIONS requests, so non-idempotent calls are not repeated.

How do I install frontend-conventions?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is frontend-conventions free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is frontend-conventions safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to frontend-conventions?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

frontend-conventions Install

Add to stack

Loading.