Skip to content

refactor: modularize registry command structure#29

Merged
aroff merged 1 commit into
mainfrom
refactor/registry
Jan 28, 2026
Merged

refactor: modularize registry command structure#29
aroff merged 1 commit into
mainfrom
refactor/registry

Conversation

@aroff

@aroff aroff commented Jan 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Refactor monolithic registry.rs into organized submodules for better maintainability and code organization
  • Add GitHub Actions workflow for automatic deployment on merge
  • Add comprehensive test runner script for local development

Changes

Registry Refactoring

Split the large registry.rs file (1,307 lines) into focused submodules:

  • formatters.rs: Display and output formatting utilities
  • helpers.rs: Common utilities and configuration management
  • marketplace.rs: Marketplace browsing and discovery functionality
  • repo_ops.rs: Repository management operations (add, remove, list, etc.)
  • skill_ops.rs: Skill-related operations (search, info, versions, etc.)
  • mod.rs: Main command structure and routing

This improves code maintainability, reduces file size, and makes the codebase easier to navigate.

CI/CD Improvements

  • Add .github/workflows/auto-deploy-on-merge.yml for automated deployments
  • Add scripts/run-tests.sh for comprehensive local test execution

Other Changes

  • Remove unused repo_type_to_string helper function
  • Update .gitignore patterns
  • Update dependencies in Cargo.lock

Test Plan

  • All unit tests pass (85 tests)
  • All integration tests pass
  • Clippy checks pass with no warnings
  • Code formatting verified
  • Documentation builds successfully
  • Pre-commit and pre-push hooks pass

🤖 Generated with Claude Code

Split monolithic registry.rs into organized submodules for better maintainability:
- formatters.rs: Display and output formatting
- helpers.rs: Common utilities and configuration
- marketplace.rs: Marketplace browsing functionality
- repo_ops.rs: Repository management operations
- skill_ops.rs: Skill-related operations

Also includes:
- Add GitHub Actions workflow for auto-deployment
- Add comprehensive test runner script
- Update dependencies
@aroff aroff merged commit ea9c411 into main Jan 28, 2026
@aroff aroff deleted the refactor/registry branch January 28, 2026 20:10
aroff added a commit that referenced this pull request Mar 2, 2026
Split monolithic registry.rs into organized submodules for better maintainability:
- formatters.rs: Display and output formatting
- helpers.rs: Common utilities and configuration
- marketplace.rs: Marketplace browsing functionality
- repo_ops.rs: Repository management operations
- skill_ops.rs: Skill-related operations

Also includes:
- Add GitHub Actions workflow for auto-deployment
- Add comprehensive test runner script
- Update dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant