Prettier
Comprehensive Prettier skills for code formatting with configuration, editor integration, and custom plugin development.
Installation
First, install the Han CLI tool:
npm install -g @thebushidocollective/hanThen install the plugin:
han plugin install buki-prettierOverview
Comprehensive Prettier skills for code formatting with configuration, editor integration, and custom plugin development.
Skills
This plugin provides the following skills:
- Prettier Configuration
- Prettier Integration
- Prettier Plugins
Usage
Once enabled, Claude will automatically apply these skills when working with relevant code. The plugin provides context and expertise that Claude uses to:
- Write idiomatic code following best practices
- Suggest appropriate patterns and architectures
- Catch common mistakes and anti-patterns
- Provide framework-specific guidance
License
Licensed under MIT - see repository for details.
Skills
prettier-configuration
Use when prettier configuration including options, config files, ignore patterns, and formatting rules.
prettier-integration
Use when prettier integration with editors, pre-commit hooks, ESLint, and CI/CD pipelines.
prettier-plugins
Use when prettier plugins including plugin ecosystem, custom parsers, and plugin development.
Hooks
Stop
Runs when the main Claude Code agent has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with package.json -- npx prettier --check .SubagentStop
Runs when a Claude Code subagent (Task tool call) has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with package.json -- npx prettier --check .