colonelpanic8/dotfiles/nixpkgs-review
Claude Code and agent skill by colonelpanic8/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Review or prepare nixpkgs package changes and PRs using a checklist distilled from review feedback on Ivan Malison's own NixOS/nixpkgs pull requests. Use when working in nixpkgs on package inits, updates, packaging fixes, or before opening or reviewing a nixpkgs PR.
Install
npx vskill@latest install colonelpanic8/dotfiles/nixpkgs-reviewSKILL.md
Nixpkgs Review
Use this skill when the task is specifically about reviewing or tightening a change in NixOS/nixpkgs.
The goal is not generic style review. The goal is to catch the kinds of issues that repeatedly came up in real nixpkgs feedback on Ivan's PRs: derivation structure, builder choice, metadata, PR hygiene, and JS packaging details.
Workflow
- Read the scope first.
Open the changed package.nix files, related metadata, and the PR title/body if there is one.
- Run the historical checklist below.
Bias toward concrete review findings and actionable edits, not abstract style commentary.
- Validate the package path.
Use the narrowest reasonable validation for the task: targeted build, package eval, or nixpkgs-review when appropriate.
- If you are writing a review:
Lead with findings ordered by severity, include file references, and tie each point to a nixpkgs expectation.
- If you are preparing a PR:
Fix the checklist items before opening it, then confirm title/body/commit hygiene.
Historical Checklist
Derivation structure
- Prefer
finalAttrsoverrecfor derivations and nested derivations when self-references matter. - Prefer
tag = "v${...}"overrevwhen fetching a tagged upstream release. - Check whether
strictDeps = true;should be enabled. - Use the narrowest builder/stdenv that matches the package. If no compiler is needed, consider
stdenvNoCC. - Put source modifications in
postPatchor another appropriate hook, not insidebuildPhase. - Prefer
makeBinaryWrapperovermakeWrapperwhen a compiled wrapper is sufficient. - Keep wrappers aligned with
meta.mainProgramso overrides remain clean. - Avoid
with lib;in package expressions; prefer explicitlib.*references.
Metadata and platform expectations
- For new packages, ensure maintainers are present and include the submitter when appropriate.
- Check whether platform restrictions are justified. Do not mark packages Linux-only or broken without evidence.
- If a package is only workable through patch accumulation and has no maintainer, call that out directly.
JS, Bun, Electron, and wrapper-heavy packages
- Separate runtime deps from build-only deps. Large closures attract review attention.
- Remove redundant env vars and duplicated configuration if build hooks already cover them.
- Check bundled tool/runtime version alignment, especially browser/runtime pairs.
- Install completions, desktop files, or icons when upstream clearly ships them and the package already exposes the feature.
- Be careful with wrappers that hardcode env vars users may want to override.
PR hygiene
- PR title should match nixpkgs naming and the package version.
- Keep the PR template intact unless there is a strong reason not to.
- Avoid unrelated commits in the PR branch.
- Watch for duplicate or overlapping PRs before investing in deeper review.
- If asked, squash fixup history before merge.
Review Output
When producing a review, prefer this shape:
- Finding: what is wrong or risky.
- Why it matters in nixpkgs terms.
- Concrete fix, ideally with the exact attr/hook/builder to use.
If there are no findings, say so explicitly and mention remaining validation gaps.
References
- Read references/review-patterns.md for the curated list of recurring review themes and concrete PR examples.
- Run
scripts/mine_pr_feedback.py --repo NixOS/nixpkgs --author colonelpanic8 --limit 20 --format markdownto refresh the source material from newer PRs.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdotfiles/agents/skills/nixpkgs-review/SKILL.md
Popularity
- Repository stars
- 220
- Repository forks
- 21
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/colonelpanic8/dotfiles/nixpkgs-review)