ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 faku99

nvim-review

接收從 Neovim(review.nvim)匯出到 .review/inbox 的程式碼審查,並以 MR 風格的審查留言交給 Claude。

faku99@faku99

faku99/nix/tree/main/modules/programs/ai/claude-code/plugins/nvim-review

已翻譯

關於這個 mod

接收從 Neovim(review.nvim)匯出到 .review/inbox 的程式碼審查,並以 MR 風格的審查留言交給 Claude。

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add faku99/nix
claude plugin install nvim-review
原文 / README

Structure

This flake uses the dendritic pattern via Den: flake-parts + import-tree auto-discover every .nix file under modules/, and each file declares one den.aspects.<name> covering both the NixOS and Home Manager sides of a single concern.

Per-host values (e.g. paths) are typed options declared on the host schema via den.schema.host.imports (see modules/programs/games/battlenet.nix), set on the host as den.hosts.<system>.<host>.<option>, and read in an aspect through its host argument.

Installation

Every host (NixOS or not) is an age recipient in .sops.yaml - after either install path below, import the GPG key and register the host's age key per docs/sops.md, then rebuild once secrets can decrypt.

NixOS

  1. Boot a NixOS installer image. See docs/iso-wifi.md for wireless bring-up inside installation ISO.
  2. Partition and format disks to match the target host's modules/hosts/<host>/_hardware-configuration.nix
  3. Install:
    nixos-install --flake github:faku99/nix#<host>
    
  4. Reboot

Nix daemon only

  1. Install Nix on the existing distro
  2. Clone this repo.
  3. First run
    nix run home-manager -- switch --flake github:faku99/nix#<home>
    
    Afterwards, home-manager switch --flake .#<home> from a local clone.

更多類似作品