Skip to content
Back to skills

Pushrepo

ASecurity

Commits and pushes all repository changes with ASTROLABE discipline — issue-referenced commit body, hygiene sweep (no target/, .tmp, scratch, logs, or test databases staged), secret-scanner awareness, and pushed-state readback. Replaces the former pushrepo command, which invoked a validation hook that does not exist in this repository.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
ai-agentsbashgitdatabase

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add ChrisRoyse/Astrolabe --skill pushrepo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pushrepo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pushrepo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chrisroyse-pushrepo/badge)](https://www.skillsdirectory.com/skills/chrisroyse-pushrepo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pushrepo
description: Commits and pushes all repository changes with ASTROLABE discipline — issue-referenced commit body, hygiene sweep (no target/, .tmp, scratch, logs, or test databases staged), secret-scanner awareness, and pushed-state readback. Replaces the former pushrepo command, which invoked a validation hook that does not exist in this repository.
disable-model-invocation: true
allowed-tools: Bash(git status *), Bash(git diff *), Bash(git log *), Bash(git add *), Bash(git commit *), Bash(git push *), Bash(git rev-parse *)
---

# Commit and push (validated)

1. **Review reality:** `git status --short` and `git diff` — read what actually changed; never stage blind.
2. **Hygiene sweep — must NOT be staged:** `target/`, `.tmp/`, `.sccache/`, `.toolchains/`, `.astro-gate-cache/`, test databases, logs, fixtures outside their tracked homes. `calyx/` and `cbm/` are **owned first-class source** (#286): commit edits there like any other code — same quality bar and manual-FSV evidence (they are foundational surface; no tests exist, owner directive 2026-07-14).
3. **Commit message:** short imperative subject; body **must** reference the driving issue (`Refs #N`, or `Closes #N` only when that issue's gates have passed). Match recent `git log --oneline` style. End with `Co-Authored-By:` trailer per repo convention.
4. **Secret scanner:** long hex tokens in committed Calyx ledger payloads must live under allowlisted field names (`*_sha256`/`*_hash`/`*_digest`) or the commit fails closed. That failure is correct — rename the field; never bypass with `--no-verify`.
5. **Push** to the current branch. No `--force` on `main`, ever.
6. **Readback (FSV):** `git status` clean + `git log origin/<branch> -1 --format=%H` equals local `git rev-parse HEAD`. A push you did not read back is not pushed.

If any step fails, stop and report the exact failure — no partial pushes, no `--no-verify`, no bypassing hooks.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.