Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill git-push명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | git-push |
| description | > Use when this capability is needed. |
Run local CI, fix formatting, review commits, check doc freshness, then push. The goal is to catch everything GitHub Actions would catch, before the code leaves your machine.
Gather context. Run ALL of these in parallel:
git status
git branch --show-current
git remote -v
git log --oneline -5
git rev-parse --abbrev-ref @{upstream} 2>/dev/null || echo "NO_UPSTREAM"
Handle edge cases before proceeding:
This is the ONE command that validates everything. Do not replicate its individual checks.
./scripts/ci-check.sh
This script covers: architecture constraints (no platform headers, no malloc in src/), clang-format, all 3 profile builds (DATA/AUDIO/MEDIA), ctest for each profile, symbol prefix validation, no global mutable state, and AddressSanitizer build+test.
If it fails:
Check if the failure is clang-format. Look for FAIL next to clang-format check in the
output while other checks passed. If so, auto-fix:
clang-format -i src/*.c src/*.h include/*.h crypto/*.h crypto/*.c
Then re-run ./scripts/ci-check.sh. If it passes now, the formatting fixes become part of
the uncommitted changes handled in Step 3.
If the failure is NOT clang-format (build error, test failure, architecture constraint violation, symbol naming, ASan failure): stop the entire flow. Show the failure output clearly to the user. Do NOT attempt automatic fixes for anything other than formatting.
Only reached after Step 2 CI validation passes. If git status shows uncommitted changes
(including any clang-format auto-fixes from Step 2):
Show changes:
git status
git diff HEAD
Stage relevant files by name. Never stage files matching: .env*, credentials*,
*.key, *.pem, *.p12. Warn the user if such files appear in the working tree.
Generate a commit message with conventional commit prefix (feat:, fix:, docs:,
refactor:, test:, chore:, style:) based on the actual changes. If the only change
is formatting, use style: auto-fix clang-format.
Commit using HEREDOC format:
git commit -m "$(cat <<'EOF'
<type>: <description>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
EOF
)"
If no uncommitted changes, skip this step.
Detect layered incremental fixes in today's commits that could be squashed into cleaner history.
# Today's commits on this branch
git log --since="00:00" --format='%h %s' --no-merges
# Source files modified in multiple commits today
git log --since="00:00" --format='%h' --no-merges | \
xargs -I{} git diff-tree --no-commit-id --name-only -r {} | \
grep -E '\.(c|h)$' | sort | uniq -c | sort -rn
If fewer than 2 commits today: Skip entirely. Proceed to Step 5.
Look for these signals:
.c or .h file modified in 3+ commits today (strong signal)If detected, warn the user:
Patch-on-patch detected:
nano_stun.cmodified across multiple commits today. Consider squashing withgit rebase -ibefore pushing.
This is advisory only — if the user says proceed, continue to Step 5.
Compare changed files against upstream to detect potentially stale documentation.
UPSTREAM=$(git rev-parse --abbrev-ref @{upstream} 2>/dev/null || echo "origin/main")
git diff --name-only "$UPSTREAM"...HEAD 2>/dev/null || git diff --name-only HEAD~5..HEAD
Apply these mapping rules:
| Changed files | Check this doc | Reason |
|---|---|---|
src/nano_*.c or src/nano_*.h | docs/QUALITY_SCORE.md | Module grade may need updating |
include/nanortc.h | ARCHITECTURE.md | Public API change affects architecture |
New file in src/ | docs/engineering/development-workflow.md | Module order may need updating |
CMakeLists.txt | AGENTS.md | Build instructions may have changed |
New tests/test_*.c | docs/QUALITY_SCORE.md | Test coverage column may need updating |
crypto/nanortc_crypto*.c | docs/references/rfc-index.md | Crypto RFC refs may need adding |
Any src/ or crypto/ file | docs/exec-plans/active/*.md | Active plan progress may need updating |
If staleness detected, list the potential gaps and let the user decide:
Docs may need updating:
docs/QUALITY_SCORE.md— nano_stun implemented, grade may need bumping from DARCHITECTURE.md— nanortc.h public API changed
Do not block. The user decides whether to update docs before or after pushing.
Check upstream tracking and push:
# Check if upstream exists
git rev-parse --abbrev-ref @{upstream} 2>/dev/null
git push -u origin $(git branch --show-current)git pushDisplay a summary in English:
Push complete
Branch: feat/stun-parser
Commits: 3
Remote: origin (git@github.com:user/nanortc.git)
CI validation: PASSED
Doc reminders: 1 (QUALITY_SCORE.md)
If branch is not main, suggest creating a PR.
main/master../scripts/ci-check.sh before pushing. No shortcuts.Source: 0x1abin/nanortc — distributed by TomeVault.