Skip to content
cccskills
FreePublished on GitHub

markdown-library-update

Update markdown-jvm to a user-provided version and regenerate its Bazel and Fleet metadata. The workflow verifies required artifacts and checksums, refreshes the lockfile, then runs synchronization, build, and formatting checks to validate the update.

OriginalShow the original description

Update markdown-jvm and regenerate Bazel/Fleet metadata.

JetBrains/intellij-community20,664 stars(GitHub 20,664 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Update markdown-jvm to a specified version
  • Regenerate Bazel library metadata
  • Refresh Fleet project model metadata
  • Verify a dependency update with builds and checks

Files included (1)

  • SKILL.md5.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

<!-- Generated by community/.ai/render-guides.mjs; edit community/.agents/skills/markdown-library-update/SKILL.md -->

Update the Markdown library

Use this skill when the user gives a Markdown version in A.B.C form. Treat it as MARKDOWN_VERSION. Never guess the version.

Use the 0.7.15 to 0.7.16 update commit (783603fe95b8) as the model. This is normally a metadata-only update.

Files

Edit this source descriptor:

  • community/libraries/markdown/intellij.libraries.markdown.iml

These files are generated. Do not edit them by hand:

  • community/lib/BUILD.bazel
  • community/lib/MODULE.bazel
  • fleet/build/jps-library-mappings.tsv
  • fleet/kmp.MODULE.bazel
  • MODULE.bazel.lock

fleet/build/gradle/jps.versions.toml normally does not change. Do not add a Markdown entry when the generator omits it.

1. Wait for cache-redirector

Before editing, verify all required artifacts through cache-redirector. Follow redirects. Do not use direct Maven URLs.

set -euo pipefail

MARKDOWN_VERSION="A.B.C" # replace with the requested version
MARKDOWN_JVM_BASE_URL="https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/org/jetbrains/markdown-jvm/${MARKDOWN_VERSION}"
MARKDOWN_WASM_BASE_URL="https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/org/jetbrains/markdown-wasm-js/${MARKDOWN_VERSION}"
MARKDOWN_KMP_BASE_URL="https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/org/jetbrains/markdown/${MARKDOWN_VERSION}"
MARKDOWN_ARTIFACT_DIR="$(mktemp -d)"

for MARKDOWN_ARTIFACT in \
  "markdown-jvm-${MARKDOWN_VERSION}.jar" \
  "markdown-jvm-${MARKDOWN_VERSION}-sources.jar"; do
  curl --fail --silent --show-error --location \
    --output "$MARKDOWN_ARTIFACT_DIR/$MARKDOWN_ARTIFACT" \
    "$MARKDOWN_JVM_BASE_URL/$MARKDOWN_ARTIFACT"
done

for MARKDOWN_ARTIFACT in \
  "markdown-wasm-js-${MARKDOWN_VERSION}.klib" \
  "markdown-wasm-js-${MARKDOWN_VERSION}-sources.jar"; do
  curl --fail --silent --show-error --location \
    --output "$MARKDOWN_ARTIFACT_DIR/$MARKDOWN_ARTIFACT" \
    "$MARKDOWN_WASM_BASE_URL/$MARKDOWN_ARTIFACT"
done

curl --fail --silent --show-error --location \
  --output "$MARKDOWN_ARTIFACT_DIR/markdown-${MARKDOWN_VERSION}.module" \
  "$MARKDOWN_KMP_BASE_URL/markdown-${MARKDOWN_VERSION}.module"

shasum -a 256 \
  "$MARKDOWN_ARTIFACT_DIR/markdown-jvm-${MARKDOWN_VERSION}.jar" \
  "$MARKDOWN_ARTIFACT_DIR/markdown-jvm-${MARKDOWN_VERSION}-sources.jar"

If any download fails, make no edits. Wait for cache-redirector. If the version stays unavailable for 12-24 hours, report it in #ij-builds.

Use the downloaded main-JAR SHA-256 in the .iml. Never invent or reuse a checksum.

2. Update the source descriptor

Check the current jetbrains.markdown coordinate in the .iml. Stop if the descriptor is inconsistent.

Update only these values:

  • org.jetbrains:markdown-jvm:${MARKDOWN_VERSION}
  • the verification artifact URL and the downloaded main-JAR SHA-256
  • the CLASSES JAR URL
  • the SOURCES JAR URL

Keep the exclusions, XML format, and no-trailing-line-break format unchanged.

Register the edited module, then regenerate JVM metadata:

bun build/jps-module.mjs register community/libraries/markdown/intellij.libraries.markdown.iml --fix-iml-eof
./build/jpsModelToBazel.cmd

Check that the Markdown entries in community/lib/BUILD.bazel and community/lib/MODULE.bazel use the new version, filenames, cache-redirector URLs, and generated checksums. Do not edit these files by hand.

3. Regenerate Fleet metadata

Run:

./fleet/build/generateProjectModel.cmd dump

Check that every jetbrains.markdown row in fleet/build/jps-library-mappings.tsv and the org.jetbrains:markdown coordinate in fleet/kmp.MODULE.bazel use the new version.

Do not hand-edit generated Fleet files.

Refresh the lockfile and wait for Bazel to finish:

./bazel.cmd mod deps --lockfile_mode=update

Do not stop the command or report success while it is running. Check MODULE.bazel.lock for the new markdown-wasm-js filenames, cache-redirector URLs, and integrity values. Do not hand-edit the lockfile.

4. Verify

Run the Fleet synchronization test:

./tests.cmd --module fleet.app.fleet.fleetProjectStructure --test fleet.projectStructure.FleetGradleBuildTests

Build the local Ultimate application:

./bazel.cmd build //build:idea_ultimate_build_local_linux_distribution_build_target

If the update causes a real compilation failure, make the smallest compatible source change, then rerun the failing build and affected tests. Do not weaken tests or edit generated metadata to hide a failure.

Because the update changes Bazel files, run:

./bazel.cmd run //:format.check

If the check reports a diff, run ./bazel.cmd run //:format, inspect the changes, and run the check again. Run lint_files on changed files when IDE MCP is available. Finish with git diff --check and inspect the complete diff.

The normal metadata-only diff contains the source .iml, the two community library files, the two Fleet files, and MODULE.bazel.lock. Additional source changes need a verified compatibility failure.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

actions

FreeSummary

Implement or update IntelliJ `AnAction` classes and their `plugin.xml` registrations. Keep labels and descriptions in message bundles, configure optional icons, and launch suspending work through the event coroutine scope so synchronous action handling does not freeze the IDE.

  • Adding a new IntelliJ action
  • Updating an action's registration or icon
  • Moving action labels into a message bundle
JetBrains/intellij-community20.7KUpdated Oct 26, 2026

Move IntelliJ JPS test modules to Bazel and diagnose failures that occur only under Bazel. The guide helps trace missing dependencies, plugins, test data, and runfiles, then verify the generated target and migrated tests.

  • Migrating a JPS test module to Bazel
  • Diagnosing a test failure that occurs only in Bazel
  • Checking Bazel dependencies and test data wiring
JetBrains/intellij-community20.7KUpdated Oct 26, 2026

code-style

FreeSummary

Write or review Kotlin and Java code in line with IntelliJ project conventions. The guidance covers language choice, formatting, sealed types, threading annotations, and safe handling of control flow exceptions so changes fit the surrounding codebase.

  • Writing a new Kotlin file that follows IntelliJ conventions
  • Reviewing Java code and checking its style guidance
  • Checking formatting, sealed-type handling, or exception handling
JetBrains/intellij-community20.7KUpdated Oct 26, 2026

commits

FreeSummary

Create, amend, or rename IntelliJ commits with messages that follow the project’s ticket and label formats. Keep each commit focused, explain the reason and decision in the body when needed, and pass the message safely through the shell or PowerShell.

  • Writing a message for a change linked to a YouTrack ticket
  • Preparing a commit message for tests, cleanup, or documentation
  • Amending or renaming an existing IntelliJ commit
JetBrains/intellij-community20.7KUpdated Oct 26, 2026

Compare how Python type checkers interpret a code snippet or file. The script runs selected tools, including ty, pyrefly, basedpyright, mypy, and zuban, then produces a Markdown report with verdicts, timings, and each checker's diagnostic output.

  • Comparing type inference for a Python snippet
  • Checking whether a Python expression should be a type error
  • Reviewing differences among Python type checkers
JetBrains/intellij-community20.7KUpdated Oct 26, 2026

Shape Compose Desktop UI code by keeping composables focused on rendering and placing application decisions in presenters or coordinators. Get guidance on state ownership, effects, reusable component APIs, lazy-list keys, animation, and performance for individual UI changes.

  • Separating screen rendering from application decisions
  • Choosing which UI state belongs in composition
  • Structuring effects and coroutine work
JetBrains/intellij-community20.7KUpdated Oct 26, 2026

See all skills by JetBrains

Report a problem with this skill