code-format

Community

Automate code formatting, ensure consistent style.

AuthorDarkMonkDev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Inconsistent code formatting across a team leads to messy diffs, unnecessary merge conflicts, and wasted time on style debates, reducing developer productivity and code readability.

Core Features & Use Cases

  • Consistent Style: Formats TypeScript/JavaScript, JSON, Markdown, CSS/SCSS files using Prettier to enforce a unified code style.
  • Flexible Scope: Supports checking only, formatting only changed files (via Git), or applying formatting across the entire codebase.
  • Pre-commit Integration: Designed for use in pre-commit hooks to automatically ensure code is formatted before it's committed.
  • Use Case: Before creating a pull request, run this Skill to automatically format all your modified TypeScript files, ensuring they comply with project style guidelines without manual effort.

Quick Start

Format all changed files in the repository.

Dependency Matrix

Required Modules

npmnpxprettiergit

Components

scripts

💻 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: code-format
Download link: https://github.com/DarkMonkDev/WitchCityRope/archive/main.zip#code-format

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository