Skip to content

refactor(commands): simplify command modules and add fessctl skill#25

Merged
marevol merged 1 commit intomainfrom
refactor/simplify-command-modules
Mar 5, 2026
Merged

refactor(commands): simplify command modules and add fessctl skill#25
marevol merged 1 commit intomainfrom
refactor/simplify-command-modules

Conversation

@marevol
Copy link
Contributor

@marevol marevol commented Mar 5, 2026

Summary

  • Refactored all 22 command modules to reduce boilerplate and improve consistency
  • Expanded utils.py with shared helper functions
  • Updated and expanded test coverage in test_utils.py
  • Added .claude/skills/fessctl/SKILL.md for AI-assisted Fess management

Changes Made

  • Command modules (22 files): Simplified implementation patterns, reducing net ~457 lines while maintaining full functionality
  • utils.py: Added shared utilities used across command modules
  • test_utils.py: Expanded test coverage to match new utility functions
  • pyproject.toml: Minor dependency cleanup
  • uv.lock: Updated lock file

Testing

  • Existing unit tests updated to cover new utility functions
  • All command modules follow consistent refactored patterns

Additional Notes

  • Net reduction of ~457 lines improves maintainability
  • The fessctl skill file enables Claude to assist with Fess management tasks directly

🤖 Generated with Claude Code

Refactor all command modules to reduce boilerplate and improve consistency.
Expand utils.py with shared helpers, update test coverage accordingly,
and add a Claude skill file for fessctl to enable AI-assisted management.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@marevol marevol merged commit 0f23f0e into main Mar 5, 2026
2 checks passed
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