ClaudeMods
☰
ZH-CN
● 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.

更多类似作品