homelab-workflow
Enforce homelab-proxmox workflow patterns including single source of truth documentation, prompt logging, git commits, environment variables, and phase tracking. Use this skill when completing tasks, updating docs/ or CLAUDE.md files, or when workflow compliance validation is needed. Provides AI-powered fixes for violations.
When & Why to Use This Skill
The Homelab Workflow Enforcer is a specialized Claude skill designed to automate and standardize project management for homelab-proxmox environments. It ensures high-quality documentation by enforcing a 'single source of truth' across hardware, network, and software logs, while simultaneously managing git commit integrity and environment variable security. By providing AI-powered validation and real-time fixes, this skill helps developers maintain a clean, secure, and well-documented codebase with minimal manual overhead.
Use Cases
- Documentation Consistency: Automatically audit CLAUDE.md and docs/ files to ensure technical specs (like RAM or IP ranges) are stored in a single location and referenced correctly, preventing data duplication.
- Security Hardening: Scan Terraform or configuration files for hardcoded IP addresses and secrets, providing automated fixes to move sensitive data into .envrc files.
- Workflow Compliance: Use the /validate command to check for uncommitted git changes and verify that project phase checkboxes accurately reflect the current state of development.
- Automated Activity Logging: Leverage the built-in stop hooks to automatically log prompt history and update 'Last Updated' timestamps, ensuring a transparent audit trail of all AI-assisted changes.
| name | homelab-workflow |
|---|---|
| description | Enforce homelab-proxmox workflow patterns including single source of truth documentation, prompt logging, git commits, environment variables, and phase tracking. Use this skill when completing tasks, updating docs/ or CLAUDE.md files, or when workflow compliance validation is needed. Provides AI-powered fixes for violations. |
Homelab Workflow Enforcer
Enforce workflow patterns for the homelab-proxmox project with AI-powered validation and fixes.
When to Use
- User runs
/validatecommand - Making changes to CLAUDE.md or docs/ files
- Completing significant tasks
- Checking workflow compliance
Automated Systems
Prompt Logging: Automatic via Stop hook (.claude/hooks/stop). Logs to logs/prompts.log after every response.
Core Checks
1. Documentation Compliance (Single Source of Truth)
| File | Contains |
|---|---|
docs/HARDWARE.md |
Physical hardware specs, exact models, capacities |
docs/NETWORK.md |
Network config, VLANs, IP addressing |
docs/SOFTWARE.md |
Software stack, versions |
docs/LINKS.md |
Reference links |
CLAUDE.md |
Project plan, phases, architecture decisions |
Violation: Specs duplicated in CLAUDE.md (e.g., listing "MS-01 with 96GB RAM") Fix: Remove specs from CLAUDE.md, reference docs/ instead
2. Git Commit Status
Check for uncommitted changes:
git status --porcelain
When uncommitted changes found, commit with standard format.
3. CLAUDE.md Status
Verify:
- "Last Updated" date is today (if changes made)
- Phase checkboxes match actual progress
- "Current Status" reflects reality
4. Environment Variables
Scan for hardcoded values (IPs, secrets, URLs) that should be in .envrc.
Violation: Hardcoded IP 10.20.11.80 in terraform
Fix: Add to .envrc and .envrc.example, use ${VARIABLE_NAME}
Validation Process
- Run
git statusfor uncommitted changes - Read CLAUDE.md for status accuracy
- Check for duplication between CLAUDE.md and docs/
- Scan for hardcoded values
- Report violations and offer fixes
Quick Reference
After completing work:
- Update docs/ files with new information
- Update CLAUDE.md status and checkboxes
- Check for duplication (AI reads both and compares)
- Commit changes
Validation command: /validate