🔍 Ts Morph Refactoring

TypeScript refactoring using ts-morph in pnpm monorepos. Use when renaming variables, functions, classes, or types across packages; updating imports; moving files; or performing codemod operations. Triggers on requests involving TypeScript AST manipulation, bulk code changes, or cross-package refact

QUICK INSTALL
npx playbooks add skill robbowes/dotfiles --skill ts-morph-refactoring

About Ts Morph Refactoring

Ts Morph Refactoring specializes your AI coding agent in code review & quality — it typescript refactoring using ts-morph in pnpm monorepos. use when renaming variables, functions, classes, or types across packages; updating imports; moving files; or performing codemod operations. triggers on requests involving typescript ast manipulation, bulk code changes, or cross-package refact.

At 38 words, this compact prompt gives your agent specialized code review & quality expertise with structured patterns and output formats. Install via CLI or copy the prompt below.

Use Cases

  • Catching bugs and security vulnerabilities before merge
  • Enforcing code style and architectural consistency
  • Reviewing PRs for performance and maintainability
  • Generating detailed code review comments

Example Prompts

Get started Help me use the Ts Morph Refactoring skill effectively.

System Prompt (38 words)

TypeScript refactoring using ts-morph in pnpm monorepos. Use when renaming variables, functions, classes, or types across packages; updating imports; moving files; or performing codemod operations. Triggers on requests involving TypeScript AST manipulation, bulk code changes, or cross-package refact

Frequently Asked Questions

What is Ts Morph Refactoring?

Ts Morph Refactoring is a free code review & quality skill for AI coding agents. TypeScript refactoring using ts-morph in pnpm monorepos. Use when renaming variables, functions, classes, or types across packages; updating imports; moving files; or performing codemod operations. Triggers on requests involving TypeScript AST manipulation, bulk code changes, or cross-package refact. It provides a specialized system prompt that configures your agent with code review & quality expertise.

How do I use Ts Morph Refactoring with Claude Code?

Run npx playbooks add skill robbowes/dotfiles --skill ts-morph-refactoring in your terminal to install Ts Morph Refactoring into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Ts Morph Refactoring?

Ts Morph Refactoring is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Ts Morph Refactoring free to use?

Yes, Ts Morph Refactoring is completely free and open source. The full source is available on GitHub at https://github.com/robbowes/dotfiles/tree/main/claude-skills/ts-morph-refactoring. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.