
commands-typescript-migration
Migrates JavaScript projects to TypeScript through one slash command for conversion work.
- version
- 1.0.0
- GitHub stars
- 3.8K
What it does
- Adds the
/migrate-to-typescriptcommand for converting JavaScript projects to TypeScript - Designed for developers moving existing JavaScript codebases over to TypeScript
Commands for migrating JavaScript projects to TypeScript
Add marketplace
/plugin marketplace add davepoon/buildwithclaudeRun it inside Claude Code once, then install the plugin below.
Install
/plugin install commands-typescript-migration@buildwithclaudeRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceMigrate to TypeScript
Migrate JavaScript project to TypeScript
Instructions
-
Project Analysis and Migration Planning
- Analyze current JavaScript codebase structure and complexity
- Identify external dependencies and their TypeScript support
- Assess project size and determine migration approach (gradual vs. complete)
- Review existing build system and bundling configuration
- Create migration timeline and phased approach plan
-
TypeScript Installation and Configuration
- Install TypeScript and related dependencies (@types packages)
- Create comprehensive tsconfig.json with strict configuration
- Configure path mapping and module resolution
- Set up incremental compilation and build optimization
- Configure TypeScript for different environments (development, production, testing)
-
Build System Integration
- Update build tools to support TypeScript compilation
- Configure webpack, Vite, or other bundlers for TypeScript
- Set up development server with TypeScript support
- Configure hot module replacement for TypeScript files
- Update build scripts and package.json configurations
-
File Migration Strategy
- Start with configuration files and utility modules
- Migrate from least to most complex modules
- Rename .js files to .ts/.tsx incrementally
- Update import/export statements to use TypeScript syntax
- Handle mixed JavaScript/TypeScript codebase during transition
-
Type Definitions and Interfaces
- Create comprehensive type definitions for project-specific types
- Install @types packages for external dependencies
- Define interfaces for API responses and data structures
- Create custom type declarations for untyped libraries
- Set up shared types and interfaces across modules
-
Code Transformation and Type Annotation
- Add explicit type annotations to function parameters and return types
- Convert JavaScript classes to TypeScript with proper typing
- Transform object literals to typed interfaces
- Add generic types for reusable components and functions
- Handle complex types like union types, mapped types, and conditional types
-
Error Resolution and Type Safety
- Resolve TypeScript compiler errors systematically
- Fix type mismatches and undefined behavior
- Handle null and undefined values with strict null checks
- Configure ESLint rules for TypeScript best practices
- Set up type checking in CI/CD pipeline
-
Testing and Validation
- Update test files to TypeScript
- Configure testing framework for TypeScript support
- Add type testing with tools like tsd or @typescript-eslint
- Validate type safety in test suites
- Set up type coverage reporting
-
Developer Experience Enhancement
- Configure IDE/editor for optimal TypeScript support
- Set up IntelliSense and auto-completion
- Configure debugging for TypeScript source maps
- Set up type-aware linting and formatting
- Create TypeScript-specific code snippets and templates
-
Documentation and Team Onboarding
- Update project documentation for TypeScript setup
- Create TypeScript coding standards and best practices guide
- Document migration decisions and type system architecture
- Set up type documentation generation
- Train team members on TypeScript development workflows
- Create troubleshooting guide for common TypeScript issues
From the davepoon/buildwithclaude README
Build with Claude
Claude Skills, Agents, Commands, Hooks, Plugins, Marketplaces collections for and extend Claude Code
A plugin marketplace and discovery platform for Claude Code. Browse curated plugins, discover community contributions, and extend your Claude Code workflows.
Quick Start
# Add the Build with Claude marketplace
/plugin marketplace add davepoon/buildwithclaude
# Browse available plugins
/plugin search @buildwithclaude
# Install plugins
/plugin install <plugin-name>@buildwithclaude
What's Included
Build with Claude Plugins
Curated collections maintained in this repository:
| Type | Count | Description |
|---|---|---|
| Agents | 117 | Specialized AI experts (Python, Go, DevOps, Security, etc.) |
| Commands | 175 | Slash commands for automation (/commit, /docs, /tdd) |
| Hooks | 28 | Event-driven automation (notifications, git, formatting) |
| Skills | 26 | Reusable capabilities from plugins |
| Plugins | 51 | Bundled plugin packages by category |
Community Discovery
The platform indexes plugins from the broader Claude Code ecosystem:
- 20k+ Community Plugins from external marketplaces
- 4,500+ MCP Servers for database, API, and tool connections
- 1,100+ Plugin Marketplaces from the community
Web UI
Browse, search, and explore everything at buildwithclaude.com
Build with Claude Homepage
Browse Plugins
Browse Skills
Browse MCP Servers
Browse Plugin Marketplaces
Features
- Browse all plugin types with filtering
- Search across plugins, agents, commands, hooks, skills
- Copy install commands with one click
- View full documentation and usage examples
- Discover MCP servers and community plugins
Installation Options
Option 1: Plugin Marketplace (Recommended)
# Add marketplace
/plugin marketplace add davepoon/buildwithclaude
# Install specific plugins
/plugin install agents-python-expert@buildwithclaude
/plugin install commands-version-control-git@buildwithclaude
/plugin install hooks-notifications@buildwithclaude
# Or install everything
/plugin install all-agents@buildwithclaude
/plugin install all-commands@buildwithclaude
/plugin install all-hooks@buildwithclaude
Option 2: Manual Installation
# Clone repository
git clone https://github.com/davepoon/buildwithclaude.git
cd buildwithclaude
# Install agents
find plugins/agents-*/agents -name "*.md" -exec cp {} ~/.claude/agents/ \;
# Install commands
find plugins/commands-*/commands -name "*.md" -exec cp {} ~/.claude/commands/ \;
# Restart Claude Code
Available Plugin Categories
Agents (11 categories)
- Development & Architecture - Backend, frontend, mobile, GraphQL experts
- Language Specialists - Python, Go, Rust, TypeScript, C/C++ experts
- Quality & Security - Code review, security audit, debugging
- Infrastructure & Operations - DevOps, cloud, database optimization
- Data & AI - ML engineering, data pipelines, AI development
- Crypto & Blockchain - Trading systems, DeFi, Web3 development
Browse Subagents
Commands (22 categories)
- Version Control - Commit, PR creation, branch management
- Code Analysis - Testing, review, optimization
- Documentation - Docs generation, changelogs, API specs
- Project Management - Todos, PRDs, task tracking
Browse Commands
Hooks (8 categories)
- Notifications - Slack, Discord, Telegram alerts
- Git - Auto-staging, smart commits
- Development - Lint on save, auto-format
- Security - File protection, vulnerability scanning
Browse Hooks
Usage Examples
Using Agents
Agents are automatically invoked based on context, or explicitly called:
"Use the python-pro to optimize this function"
"@agent-security-auditor review this authentication code"
"Have the devops-troubleshooter help debug this deployment"
Using Commands
Commands use the / prefix:
/commit # Create conventional commit
/create-pr # Create pull request
/docs # Generate documentation
/tdd # Start test-driven development
/code_analysis # Analyze code quality
Using Hooks
Hooks run automatically on events like tool calls or session start.
Contributing
We welcome contributions!
Adding Plugins
- Create a new directory in
plugins/following the naming convention - Add your plugin files (agents, commands, hooks)
- Run
npm testto validate - Submit a pull request
Plugin Format
Agent (plugins/agents-*/agents/*.md):
---
name: agent-name
description: When to invoke this agent
category: category-name
tools: Read, Write, Bash
---
You are a [role description]...
Command (plugins/commands-*/commands/*.md):
---
description: What this command does
category: category-name
argument-hint: <args>
---
Command implementation...
Hook (plugins/hooks-*/hooks/*.md):
---
hooks: PreToolUse, PostToolUse
description: What this hook does
---
Hook implementation...
See CONTRIBUTING.md for detailed guidelines.
Contributors
This project exists thanks to all the people who contribute.
Links
- Web UI: buildwithclaude.com
- Documentation: Claude Code Docs
- Plugin Marketplaces: Plugin Docs
- Issues: GitHub Issues
License
MIT License - see LICENSE for details.
Made with ❤️ by Dave Poon
Details
- Marketplace
- davepoon/buildwithclaude
- Source
- plugins/commands-typescript-migration
- Author
- BuildWithClaude Community
- Category
- Commands
- License
- MIT
- Keywords
- commands, slash-commands, typescript-migration, migrate-to-typescript
- Listed since
- Apr 6, 2026
More from davepoon/buildwithclaude
All 237- commands-utilities-debuggingv1.0.0
- commands-version-control-gitv1.0.0
- commands-workflow-orchestrationv1.0.0
- commentkeywordv0.2.0
- communitymentionsv1.0.1
- computer-usev0.1.0
- conferencedbv1.0.2
- convikav1.0.2
- crosstalkv0.1.0
- cursor-subagent-modelsv1.3.2
- curviatev0.1.0
- deja-vuv0.23.5
- dev-loopv1.32.30
- dexv1.15.3
- done-gatev1.1.0
- dsh-deepreadv0.5.4
- equiblesv1.0.0
- event-sponsorship-skillsv1.0.1
- fabler-relayv1.0.0
- fabler-x402-toolsv1.0.7
- fair-value-calculatorv1.0.2
- feedbacksv0.2.1
- figma-maxxingv1.1.0
- flightpathv1.1.0
Similar to commands-typescript-migration
More Developer Tools
type-migratorrohitg00/awesome-claude-code-toolkit2.8K starsMigrate JavaScript files to TypeScript with proper types
commands-project-setupdavepoon/buildwithclaude3.8K starsCommands for initializing and setting up new projects
commands-framework-sveltedavepoon/buildwithclaude3.8K starsSpecialized commands for Svelte and SvelteKit development
migration-helperdevsforge/marketplace79 starsCode migration and framework upgrade assistant
typescript-language-serverPiebald-AI/claude-code-lsps520 starsTypeScript and JavaScript language server integration (using typescript-language-server)
typescript-migrationsecondsky/claude-skills250 starsTypeScript version migration guide (5.x to 6 to 7, tsgo native port). Use for TS 6 tsconfig breaking changes, TS 7 Go rewrite rollout, or TS5xxx deprecation cod