discipline-refactor-phase-1-analysis
Sub-skill of discipline-refactor: Phase 1: Analysis.
Best use case
discipline-refactor-phase-1-analysis is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of discipline-refactor: Phase 1: Analysis.
Teams using discipline-refactor-phase-1-analysis should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/phase-1-analysis/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How discipline-refactor-phase-1-analysis Compares
| Feature / Agent | discipline-refactor-phase-1-analysis | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of discipline-refactor: Phase 1: Analysis.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# Phase 1: Analysis ## Phase 1: Analysis **Spawn**: `Task` with `subagent_type=Explore` **Prompt**: ``` Analyze the repository for discipline-based, module-based refactoring: 1. Identify package name: - Check pyproject.toml [project.name] or [tool.poetry.name] - Check package.json name - Check existing src/<name>/ structure - Derive from repo name if not found 2. Scan ALL top-level directories: - src/ - code structure - tests/ - test organization - docs/ - documentation structure - specs/ - specifications - data/ - data files - logs/ - log files - .Codex/skills/ - skill organization 3. Identify disciplines from existing code: - What domain modules exist? - What functional areas are present? - Map existing directories to discipline names 4. Check for existing modules/ patterns: - Already have src/<pkg>/modules/? - Already have tests/modules/? - What's the current organization level? 5. Output discipline mapping: - Suggested disciplines (use consistent names) - Current path → new module path for each folder - Package name to use Report in structured format for Phase 2. ``` ---
Related Skills
mnt-analysis-cleanup
Survey, classify, and clean up `/mnt/local-analysis/` (or any sibling-to-workspace-hub directory holding orphan worktrees, codex-burn artifacts, agent log accumulations, and outer-clone duplicates) without losing useful code/work. Surfaces a tiered approval menu rather than baking decisions; defers all destructive ops until user confirms.
gtm-prospect-pipeline-phased-execution
Phased execution pattern for
repo-architecture-analysis
Scan a Python repo's package structure, count classes/functions, classify module maturity (PRODUCTION/DEVELOPMENT/SKELETON/GAP), and generate architecture reports with Mermaid diagrams. Use when asked to analyze codebase structure, find untested packages, or assess module maturity.
viv-analysis
Assess vortex-induced vibration (VIV) for risers and tubular members with natural frequency and safety factor calculations. Use for VIV susceptibility analysis, natural frequency calculation, vortex shedding assessment, and tubular member fatigue from VIV.
structural-analysis
Structural analysis for marine and offshore structures per DNV/API/ISO codes. Use when performing ULS/ALS limit state checks, column buckling, beam deflection, tubular joint capacity (DNV-RP-C203), or stiffened panel analysis. Covers section properties, combined loading, and ALS dented pipe assessment.
signal-analysis
Perform signal processing, rainflow cycle counting, and spectral analysis for fatigue and time series data. Use for analyzing stress time histories, computing FFT/PSD, extracting fatigue cycles (ASTM E1049-85), and batch processing OrcaFlex signals.
orcawave-qtf-analysis
Second-order wave force QTF computation in OrcaWave. Use when computing mean drift forces, difference-frequency or sum-frequency QTFs, slow-drift response, or applying Newman approximation for offshore structures.
orcaflex-modal-analysis
Perform modal and frequency analysis on OrcaFlex models to extract natural frequencies, mode shapes, and identify dominant DOF responses. Use for VIV assessment, resonance identification, and structural dynamics characterization.
orcaflex-jumper-analysis
Rigid and flexible jumper modelling in OrcaFlex covering installation analysis, in-place analysis, VIV screening, and fatigue assessment.
orcaflex-installation-analysis
Create and analyze OrcaFlex models for offshore installation sequences including subsea structure lowering, pipeline installation, and crane operations. Generate models at multiple water depths and orientations for installation feasibility studies.
orcaflex-extreme-analysis
Extract extreme response values with linked statistics from OrcaFlex simulations. Use for design load identification, max/min extraction with associated values, and extreme event characterization.
diffraction-analysis
Master skill for hydrodynamic diffraction analysis - AQWA, OrcaWave, and BEMRosetta integration