pre-merge

Solid

The CI gate. Takes a feature branch from "eng says done" to "PR open against staging with green checks and a human-approved preview". Runs the project's preflight-resolved pipeline from devkit/policy.json components[]: sync → parallel correctness + security waves → coverage → regression tail → security/migration → PRD-consistency → preview deploy (human gate) → open PR. Emits a severity-graded verdict JSON. Absorbs the old /review and /test. Activates on /pre-merge after eng --build.

Code & Development 2 stars 0 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
16
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# pre-merge **The** CI gate. Runs after `eng --build` says a feature branch is done, and takes it to a PR open against `staging` with green checks and a human-approved preview. Absorbs the retired `/review` and `/test`. Each run is independent. ``` eng --build → /pre-merge → (fail → eng --build report=…, repeat) → PR feature→staging → post-merge --staging ``` ## Usage - `/pre-merge` — gate the current feature branch against `staging` - `/pre-merge --init` — run the one-time setup: detect tooling (incl. the `.github/workflows/` CI pipeline that runs the gate on PRs, unless `policies.github_actions.enabled` is `false` — then the missing workflow is a settled opt-out, not a gap, and no scaffold is offered) → interview → gated install/scaffold → write `devkit/policy.json` (no gate run); see `refs/protocol-init.md` - `/pre-merge --doctor` — **deprecated alias for one release**: runs `--init` and prints a deprecation note naming `--init`/`--update` - `/pre-merge --update` — reconcile the manifest with codebase reality (re-run preflight checks → diff `components[]` → approve the delta → apply `present`/`active_when`/new-component changes only; never re-grades user-set criticality or re-prompts settled opt-outs); see `refs/protocol-init.md` - `/pre-merge --prd <path>` — load a PRD; enables the `prd`-group components (`prd-consistency`, `manual-test-plan`) and feeds the `regression` component (repeatable) - `/pre-merge --prior-issues <path>` — load a prior verdict JSON t...

Details

Author
ndisisnd
Repository
ndisisnd/msg
Created
3 months ago
Last Updated
yesterday
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Solid

post-merge

The ship gate. Takes a pre-merge PR from "open against staging" to "live in production". Two modes: `--staging` (verify green CI → merge into staging → deploy → verify per release model — smoke the live target, or submission-accepted for store apps → emit a human test script → stamp staging sign-off on approval) and `--production` (double-confirmed staging→main release PR → merge on green CI + human review → production deploy → verify per release model: smoke the live target, or submission-accepted + monitor-handoff for store apps). The ONLY skill that merges. Never self-certifies staging; nothing reaches `main` any other way. Activates on /post-merge after pre-merge's PR exists.

2 Updated yesterday
ndisisnd
Code & Development Listed

pre-merge

Primary pipeline review step after verified implementation. Use to create a PR with lineage and run architectural review before merge. Not for QA intake, planning, or implementation work.

2 Updated 1 weeks ago
chrislacey89
Code & Development Listed

automerge

Review-gated auto-merge for Rihla PRs. Classifies a PR's diff; Gate-exempt PRs (docs, token sweeps, one-sentence diffs) get GitHub native auto-merge enabled immediately so they merge on green `readiness`. Gate-category PRs (money math / firestore.rules / Cloud Functions auth / routing / schema-field-name) get a fresh-context Opus diff review, then an independent refuter, and auto-merge is enabled ONLY if both clear. Use when asked to "auto-merge this PR", "/automerge <N>", or under /loop to sweep open PRs.

0 Updated 4 days ago
NasserAlbusaidi