원클릭으로
commit
Write conventional commit messages with type, scope, and subject when the user wants to commit changes or save work.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Write conventional commit messages with type, scope, and subject when the user wants to commit changes or save work.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Test code built on AI SDK v7 using its real `ai/test` utilities and V4 provider protocol. Use whenever writing, fixing, reviewing, or migrating tests around AI SDK agents, `generateText`, `streamText`, structured output, tools, embeddings, image/speech/transcription/reranking/video models, provider registries, or simulated streams. Trigger for phrases such as "test my agent", "mock the model", "fake the stream", "simulate a tool call", "test retry logic", "inspect the system prompt", "my streaming test hangs", or "empty result.text", even when the user does not explicitly name AI SDK. This skill is v7-only: remove V3 fixtures and custom helpers that duplicate `ai/test`.
Analyze a target piece of code and propose how to make it reusable across the rest of the codebase. Walks through phases — understand → survey → design → migration plan — and only edits code after the user approves the plan. Codebase-agnostic. Run only when the user explicitly invokes it (e.g. `/reuse`, "make this reusable", "extract this", "find duplicates of this").
Update the Text2SQL system prompt in a generalizable, non-overfit way using failure-pattern driven evaluation loops. Use when SQL generation quality regresses or specific failure classes repeat.
Generate documentation for a package by analyzing source code. Use when the user wants to write, create, or generate new documentation pages for a package from scratch.
Update documentation based on code changes since last push. Use when the user wants to update, sync, or refresh documentation to match recent code changes across packages.
Keep repository documentation accurate and agent-legible through drift detection and deterministic fixes. Use when asked to scan docs for stale content, broken links, metadata/nav drift, API coverage gaps, or to run recurring documentation gardening in on-demand or scheduled maintenance loops.
| name | commit |
| description | Write conventional commit messages with type, scope, and subject when the user wants to commit changes or save work. |
Creates git commits following Conventional Commits format with proper type, scope, and subject.
# 1. Stage changes
git add <files> # or: git add -A
# 2. Create commit (branch commit format)
git commit -m "type(scope): subject
Body explaining HOW and WHY.
Reference: Task X.Y, Req N"
Format: type(scope): subject
| Type | Purpose |
|---|---|
feat | New feature or functionality |
fix | Bug fix or issue resolution |
refactor | Code refactoring without behavior change |
perf | Performance improvements |
test | Test additions or modifications |
ci | CI/CD configuration changes |
docs | Documentation updates |
chore | Maintenance, dependencies, tooling |
style | Code formatting, linting (non-functional) |
security | Security vulnerability fixes or hardening |
Examples: validation, auth, cookie-service, template, config, tests, api
git status
git diff --staged # if already staged
git diff # if not staged
git add <specific-files> # preferred
# or
git add -A # all changes
NEVER commit:
.env, credentials.json, secretsnode_modules/, __pycache__/, .venv/Simple change:
git commit -m "fix(auth): use hmac.compare_digest for secure comparison"
Complex change (with body):
git commit -m "$(cat <<'EOF'
feat(validation): add URLValidator with domain whitelist
Implement URLValidator class supporting:
- Domain whitelist enforcement (youtube.com, youtu.be)
- Dangerous scheme blocking (javascript, data, file)
- URL parsing with embedded credentials handling
Addresses Requirement 31: Input validation
Part of Task 5.1: Input Validation Utilities
EOF
)"
git log -1 --format="%h %s"
git show --stat HEAD
Subject line should be business-friendly — describe the user-facing impact, not implementation details. Use a Technical: section in the body for implementation specifics.
fix(chat): allow retrying assistant responses in chat
Users can now retry an assistant response when the chat
stalls or produces an incomplete answer.
Technical: replace ensureStreamRegistered with
streamManager.register/reopenStream, validate assistant
continuations against last user message state.
For simple/infra-only changes where there is no user-facing impact, a technical subject is fine.
| Trailer | Purpose |
|---|---|
Fixes #N | Links and closes issue on merge |
Closes #N | Same as Fixes |
Place trailers at end of body after blank line. See references/commit_examples.md for examples.
NEVER add Co-Authored-By trailers.
For incompatible API/behavior changes, use ! after scope OR BREAKING CHANGE: footer:
feat(api)!: change response format to JSON:API
BREAKING CHANGE: Response envelope changed from `{ data }` to `{ data: { type, id, attributes } }`.
Triggers major version bump in semantic-release.
For PRs, use extended description with sections:
gh pr create --title "feat(security): implement input validation (Task 5)" --body "$(cat <<'EOF'
## Summary
- Input validation utilities (URLValidator, FormatValidator)
- Secure template processor with path traversal prevention
- API key authentication middleware
## Task Breakdown
Task 5.1: Input Validation - URLValidator, FormatValidator
Task 5.2: Template Processing - Path traversal prevention
Task 5.3: API Key Auth - Multi-key support, excluded paths
Task 5.4: Security Tests - 102 path traversal tests
## Requirements Covered
Req 7, Req 9, Req 31, Req 33
## Test Coverage
- All 473 tests passing
- Coverage: 93%
- Pre-commit checks: passing
EOF
)"
When fixing review comments, use this format:
git commit -m "fix(scope): address review comment #ID
Brief explanation of what was wrong and how it's fixed.
Addresses review comment #123456789."
Before creating PR, ensure all commits follow this format. The PR skill will:
Technical: section in body for implementation detailsCo-Authored-By trailers--no-verify when pre-commit hooks fail due to staging conflicts (e.g., AD file status causing lint-staged merge errors), not to skip lintingGood:
feat(validation): add URLValidator with domain whitelist
fix(auth): use hmac.compare_digest for secure key comparison
refactor(template): consolidate filename sanitization logic
test(security): add 102 path traversal prevention tests
Bad:
update validation code # no type, no scope, vague
feat: add stuff # missing scope, too vague
fix(auth): fix bug # circular, not specific
chore: make changes # missing scope, vague
feat(security): improve things. # has period, vague
references/commit_examples.md - Extended examples by type