Skip to main content

format

Format C++ code using clang-format

소스 정보

저장소
spiriMirror/libuipc
최근 소스 활동
2026년 3월 6일 07:13
감지된 SKILL.md 언어
영어
스타
335
포크
68

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
format
description
Format C++ code using clang-format
disable-model-invocation
true
# Format ## Overview Format C++ code using the `.clang-format` file in the project root. ## Format Changed Files Format only the files changed relative to `main`: ```bash git diff --name-only --diff-filter=ACMR main -- '*.h' '*.hpp' '*.cpp' '*.inl' '*.cu' '*.cuh' | xargs clang-format -i ``` ## Format a Specific File ```bash clang-format -i <file> ``` ## Format All C++ Files in a Directory ```bash find <directory> -type f \( -name '*.h' -o -name '*.hpp' -o -name '*.cpp' -o -name '*.inl' -o -name '*.cu' -o -name '*.cuh' \) -exec clang-format -i {} + ```
GitHub에서 보기