smithery/jiunbae

git-commit-pr

Guides local Git commit preparation and pull-request drafting with staged-diff and secret checks.

Installation

$ npx skills add smithery/jiunbae --skill committing-and-creating-pr

Summary

  • Guides local Git commit preparation and pull-request drafting with staged-diff and secret checks.
  • Use when the user asks to commit changes, prepare a conventional commit, or draft a PR.
  • When a dedicated GitHub publishing workflow is available, use it for pushing and opening the PR after these local checks.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/jiunbae · top by installs.

npx skills add smithery/jiunbae

Browse all from smithery/jiunbae

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,009 B
  • docs SUMMARY.md 230 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Git Commit & PR Guide

Secure commits with consistent style.

Pre-Commit Security Check

Before committing, scan for:

  • API keys (sk-, AKIA, ghp_)
  • Passwords in code
  • .env files tracked by git
  • Private keys (.pem, .p12)

Run the bundled check before committing. Resolve COMMITCHECKSKILL_DIR to the installed directory containing this SKILL.md; do not assume the target repository contains the skill sources. The checker reports only affected file names, never the matched secret values. Exit status 1 means a blocking finding and status 2 means the Git data could not be inspected reliably.

"$COMMIT_CHECK_SKILL_DIR/scripts/commit-check.sh" staged

Commit Workflow

Step 1: Stage Changes

git add <specific-files>  # Prefer specific files
# Avoid: git add -A (may include secrets)

Step 2: Review Staged

git diff --cached
"$COMMIT_CHECK_SKILL_DIR/scripts/commit-check.sh" staged

Step 3: Commit

git commit -m "$(cat <<'EOF'
feat(auth): add JWT token validation

Implement token validation middleware with refresh logic.
EOF
)"

Commit Message Format

<type>(<scope>): <subject>

<body>

Types: feat, fix, docs, style, refactor, test, chore

PR Creation

gh pr create --title "feat: add feature" --body "$(cat <<'EOF'
## Summary
- Change 1
- Change 2

## Test plan
- [ ] Unit tests pass
- [ ] Manual testing done
EOF
)"

Security Rules

NEVER commit:

  • .env files
  • API keys/tokens
  • Private keys
  • Credentials

Always check:

git status  # No sensitive files staged
git diff --cached  # No secrets in diff