Skip to main content

commit

Commit message convention for this repo (gitmoji + scope + capitalized message) enforced by the danger CI bot. Use whenever creating commits, when the user invokes /commit, or when fixing commit messages that failed CI.

소스 정보

저장소
LedgerHQ/device-sdk-ts
최근 소스 활동
2026년 5월 18일 10:15
감지된 SKILL.md 언어
영어
스타
48
포크
38

설치 방법

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

소스 파일 검토

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

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
commit
description
Commit message convention for this repo (gitmoji + scope + capitalized message) enforced by the danger CI bot. Use whenever creating commits, when the user invokes /commit, or when fixing commit messages that failed CI.
alwaysApply
false
## How to commit We use [gitmoji](https://gitmoji.dev/) for commit messages to standardize and improve readability. ### Commit message rules The rules are enforced by the `danger` CI bot. Make sure each commit message follows **all** of these requirements: - **Start with a [gitmoji](https://gitmoji.dev/)** (which can be viewed with `pnpm gitmoji --list`) - Follow with a **space** - Specify a **scope** in parentheses, all in **lowercase** Example: - `(signer-eth)` - `(context-module)` - `(chore)` - `(release)` - `(ci)` - Do **not** repeat JIRA ticket tags (e.g. `[DSDK-1234]`, `[NO-ISSUE]`) in your commit message—these tags are optional for commits and required in PR titles. - Add a **colon `:` and a space** - Write a message that **starts with a capital letter** **Pattern:** ``` <gitmoji> (scope): Description starting with capital letter ``` **Examples:** - `💚 (api): Add new endpoint` - `✨ (cli): Support new flags` - `🐛 (parser): Fix buffer overflow` **Special notes:** If you're unsure which gitmoji to use, you can list all available emojis with: ``` pnpm gitmoji --list ``` You can also see commit message examples by running: ``` git log --oneline ``` Refer to these resources to help you select appropriate emojis and follow the commit convention. For more details or troubleshooting, see [CONTRIBUTING.md](https://github.com/LedgerHQ/device-sdk-ts/blob/develop/CONTRIBUTING.md). Commits that don't follow this convention will fail CI and block merging. ### Signed commits **All commits must be signed** to be merged into protected branches (`develop` and `main`). This is enforced by GitHub branch rulesets. Make sure you have commit signing configured: ```bash git config --global commit.gpgsign true ``` If you have unsigned commits, re-sign them before pushing: ```bash git rebase -i HEAD~N --exec "git commit --amend --no-edit -S" git push --force-with-lease ``` See [CONTRIBUTING.md](https://github.com/LedgerHQ/device-sdk-ts/blob/develop/CONTRIBUTING.md#signed-commits) for setup instructions.
GitHub에서 보기