Scissors-Shift is an agentic coding skill designed for Claude Code, Cursor, and Codex CLI agents. It automates the safe, progressive migration of JavaScript codebases (.js, .jsx) into type-safe, modern TypeScript (.ts, .tsx), including standard configs setup, safety backups, and structural type declarations.
- Safety Backups: Mandatory local copy of files to
backups/before performing any renames. - Intelligent Renaming: Python heuristics scan file contents to separate pure logic files (
.ts) from React components containing JSX (.tsx). - TSConfig Generator: Generates a strict, modern
tsconfig.jsonoptimized for current bundling environments. - Type Inference: Step-by-step guidance for type imports, interfaces, component props, and function return types.
- Interactive Confirmation: Enforces user confirmation before finalizing code modifications.
Simply copy this folder into your custom agent configuration directory:
- Claude Code:
~/.claude/skills/scissors-shift/ - Workspace Projects:
.agents/skills/scissors-shift/
