跳到主要内容

Lang Typescript

Navigate, test, and typecheck TypeScript via CLI.

Skill metadata​

SourceBundled (installed by default)
Pathskills/software-development/lang-typescript
Version1.1.0
AuthorVibeOS
LicenseMIT
Platformslinux, macos, windows

Reference: full SKILL.md​

信息

The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.

TypeScript / Node Language Pack Skill

Drive TypeScript / Node work with the project index and standard CLI recipes. LSP hint: typescript (editor-side when applicable). Zero new core tools.

What this language is (beginner)​

JavaScript с типами. Язык №1 для современного веба: и браузер, и Node.js-сервер.

Лучше всего для:

  • веб-фронтенд (React/Next, Vue, Svelte, Astro)
  • full-stack на одном языке (Node + браузер)
  • CLI и tooling в экосистеме npm
  • API на NestJS / Express / Hono / Next route handlers

When to Use​

Выбирай этот pack, если:

  • делаете сайт, SPA, SSR или интернет-сервис с UI
  • хотите один язык на клиенте и сервере
  • нужны типы без ухода из JS-экосистемы

Manifests (автодетект репозитория): package.json, tsconfig.json

Обычно рядом: Vue / Svelte / Astro packs для UI-фреймворков; Prisma для БД.

См. также skill choose-language-pack, если цель ещё не ясна.

When NOT to use​

  • тяжёлая наука/ML → Python
  • системный код / драйверы → Rust / C++ / Zig
  • мобильные нативные приложения → Kotlin / Swift / Dart(Flutter)

Prerequisites​

vibeos pack apply lang-typescript --apply
vibeos pack apply project-intelligence --apply

How to Run​

vibeos project index build
vibeos project commands
npm test # or pnpm test
npx tsc --noEmit

Quick Reference​

GoalCommand
Apply packvibeos pack apply lang-typescript --apply
Doctorvibeos language doctor typescript
Primary testnpm test
Choose guideskill choose-language-pack

Procedure​

  1. Если язык ещё не выбран для нового проекта — сначала choose-language-pack.
  2. Work from the project root that matches pack manifests.
  3. Index query → read_file → edit → path-scoped tests when iterating.
  4. Prefer the package manager / toolchain already locked in the repo.
  5. Explain non-obvious toolchain choices in plain language for the user.

Pitfalls​

  • Do not assume yarn unless the repo has a yarn lockfile.
  • Generated dist/ may be outside the index — rebuild after codegen.
  • Do not invent core tools; stay on terminal + read_file + index CLI.

Verification​

vibeos language doctor typescript
vibeos project index status