Tanstack Best Practice

Enforce TanStack frontend best practices when writing React/TypeScript code

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add maulanasdqn/tanstack-axum-claude-skills --skill tanstack-best-practice
Manual install
git clone --depth 1 https://github.com/maulanasdqn/tanstack-axum-claude-skills.git /tmp/tanstack-axum-claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/tanstack-axum-claude-skills/.claude/skills/tanstack-best-practice ~/.claude/skills/tanstack-best-practice

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# TanStack Frontend Best Practices

## Core Principles
- Max 200 LOC per file
- No code comments
- No semicolons
- Single quotes
- 2-space indentation
- Strict TypeScript (no `any`)
- Prefix `T` for types (e.g. `TUserItems`), `I` for interfaces (e.g. `IUserData`), `E` for enums (e.g. `EUserGender`)
- Reusability-first design
- Single responsibility per file
- Always use kebab-case for file and folder names
- High cohesion and low coupling

## API Layer Pattern

Every feature API must follow this 4-file structure in `src/apis/{feature}/`:

### types.ts
```typescript
export type TUser = {
  id: string
  email: string
  created_at: string
}

export type TCreateUserPayload = {
  email: string
  password: string
}
```

### service.ts
```typescript
import { apiClient } from '@/libs/axios'
import type { TUser, TCreateUserPayload } from './types'

const BASE = '/api/v1/users'

export const usersService = {
  list: (params?: TListParams) =>
    apiClient.get<TListResponse<TUser>>(BASE, { params }),
  get: (id: string) =>
    apiClient.get<TSingleResponse<TUser>>(`${BASE}/${id}`),
  create: (payload: TCreateUserPayload) =>
    apiClient.post<TSingleResponse<TUser>>(BASE, payload),
}
```

### hooks.ts
Read the full skill on GitHub

Details

Skill name
tanstack-best-practice
Path
.claude/skills/tanstack-best-practice/SKILL.md
Repo updated
11 March 2026

FAQ

What does the Tanstack Best Practice skill do?

Enforce TanStack frontend best practices when writing React/TypeScript code

How do I install the Tanstack Best Practice skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add maulanasdqn/tanstack-axum-claude-skills --skill tanstack-best-practice. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Tanstack Best Practice popular?

It lives in maulanasdqn/tanstack-axum-claude-skills, which has 5 GitHub stars and 0 forks.

Related skills

Axum Best Practice

5

maulanasdqn/tanstack-axum-claude-skills

Enforce Axum/Rust backend best practices when writing Rust code

Software Development

Brand Builder

10

artguru-tech-team/claude-skills-public

Use when building a complete brand identity for a new or existing brand — brand strategy, voice document, moodboard, logo concepts, color palette, and full AI-ready brand kit. Triggers on "build my brand", "create brand identity", "brand guidelines", "brand kit", or when a project needs visual + copy foundations from scratch.

Frontend & Design

Webflow Master

8

GPire/claude-skills-swarm

Webflow esperto: CMS, design system, animazioni, interazioni, componenti, ecommerce, multi-lingua, SEO Webflow, ottimizzazione performance, logica CMS avanzata, custom code, embed, finsweet attributes, webflow template, librerie, clonabili, Canva integrazione, gestione asset, form, memberships. Attiva quando l'utente parla di Webflow, siti Webflow, CMS Webflow, animazioni Webflow, design Webflow, componenti, template Webflow.

Frontend & Design

Motion Design

10

artguru-tech-team/claude-skills-public

Motion design creation skill that works across any connected generation platform (Higgsfield, Runway, Magnific, Arcads, Ideogram, ImagineArt, or any MCP that can generate images and video). Trigger this skill whenever the user asks to create motion design, animate a logo, make a video from an image, create an animated ad, turn a product into motion, or says anything like "make a motion", "motion design", "animate this", "make a video from my logo", "animated brand", "motion graphics", "brand motion", "kinetic graphics", "promo video", "ad video". Always use this skill. Don't try to handle moti

Frontend & Design

UX Designer

9

ydnikolaev/antigravity-factory

UX/UI Designer specializing in design systems, design tokens, and Figma workflows.

Frontend & Design

Stop Motion Graphics

10

artguru-tech-team/claude-skills-public

End-to-end maker for premium editorial "stop-motion graphic" videos: the look where a flat coloured background sits empty for a beat, then halftone cut-out elements fly in from the edges and snap together into a sharp, witty scene. This skill chains reference analysis, on-brand still generation, and the signature empty-background to full-image assembly animation into one flow. Trigger whenever the user wants stop-motion graphics, editorial motion graphics, halftone cut-out animation, an "assembling" / "builds itself" scene, paper-cut motion, or says things like "make a stop-motion graphic", "a

Frontend & Design

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.