fleet-doctor

fleet-doctor

フリート内のリポジトリ、PR、CI、Flake入力、Nixストア、ホスト世代を横断的に監査・整合性確認するスキル。

AIスキル大辞典による日本語要約
品質評価86/100評価確度:暫定
人気度(GitHub Star) 0発掘スコア 99
01

このSkillでできること

  • ✓フリートマニフェストに登録されたリポジトリのブランチ、ワークツリー、同期状態を確認する
  • ✓未マージPR、CI結果、古いFlake入力、Nixストアやホスト世代の状態を調査する
  • ✓audit、fix、scopeモードで全体監査、機械的修正、対象限定の確認を行う
  • ✓必要に応じて既存のgit-purity、pr-title、nix-hygiene、activateなどと連携する
02

使い方

01
STEP 1

問題を確認するだけならauditモードを指定する

02
STEP 2

機械的な自動修正を適用する場合はfixモードを指定する

03
STEP 3

特定のリポジトリまたはmacosホストだけを対象にする場合はscopeを指定する

04
STEP 4

マージ、強制プッシュ、秘密情報の変更、破壊的な操作などは確認を求める

03

Skillのインストール

このGitHubリポジトリにあるSkillを確認し、現在の環境に適した方法でインストールしてください。
インストール後、正常に利用できることを確認し、基本的な使い方も簡潔に説明してください。

Repository:
https://github.com/kattakath/nix-config
手動でインストールする

README / SKILL.mdから機械抽出できたコマンドのみ表示しています。推測したコマンドではありません。

curl -fsSL https://raw.githubusercontent.com/kattakath/nix-config/main/bootstrap.sh | bash -s -- --check
curl -fsSL https://raw.githubusercontent.com/kattakath/nix-config/main/bootstrap.sh | bash
mkdir my-fleet && cd my-fleet
nix flake init -t github:kattakath/nix-config
curl -fsSL https://raw.githubusercontent.com/<you>/nix-config/main/bootstrap.sh \
| bash -s -- --flake=github:<you>/nix-config
bootstrap.sh    No-Nix curl entrypoint: install Determinate Nix, then hand off to the flake
flake.nix       Entry point: inputs/pins and ONE `flake-parts.lib.mkFlake` call — every output itself lives in modules/parts/
flake.lock      Pinned input revisions (bumped via `nix flake update`, never hand-edited); its node count is held down by a deliberate `follows` diet plus ADR-002's capsule absorption
treefmt.nix     Single source of truth for formatting + lint (drives nix fmt, CI, and the hook)
hosts/          Per-host entry profiles: macos.nix, nixpi.nix, nixvm.nix, nixos.nix — plus identity-free generic-darwin.nix / generic-linux.nix, which `checks.<system>.template-consumer` builds on
modules/        parts/ (the flake engine), features/ (capsules — absorbed satellite flakes, one dir each, each owning its own module + packages + checks), and the reusable modules split by platform (darwin/ nixos/ home/), plus _lib/ (shared data)
packages/       Nix-built artifacts with no capsule owner (devcontainer image, SD-card provisioning apps, single-purpose CLIs). A capsule's own packages live under modules/features/<name>/packages/
templates/      Flake template for `nix flake init -t github:kattakath/nix-config` — a starter consumer fleet flake
infra/          terranix (Nix → Terraform JSON): five stacks for the Cloudflare edge + the GCP foundation, applied only through the flake's own 
04

このSkillを使うプロンプト例

Skill名を明示すると、意図したSkillを使わせやすくなります。自動発動型では必須とは限りません。

/fleet-doctor audit
/fleet-doctor fix
/fleet-doctor scope macos
出力例を見る
## Fleet-doctor report
- **Mode:** audit
- **Scope:** full fleet
- **Branches/worktrees:** clean
- **Open PRs:** none
- **CI:** all green
- **Verdict:** CLEAN
05

安全性チェック

自動解析による参考情報です。Skillの安全性を保証するものではありません。

外部API通信検出あり
Shellコマンド実行明確な記述なし
ファイル読み取り明確な記述なし
ファイル書き込み明確な記述なし
ネットワークアクセス検出あり
認証情報検出あり
検出根拠を見る
  • network: d…] push to `main` as a rolling release to [FlakeHub](https://flakehub.com/flake/kattakath/nix-config) via [`flakehub-push`](https://github.com/Determin
  • network: .com/flake/kattakath/nix-config) via [`flakehub-push`](https://github.com/DeterminateSystems/flakehub-push). Auth is OIDC (`id-token: write`) — no long-l
  • credential: ate", or after a multi-repo change (identity rename, secret rotation, cross-repo pin bump) that needs to land and propagate everywhere. Composes gi
  • credential: a change that starts in `nix-config` (e.g. a rename, a secret rotation, a shared-input bump) has downstream effects across every repo in the fleet mani
  • dangerous: g `secrets/*.age`, anything with `secret set` | | — | `sudo nix-collect-garbage -d` on the host — determinate-nixd collects in the background on maco
06

関連Skill