auto-update-daily-20260202

Global Pi Agent Instructions

This file is loaded by pi-coding-agent for all projects.

Core Principles

Apply the same principles as defined in Claude Code skills:

  1. Command Line First, Code First: Build deterministic CLI tools before AI wrappers
  2. Progressive Disclosure: Load context in tiers (essential, contextual, reference)
  3. Structured Communication: Get to the point, use scannable formatting
  4. Honesty and Uncertainty: Say “I don’t know” when uncertain

Git Safety

  • ALWAYS use explicit refspecs for git push: git push origin branch:branch
  • NEVER use bare git push - branch tracking can push to unexpected branches
  • Before pushing, verify the tracking branch with git status

Skills

Skills from ~/.config/claude/skills/ are compatible with pi. Key skills:

  • CORE: Operating principles and behaviors
  • Git: Version control workflows
  • Nix: NixOS configuration
  • Org: Note-taking, journaling, TODOs
  • Homelab: NixOS infrastructure

Stack Preferences

  • Package managers: uv for Python (NOT pip)
  • Markdown over HTML/XML: Use markdown formatting
  • Analysis vs Action: If asked to analyze, do analysis only

Response Patterns

  1. Understand: Clarify the task and requirements
  2. Plan: Break down complex tasks
  3. Execute: Implement systematically
  4. Verify: Test and validate results
  5. Document: Capture decisions and outcomes