commit
Generate a commit message following project conventions. Use when the user says "commit", "commit this", "make a commit", or invokes /commit.
소스 정보
- 저장소
- NimblePros/dotnet-codingagent-template
- 최근 소스 활동
- 2026년 5월 22일 16:41
- 감지된 SKILL.md 언어
- 영어
- 스타
- 15
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
파일 탐색기
2 개 파일SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- commit
- description
- Generate a commit message following project conventions. Use when the user says "commit", "commit this", "make a commit", or invokes /commit.
# Commit
Generate and execute a commit following the project's conventional commit format.
## Step 1: Understand the changes
Use `AskUserQuestion` to confirm:
1. **Work item ID** (auto-detect from branch name if possible)
2. **Commit type** (fix, feat, refactor, chore, docs, test, perf)
If the conversation already makes the type and work item obvious, skip the question and proceed.
## Step 2: Read the diff
```bash
git status
git diff -w HEAD
git log --oneline -5
```
Derive the message from the conversation context first. Fall back to the diff only when invoked with no prior discussion.
## Step 3: Generate and commit
Present the commit message in a code block for confirmation, then stage and commit.
<CRITICAL>
Never amend a previous commit without explicit approval. Create a new commit by default.
</CRITICAL>
## Format
```
type(scope): subject line
Optional body (ONLY when the subject alone is not enough).
AB#<work-item-number>
```
See [references/conventions.md](references/conventions.md) for the full format specification and examples.
GitHub에서 보기