mcpField
K
knip

knip

github.com/fandhe-aiテスト・品質4106 回インストール5 日前に更新
リポジトリ

knip について

Knip v6の主要ドキュメントを網羅するリファレンススキルです。タスクをカテゴリやページに対応付け、開発者が設定や機能などの詳細資料を探せるようにします。

主な機能

  1. 01Knip v6の主要ドキュメントを網羅
  2. 02タスクをドキュメントカテゴリに対応付け
  3. 03参照ページの検索手順を案内

活用シーン

  1. 01Knipのインストールや設定の確認
  2. 02未使用の export と依存関係の検出方法の把握
  3. 03CI連携や設定の問題の調査

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill knip

インストール後、Claude Code で/knipを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

references/explanations/
comparison-and-migration.md
entry-files.md
how-knip-works.md
plugins.md
README.md
why-use-knip.md
references/features/
auto-fix.md
catalogs.md
compilers.md
custom-elements.md
integrated-monorepos.md
monorepos-and-workspaces.md
production-mode.md
README.md
reporters.md
rules-and-filters.md
script-parser.md
source-mapping.md
references/guides/
adopt-gradually.md
configuring-project-files.md
contributing.md
handling-issues.md
issue-reproduction.md
namespace-imports.md
performance.md
README.md
troubleshooting.md
using-knip-in-ci.md
working-with-commonjs.md
references/overview/
configuration.md

詳細

プロジェクトの README より

Knip リファレンス

Knip の公式ドキュメント全コアページを網羅したスキル。 対象: Knip v6(6.41.0 時点の docs、2026-10-16 取得)。 ユーザーのタスクに応じて適切な README.md を読み、そこから個別ファイルへ辿ること。

ディレクトリ構成

skills/knip/
  SKILL.md
  references/
    overview/
      README.md
      configuration.md
      features.md
      first-cleanup.md
      getting-started.md
    explanations/
      README.md
      comparison-and-migration.md
      entry-files.md
      how-knip-works.md
      plugins.md
      why-use-knip.md
    features/
      README.md
      auto-fix.md
      catalogs.md
      compilers.md
      custom-elements.md
      integrated-monorepos.md
      monorepos-and-workspaces.md
      production-mode.md
      reporters.md
      rules-and-filters.md
      script-parser.md
      source-mapping.md
    guides/
      README.md
      adopt-gradually.md
      configuring-project-files.md
      contributing.md
      handling-issues.md
      issue-reproduction.md
      namespace-imports.md
      performance.md
      troubleshooting.md
      using-knip-in-ci.md
      working-with-commonjs.md
    reference/
      README.md
      cli.md
      configuration.md
      configuration-hints.md
      dynamic-configuration.md
      faq.md
      integrations.md
      issue-types.md
      jsdoc-tsdoc-tags.md
      known-issues.md
      plugins.md
      related-tooling.md
    typescript/
      README.md
      unused-dependencies.md
      unused-exports.md
    writing-a-plugin/
      README.md
      argument-parsing.md
      inputs.md
      writing-a-plugin.md
  samples/
    README.md
    auto-fix.md
    basic-configuration.md
    ci-integration.md
    getting-started.md
    ignore-patterns.md
    jsdoc-tags.md
    monorepo-workspaces.md
    output-formats.md
    production-mode.md
    rules-and-filters.md
  scripts/
    README.md
    ci.md
    cli.md
    debug.md
    fix.md
    install.md
    lint.md

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
インストール・初期設定・基本的な使い方を知りたいoverviewreferences/overview/README.md
機能一覧・ゼロ設定の仕組み・初回クリーンアップ後の対応を知りたいoverviewreferences/overview/README.md
エントリーファイル・プラグインの仕組み・内部動作を理解したいexplanationsreferences/explanations/README.md
導入理由・他ツールとの比較・移行手順を知りたいexplanationsreferences/explanations/README.md
auto-fix・production mode・monorepo・catalogs・reporters (cycles / SARIF 出力を含む) を使いたいfeaturesreferences/features/README.md
rules / filters・compilers・script parser を設定したいfeaturesreferences/features/README.md
段階導入 (adopt gradually)・プロジェクトファイル設定・トラブルシューティング・CI 統合guidesreferences/guides/README.md
パフォーマンス最適化・CommonJS 対応・namespace importsguidesreferences/guides/README.md
CLI フラグ・設定オプション・issue types・JSDoc タグreferencereferences/reference/README.md
FAQ・プラグイン一覧・統合ツール・既知の問題を調べたいreferencereferences/reference/README.md
未使用 exports / dependencies の検出詳細を理解したいtypescriptreferences/typescript/README.md
カスタムプラグインを作成したいwriting-a-pluginreferences/writing-a-plugin/README.md
典型的な使い方・実例を確認したいsamplessamples/README.md
インストール・CLI コマンド・CI 実行コマンドを知りたいscriptsscripts/README.md

コメント