askill
committing-and-creating-pr

committing-and-creating-prSafety 90Repository

Guides git commit and PR creation with security validation to prevent sensitive information leaks. Activates on "커밋", "commit", "PR", "pull request" requests. Enforces consistent commit style.

6 stars
1.2k downloads
Updated 2/27/2026

Package Files

Loading files...
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)
# Quick scan
git diff --cached | grep -iE "(password|api_key|secret|token).*="

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

Step 3: Commit

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

Implement token validation middleware with refresh logic.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
EOF
)"

Commit Message Format

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

<body>

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

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

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

82/100Analyzed 3/2/2026

Well-structured skill covering git commit security and PR creation with clear step-by-step instructions. Strong safety focus on preventing secret leaks, good use of conventional commits format, and actionable bash commands. Minor gaps in branch management and conflict resolution, but covers core workflow comprehensively.

90
85
80
75
85

Metadata

Licenseunknown
Version-
Updated2/27/2026
Publisherjiunbae

Tags

apigithub-actionsllmsecuritytesting