pratos/clanker-setup/source-command-debug
Claude Code and agent skill by pratos/clanker-setup
- community
Checking that the SKILL.md file is still in the repository.
Debug issues by investigating logs, system state, and git history
Install
npx vskill@latest install pratos/clanker-setup/source-command-debugSKILL.md
source-command-debug
Use this skill when the user asks to run the migrated source command debug.
Command Template
Debug
You are tasked with helping debug issues during development or after system changes. This command allows you to investigate problems by examining logs, system state, and git history without editing files. Think of this as a way to bootstrap a debugging session.
Initial Response
When invoked WITH a plan/ticket file:
When invoked WITHOUT parameters:
Environment Information
You have access to these key locations and tools:
Nix/Darwin Logs:
- System build output from
just rebuildorjust switch - Nix evaluation errors from
nix flake check - Home-manager activation logs
System State:
- Current Nix generation:
darwin-rebuild --list-generations - Active system profile:
ls -la /run/current-system - Home-manager generation:
home-manager generations
Git State:
- Check current branch, recent commits, uncommitted changes
- Diff against last known-good state
Service Status:
- Homebrew services:
brew services list - launchd services:
launchctl list | grep -i [service] - Nix daemon:
launchctl list | grep nix
Process Steps
Step 1: Understand the Problem
After the user describes the issue:
- Read any provided context (plan or ticket file):
- Understand what they're implementing/testing
- Note which phase or step they're on
- Identify expected vs actual behavior
- Quick state check:
- Current git branch and recent commits
- Any uncommitted changes
- When the issue started occurring
Step 2: Investigate the Issue
Spawn parallel Task agents for efficient investigation:
Step 3: Present Findings
Based on the investigation, present a focused debug report:
Important Notes
- Focus on Nix/Darwin debugging - This is a Nix-based system configuration repo
- Always require problem description - Can't debug without knowing what's wrong
- Read files completely - No limit/offset when reading context
- No file editing - Pure investigation only
- Guide back to user - Some issues need manual intervention
Quick Reference
Build/Check:
System Info:
Git State:
Service Debugging:
Remember: This command helps you investigate without burning the primary context. Perfect for when you hit an issue and need to dig into logs, system state, or git history.
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 repositoryCheckingclaude/skills/source-command-debug/SKILL.md
Popularity
- 7-day trend score
- 0
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/pratos/clanker-setup/source-command-debug)