npx claudepluginhub kingstinct/.github --plugin biomeWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
Biome linting and formatting guidelines
This skill uses the workspace's default tool permissions.
Biome Guidelines
Biome is used for linting and formatting. The PostToolUse hook automatically runs biome check --fix on file changes.
Fix Warnings Too
When modifying files, fix both errors AND warnings reported by Biome. Don't leave warnings behind.
After editing a file:
- Check if Biome reported any warnings
- Fix them before moving on
- Run
bunx biome check <file>to verify
Manual Commands
# Check a specific file
bunx biome check path/to/file.ts
# Check and fix a file
bunx biome check --fix path/to/file.ts
# Check entire project
bunx biome check .
# Format only (no linting)
bunx biome format --write path/to/file.ts
# Lint only (no formatting)
bunx biome lint path/to/file.ts
Common Issues to Fix
- Unused imports and variables
- Missing semicolons or extra semicolons (per project config)
- Inconsistent quotes
- Trailing commas
- Unsafe operations (use
--unsafeflag when appropriate) - Accessibility issues in JSX
Configuration
Biome config is in biome.json or biome.jsonc at project root. Respect project-specific rules.
Similar Skills
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.