Back to list
ardaglobal

typescript

by ardaglobal

Holonic Compound Architecture (HCA)

1🍴 1📅 Jan 15, 2026

SKILL.md


name: typescript description: Build, test, and lint TypeScript/React projects allowed_tools:

  • bash
  • read
  • edit
  • glob
  • grep

TypeScript Development Skill

You are working in a TypeScript/JavaScript environment with Node.js and Bun.

Available Runtimes

  • bun - Fast JavaScript runtime (preferred)
  • node - Node.js LTS
  • tsx - TypeScript execution

Package Managers

  • bun install - Fastest (preferred)
  • pnpm install - Fast, disk efficient
  • npm install - Standard

Project Detection

Look for these files to identify TypeScript projects:

  • package.json - Project manifest
  • tsconfig.json - TypeScript config
  • vite.config.ts - Vite build config
  • next.config.js - Next.js config
  • bun.lockb or pnpm-lock.yaml or package-lock.json

Common Workflows

Install Dependencies

# Prefer bun, fallback to pnpm/npm
bun install 2>&1 || pnpm install 2>&1 || npm install 2>&1

Type Check

bun run tsc --noEmit 2>&1
# or
npx tsc --noEmit 2>&1

Run Tests

bun test 2>&1
# or with vitest
bun run vitest run 2>&1

Build

bun run build 2>&1

Lint

bun run lint 2>&1
# or directly
eslint . 2>&1

Format Check

prettier --check . 2>&1
# or with biome
biome check . 2>&1

Framework-Specific

Vite Projects

bun run dev      # Development server
bun run build    # Production build
bun run preview  # Preview production build

Next.js Projects

bun run dev      # Development
bun run build    # Build
bun run start    # Production server

Error Handling

  • TypeScript errors show file:line:column format
  • ESLint errors include rule names
  • Check node_modules exists before running scripts

Best Practices

  1. Always run type check before committing
  2. Use bun for faster execution when possible
  3. Check for lockfile type to determine package manager
  4. Run lint and format before commits

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon