Agent skill
cube-iml
Check and repair PyCharm/IntelliJ module configuration (.iml file). Triggered by "/cube-iml" or when user reports PyCharm doesn't recognize src/tests folders.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/cube-iml-boaznahum-cubesolve-2
SKILL.md
Cube IML Skill
Check and repair the PyCharm/IntelliJ module configuration file.
Trigger
Use when:
- User runs
/cube-imlor asks about PyCharm/IntelliJ configuration - User reports "module not configured" or import resolution issues
- User says PyCharm doesn't recognize src or tests folders
Action
Run the reconstruct script:
python dev-tools/reconstruct_iml.py
The script will:
- Auto-detect the Python interpreter from existing config
- Find all venv/cache folders to exclude
- Create backup if .iml already exists
- Generate a proper .iml with src as source and tests as test source
Options
# Preview without writing (dry run)
python dev-tools/reconstruct_iml.py --dry-run
# Specify interpreter manually
python dev-tools/reconstruct_iml.py --interpreter "Python 3.14 (cubesolve)"
After Running
Tell user: "If PyCharm doesn't pick up changes immediately, try File → Invalidate Caches and Restart."
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?