Skip to content
CommandImported

setup-formatting

Configure comprehensive code formatting tools with consistent style enforcement

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 2.8 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/setup-formatting.zip -d .claude/commands

  • For your account on the whole machine

    It goes in: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/setup-formatting.zip -d ~/.claude/commands

Instructions

Setup Code Formatting

Configure comprehensive code formatting with consistent style enforcement: $ARGUMENTS

Current Project State

  • Languages detected: !find . -name "*.js" -o -name "*.ts" -o -name "*.py" -o -name "*.rs" | head -5
  • Existing formatters: @.prettierrc or @pyproject.toml or @rustfmt.toml
  • Package manager: @package.json or @requirements.txt or @Cargo.toml
  • IDE config: @.vscode/settings.json or @.editorconfig

Task

Setup comprehensive code formatting system with automated enforcement and team consistency:

Language Focus: Use $ARGUMENTS to configure JavaScript/TypeScript, Python, Rust, or multi-language formatting

Formatting Setup:

  1. Tool Installation - Prettier, Black, rustfmt, language-specific formatters and plugins
  2. Configuration - Style rules, line length, indentation, quotes, trailing commas, language-specific options
  3. IDE Integration - Editor extensions, format-on-save, keyboard shortcuts, workspace settings
  4. Automation - Pre-commit hooks, CI/CD formatting checks, automated formatting scripts
  5. Team Sync - Shared configurations, style guides, enforcement policies, onboarding documentation
  6. Validation - Formatting verification, CI integration, team compliance monitoring

Advanced Features: Custom rules, framework-specific formatting, performance optimization, incremental formatting.

Consistency: Cross-platform compatibility, team standardization, legacy code migration strategies.

Output: Complete formatting system with automated enforcement, team configurations, and style compliance monitoring.

Files

  • LICENSE1 KB
  • setup-formatting.md1.8 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookAllowed tools with no limits

    In file cli-tool/components/commands/setup/setup-formatting.md

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report