discipline-refactor-phase-2-planning
À propos
Cette compétence crée un plan de migration structuré pour refacturer des bases de code en architectures modulaires basées sur des disciplines. Elle génère des spécifications détaillées pour réorganiser le code source, les tests et la documentation en modules `_core` et spécifiques à chaque discipline. Les développeurs l'utilisent après l'analyse de la Phase 1 pour obtenir des plans d'action concrets de restructuration des répertoires avant la mise en œuvre.
Installation rapide
Claude Code
Recommandénpx skills add vamseeachanta/workspace-hub/plugin add https://github.com/vamseeachanta/workspace-hubgit clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/discipline-refactor-phase-2-planningCopiez et collez cette commande dans Claude Code pour installer cette compétence
Documentation
Phase 2: Planning
Phase 2: Planning
Spawn: Task with subagent_type=Plan
Call: @skill-creator for new discipline skills
Prompt:
Create module-based migration plan based on Phase 1 analysis.
Context: {analysis_results}
Create plan for ALL directories:
1. Package identification:
- Confirm package name: <package_name>
- Confirm disciplines: [_core, discipline-1, discipline-2, ...]
2. Code structure (src/):
BEFORE: src/<package>/feature1/, src/<package>/feature2/
AFTER: src/<package>/modules/_core/, src/<package>/modules/<discipline>/
3. Test structure:
BEFORE: tests/test_feature1.py, tests/integration/
AFTER: tests/modules/_core/, tests/modules/<discipline>/
4. Documentation structure:
BEFORE: docs/api/, docs/guides/
AFTER: docs/modules/_core/, docs/modules/<discipline>/
5. Specs structure:
BEFORE: specs/feature-spec.md, specs/plan.md
AFTER: specs/modules/<discipline>/, specs/templates/
6. Data structure (if exists):
BEFORE: data/raw/, data/processed/
AFTER: data/modules/<discipline>/
7. Skills structure:
BEFORE: .claude/skills/category/
AFTER: .claude/skills/<discipline>/
8. Import updates:
- from <package>.feature → from <package>.modules.<discipline>
- Update __init__.py files
- Update relative imports
9. Create README.md for each module with:
- Module purpose
- Key files
- Dependencies on other modules
Output executable task list for Phase 3.
Dépôt GitHub
Compétences associées
algorithmic-art
MétaThis Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.
subagent-driven-development
DéveloppementThis skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.
executing-plans
DesignUse the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.
cost-optimization
AutreThis Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.
