Conversation
Major Changes: - Add standard/custom rules directory structure for better update management - Implement automatic migration system for existing installations - Fix Bash 3.2 compatibility issues (removes associative arrays) - Add yq auto-installation for YAML config merging - Add comprehensive dependency checking at install start Rules System: - .claude/rules/standard/ - Always updated by install script - .claude/rules/custom/ - Never touched, preserved across updates - config.yaml now has standard/custom sections per command - Custom rules prefixed with 'custom:' to allow name conflicts Migration: - scripts/lib/migration.sh - Handles upgrades from old structure - Asks user consent before moving old rules to standard/ - Creates backup before migration - Converts config.yaml to new standard/custom format Install Improvements: - Move setup-env.sh to scripts/lib/ for better organization - Add ensure_yq() for YAML processing - Add check_required_dependencies() for early validation - Fix default answer capitalization (Y/n, y/N format) - Preserve custom rules during config.yaml updates Build Script Fixes: - Remove Bash 4+ associative arrays requirement - Use temp files for rule storage (Bash 3.2+ compatible) - Support standard/ and custom/ rule loading - Custom skills named @custom-skillname Documentation: - Update README with standard/custom rules explanation - Document migration workflow - Clarify update behavior 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Changes: - Add --local flag to install.sh for testing without GitHub downloads - Update _bootstrap_download() to support local file copying - Update download_file() to use local files when LOCAL_MODE=true - Update get_repo_files() to use local find when LOCAL_MODE=true - Update E2E tests to use --local flag for CI/CD - All tests now use local files instead of downloading from GitHub Usage: Local testing: bash scripts/install.sh --local --non-interactive --skip-env CI/CD: Already integrated in tests/e2e/test-install.sh This ensures CI/CD tests use the code from the current commit instead of downloading from GitHub, preventing version mismatches. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
|
🎉 This PR is included in version 2.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Contributor
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements a comprehensive standard/custom rules system that allows users to maintain their custom rules while receiving standard rule updates. Includes automatic migration for existing installations.
Key Features
🎯 Standard/Custom Rules System
.claude/rules/standard/) - Always updated by install script.claude/rules/custom/) - Never touched, preserved across updatesconfig.yamlnow hasstandard:andcustom:sections per commandcustom:)🔄 Automatic Migration
scripts/lib/migration.shhandles upgrades from old structureconfig.yamlto new format automatically🛠️ Install Script Improvements
setup-env.shtoscripts/lib/📦 Build Script Fixes
standard/andcustom/directories@custom-skillnameMigration Flow
For users upgrading from older versions:
.claude/rules.backup.[timestamp]core/,extended/,workflow/tostandard/custom/directoriesconfig.yamlto new formatTesting Checklist
Breaking Changes
None - migration is automatic and backward compatible.
Documentation
🤖 Generated with Claude Code