本文へ移動
cccskills
無料GitHub で公開

git

Show uncommitted changes and commit history via git. Use when: (1) inspecting what changed in a file before committing, (2) checking diff of tracked/new/deleted files, (3) reviewing a specific commit's changes, (4) listing files changed in a commit.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

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

Git

Use native, non-interactive git commands to inspect changes. Run them from the repository root and keep path lists explicit so unrelated user work stays out of a commit.

Inspect working-tree changes

git status --short
git diff --check
git diff --stat
git diff -- <tracked-file> [tracked-file ...]
git diff --no-index -- /dev/null <new-untracked-file>

Before committing, inspect every intended tracked file and every intended new file. Do not stage unrelated untracked files merely because they appear in git status.

Inspect commits

git show --stat --oneline <commit>
git show --format=fuller --find-renames <commit> -- <path> [path ...]
git diff <commit>^ <commit> -- <path> [path ...]

For a root commit, use git show <commit> because <commit>^ does not exist. Use git diff --name-status when only the changed-file inventory is needed.

update_sha256 — DX SDK zip update

Update DX SDK zip name and SHA256 across all files that reference it, via scripts/update_sha256.py.

python scripts/update_sha256.py [zip_name]

Behavior

ArgEffect
zip_name givenUses SDKs/<zip_name> as the local zip; must exist.
zip_name omittedParses zip name from LUISA_COMPUTE_DX_SDK in scripts/sdks.cmake.

Computes SHA256 of the local zip, then updates:

FileWhat changes
scripts/sdks.cmakeLUISA_COMPUTE_DX_SDK (URL + SHA256 as one CMake list)
scripts/find_sdk.luaname field under dx_sdk entry

Examples

# Provide zip name explicitly
python scripts/update_sha256.py dx_sdk_20260622.zip

# Auto-detect from CMakeLists.txt URL
python scripts/update_sha256.py

Notes

  • Zip must live under SDKs/ relative to repo root.
  • Skips files not found with a warning (non-fatal).
  • No-op if all values are already up-to-date.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

ast

無料

Manual AST construction with FunctionBuilder for kernels and callables without DSL sugar.

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

LuisaGroup/LuisaCompute1,0532026年10月11日 更新

Backend plugin architecture, DeviceInterface, dynamic loading, and command encoding.

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

LuisaGroup/LuisaCompute1,0532026年10月11日 更新

cmake

無料

CMake build options, custom functions, and backend patterns for LuisaCompute.

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

LuisaGroup/LuisaCompute1,0532026年10月11日 更新

cpp-style

無料

C++ naming, formatting, static analysis, and RTTI rules for LuisaCompute.

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

LuisaGroup/LuisaCompute1,0532026年10月11日 更新

debug

無料

Debug crashes and test failures via stack-traces, host/device logging, and DSL buffer inspection.

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

LuisaGroup/LuisaCompute1,0532026年10月11日 更新

glslang

無料

glslang SPIR-V Builder API for types, instructions, control flow, and decorations.

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

LuisaGroup/LuisaCompute1,0532026年10月11日 更新

LuisaGroup のスキルをすべて見る

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