isamu/claude/init-project

Claude Code and agent skill by isamu/claude

Trust tier 2
  • community
LLM review pending
Source check pending

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

Set up a new TypeScript project with standard configuration. Use when the user starts a new project or runs /init-project.

Install

npx vskill@latest install isamu/claude/init-project

SKILL.md

New Project Setup

When creating a new package.json, always include these scripts:

  • format - Prettier
  • lint - ESLint
  • build - Build command
  • test - Tests using Node.js native node:test + node:assert
  • typecheck - Full-project type check (tsc --noEmit on tsconfig.json, including tests)

Node.js version: 24 or later ESLint must use flat config (eslint.config.js), not legacy .eslintrc Use Tailwind CSS v4 (not v3) with @tailwindcss/vite plugin CI: GitHub Actions matrix MUST cover all three runners — os: [ubuntu-latest, windows-latest, macos-latest]

ESLint rules:

  • Indent: 2 spaces
  • Quotes: double (")
  • Semicolons: required
  • Line endings: Unix (LF)
  • Unused variables: prefix with __ to ignore
TypeScript ESM Configuration

For TypeScript projects, use ESM with .js extensions in imports:

tsconfig.json (key settings):

json
{
"compilerOptions": {
"target": "es2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"declaration": true,
"outDir": "./lib",
"strict": true
}
}

package.json (key settings):

json
{
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
}
}
}

Import statements - Always use .js extension (even for .ts files):

typescript
// Correct
export * from "./actions/index.js";
import { foo } from "./utils/helper.js";
// Wrong - will fail at runtime
export * from "./actions/index";
import { foo } from "./utils/helper.ts";

This configuration ensures:

  • TypeScript compiles to ESM
  • Node.js resolves modules correctly at runtime
  • Package consumers get proper type definitions
Node/Browser Dual Export

When implementing library-like packages, always consider whether functions are pure (no Node.js-specific dependencies). Export browser-compatible code separately so it can run in both Node.js and browser environments.

Design principles:

  • Pure functions (data transformation, validation, parsing) should be exported for browser use
  • Code depending on Node.js APIs (fs, path, child_process, etc.) stays Node-only
  • Separate entry points into index.node.ts and index.browser.ts

Extend the basic package.json above: change main to lib/index.node.js and add a ./browser export:

json
"exports": {
".": { "types": "./lib/index.node.d.ts", "default": "./lib/index.node.js" },
"./browser": { "types": "./lib/index.browser.d.ts", "default": "./lib/index.browser.js" }
}

File structure example:

src/
index.node.ts # Node entry (re-exports everything)
index.browser.ts # Browser entry (re-exports pure functions only)
utils/
parser.ts # Pure function - available from browser
transform.ts # Pure function - available from browser
node/
file_io.ts # fs-dependent - Node only
cli.ts # Node only

Reference: /Users/isamu/ss/llm/mulmocast-cli/package.json exports pattern

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

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

Source

Popularity

Repository stars
18
Repository forks
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

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/isamu/claude/init-project/badge)](https://verified-skill.com/skills/isamu/claude/init-project)

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