
Code Commit
- 19 installs
- 38 repo stars
- Updated August 1, 2026
- martinffx/atelier
Helps with git & pull requests tasks.
About
code-commit is a Claude Code skill for git & pull requests. It helps solo builders move faster with AI-assisted coding.
- code-commit
- Git & Pull Requests
- AI-coding skill
Code Commit by the numbers
- 19 all-time installs (skills.sh)
- +6 installs in the week ending Aug 2, 2026 (Skillselion tracking)
- Ranked #388 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
- Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/martinffx/atelier --skill code-commitAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 19 |
|---|---|
| repo stars | ★ 38 |
| Last updated | August 1, 2026 |
| Repository | martinffx/atelier ↗ |
What it does
Helps with git & pull requests tasks.
Files
Conventional Commit Skill
Generate and validate commit messages following the Conventional Commits specification.
Conventional Commit Format
<type>(<scope>): <subject>
[optional body]
[optional footer(s)]Types
| Type | Description |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Code style (formatting, semicolons, etc.) |
refactor | Code change that neither fixes nor adds |
test | Adding or updating tests |
chore | Build, tooling, dependencies |
perf | Performance improvement |
ci | CI configuration changes |
build | Build system or dependencies |
revert | Reverting a previous commit |
Rules
- Subject: Short description, imperative mood, lowercase, no period at end
- Scope: Optional, lowercase, describes what was changed (e.g.,
auth,api,ui) - Breaking changes: Add
!after type/scope:feat(auth)!: change API - Footer: For breaking changes (
BREAKING CHANGE:) or issue references (Closes #123)
Operations
1. Generate Commit from Diff
When user wants to commit changes:
1. Run git status to see changed files 2. Run git diff --staged for staged changes 3. Analyze what changed to determine:
- Type: Which type best describes the changes?
- Scope: What area was affected? (optional)
- Subject: What was done? (imperative: "add" not "added")
4. Create a conventional commit message 5. Run git commit -m "<message>"
Example:
feat(auth): add JWT token refresh
Implements token refresh endpoint to extend sessions
without requiring re-authentication.
Closes #1422. Validate Commit Message
When user asks to validate or check a commit message:
1. Parse the commit message 2. Check format: <type>(<scope>): <subject> 3. Validate type is from the allowed list 4. Check subject follows rules (lowercase, imperative, no period) 5. Flag any issues found
3. Create Pull Request
When user wants to open a PR or after finishing commits on a feature branch:
1. Verify on a feature branch (not main): git branch --show-current 2. Check for project PR template: ls .github/PULL_REQUEST_TEMPLATE.md 3. Push branch if needed: git push -u origin <branch> 4. Create PR via gh pr create:
- Use
--fillif commits are clean (auto-populates title/body) - Use
--draftfor work-in-progress - Use interactive mode if body needs custom content
5. Show the PR URL to the user
See references/pr-workflow.md for full workflow details.
Input Methods
| Input | Action |
|---|---|
| User says "commit" or "git commit" | Generate from git diff, then commit |
| User says "validate commit" | Check the commit message format |
| User pastes commit message | Validate the provided message |
Auto-Commit Workflow
When generating a commit:
1. Show the user the commit message first 2. Ask for confirmation before committing (unless user explicitly says "just do it") 3. Execute git commit -m "<message>" after confirmation 4. Show the result of the commit
Error Handling
- If no staged changes:
git statusshows nothing → warn user nothing to commit - If git not initialized: Initialize repo or warn user
- If commit fails: Show error and offer to retry
Examples
Input: "I fixed the login bug" Output:
fix(auth): resolve login timeout issue
Users were logged out after 5 minutes due to
incorrect token expiry calculation.Input: "I added a new API endpoint for users" Output:
feat(api): add user profile endpoint
GET /users/:id returns user profile data including
name, email, and avatar URL.
Closes #89Input: "I changed the auth API, this breaks old clients" Output:
feat(auth)!: change token validation endpoint
The /auth/verify endpoint now requires Bearer token
instead of query parameter.
BREAKING CHANGE: Clients must update to send
Authorization header with Bearer token.Pull Request Workflow
Creating GitHub pull requests via the gh CLI.
Prerequisites
ghCLI installed and authenticated:gh auth status- Remote
originpoints to GitHub:git remote -v - On a feature branch (not main):
git branch --show-current
Check for Project Template
Before creating a PR, check if the project has its own PR template:
# Check for PR template in .github/
ls .github/PULL_REQUEST_TEMPLATE.md 2>/dev/null || echo "No project template found"If found: Use it. The gh pr create command will automatically pick it up.
If not found: Use the minimal template below.
---
Create Pull Request
Option 1: Auto-fill from commits (recommended)
gh pr create --fillThis uses the commit messages as the PR title and body. Best when commits are clean and conventional.
Option 2: Interactive
gh pr createOpens an editor with the template. Fill in title and body interactively.
Option 3: Inline (for simple PRs)
gh pr create --title "feat(auth): add JWT authentication" --body "Implements token-based auth with refresh support."---
PR Title Format
Follow conventional commit style for PR titles:
<type>(<scope>): <description>Examples:
feat(api): add user profile endpointfix(db): resolve connection pool leakdocs(readme): update installation instructions
---
PR Body Template (fallback if no project template)
## Description
<!-- What does this PR do? -->
## Changes
<!-- What changed? -->
## Testing
<!-- How was this tested? -->
## Checklist
- [ ] Tests pass
- [ ] Commits follow conventional format
- [ ] Documentation updated (if needed)---
Linking Issues
Add issue references in the PR body:
Closes #123
Fixes #456
Relates to #789This auto-closes linked issues when the PR merges.
---
Draft PRs
For work-in-progress PRs:
gh pr create --draftMark as ready later:
gh pr ready <pr-number>---
Review Requests
Request reviewers after creating the PR:
gh pr edit <pr-number> --add-reviewer usernameOr add via the GitHub web UI.
---
Verify PR Created
gh pr view --web # Open in browser
gh pr status # Show PR status---
Common Mistakes
| Mistake | Fix |
|---|---|
| PR from main branch | Switch to feature branch first |
| No remote | git remote add origin <url> |
| Unpushed commits | git push -u origin <branch> |
| PR body is empty | Use --fill or write a description |