joshuaculmer/cook_book/vite-react-ts

Claude Code and agent skill by joshuaculmer/cook_book

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Load when working on this project's structure, imports, or conventions. Covers file layout, TypeScript config, and Vite-specific patterns.

Install

npx vskill@latest install joshuaculmer/cook_book/vite-react-ts

SKILL.md

The same SKILL.md was published earlier as joshuaculmer/cook_book/vite-react-ts.

This project is built with Vite, React, and TypeScript in strict mode.

Directory layout:

src/
components/ # Reusable UI components
pages/ # Route-level page components
hooks/ # Custom React hooks
types/ # Shared TypeScript types and interfaces
utils/ # Pure utility functions
assets/ # Static assets (images, fonts, etc.)

Import conventions:

  • Use path aliases defined in vite.config.ts and tsconfig.json (e.g., @/components/Button).
  • Prefer named exports over default exports for components and hooks.
  • Group imports: external packages first, then internal aliases, then relative imports.

TypeScript rules:

  • strict: true is enforced — no any, no implicit any.
  • Use interface for object shapes; use type for unions and intersections.
  • Avoid type assertions (as X) unless absolutely necessary — fix the types instead.
  • Use satisfies when you want type checking without widening.

Vite-specific patterns:

  • Environment variables must be prefixed with VITE_ to be accessible in client code.
  • Access them via import.meta.env.VITE_MY_VAR, not process.env.
  • Use import.meta.env.DEV and import.meta.env.PROD for environment guards.
  • Static assets in public/ are served at the root; assets in src/assets/ go through the bundler.

Do not:

  • Do not use require() — use ES module import syntax.
  • Do not import from node_modules using relative paths.
  • Do not put component logic directly in page files — extract to components/ or hooks/.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Refreshed 9 Oct 2026, a month ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/joshuaculmer/cook_book/vite-react-ts/badge)](https://verified-skill.com/skills/joshuaculmer/cook_book/vite-react-ts)

Something wrong with this skill or its page? Tell us.