本文へ移動
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.md874 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Always use cargo xtask 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)
cargo xtask fmt

# Apply formatting in place
cargo xtask fmt --apply

When to use each mode

GoalCommand
CI formatting gatecargo xtask fmt
Fix formatting locallycargo xtask fmt --apply

Notes

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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

日本語の概要は準備中です。原文の説明を表示しています。

OGKevin/cadmus472026年10月13日 更新

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/cadmus472026年10月13日 更新

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/cadmus472026年10月13日 更新

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/cadmus472026年10月13日 更新

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/cadmus472026年10月13日 更新

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/cadmus472026年10月13日 更新

OGKevin のスキルをすべて見る

このスキルの問題を報告する