signing-preflight
Before the first commit of a session, check that commit signing will work — the key is loaded and unlocked — and ask the operator to unlock it once, up front…
Skill by avelikiy
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/avelikiy-signing-preflight
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/signing-preflight
Tools it pre-approves 2
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Bash
What's inside
- Skill name
signing-preflight- Description
- Before the first commit of a session, check that commit signing will work — the key is loaded and unlocked — and ask the operator to unlock it once, up front, instead of discovering it after a hundred unsigned commits. Never disables signing silently, never re-signs history without asking. Use at the start of implementation work in a repo that signs commits ("коммиты не подписаны", "ssh-keygen висит", "gpg failed to sign"). Loaded by senior-dev, devops.
- License
- MIT
- Allowed tools
- Read,, Bash
- Instructions
- 56 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves any shell command
Files (1)
- SKILL.md
SKILL.md (first lines)
# signing-preflight — find the locked key before the first commit, not after the hundredth
On real projects: an agent committed unsigned without asking to unlock the key; a
signing call on a locked SSH key hung the session; 121 commits had to be re-signed after
the fact — and the key turned out to have no passphrase at all. Each was a two-second
question at the start of the session.
## Check (read-only, bounded)
```bash
git config --get commit.gpgsign # true → signing is expected
git config --get gpg.format # ssh | openpgp (empty = openpgp)
git config --get user.signingkey
```
**SSH signing** — does a test signature finish? (`user.signingkey` may be a key file or a
literal `key::ssh-…`; the test signature is the check that works for both.)
```bash
K="$(git config --get user.signingkey)"; case "$K" in key::*) printf '%s\n' "${K#key::}" > /tmp/sigpre.pub; K=/tmp/sigpre.pub ;; esac
echo preflight | perl -e 'alarm 5; exec @ARGV' ssh-keygen -Y sign -n git -f "$K" >/dev/null 2>&1 && echo signs || echo CANNOT-SIGN
```
**OpenPGP** — a batch signature that refuses to prompt:
```bash
echo preflight | perl -e 'alarm 5; exec @ARGV' gpg --batch --pinentry-mode error --clearsign -u "$(git config --get user.signingkey)" >/dev/null 2>&1 && echo signs || echo CANNOT-SIGN
```
Always bound the test with a timeout: an unbounded signing call on a locked key waits
for a passphrase nobody will type, and the session stalls.
## Then
- **signs** → proceed; nothing to say.
- **CANNOT-SIGN** → one question to the operator, before any work:
"Commit signing is on and the key is locked / not loaded. Unlock it (`ssh-add` /
gpg-agent) and I will continue — or tell me to commit unsigned for this session."
Wait for the answer. This is the one question worth stopping for at the start.
## Never, without being told
- `git -c commit.gpgsign=false commit …` or `--no-gpg-sign` — an unsigned commit on a
branch that requires signatures is a push that will be refused, or worse, accepted.
- Re-signing history (`rebase --exec 'git commit --amend -S'`) — it rewrites every hash
after the first commit it touches; on a pushed branch that is a force-push.
## Report unsigned work
If commits were made unsigned anyway, say so with the list:
```bash
git log --format='%h %G? %s' @{upstream}..HEAD | awk '$2!="G"'
```From avelikiy/great_cto, MIT.
More from avelikiy/great_cto
- 0.776score
opportunity-solution-tree
avelikiy
Build an Opportunity Solution Tree (OST) to structure product discovery — map a desired outcome to customer opportunities, possible solutions, and experiments.
SkillAFreshness: A★ 105Claude Code - 0.776score
skeptical-triage
avelikiy
Reusable 3-round self-challenge + arbiter pattern for filtering false positives from findings/verdicts.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
deploy-landed
avelikiy
Prove a deploy landed — the served revision is the commit you meant, its env is present, and the product does its job — instead of trusting the deploy…
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
observability-baseline
avelikiy
Scaffold-time observability so a shipped product is not blind in prod from day one — error capture (Sentry), request-id structured logging, and /healthz +…
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
quant-validation
avelikiy
The methods a financial-ML result has to survive before it is evidence — purged cross-validation with an embargo, triple-barrier labelling, sample uniqueness…
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
brainstorming
avelikiy
Structured idea generation + multi-LLM debate for the product-owner stage.
SkillAFreshness: A★ 105Claude Code - 0.776score
aesthetic-instrument
avelikiy
great_cto's own committed aesthetic — the instrument panel.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
committed-aesthetic
avelikiy
How to write — and how to use — a skill that IS one aesthetic rather than a catalogue of them.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
lifecycle-messaging
avelikiy
Email/SMS lifecycle and deliverability framework for SMB Product-Builder products that send transactional or lifecycle messages (booking reminders, CRM…
SkillAFreshness: A★ 105Claude Code - 0.776score
migration-ready-schema
avelikiy
Data-model rules that make a schema importable from day one, so the migration-import-engineer is never blocked on missing columns.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
outcome-roadmap
avelikiy
Transform an output-focused roadmap (feature list) into an outcome-focused one.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
vertical-onboarding
avelikiy
Onboarding-and-switching playbook for SMB Product-Builder products.
SkillAFreshness: A★ 105Claude Code +9
Signals
- Stars
- 105
- Forks
- 13
- Open issues
- 5
- Last commit (this folder)
- Sep 22, 2026 (1 month ago)
- Last release
- Oct 23, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/avelikiy/great_cto
- Website
- greatcto.systems
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from avelikiy
- 0.776score
deploy-landed
avelikiy
Prove a deploy landed — the served revision is the commit you meant, its env is present, and the product does its job — instead of trusting the deploy…
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
lifecycle-messaging
avelikiy
Email/SMS lifecycle and deliverability framework for SMB Product-Builder products that send transactional or lifecycle messages (booking reminders, CRM…
SkillAFreshness: A★ 105Claude Code - 0.776score
aesthetic-instrument
avelikiy
great_cto's own committed aesthetic — the instrument panel.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
brainstorming
avelikiy
Structured idea generation + multi-LLM debate for the product-owner stage.
SkillAFreshness: A★ 105Claude Code - 0.776score
committed-aesthetic
avelikiy
How to write — and how to use — a skill that IS one aesthetic rather than a catalogue of them.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
migration-ready-schema
avelikiy
Data-model rules that make a schema importable from day one, so the migration-import-engineer is never blocked on missing columns.
SkillAFreshness: A★ 105Claude Code +9
Cite this page
signing-preflight skill. Agent Mart. https://agentmart.dev/skills/avelikiy-signing-preflight (last updated 2026-10-24)