Skip to content
Back to skills

Phase 3 Execution

ASecurity

Sub-skill of discipline-refactor: Phase 3: Execution.

  • 17 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
documentationgorefactoringgitci/cddocumentation

Security analysis

A100/100

Scanned September 24, 2026

npx -y skills add vamseeachanta/workspace-hub --skill phase-3-execution --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Phase 3 Execution?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Phase 3 Execution
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-phase-3-execution/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-phase-3-execution)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: discipline-refactor-phase-3-execution
description: 'Sub-skill of discipline-refactor: Phase 3: Execution.'
version: 2.0.0
category: _internal
type: reference
scripts_exempt: true
---

# Phase 3: Execution

## Phase 3: Execution


**Spawn**: `Task` with `subagent_type=general-purpose`

**Call**: `@git-sync-manager`, `@parallel-batch-executor`

**Prompt**:
```
Execute module-based refactoring:

Migration Plan: {migration_plan}
Package Name: {package_name}
Disciplines: {disciplines}

Execute in order:

1. BACKUP:
   git tag pre-module-refactor-$(date +%Y%m%d)

2. CREATE MODULE STRUCTURE:
   # For each discipline in [_core, discipline-1, ...]:
   mkdir -p src/<package>/modules/<discipline>
   mkdir -p tests/modules/<discipline>
   mkdir -p docs/modules/<discipline>
   mkdir -p specs/modules/<discipline>
   mkdir -p data/modules/<discipline>  # if data/ exists
   mkdir -p .claude/skills/<discipline>

3. MOVE CODE:
   # Move source files to appropriate modules
   # Update __init__.py in each module
   # Preserve git history with git mv

4. MOVE TESTS:
   # Move test files to mirror source structure
   # Update test imports

5. MOVE DOCS:
   # Move documentation to module folders
   # Update internal links

6. MOVE SPECS:
   # Move specifications to module folders
   # Keep templates/ at top level

7. UPDATE IMPORTS:
   # Search and replace import paths
   # from <pkg>.old_path → from <pkg>.modules.<discipline>
   # Update conftest.py
   # Update pyproject.toml entry points

8. UPDATE CONFIGS:
   # pyproject.toml: packages, entry points
   # Update CI/CD paths
   # Update Makefile/scripts

9. CREATE MODULE README:
   # Add README.md to each module explaining purpose

Report progress. Stop on failure.
```

---

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.