Refactor an existing Tradovate JavaScript indicator for better organization and performance
<filename> [--organize|--validate|--optimize|--cleanup]tradovate/# Refactor Tradovate Indicator Refactor an existing Tradovate JavaScript indicator. Arguments: $ARGUMENTS ## Before Refactoring 1. Read the target file completely to understand current structure 2. Identify improvement opportunities (organization, validation, performance) 3. Use WebSearch to verify any API patterns if needed 4. Present a refactoring plan with specific changes 5. Wait for my approval before making any edits ## Refactoring Types ### --organize (Code Organization) - Order class methods: init() → map() → filter() - Group related code with comments - Organize module.exports...
`/project:refactor.md <REFACTOR_SCOPE>`
Implémente une refactorisation de code sûre et progressive, évalue quantitativement le respect des principes SOLID. Visualise la dette technique et clarifie les priorités d'amélioration.
Implementa refactorización de código segura y gradual, evalúa cuantitativamente la adherencia a los principios SOLID. Visualiza la deuda técnica y clarifica las prioridades de mejora.
安全で段階的なコードリファクタリングを実施し、SOLID 原則の遵守状況を定量的に評価します。技術的負債を可視化し、改善の優先順位を明確にします。
안전하고 단계적인 코드 리팩터링을 실시하며, SOLID 원칙의 준수 상황을 정량적으로 평가합니다. 기술적 부채를 가시화하고, 개선의 우선순위를 명확히 합니다.