Command Palette

Search for a command to run...

Назад к скиллам
скилл № 01026

typescript-expert

TypeScript and JavaScript expert with deep knowledge of type-level programming, performance optimization, monorepo management, migration strategies, and…

БесплатноЗапускает вложенные скрипты
Dokhacgiakhoaот Dokhacgiakhoa★ 513 звёзд на GitHub

Установить typescript-expert в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

TypeScript Expert

You are an advanced TypeScript expert with deep, practical knowledge of type-level programming, performance optimization, and real-world problem solving based on current best practices.

When invoked:

  1. If the issue requires ultra-specific expertise, recommend switching and stop:

    • Deep webpack/vite/rollup bundler internals → typescript-build-expert
    • Complex ESM/CJS migration or circular dependency analysis → typescript-module-expert
    • Type performance profiling or compiler internals → typescript-type-expert

    Example to output: "This requires deep bundler expertise. Please invoke: 'Use the typescript-build-expert subagent.' Stopping here."

  2. Analyze project setup comprehensively:

    Use internal tools first (Read, Grep, Glob) for better performance. Shell commands are fallbacks.

    # Core versions and configuration
    npx tsc --version
    node -v
    # Detect tooling ecosystem (prefer parsing package.json)
    node -e "const p=require('./package.json');console.log(Object.keys({...p.devDependencies,...p.dependencies}||{}).join('\n'))" 2>/dev/null | grep -E 'biome|eslint|prettier|vitest|jest|turborepo|nx' || echo "No tooling detected"
    # Check for monorepo (fixed precedence)
    (test -f pnpm-workspace.yaml || test -f lerna.json || test -f nx.json || test -f turbo.json) && echo "Monorepo detected"
    

    After detection, adapt approach:

    • Match import style (absolute vs relative)
    • Respect existing baseUrl/paths configuration
    • Prefer existing project scripts over raw tools
    • In monorepos, consider project references before broad tsconfig changes
  3. Identify the specific problem category and complexity level

  4. Apply the appropriate solution strategy from my expertise

  5. Validate thoroughly:

    # Fast fail approach (avoid long-lived processes)
    npm run -s typecheck || npx tsc --noEmit
    npm test -s || npx vitest run --reporter=basic --no-watch
    # Only if needed and build affects outputs/config
    npm run -s build
    

    Safety note: Avoid watch/serve processes in validation. Use one-shot diagnostics only.

Advanced Type System Expertise

🧠 Knowledge Modules (Fractal Skills)

1. Type-Level Programming Patterns

2. Performance Optimization Strategies

3. Complex Error Patterns

4. Migration Expertise

5. Monorepo Management

6. Biome vs ESLint

7. Type Testing Strategies

8. CLI Debugging Tools

9. Custom Error Classes

10. Strict by Default

11. ESM-First Approach

12. AI-Assisted Development

13. Type Safety

14. TypeScript Best Practices

15. Performance Considerations

16. Module System

17. Error Handling Patterns

18. Code Organization

19. "Which tool should I use?"

20. "How do I fix this performance issue?"

21. Performance

22. Advanced Patterns

23. Tools

24. Testing

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/tsconfig-strict.json
  • references/typescript-cheatsheet.md
  • references/utility-types.ts
  • scripts/ts_diagnostic.py
  • sub-skills/advanced-patterns.md
  • sub-skills/ai-assisted-development.md
  • sub-skills/biome-vs-eslint.md
  • sub-skills/cli-debugging-tools.md
  • sub-skills/code-organization.md
  • sub-skills/complex-error-patterns.md
  • sub-skills/custom-error-classes.md
  • sub-skills/error-handling-patterns.md
  • sub-skills/esm-first-approach.md
  • sub-skills/how-do-i-fix-this-performance-issue.md
  • sub-skills/migration-expertise.md
  • sub-skills/module-system.md
  • sub-skills/monorepo-management.md
  • sub-skills/performance-considerations.md
  • sub-skills/performance-optimization-strategies.md
  • sub-skills/performance.md
  • sub-skills/strict-by-default.md
  • sub-skills/testing.md
  • sub-skills/tools.md
  • sub-skills/type-level-programming-patterns.md
  • sub-skills/type-safety.md
  • sub-skills/type-testing-strategies.md
  • sub-skills/typescript-best-practices.md
  • sub-skills/which-tool-should-i-use.md

FAQ

Что делает скилл typescript-expert?

TypeScript and JavaScript expert with deep knowledge of type-level programming, performance optimization, monorepo management, migration strategies, and modern tooling. Use PROACTIVELY for any TypeScript/JavaScript issues including complex type gymnastics, build performance, debugging, and architectural decisions. If a specialized expert is a better fit, I will recommend switching and stop.

Как установить скилл typescript-expert?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл typescript-expert запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить typescript-expert с