一键导入
move-files
Move or rename any files/directories in a repo: preserve history, update all references and build metadata, verify no stale paths remain.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Move or rename any files/directories in a repo: preserve history, update all references and build metadata, verify no stale paths remain.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Validate the Hugo documentation site under `docs/` or `site/` for broken links. Builds the site, starts the Hugo server locally, runs Lychee against the rendered HTML using the repo's `lychee.toml`, and reports any broken URLs grouped by source Markdown page. Use locally before pushing changes that touch `docs/**` or `site/**`, when CI's `Check Links` job fails, or whenever the user asks to "check doc links". Read-only with respect to the project sources. Does **not** cover Javadoc/KDoc (out of scope for this skill).
Run the pre-PR checklist for this repo: apply the version gate only when the repository has a root `version.gradle.kts`, run a scope-dependent build/check command per `.agents/running-builds.md` (docs-only → `dokka`; code/deps → `build`; proto → `clean build`; no documented command → skipped), and invoke the relevant reviewers (`kotlin-review`, `review-docs`, `dependency-audit`, `check-links`) against the branch diff. On success, write a sentinel file at `.git/pre-pr.ok` 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 you want a fast local repro.
Resolve the on-disk location of a Maven artifact's source code, so you can `Grep`/`Read` it directly instead of running `unzip` against JARs in the Gradle cache. Use this whenever you need to inspect a library's API or implementation — definitions of public types, method signatures, KDoc, internal helpers, etc.
Update the Gradle wrapper version used by this repository. Use when asked to upgrade Gradle, bump the Gradle wrapper, move the project to the latest Gradle release from the official release notes, run the Gradle build, and commit Gradle wrapper and dependency report changes separately.
Bump the project version in `version.gradle.kts` following the Spine SDK versioning policy. Use when starting a new branch, before opening a PR, or when CI rejects a branch for a missing/insufficient version increment. Covers locating the published version value, choosing the increment, committing the bump, rebuilding reports, and resolving version conflicts.
Audit changes to dependency declarations under `buildSrc/src/main/kotlin/io/spine/dependency/` — catches accidental version downgrades, BOM mismatches, missing deprecation markers when artifacts are renamed or removed, copyright drift, and convention drift. Use whenever a diff touches that directory, or when asked to "audit this dependency bump". Read-only; does not run builds.
| name | move-files |
| description | Move or rename any files/directories in a repo: preserve history, update all references and build metadata, verify no stale paths remain. |
Preflight.
git status --short.source -> destination.Search before moving.
settings.gradle.kts,
build.gradle.kts, and buildSrc.Move safely.
git mv for tracked files in the repo. If sandboxing blocks
it, request approval; do not use delete/create as a fallback.Repair references.
Verify.
git status --short and confirm the delta matches the move.Ensure the version is bumped.
Invoke /version-bumped so the branch carries a strictly greater
version.gradle.kts than the base ref before any ./gradlew build
(which can transitively publishToMavenLocal and overwrite
consumer-facing snapshots). The skill is a no-op if a bump already
happened earlier on the branch.
Follow .agents/project-structure-expectations.md for module/source-set/test moves.
Return: Moved[], UpdatedRefs[], Verification[], Risks[].