Skip to content
Skills Library
Programming · Review & audit

preflight

/preflight

Final verification of a finished ticket branch right before the human pushes. Use when the user says "preflight PROJ-123", "is this branch ready to push", or after they've reviewed a pipeline result. Rebases onto the latest default branch, re-runs the full suite, checks for drift, and produces a go/no-go. Never pushes.

Licence
MIT
Last repository change
04.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 04.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Final verification of a finished ticket branch right before the human pushes. Use when the user says "preflight PROJ-123", "is this branch ready to push", or after they've reviewed a pipeline result. Rebases onto the latest default branch, re-runs the full suite, checks for drift, and produces a go/no-go. Never pushes.

Triggers from the description

preflight PROJ-123is this branch ready to push
Original author description

Final verification of a finished ticket branch right before the human pushes. Use when the user says "preflight PROJ-123", "is this branch ready to push", or after they've reviewed a pipeline result. Rebases onto the latest default branch, re-runs the full suite, checks for drift, and produces a go/no-go. Never pushes.

How it works

  1. Steps
Original SKILL.md headings · 54 lines, 434 words
SKILL.md preview
---
name: preflight
description: Final verification of a finished ticket branch right before the human pushes. Use when the user says "preflight PROJ-123", "is this branch ready to push", or after they've reviewed a pipeline result. Rebases onto the latest default branch, re-runs the full suite, checks for drift, and produces a go/no-go. Never pushes.
---

# Ticket Pilot — preflight (last check before YOU push)

The pipeline finished hours or days ago; main has moved on; the human is about
to push. Your job: make sure the branch is still true — freshly rebased, fully
green, nothing forgotten. You do NOT push. The output is a go/no-go.

`$ARGUMENTS`: a ticket key (resolve the branch from `feature/<KEY>-*`) or a
branch name. No argument → if the current branch is a `feature/*` branch, use
it; otherwise list candidate branches and ask.

## Steps

1. **Locate** the branch and its `.ticket-work/<KEY>/` artifacts. Verify the
   working tree is clean; halt if not.
2. **Sync with the default branch**: fetch, then rebase the feature branch
   onto the latest default branch (`git rebase origin/<default>`; honor
   `default_branch` from `.ticket-pilot.json`).
   - Conflicts: resolve them ONLY when the resolution is mechanically obvious
     (non-overlapping intent); otherwise `git rebase --abort` and report the
     conflicting files — a human decides semantic conflicts.
   - After any rebase, diff the pre/post patch (`git range-diff` or
     equivalent) and confirm the change is still what was reviewed.
3. **Drift check**: did main's changes since the branch point touch the same
   files/modules as this ticket? If yes, spawn the `code-reviewer` agent on
   the rebased diff — semantic conflicts survive clean rebases.
4. **Full verification**: run the full test suite
   (`full_test_command`/`test_command` from config, else auto-detect) and the
   build/linter. All results reported honestly.
5. **Completeness sweep**:
   - `pr-description.md` still matches the final diff (update it if commits
     were added since it was written).
   - No leftover debug artifacts in the diff: prints/console.logs, focused or
     skipped tests (`.only`, `@Disabled`, `xit`), TODO markers added by the
     pipeline, commented-out code.
   - No unintended files (lockfile churn unrelated to the ticket, editor
     files, `.ticket-work/` leakage).
   - `assumptions.md`, if present: confirm each assumption with the user was
     reviewed — list any `⚠ HIGH RISK` ones again.
6. **Verdict** — one of:
   - ✅ **GO** — rebased, green, clean. Print the exact commands for the human:
     `git push -u origin <branch>` and a ready `gh pr create` line using
     `pr-description.md` (for THEM to run — never run these yourself).
   - ⚠️ **GO WITH NOTES** — pushable, but list what to double-check.
   - ❌ **NO-GO** — what failed, what was done about it, what needs the human.

Append the preflight outcome to `.ticket-work/<KEY>/state.md`.

Hard rules: never push, never create the PR, never force-push, never rewrite
commits that were already reviewed (rebase onto main is the only history
change allowed). If the branch was already pushed upstream by the user
earlier, do NOT rebase it — report that a merge-based sync is needed instead
and stop.

Versions

RepositoryScoreLicence
This page · CristianPGit/claude-qa-architect90MIT
andreibesleaga/gabbe100CC-BY-4.0
pathmodeio/claude-plugin100MIT
aradmanamnaoon/agent-guardrails100MIT
mo-cmyk/mazarbul100Apache-2.0
thilak15/preflight100MIT
manpreet171/slopguard100MIT
rune-kit/rune100MIT
nazmirket/skills90MIT

Database snapshot: 13.11.2026 · package version 0686f92754fb (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100rebase
    Rebases a branch onto its base ref with the verification gates that catch logically broken results before pushing. Use when the user invokes `/rebase`, says 'rebase this branch', 'PR has merge conflicts', or 'rebase onto main', or asks for a force-push to update a remote branch's history.
  • 100rebase
    Rebases the current feature branch onto the base branch (main/master/develop). Use when the user says "rebase", "sync branch", or "update branch".
  • 90sync-branch
    Quickly sync current branch with main using rebase. Use when you need to pull latest main into your feature branch, before creating MR or after ongoing work. Fetches main, rebases, auto-stashes changes, optionally force-pushes.
  • 100ticket
    Run the full ticket-to-branch pipeline on a Jira ticket. Use when the user says "/ticket PROJ-123", "work on ticket X", "pick up PROJ-123", or provides a ticket/requirements file to implement. Analyzes requirements, plans (with approval gate), implements on a feature branch,…
  • 95git-preflight
    Runs the project's configured typecheck, lint, format, security and test checks and offers to fix what fails. Use when the user asks for preflight checks or to check code before committing, and when /git-commit-push-pr --preflight runs it.
  • 100impl-review
    Implement review feedback on a PR. Checks out the branch, applies reviewer-requested changes, runs preflight, commits, and pushes. Triggers on: impl-review, implement review, implement review feedback, address review comments.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.