AI コーディングアシスタント設定ファイルのリンター。CLAUDE.md, AGENTS.md, SKILL.md, hooks.json, MCP設定等を検証し、ベストプラクティス違反を検出・自動修正する。
From agnixnpx claudepluginhub masseater/claude-code-plugin --plugin agnixThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Details PluginEval's skill quality evaluation: 3 layers (static, LLM judge), 10 dimensions, rubrics, formulas, anti-patterns, badges. Use to interpret scores, improve triggering, calibrate thresholds.
AI コーディングアシスタント設定ファイルのリンター。/agnix:lint で検証、/agnix:setup でインストール。
設定ファイルを lint する。
# カレントディレクトリを claude-code 向けに検証
agnix --target claude-code .
# 特定ファイルを検証
agnix --target claude-code CLAUDE.md
# 自動修正(HIGH + MEDIUM confidence)
agnix --target claude-code --fix .
# 安全な修正のみ(HIGH confidence)
agnix --target claude-code --fix-safe .
# 修正プレビュー(dry-run)
agnix --dry-run --show-fixes --target claude-code .
# 警告もエラーとして扱う
agnix --target claude-code --strict .
引数:
| オプション | 説明 |
|---|---|
--target <tool> | 対象ツール(claude-code, cursor, copilot, mcp, agents-md, agent-skills, gemini-cli) |
--fix | HIGH + MEDIUM confidence の自動修正を適用 |
--fix-safe | HIGH confidence のみ修正 |
--fix-unsafe | 全 confidence レベルの修正を適用 |
--dry-run --show-fixes | 修正のプレビュー(差分表示) |
--strict | 警告をエラーとして扱う |
--target 未指定時は全ターゲットが対象になる。Claude Code プロジェクトでは --target claude-code を推奨。
agnix をインストールする。
# npm(推奨)
npm install -g agnix
# Homebrew
brew tap avifenesh/agnix && brew install agnix
# Cargo
cargo install agnix-cli
インストール確認:
agnix --version
agnix が検証する設定ファイル:
CLAUDE.md, AGENTS.md, SKILL.mdhooks.json, plugin.json, settings.json*.mcp.json.claude/rules/*.md169 ルール(Claude Code: 53, Agent Skills: 31, AGENTS.md: 13, MCP: 12, Cursor: 10, Copilot: 6, Gemini CLI: 3 等)
GitHub Actions で CI に組み込める:
- uses: avifenesh/agnix@v0
with:
target: claude-code