ts-formatter
CommunityStreamline TS/JS formatting and linting.
System Documentation
What problem does it solve?
This Skill provides a ready-to-use, standards-based TypeScript/JavaScript formatter and linter configuration guide to ensure consistent code style and quality across projects, especially when a project lacks local config files.
Core Features & Use Cases
- Prettier-based formatting defaults that work for TS/JS projects with sensible options and minimal setup.
- ESLint recommendations and modern flat config support (eslint.config.mjs/js) plus compatibility with legacy .eslintrc.json.
- VSCode integration guidance and Lefthook pre-commit workflow to enforce formatting and linting before commits.
Quick Start
Install the recommended tooling if no project-specific config exists: npm install --save-dev prettier eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-config-prettier; add eslint.config.mjs/js and .prettierrc.json with the provided defaults; set up VSCode to format on save using the Prettier extension; and run lint/format scripts as needed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ts-formatter Download link: https://github.com/s4kr4/dotfiles/archive/main.zip#ts-formatter Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.