Fixes English grammar, punctuation, and spelling errors in the prose of source-code comments and documentation — KDoc/Javadoc, Protobuf, TSDoc/JSDoc, Go doc comments, other comments, and Markdown/AsciiDoc. Applies the shared error catalog in `.agents/guidelines/english-style.md`: a fix lands only when no leave-alone guard matches, and an ambiguous case is reported rather than edited. Touches *project-owned* prose only — never code tokens, string literals, or machine-read comment directives. Runs in three modes chosen by the caller: the default scans files changed on the current branch; `all` sweeps every project-owned file, module by module; a path argument scopes the sweep to one directory. Stateless — no memory sentinel. Reports every change grouped by catalog topic so recurring error classes surface for review. Use once per repo with `all` after a fresh `config` pull, then on each branch to catch new occurrences, or against a named module.
Runs the pre-PR checklist for this repo: applies the version gate only when the repository has a root `version.gradle.kts`, runs a scope-dependent build/check command per `.agents/guidelines/running-builds.md` (proto → `clean build`; code/deps → `build`; doc-only `.kt`/`.java` edit → `dokkaGenerate`; Markdown-only → no build; no documented command → skipped), and running `dokkaGenerate` for any `.kt`/`.java` source change (alongside `build` for code edits, alone for KDoc/Javadoc-only edits) so unresolved KDoc/Javadoc links fail locally instead of in CI's Dokka run, and invokes the relevant reviewers (`kotlin-engineer`, `spine-code-review`, `review-docs`, `dependency-audit`, `check-links`) against the branch diff. On success, writes the `pre-pr.ok` sentinel into the repository's git directory so the `gh pr create` hook can verify the checklist ran for the current HEAD. Use before opening a PR, or when CI rejected a branch and a fast local repro is wanted.
Converts Java code to idiomatic Kotlin, including its API comments from Javadoc to KDoc. Use when asked to migrate Java files, classes, methods, nullability semantics, or common Java patterns into Kotlin while preserving behavior.
Writes, edits, and restructures user-facing and developer-facing documentation. Use when asked to create/update docs such as `README.md`, `docs/**`, and other Markdown documentation, including keeping docs navigation data in sync; when drafting tutorials, guides, troubleshooting pages, or migration notes; and when improving inline API documentation (KDoc) and examples.
Reviews documentation changes — doc comments inside sources (KDoc/Javadoc, Protobuf, TSDoc/JSDoc, Go) and Markdown docs (`README.md`, `docs/**`, `.agents/**`) — against Spine documentation conventions, including the English grammar, punctuation, and spelling catalog. Use when a diff touches doc comments or Markdown, before opening a doc-affecting PR, or when asked for a documentation review. Read-only; does not run builds.
Updates source file copyright headers from the IntelliJ IDEA copyright profile, replacing `today.year` with the current year. Automatically applies to changed source files when source files are modified in a change set. In repositories that consume the shared `config` submodule, files distributed by `config` (such as `buildSrc/`) are skipped — their headers are owned by `config`, not by the consumer's copyright profile.
Ensures `version.gradle.kts` is bumped above the base ref — at most once per branch, barring the sanctioned re-bumps below — per the Spine SDK versioning policy. This skill is idempotent: it stops without committing when the branch is already ahead of base. For the routine "make sure the branch is bumped" check use the `version-bumped` guard, which calls this skill only on a miss. Invoke this skill directly to perform the actual bump, or to re-bump only for a sanctioned reason — a published-version collision, or reclassification to a breaking PR (see "Sanctioned re-bumps"). Covers the idempotency gate, locating the published version value, choosing the increment, migrating deprecated `by extra(...)` declarations to `extra.set(...)`, committing the bump, rebuilding reports, and resolving version conflicts.
Verifies the current branch has bumped `version.gradle.kts` strictly above the base ref; runs the `bump-version` skill to auto-recover if not. Composable: other modifying skills (`dependency-update`, `bump-gradle`, `java-to-kotlin`, `move-files`) call this as their final step so a `./gradlew build` or `publishToMavenLocal` can never overwrite a previously published Maven Local artifact that integration tests in consumer repos depend on.