# Commit Same Branch

> Commit on the current branch with conventional message

- **Type:** Skill
- **Install:** `agentstack add skill-emaraschio-cursor-commands-commit-same-branch`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [emaraschio](https://agentstack.voostack.com/s/emaraschio)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [emaraschio](https://github.com/emaraschio)
- **Source:** https://github.com/emaraschio/cursor-commands/tree/main/.cursor/skills/commit-same-branch
- **Website:** https://github.com/emaraschio/cursor-commands#readme

## Install

```sh
agentstack add skill-emaraschio-cursor-commands-commit-same-branch
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## Overview

Commit changes to the same branch with proper commit message.

## Steps

1. **Write commit message**
   - Must use the conventional commit message convention.
   - Summarize changes clearly

2. **Commit changes**
   - Use a single commit for the changes
   - Commit the changes to the branch
   - Push the changes to the remote repository

## Commit Message Examples

```markdown
feat(scope): add new feature
fix(script): resolve script error
chore(script): update script dependencies
refactor(script): standardize script error handling
test(script): add comprehensive script tests
docs(script): update script documentation
```

## Guardrails

- Commit only when the user asks; do not commit unrequested work.
- Do not push unless asked; keep commits local until the user requests a push.
- Use the Conventional Commits convention for every message.
- Before staging, review `git status`, `git diff`, and recent `git log`; write the commit message with a HEREDOC and stay on the current branch (do not create a new branch).
- Never print, stage, or commit secrets or credential files (.env, .env.*, keys); exclude them and warn instead.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [emaraschio](https://github.com/emaraschio)
- **Source:** [emaraschio/cursor-commands](https://github.com/emaraschio/cursor-commands)
- **License:** MIT
- **Homepage:** https://github.com/emaraschio/cursor-commands#readme

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** yes
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-emaraschio-cursor-commands-commit-same-branch
- Seller: https://agentstack.voostack.com/s/emaraschio
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
