code-formatter-installer
Automate code style enforcement by installing and configuring formatters and linters tailored to your stack. The skill detects your language, selects appropriate tools, generates configuration files, and integrates git hooks and CI workflows to maintain consistency across your team.
Code Formatter & Linter Installer sets up Prettier, ESLint, and language-specific tools to enforce consistent code style across your project.
AI-generated summary based on this skill's SKILL.md
Install
patricio0312rev/skills/code-formatter-installer
git clone https://github.com/patricio0312rev/skills
cp -r skills/foundation/code-formatter-installer ~/.claude/skills/code-formatter-installernpx skillfed install patricio0312rev/skills/code-formatter-installerFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I setup prettier and eslint with code-formatter-installer?
code-formatter-installer automates the entire process. It detects your project stack, installs Prettier and ESLint with appropriate dependencies, generates configuration files tailored to your needs, and sets up git hooks to enforce formatting on every commit. You get consistent code style across your team without manual configuration.
What does code-formatter-installer do to enforce consistent code style?
code-formatter-installer enforces consistency by installing formatters and linters matched to your tech stack, generating configuration files, and integrating quality checks into git hooks and CI/CD pipelines. It automates pre-commit formatting, prevents style violations from reaching your repository, and ensures your entire team follows the same rules.
Can code-formatter-installer configure git hooks for code quality?
Yes. code-formatter-installer sets up git hooks (via Husky and lint-staged) to run formatters and linters automatically before commits. It also integrates code quality checks into CI/CD pipelines, catching style issues early and preventing inconsistent code from being merged into your main branch.
Does code-formatter-installer support Python projects?
Yes. code-formatter-installer detects your project stack and recommends language-specific tools. For Python, it can install and configure Black and Ruff. For JavaScript/TypeScript, it sets up Prettier and ESLint. The skill adapts its tool selection and configuration to match your project's actual technology stack.
How does code-formatter-installer integrate with my editor?
code-formatter-installer configures editor settings and extensions for automatic formatting. It generates EditorConfig files and sets up VS Code integration so formatting happens as you type. Combined with git hooks, this creates a seamless workflow where code style is enforced at every stage—editor, commit, and CI.
SKILL.md
rendered from the published skill — quoted content, verbatim
Code Formatter & Linter Installer
Establish consistent code formatting and linting across your project.
Core Workflow
- Detect stack: Identify language/framework (JS/TS, Python, Go, Rust)
- Choose tools: Select appropriate formatters and linters
- Generate configs: Create config files with best-practice rules
- Add scripts: Include npm/package scripts for format/lint
- Configure editor: Provide VS Code, IntelliJ, Vim settings
- Setup pre-commit: Add git hooks for automatic formatting
- CI integration: Suggest GitHub Actions or CI config
Tool Selection by Stack
JavaScript/TypeScript
- Formatter: Prettier
- Linter: ESLint + typescript-eslint
- Editor: EditorConfig
- Hooks: Husky + lint-staged
Python
- Formatter:
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
foundation/code-formatter-installer/SKILL.md