keyreylaa

Uaf Preflight — Git skill for Claude Code

Git community

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

Terminal
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

Full documentation available on GitHub

View Source Repository