10 Commits

  • Add skills installation to all 3 installers (manual, auto, prompt)
    FEATURES:
    - All 3 installation methods now include skills installation
    - Skills are user-invocable slash commands (like /ui-ux-pro-max)
    
    CHANGES:
    
    1. Interactive Installer (interactive-install-claude.sh)
       - Added skills directory creation
       - Automatic skills installation from repository
       - Copies all skills to ~/.claude/skills/
       - Makes Python scripts executable
       - Displays skills count in summary
    
    2. Master Prompt (MASTER-PROMPT.md)
       - Updated Step 1.5 with current repository structure
       - Simplified skills installation instructions
       - Removed deprecated external repository references
       - Uses local repository files
    
    3. Manual Installation (README.md)
       - Updated Step 4 with skills installation
       - Clear verification steps
       - Explains what skills provide
       - Proper chmod +x for scripts
    
    SKILLS NOW INCLUDED:
    - ui-ux-pro-max: Design patterns, colors, typography
    - 50+ design styles (minimalism, glassmorphism, etc.)
    - Search 8 domains: landing, style, product, color, typography
    - Python script search.py for design recommendations
    
    TESTING:
    - All 3 installers tested and working
    - Skills install to correct location: ~/.claude/skills/
    - Python scripts are executable
    - Skills count shows in installation summary
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
  • Enhance Ralph hook with background task spawning
    BREAKING CHANGE: Ralph now runs as background process (non-blocking)
    
    Changes:
    - Enhanced ralph-auto-trigger.sh to spawn Ralph in background
    - Hook immediately returns to Claude Code (NON-BLOCKING)
    - Ralph runs via nohup (survives terminal close)
    - Added PID tracking: ~/.claude/ralph.pid
    - Added lock file: ~/.claude/ralph.lock
    - Added log file: ~/.claude/ralph-output.log
    - Added trigger log: ~/.claude/ralph-trigger.log
    - Added RALPH_MAX_ITERATIONS environment variable (default: 50)
    
    Features:
    - Background execution: Claude Code continues immediately
    - Process tracking: PID saved for monitoring/stopping
    - Lock mechanism: Prevents duplicate Ralph instances
    - Real-time monitoring: tail -f ~/.claude/ralph-output.log
    - Graceful cleanup: Auto-cleanup of dead process locks
    
    Updated files:
    - MASTER-PROMPT.md: Enhanced hook script + usage instructions
    - interactive-install-claude.sh: Enhanced install_ralph() function
    - ~/.claude/hooks/ralph-auto-trigger.sh: Updated local installation
    
    Usage:
    - Ralph auto-starts in background when agents are requested
    - Monitor: tail -f ~/.claude/ralph-output.log
    - Stop: kill $(cat ~/.claude/ralph.pid)
    - Configure: export RALPH_AUTO_MODE=agents|always|off
    - Configure: export RALPH_MAX_ITERATIONS=100
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
  • Add Ralph CLI integration to interactive installer
    Changes:
    - Add INSTALL_RALPH=false variable
    - Add select_ralph() function (Step 6: Ralph CLI Selection)
    - Add install_ralph() function with full Ralph CLI setup
    - Add MAGENTA color definition
    - Update step numbers: Prerequisites Check (Step 7), Claude Code Install (Step 8), Installation (Step 10)
    - Update perform_installation() to call install_ralph()
    - Update show_summary() to display Ralph CLI status
    - Update main() to call select_ralph()
    - Fix line endings (CRLF -> LF)
    
    Ralph CLI integration includes:
    - npm global install: @iannuttall/ralph
    - Auto-trigger hook: ~/.claude/hooks/ralph-auto-trigger.sh
    - hooks.json configuration for UserPromptSubmit
    - ralph-config.env for environment variables
    - Modes: always/agents/off
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
  • Update MASTER-PROMPT: Add Ralph CLI to overview section
    Changes:
    - Update component count: 6 → 7 major components
    - Add Ralph CLI as component #6 with (Advanced - Optional) label
    - Shift claude-codex-settings to component #7
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
  • Add real-time GitHub sync to installers and sync script
    Interactive installer (interactive-install-claude.sh):
    - Add fetch_latest_agents() function to check GitHub for updates
    - Clone latest agents from contains-studio/agents before installing
    - Update local agents directory with upstream changes
    - Gracefully fallback to local agents if GitHub fetch fails
    - Call fetch_latest_agents() before install_agents() in main flow
    
    Sync script (sync-agents.sh):
    - Add REPO_AGENTS_DIR environment variable support
    - Automatically update repository agents directory when syncing
    - Keep installer agents in sync with Claude Code agents
    
    This ensures users always get the latest agents from upstream GitHub
    while maintaining customizations in the local repository.
  • Update installers for new agents and sync script
    Interactive installer:
    - Fix agents source path (was claude-complete-package/agents, now agents/)
    - Add mkdir -p for each agent category
    - Install sync-agents.sh script to ~/.claude/
    - Remove duplicate bonus section
    
    Verify script:
    - Add checks for new critical agents:
      - experiment-tracker
      - studio-coach
      - agent-updater
    - Add sync-agents.sh existence and executable check
  • Add ui-ux-pro-max installation to automation script
    - Added ui-ux-pro-max agent installation to design section
    - Includes fallback download from repository
    - Completes synchronization across all installation methods
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
  • Add llm-tldr integration and update documentation
    - Add llm-tldr (95% token reduction) to all installation methods
    - Update MASTER-PROMPT.md with all 6 sources and real-life examples
    - Update README.md with comprehensive source guide
    - Update automation script with TLDR installation and MCP config
    - Update INTEGRATION-GUIDE.md to clarify Z.AI MCP tools work with GLM
    - Add MCP explanation and link to modelcontextprotocol.io
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
  • Integrate official Z.AI GLM configuration into automation scripts
    - Add GLM model mappings (glm-4.5-air, glm-4.7) to settings.json
    - Update both new and existing file creation paths
    - Add version verification guidance (2.0.14+ recommended)
    - Reference official Z.AI documentation (https://docs.z.ai/devpack/tool/claude)
    - Add troubleshooting steps from official docs
    - Add /status command verification instructions
    - Display GLM configuration summary after setup
    - Update API help text to include official docs link