ワンクリックで
linter-autofix
Cross-language linter autofix commands and common fix patterns for biome, ruff, clippy, shellcheck, and more.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Cross-language linter autofix commands and common fix patterns for biome, ruff, clippy, shellcheck, and more.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Scaffold repo-local Ralph autonomous harness under scripts/ralph/. Use when user runs /flow-next:ralph-init.
Collect, deduplicate, enrich, triage, and convert code comments (TODO/FIXME/HACK/NOTE/OPTIMIZE/SECURITY/DEBT) into structured, dependency-ordered task lists ready for autonomous agents. Use when processing technical debt, converting code notes into tracked work, preparing task backlogs, or generating executable task graphs. Triggers: TODO triage, fixme list, tech debt scan, task extraction, comment analysis.
Converts any MCP server into a standalone skill package with zero runtime dependencies (no MCP process required). Trigger when user says: "convert this MCP to a skill", "I don't want to use MCP anymore", "wrap MCP X as a skill", "MCP is too heavy", "turn MCP capabilities into a skill". Does: connects to MCP server to extract tool schemas, analyzes source code to infer equivalent Bash commands, generates a ready-to-use skill package and registers it with the agent, optionally asks user to remove the original MCP. Does NOT: execute MCP tool calls to complete tasks (that's using MCP, not converting it); wrap existing Bash scripts as skills (use skill-creator); execute MCP business logic. Optional dependency: skill-creator (improves generated SKILL.md quality).
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Creates high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services. Use when building MCP servers to integrate APIs, designing tool schemas, or implementing Python (FastMCP) or TypeScript (MCP SDK) servers. Triggers include "MCP server", "tool schema", "model context protocol", or "FastMCP".
Builds and refactors production-ready Python CLI tools and packages with modern pyproject layouts, uv workflows, and robust testing.
| model | haiku |
| name | linter-autofix |
| description | Cross-language linter autofix commands and common fix patterns for biome, ruff, clippy, shellcheck, and more. |
| allowed-tools | Bash, Read, Edit, Grep |
Quick reference for running linter autofixes across languages.
| Language | Linter | Autofix Command |
|---|---|---|
| TypeScript/JS | biome | bunx @biomejs/biome check --write . |
| TypeScript/JS | biome format | bunx @biomejs/biome format --write . |
| Python | ruff | ruff check --fix . |
| Python | ruff format | ruff format . |
| Rust | clippy | cargo clippy --fix --allow-dirty |
| Rust | rustfmt | cargo fmt |
| Go | gofmt | gofmt -w . |
| Go | go mod | go mod tidy |
| Shell | shellcheck | apply shellcheck -f diff suggestions |
Unused imports
// Before
import { useState, useEffect, useMemo } from 'react';
// Only useState used
// After
import { useState } from 'react';
Prefer const
// Before
let x = 5; // Never reassigned
// After
const x = 5;
Import sorting (I001)
# Before
import os
from typing import List
import sys
# After
import os
import sys
from typing import List
Unused imports (F401)
# Before
import os
import sys # unused
# After
import os
Line too long (E501)
# Before
result = some_function(very_long_argument_one, very_long_argument_two, very_long_argument_three)
# After
result = some_function(
very_long_argument_one,
very_long_argument_two,
very_long_argument_three,
)
Redundant clone
// Before
let s = String::from("hello").clone();
// After
let s = String::from("hello");
Use if let
// Before
match option {
Some(x) => do_something(x),
None => {},
}
// After
if let Some(x) = option {
do_something(x);
}
Quote variables (SC2086)
# Before
echo $variable
# After
echo "$variable"
Use $(...) instead of backticks (SC2006)
# Before
result=`command`
# After
result=$(command)
Auto-detect project linters and run all appropriate fixers in one command:
# Fix mode: detect linters and apply all autofixes
bash "${CLAUDE_PLUGIN_ROOT}/skills/linter-autofix/scripts/detect-and-fix.sh"
# Check-only mode: report issues without fixing
bash "${CLAUDE_PLUGIN_ROOT}/skills/linter-autofix/scripts/detect-and-fix.sh" --check-only
The script detects biome, eslint, prettier, ruff, black, clippy, rustfmt, gofmt, golangci-lint, and shellcheck. It reports which linters were found, runs them, and shows modified files. See scripts/detect-and-fix.sh for details.
ruff check --fix . && ruff format .ruff check .Stop and use different approach when: