skill-debug-eval

Diagnose and fix Nix evaluation errors, build failures, and module conflicts.

14|3|Updated Jul 23, 2023
One-click install
npx skills add https://github.com/codgician/serenitea-pot --skill skill-debug-eval
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-debug-eval
Source: https://github.com/codgician/serenitea-pot/tree/main/.opencode/skills/skill-debug-eval
Command: npx skills add https://github.com/codgician/serenitea-pot --skill skill-debug-eval

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnoses and fixes Nix evaluation errors, build failures, and module conflicts, helping teams deploy stable configurations faster.

Core Features & Use Cases

  • Guided debugging patterns for common Nix errors including missing attributes, infinite recursion, and module misconfigurations.
  • REPL-assisted diagnosis to inspect options, configurations, and derivations in real time.
  • Pragmatic remediation workflows to reproduce failures, read logs, and apply incremental fixes in Nix/NixOS projects.

Quick Start

Use the guided debugging workflow to identify the root cause of a Nix eval or build failure and apply the recommended fixes.

Frequently Asked Questions about skill-debug-eval

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix infinite recursion errors in NixOS configurations?

To fix infinite recursion errors in NixOS configurations, apply guided debugging patterns and REPL-assisted diagnosis to inspect options and identify circular module dependencies, enabling incremental remediation for stable deployments.

What causes missing attribute errors during Nix evaluation?

Missing attribute errors during Nix evaluation are caused by misconfigurations or absent derivations. REPL-assisted diagnosis inspects configurations in real time to locate the missing attribute and apply pragmatic remediation workflows.

Can I use this to troubleshoot Nix build failures in development environments?

Yes, you can troubleshoot Nix build failures in development environments. The diagnostic workflow reproduces failures, reads logs, and applies incremental fixes for module conflicts across NixOS configurations and repository builds.

What is the best way to diagnose Nix module conflicts?

The best way to diagnose Nix module conflicts is using REPL-based analysis to inspect options and configurations in real time, following structured debugging patterns to reproduce failures and apply targeted fixes.

Why does my Nix eval error persist after fixing the configuration?

A Nix eval error may persist if deeper misconfigurations or missing attributes remain. Use pragmatic remediation workflows to read logs, inspect derivations via the REPL, and apply incremental fixes until the build succeeds.