/dev10x-coding:ide-normalizefrom dev10x-coding
Normalizes PyCharm .idea/ configuration after copying to a new git worktree. Fixes stale module references, disables conflicting defaults, backfills Django settingsModule, and detects uv-SDK gaps.
Ships in dev10x-coding. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Fix PyCharm .idea/ configuration drift that occurs when a .idea/ directory
is copied from a parent repo into a new git worktree. Also detects the PyCharm
uv-SDK FLAVOR_DATA gap that causes crashes on first launch.
This is a separate skill rather than a step inside dev10x-coding:git-worktree
for two reasons:
dev10x-coding:git-worktree handles git mechanics.
IDE configuration is a separate concern that may apply to non-worktree
scenarios (e.g., first-time clone on a new machine).dev10x-coding:git-worktree documents this skill in its Python/uv template notes as
a recommended post-checkout step.
REQUIRED: Create a task at invocation. Execute at startup:
TaskCreate(subject="Normalize IDE configuration", activeForm="Normalizing .idea/")Mark completed when done: TaskUpdate(taskId, status="completed")
Announce: "Using dev10x-coding:ide-normalize to fix PyCharm .idea/ configuration."
Run:
find . -maxdepth 1 -name ".idea" -type d — confirm .idea/ existsfind . -maxdepth 1 -name "modules.xml" -type f — fallback if no .idea/.idea/modules.xml to get the canonical module name(s).idea/workspace.xml to identify stale module name referencesgit worktree list to get current worktree path and parent repo pathIf .idea/ is not found, report "No .idea/ directory found — nothing to
normalize" and mark the task complete.
In .idea/workspace.xml, module names often refer to the parent repo name
(e.g., <module name="encom-corp" />) instead of the current project name
(e.g., <module name="encom-pos" />).
Detection:
.idea/modules.xml — the <module> elements name the correct
module(s) for this project..idea/workspace.xml for <module name=" — compare against the
canonical names from modules.xml.Fix: use Edit to replace each stale reference with the correct module name.
Report how many references were updated (e.g., "Updated 3 module-name references in workspace.xml").
.idea/workspace.xml run configs often have:
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
These defaults inject <repo>/src onto PYTHONPATH, which conflicts with
editable installs (PEP 660 / pip install -e . / uv workspace members).
When New Relic or any other sitecustomize-bootstrapping agent is installed,
this side channel activates the bootstrap loader, which then fails under
uv-managed interpreters.
Fix: Edit every occurrence in .idea/workspace.xml to value="false".
See references/pep660-pythonpath-conflict.md
for full explanation and background.
Report: "Disabled ADD_CONTENT_ROOTS/ADD_SOURCE_ROOTS on N run configurations."
In .idea/workspace.xml, Django run configs often have:
<option name="settingsModule" value="" />
Detection:
settingsModule.*value="" — empty settingsModule entriesmanage.py — os.environ.setdefault('DJANGO_SETTINGS_MODULE', ...) linepyproject.toml or setup.cfg — [tool.django] or DJANGO_SETTINGS_MODULEIf the settings module can be determined, fill in each empty settingsModule
value. If it cannot be determined, report the empty entries and ask the user to
provide the correct module path before continuing.
REQUIRED: Call AskUserQuestion if the Django settings module cannot be
auto-detected. Options:
config.settings.local)"After PyCharm creates a uv (<worktree-name>) SDK entry for a new worktree,
the jdk.table.xml entry is missing UV_VENV_PATH / UV_TOOL_PATH and has
an empty FLAVOR_DATA="{}". This causes PyCharm to construct
uv run /full/path/.venv/bin/python manage.py … (wrong) instead of
uv run python manage.py … (correct), crashing with:
ModuleNotFoundError: No module named 'collections.abc'
Detection:
~/.config/JetBrains/PyCharm*/options/jdk.table.xml (glob — ask
user for path if multiple PyCharm versions exist)ASSOCIATED_PROJECT_PATH matches the current
worktree pathFLAVOR_DATA is "{}" or if UV_VENV_PATH / UV_TOOL_PATH
attributes are missingSee references/pycharm-uv-sdk-gap.md
for the full diagnosis, broken vs working SDK comparison, and patch recipe.
If gap detected:
REQUIRED: Call AskUserQuestion — PyCharm must be closed to patch
jdk.table.xml safely (the IDE overwrites the file on exit). Options:
If patching: mirror UV_VENV_PATH, UV_TOOL_PATH, and FLAVOR_DATA from
the parent project's SDK entry. Report the patch applied.
If showing manual fix: display the references/pycharm-uv-sdk-gap.md recipe.
Print a summary:
IDE normalize complete:
module-name fixes: N references updated
run config flags: N ADD_CONTENT_ROOTS/ADD_SOURCE_ROOTS set to false
Django settings: <filled / skipped / N entries still empty>
uv SDK gap: <patched / shown / not detected / skipped>
Mark the task complete.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub dev10x-guru/dev10x-claude --plugin dev10x-coding40 skills in this plugin
/ci-reviewdev10x-coding:ci-reviewUse when a change to a Claude CI review prompt, args file, reviewer agent or CLI pin needs checking before it merges — so you read what the CI code review and PR hygiene check would post on a real PR, with nothing reaching GitHub unless you choose, after reading the report, to share it as one marked replica comment. TRIGGER when: "what would the CI review say", replaying the Claude CI review locally, verifying a review prompt or model change on a PR. DO NOT TRIGGER when: self-reviewing a branch with no PR (use dev10x-coding:review), or reviewing someone's PR and posting (use dev10x-coding:gh-pr-review).
/fanoutdev10x-coding:fanoutProcess multiple independent work items as a worktree-isolated swarm — each item runs the full dev10x-coding:work-on lifecycle inside its own background Agent with isolation="worktree" (under Herdr, its own Herdr workspace and agent). Honors dependencies, minimizes conflicts, auto-advances by default. TRIGGER when: 2+ independent work items need parallel processing (PRs, issues, tickets). DO NOT TRIGGER when: single task or sequential dependency chain (use dev10x-coding:work-on); already running as a swarm child (see recursive-fanout guard).