本文へ移動
cccskills
無料GitHub で公開

knip

Knip (TypeScript / JavaScript 未使用コード検出ツール) リファレンス。

未使用ファイル・export・依存関係・型・列挙メンバーの検出、 auto-fix、monorepo (workspaces) 対応、 knip.json / knip.config.ts 設定、プラグイン、ignore 設定、 初回クリーンアップ (first cleanup)、内部動作の仕組み (how Knip works)。

インストール方法を見る

含まれるファイル(71)

  • SKILL.md4.9 KB
  • references/explanations/comparison-and-migration.md1.1 KB
  • references/explanations/entry-files.md1.0 KB
  • references/explanations/how-knip-works.md1.7 KB
  • references/explanations/plugins.md2.2 KB
  • references/explanations/README.md597 B
  • references/explanations/why-use-knip.md1.5 KB
  • references/features/auto-fix.md1.9 KB
  • references/features/catalogs.md1.1 KB
  • references/features/compilers.md1.4 KB
  • references/features/custom-elements.md1.5 KB
  • references/features/integrated-monorepos.md997 B
  • references/features/monorepos-and-workspaces.md1.8 KB
  • references/features/production-mode.md1.2 KB
  • references/features/README.md1.5 KB
  • references/features/reporters.md1.7 KB
  • references/features/rules-and-filters.md1.2 KB
  • references/features/script-parser.md1.6 KB
  • references/features/source-mapping.md1011 B
  • references/guides/configuring-project-files.md1.5 KB
  • references/guides/contributing.md685 B
  • references/guides/handling-issues.md2.7 KB
  • references/guides/issue-reproduction.md816 B
  • references/guides/namespace-imports.md963 B
  • references/guides/performance.md648 B
  • references/guides/README.md1.2 KB
  • references/guides/troubleshooting.md874 B
  • references/guides/using-knip-in-ci.md798 B
  • references/guides/working-with-commonjs.md1.1 KB
  • references/overview/configuration.md1.0 KB
  • references/overview/features.md1.3 KB
  • references/overview/first-cleanup.md1.8 KB
  • references/overview/getting-started.md890 B
  • references/overview/README.md457 B
  • references/reference/cli.md3.4 KB
  • references/reference/configuration-hints.md1.2 KB
  • references/reference/configuration.md2.8 KB
  • references/reference/dynamic-configuration.md886 B
  • references/reference/faq.md2.3 KB
  • references/reference/integrations.md762 B
  • references/reference/issue-types.md1.3 KB
  • references/reference/jsdoc-tsdoc-tags.md927 B
  • references/reference/known-issues.md835 B
  • references/reference/plugins.md2.0 KB
  • references/reference/README.md1.7 KB
  • references/reference/related-tooling.md683 B
  • references/typescript/README.md324 B
  • references/typescript/unused-dependencies.md1.3 KB
  • references/typescript/unused-exports.md1.0 KB
  • references/writing-a-plugin/argument-parsing.md1.4 KB
  • references/writing-a-plugin/inputs.md1.4 KB
  • references/writing-a-plugin/README.md573 B
  • references/writing-a-plugin/writing-a-plugin.md2.3 KB
  • samples/auto-fix.md1.1 KB
  • samples/basic-configuration.md846 B
  • samples/ci-integration.md989 B
  • samples/getting-started.md747 B
  • samples/ignore-patterns.md1.1 KB
  • samples/jsdoc-tags.md1.1 KB
  • samples/monorepo-workspaces.md1.1 KB
  • samples/output-formats.md1.2 KB
  • samples/production-mode.md820 B
  • samples/README.md1.5 KB
  • samples/rules-and-filters.md973 B
  • scripts/ci.md1.5 KB
  • scripts/cli.md1.9 KB
  • scripts/debug.md1.3 KB
  • scripts/fix.md1.4 KB
  • scripts/install.md815 B
  • scripts/lint.md1.5 KB
  • scripts/README.md749 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Knip リファレンス

Knip の公式ドキュメント全コアページを網羅したスキル。 ユーザーのタスクに応じて適切な 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
      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・reporters を使いたいfeaturesreferences/features/README.md
rules / filters・compilers・script parser を設定したいfeaturesreferences/features/README.md
プロジェクトファイル設定・トラブルシューティング・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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

amd-rocm

無料日本語概要

AMD ROCm / HIP GPU コンピューティングリファレンス。 hipMalloc, hipLaunchKernelGGL, HIP Graph, HIPRTC, hipify, rocBLAS, MIOpen, RCCL, rocprofv3, amd-smi, rocminfo, CDNA1-4 / RDNA1-4, MI300 / MI350, gfx942, Matrix Core, wave32/64。

Fandhe-AI/agent-reference-skills42026年10月11日 更新

android-architecture

無料日本語概要

Android アプリ開発 (Kotlin) の推奨アーキテクチャリファレンス。 Jetpack, androidx, UI layer, Domain layer, Data layer, state holder, UDF, SSOT, オフラインファースト, モジュール化, ViewModel, viewModelScope, SavedStateHandle, Lifecycle, repeatOnLifecycle, collectAsStateWithLifecycle, LiveData, Hilt による DI, Paging 3 によるページング処理。

Fandhe-AI/agent-reference-skills42026年10月11日 更新

android-background-work

無料日本語概要

Android アプリ開発 (Kotlin) のバックグラウンド・非同期処理リファレンス。 Jetpack androidx WorkManager: Worker, CoroutineWorker, WorkRequest, Constraints, WorkInfo, WorkContinuation, expedited work, テスト。 Service: フォアグラウンドサービス, バウンドサービス, AIDL, Messenger。 AlarmManager, PendingIntent, BroadcastReceiver, JobScheduler, Doze。 Kotlin コルーチン, Flow, StateFlow, SharedFlow, Channel。

Fandhe-AI/agent-reference-skills42026年10月11日 更新

android-build-gradle

無料日本語概要

Android アプリ開発 (Kotlin) の Gradle ビルドシステムリファレンス。 Android Gradle Plugin (AGP), Kotlin DSL (build.gradle.kts), version catalog, KSP, R8/ProGuard, App Bundle, baseline profile。

Fandhe-AI/agent-reference-skills42026年10月11日 更新

android-compose-components

無料日本語概要

Android Jetpack Compose (Kotlin) の androidx Material3 コンポーネントリファレンス。 Button, IconButton, FloatingActionButton, Checkbox, Switch, Slider, TextField, SearchBar, DropdownMenu, Chip, DatePicker, TimePicker, Card, Scaffold, Dialog, BottomSheet, TopAppBar, NavigationBar, NavigationRail, Tab, Snackbar, ProgressIndicator, Badge, Icon, MaterialTheme, ColorScheme, Typography, Shapes。

Fandhe-AI/agent-reference-skills42026年10月11日 更新

Android Jetpack Compose (Kotlin) のアニメーション・描画リファレンス。 androidx.compose.animation / graphics API。 AnimatedVisibility, AnimatedContent, animate*AsState, Animatable, AnimationSpec, Canvas, DrawScope, Brush, Path, Color, Image。

Fandhe-AI/agent-reference-skills42026年10月11日 更新

Fandhe-AI のスキルをすべて見る

このスキルの問題を報告する