mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
Implement dynamic file discovery for components (PR #133)
Replace hardcoded file arrays with dynamic discovery system: - CoreComponent: Auto-discovers framework .md files in Core directory - CommandsComponent: Auto-discovers command .md files in Commands directory - Eliminates manual maintenance of file lists - Maintains backward compatibility and error handling - Adds comprehensive logging and validation Key changes: - Added _discover_framework_files() and _discover_command_files() methods - Added shared _discover_files_in_directory() utility - Replaced hardcoded arrays with dynamic discovery calls - Includes filtering, sorting, and error handling - Validates 9 framework files and 16 command files correctly - Clean up documentation formatting Resolves maintenance burden described in PR #133 while preserving all existing functionality and security validation. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
# COMMANDS.md - SuperClaude Command Execution Framework
|
||||
|
||||
---
|
||||
framework: "SuperClaude v3.0"
|
||||
execution-engine: "Claude Code"
|
||||
wave-compatibility: "Full"
|
||||
---
|
||||
|
||||
Command execution framework for Claude Code SuperClaude integration.
|
||||
|
||||
## Command System Architecture
|
||||
|
||||
@@ -531,8 +531,3 @@ orchestrator_config:
|
||||
|
||||
### Custom Routing Rules
|
||||
Users can add custom routing patterns via YAML configuration files.
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user