跳到正文
cccskills
免费在 GitHub 公开

fmt

Check or apply rustfmt formatting across the workspace. Use this when asked to format code, check formatting, or fix rustfmt issues.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md858 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Always use cadmuscli fmt to format or check formatting in this project — never bare cargo fmt.

Basic usage

# Check formatting (default — exits non-zero if any file would change)
cadmuscli fmt

# Apply formatting in place
cadmuscli fmt --apply

When to use each mode

GoalCommand
CI formatting gatecadmuscli fmt
Fix formatting locallycadmuscli fmt --apply

Notes

  • Without --apply the command runs cargo fmt --all --check, which is the correct mode for CI.
  • Always run cadmuscli fmt --apply before committing to avoid CI failures.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build Cadmus on Linux and macOS hosts using cadmuscli. Use when asked how to compile, test, lint, or run the project locally.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

Build, test, and lint Cadmus from a jj sibling workspace that has no .git (non-colocated checkout). Use when jj workspace root is a sibling tmp/agent workspace and builds fail with git submodule or .gitmodules errors, empty thirdparty/ sources, cache-marker misses, or missing sqlite.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

Cross-compile Cadmus for Kobo e-reader devices (ARM Linux). Use this when asked to build a Kobo release, cross-compile for ARM, or prepare a device binary.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

Run clippy locally and report only issues in the current diff, matching the CI reviewdog flow. Use when asked how to lint changed code or get clippy feedback on a branch before pushing.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

Resolve failed Renovate or Dependabot dependency update PRs by fixing version constraints, API breaking changes, and verifying build/test/format compliance. Use when a dependency bump PR fails CI, Cargo cannot select versions, or a crate update requires code migration.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

docs

免费

Build the full Cadmus documentation website (mdBook + cargo doc + Storybook + Next.js). Use this when asked to build, preview, or update the documentation site.

中文简介正在准备中。当前显示原文说明。

OGKevin/cadmus502026年10月23日 更新

查看 OGKevin 的全部技能

报告此技能的问题