Skip to content
Skills Library
Programming · Automation

rails-cto-commit

/rails-cto-commit

Stage and commit all outstanding code changes with a clear, human-friendly commit message. Use this skill whenever the user asks to commit, save their work, push changes, or says things like "commit this", "save my progress", "push this up", "ship it", "commit all", or "commit and push". Also triggers for "/commit-all". Do NOT use for cherry-picking, rebasing, or other advanced git operations.

Repository
rails-cto ↗
Licence
MIT
Last repository change
21.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 21.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Stage and commit all outstanding code changes with a clear, human-friendly commit message. Use this skill whenever the user asks to commit, save their work, push changes, or says things like "commit this", "save my progress", "push this up", "ship it", "commit all", or "commit and push". Also triggers for "/commit-all". Do NOT use for cherry-picking, rebasing, or other advanced git operations.

Triggers from the description

commit thissave my progresspush this upship itcommit allcommit and push
Original author description

Stage and commit all outstanding code changes with a clear, human-friendly commit message. Use this skill whenever the user asks to commit, save their work, push changes, or says things like "commit this", "save my progress", "push this up", "ship it", "commit all", or "commit and push". Also triggers for "/commit-all". Do NOT use for cherry-picking, rebasing, or other advanced git operations.

How it works

  1. Workflow
Original SKILL.md headings · 75 lines, 423 words
SKILL.md preview
---
name: rails-cto-commit
description: Stage and commit all outstanding code changes with a clear, human-friendly commit message. Use this skill whenever the user asks to commit, save their work, push changes, or says things like "commit this", "save my progress", "push this up", "ship it", "commit all", or "commit and push". Also triggers for "/commit-all". Do NOT use for cherry-picking, rebasing, or other advanced git operations.
---

# Commit

Stage and commit all outstanding changes with a clear, human-friendly message. Optionally push to the remote — but only after the user confirms.

## Workflow

### 1. Gather context

Run these in parallel to understand what's changed:

- `git status` — see untracked and modified files
- `git diff` — see unstaged changes
- `git diff --cached` — see already-staged changes
- `git log --oneline -5` — see recent commit style for reference

If there are no changes to commit (nothing untracked, nothing modified, nothing staged), tell the user and stop.

### 2. Stage everything

Add all changes — tracked and untracked — to the staging area:

```bash
git add -A
```

If any files look like they contain secrets (`.env`, credentials, tokens, API keys), warn the user and exclude them before committing.

### 3. Write the commit message

Write a commit message that a non-technical person could understand. The goal is clarity — someone glancing at the git log should immediately know what changed and why.

**Rules:**
- Use plain language. Avoid jargon, abbreviations, and technical shorthand.
- Lead with what the change accomplishes from a user or product perspective, not implementation details.
- Keep the subject line under 72 characters.
- If the change is complex, add a blank line and a short body paragraph explaining the "why."
- Do NOT include any co-authorship lines (no `Co-Authored-By`).
- Do NOT reference "Claude" or any AI tool in the message.

**Good examples:**
- `Add password reset flow for logged-out users`
- `Fix broken checkout button on mobile screens`
- `Update pricing page to show annual discount`
- `Remove unused admin dashboard pages`

**Bad examples:**
- `refactor: extract util fn for auth middleware` (too technical)
- `fix bug` (too vague)
- `WIP` (not descriptive)
- `Update files` (says nothing)

Use a HEREDOC to pass the message so multi-line messages format correctly:

```bash
git commit -m "$(cat <<'EOF'
Your commit subject line here

Optional body explaining why, if needed.
EOF
)"
```

### 4. Confirm before pushing

After committing, ask the user if they want to push to the remote. Do not push automatically.

If they say yes:
- If the branch has no upstream, use `git push -u origin <branch>` to set tracking.
- If it does, use `git push`.
- Never force-push unless the user explicitly asks for it.
- Warn and refuse if the target is `main` or `master` (unless the user insists).

If they say no or don't mention pushing, just confirm the commit was made and stop.

Versions

The database has no other skills named rails-cto-commit.

Database snapshot: 13.11.2026 · package version aade489e7944 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 92commit
    [Git] Use when asked to commit, stage and commit, or save changes. --push also pushes.
  • 90git-commit-push
    Commit and push repository changes safely. Use when user asks to commit, push, or verify and push current changes.
  • 100git-commit
    Commit staged changes with conventional commit message. Use when user says "commit changes", "commit this", "save my changes", or wants to create a git commit.
  • 100git-commit
    Commit staged changes with conventional commit message. Use when user says "commit changes", "commit this", "save my changes", or wants to create a git commit.
  • 92commit
    [Git] Use when asked to commit, stage and commit, or save changes. --push also pushes.
  • 100git-pushing
    Stage all changes, create a conventional commit, and push to the remote branch. Use when explicitly asks to push changes (\"push this\", \"commit and push\"), mentions saving work to remote (\"save to github\", \"push to remote\"), or completes a feature and wants to share it.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.