用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill discipline-refactor-phase-1-analysis命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | discipline-refactor-phase-1-analysis |
| description | Sub-skill of discipline-refactor: Phase 1: Analysis. |
| version | 2.0.0 |
| category | _internal |
| type | reference |
| scripts_exempt | true |
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.