Skip to content
Back to skills

Frontend Development Prefs

ASecurity

Use when starting a frontend project or choosing its framework, package manager, styling, tests, formatting, linting, components, or icons.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 25, 2026
ai-agentstypescriptgoreactnextjstestingfrontend

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add mashhq/mash --skill frontend-development-prefs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Frontend Development Prefs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Frontend Development Prefs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mashhq-frontend-development-prefs/badge)](https://www.skillsdirectory.com/skills/mashhq-frontend-development-prefs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: frontend-development-prefs
description: Use when starting a frontend project or choosing its framework, package manager, styling, tests, formatting, linting, components, or icons.
---

# Frontend Development Preferences

Build new frontends with the preferred stack unless explicit requirements or
an established repository require otherwise.

## Preferred stack

- TypeScript 7 native compiler with strict checking
- Svelte 5
- Vite
- Vitest
- Tailwind CSS 4
- pnpm
- Biome for formatting and linting
- shadcn-svelte for reusable UI components
- Phosphor Icons (`phosphor-svelte`) for interface icons

Follow the repository's TypeScript conventions for TypeScript work.

## Icons

Import each Phosphor glyph from its own file (`phosphor-svelte/lib/NAMEIcon`),
never the package root, so only the icons used are bundled. Draw icons through
one wrapper component so weight is decided in one place from theme tokens, not
per icon:

- bold at 15px and under, regular from 16px to 27px, light for decorative
  icons of 28px and over;
- fill for the current navigation item, the selected tab or segment, and
  "on" states;
- bold for warning and failure icons and for icons on primary buttons;
- one step heavier in a dark theme when lines look thin;
- duotone only for large feature icons where it clearly reads well.

Icons inherit `currentColor`. Outside Svelte, copy exact path data per weight
from `@phosphor-icons/core`. Brand and product logos are not interface icons.

For Svelte, run `svelte-check --tsgo`. If current `svelte-check` requires
TypeScript 6 alongside 7, keep 6 only as its compatibility dependency and
install 7 through `@typescript/native@npm:typescript@7`. Do not downgrade the
project checker; verify it executes TypeScript 7.

## Boundaries

Inspect repository instructions, manifests, lockfiles, and existing tooling
before changing anything. Preserve an established stack unless the user asks
for migration. Explicit user and repository requirements override these
defaults.

For new projects, do not substitute npm or Yarn, React or Next.js, ESLint or
Prettier, another component kit, or hand-drawn interface SVGs without a
constraint requiring the substitution. Report any compatibility issue that
prevents the preferred choice.

Install dependencies with pnpm. Use package scripts for development, checking,
testing, and building. Keep generated configuration minimal.

## Verification

Before completion, run Biome checks, TypeScript checking, Vitest, and the
production build. Report unavailable or failing gates.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.