Skip to content

Add the IDE update cycle and user log triage skills - #83

Merged
Tsyklop merged 3 commits into
mainfrom
skills/ide-update-cycle-and-logs
Dec 2, 2026
Merged

Tsyklop merged 3 commits into
mainfrom
skills/ide-update-cycle-and-logs

Conversation

@Tsyklop

@Tsyklop Tsyklop commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Adds two Claude Code project skills: one runs the whole IDE update cycle up to a pull request, the other triages users' IDE logs. Also fixes two problems the update loop showed in use.

/ide-update-cycle

User-invoked. It chains /ide-update-loop and /ide-update-fix from #73 and replaces the user's "which items?" answer with a fixed policy:

  • An environment that is green on the proposed versions keeps its bump.
  • A red environment keeps its bump only if every failure has a cause and a minimal fix that a rebuild proves.
  • Anything that needs investigation, or a fix that changes what users see, holds that environment back at its current versions. The PR explains why.

It works in its own worktree (.claude/worktrees/ide-update-<date>, branch ide-update/<date>), so the main checkout that other sessions use is never switched. Typing the command authorizes the commits, the push of that branch and the PR. It never merges. The PR body lists the versions, the fixes with their causes, what was held back, and what the local run didn't cover.

The skill reuses the loop's and the fix step's instructions and scripts by path instead of copying them.

triage-user-log

Model-invoked: it triggers when someone shares an idea.log, the zip from Help | Collect Logs and Diagnostic Data, a freeze dump or a pasted trace.

The skill keeps logs private: it quotes redacted lines only and files nothing to YouTrack or anywhere else unless the user asks. A new bug gets a draft issue in the reply.

Update loop fixes

  • run_build.py stopped every build while any Gradle build ran on the machine, including builds in other worktrees. It now stops only for a build in the same checkout and lists the others. Stage logs are line-buffered, so a running stage's log can be read.
  • check_ide_updates.py marks pycharmVersion as not built: only runPyCharm uses it, so compile, test and verify never exercise a PyCharm bump.

CLAUDE.md points to both skills.

Testing

…cts in the update loop

run_build.py now stops only for a Gradle build in its own checkout; builds in other
checkouts are listed because they compete for memory, not files. Stage logs are
line-buffered so they can be read while a stage runs. check_ide_updates.py marks
pycharmVersion as not built: only runPyCharm uses it.
/ide-update-cycle runs the update loop and the fix step unattended in a worktree,
decides by a fixed policy which bumps to keep, and opens one pull request.

triage-user-log diagnoses a user's IDE logs: parse_idea_log.py groups the plugin's
errors per session, matches known issues and redacts personal data;
release_ref.py maps a Marketplace release to the main commit it was built from.
… as a flake

The test publishes a fake IdeFrame on the application-wide activation topic. On a
non-headless Windows JVM AppIcon subscribes a listener there once an earlier test
called AppIcon.getInstance(), and that listener casts the frame to ProjectFrameHelper.
@Tsyklop
Tsyklop merged commit 31142c9 into main Dec 2, 2026
1 of 2 checks passed
@Tsyklop
Tsyklop deleted the skills/ide-update-cycle-and-logs branch December 2, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant