Uaf Preflight — Git skill for Claude Code
Run the git commit preflight — secrets, identity, staged set, and artifacts — before creating a commit.
How to install Uaf Preflight
Installs to ~/.claude/skills/keyreylaa-universal-agent-framework-uaf-preflight/SKILL.md
mkdir -p ~/.claude/skills/keyreylaa-universal-agent-framework-uaf-preflight && curl -fsSL https://raw.githubusercontent.com/keyreylaa/universal-agent-framework/HEAD/commands/uaf-preflight.md -o ~/.claude/skills/keyreylaa-universal-agent-framework-uaf-preflight/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Uaf Preflight does
description: Run the git commit preflight — secrets, identity, staged set, and artifacts — before creating a commit. argument-hint: '[--json]'
Commit preflight
UAF="$(git rev-parse --show-toplevel)/.uaf/framework/core/cli.mjs"
node "$UAF" git --commit $ARGUMENTS
This is read-only. It inspects the index blobs — the exact content that would be committed — not the working tree, so it catches a staged secret that was already removed from disk.
Handle the result as follows:
Alternatives in Git
- Gen Commit Msg — Generate intelligent commit messages based on staged changes 5.7k ★
- Prepare Commit — Comment out inappropriate logging before commit 1.6k ★
- Draft Commit Message — Analyze the staged and unstaged changes, then output a single conventional commit message line 76 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Uaf Publish Check
Check the GitHub destination, divergence, CI status, and outgoing commits before publishing.
Bob Fix Precommit
Run pre-commit on a git repo and resolve everything it fires, where safe to auto-fix. Never auto-allowlists se
Import Project
Bring an existing project into projects/ — clone through scripts/forge-clone.ps1, offering the commit identity
Atomic Push
Atomic commit + scan + push ke GitHub dengan identity check, ruff lint, gitleaks secret scan.
Gen Commit Message
Use when user has staged changes and asks for a commit message, says "what should the commit message be", or t
Msg
Suggest a commit message for the current staged changes. Do not commit. Do not stage. Do not run any git write
Related Agents
ForensicAgent
Forensic security analyst — PII detection, secret scanning, identity leak auditing across git history, staged
Commit PR
Use to write git commit messages and PR/MR descriptions once a change is staged or ready for review. Produces
Git Commit Curator
Use this agent when there are pending (staged or unstaged) changes in the repository that need to be translate