Agent Skill
2/7/2026ringo-commit
Create git commits with emoji-based semantic commit messages using ringo conventions.
T
takemokun
0GitHub Stars
1Views
npx skills add takemokun/c-na-ringo
SKILL.md
| Name | ringo-commit |
| Description | Create git commits with emoji-based semantic commit messages using ringo conventions. |
name: ringo-commit description: Create git commits with emoji-based semantic commit messages using ringo conventions. argument-hint: [feat|fix|chore|refactor|docs]
Ringo Commit
Create git commits using emoji-based semantic commit conventions, then push and create a PR to main ā all in one flow.
Emoji Commit Type Mapping
| Type | Emoji | Meaning | Example |
|---|---|---|---|
| feat | š | New feature | š add ringo-new-skill |
| fix | š | Bug fix | š resolve quiz scoring bug |
| chore | šµ | Maintenance | šµ update dependencies |
| refactor | ⨠| Code improvement | ⨠simplify SRS algorithm |
| docs | š | Documentation | š update README |
Commit Message Format
<emoji> <description>
- The emoji replaces the conventional
type:prefix - Description: lowercase, imperative mood, no trailing period
- No scope prefix needed ā keep it simple
- NO Co-Authored-By, no Claude attribution ā commit messages are the user's own
Workflow
All steps (commit ā push ā PR) run as a single continuous flow. Do NOT ask for confirmation between steps.
1. Analyze Changes
Run in parallel:
git statusā see staged and unstaged filesgit diff --cachedā review staged changesgit diffā review unstaged changesgit log --oneline -5ā check recent commit style
2. Stage Files
- If no files are staged, identify relevant changed files and stage them by name
- Never use
git add -Aorgit add .ā always stage specific files - Warn if any file looks like it contains secrets (
.env, credentials, keys)
3. Detect Commit Type
Auto-detect from changes, or use the user-provided type argument:
| Signal | Type |
|---|---|
| New files added | feat š |
| Bug/error fixes in existing code | fix š |
| Config, deps, tooling changes | chore šµ |
| Restructured existing code, no behavior change | refactor ⨠|
| Markdown, comments, README changes only | docs š |
If ambiguous, ask the user which type fits best.
4. Generate Commit Message
Compose a message following the format:
<emoji> <short imperative description>
- Description should be 3-10 words, summarizing the "why" not the "what"
5. Execute Commit
git commit -m "<emoji> <description>"
6. Verify Commit
Run git log --oneline -1 to confirm the commit was created with the correct emoji format.
7. Push
Immediately after commit (no confirmation needed):
- Push to the current remote tracking branch with
git push - If no upstream is set, use
git push -u origin <branch-name> - Never force push unless the user explicitly requests it
8. Create PR to main
Immediately after push (no confirmation needed):
- Use
gh pr createwith the emoji commit message as the PR title - Base branch is always
main - PR body format:
gh pr create --base main --title "<emoji> <description>" --body "$(cat <<'EOF'
## Summary
- <1-3 bullet points describing changes>
## Test plan
- [ ] <testing checklist items>
EOF
)"
- Do NOT include "Generated with Claude Code" or any Claude attribution in the PR body
- If a PR already exists for this branch, skip PR creation and print the existing PR URL instead
- Return the PR URL to the user when done
Examples
š add ringo-commit skill
š fix SRS interval calculation
šµ update node dependencies
⨠simplify quiz difficulty selection
š update learning guidelines in README
Attribution Policy
åć®ęęć«ććććććććććå®ć£ć¦
- NO
Co-Authored-Bylines in commit messages - NO "Generated with Claude Code" in PR bodies
- NO Claude/AI attribution anywhere ā all commits and PRs are the user's own work
Notes
- This is a git operation skill, not a language learning skill
- Always show the proposed commit message to the user before committing
- If pre-commit hooks fail, fix the issue and create a NEW commit (never amend)
- The full flow (commit ā push ā PR) runs without pausing for user confirmation
Skills Info
Original Name:ringo-commitAuthor:takemokun
Download