HigorAlves/orc / codex/orc/content/skills/phases
phases
VerifiedPer-phase playbooks for orc commands, loaded one phase at a time
references/stack-pr/PHASE-2-PRECONDITIONS.md
View on GitHub<!-- orc-stack-pr/P2 -->
_Loaded on demand via orc-phases. Do not run this phase from memory — this file is the phase._
# Phase 2 — Verify preconditions
1. Invoke `orc-verification-before-completion`: tests pass, lint clean.
2. Per repo, run the four checks below.
3. If any check fails, print a `⚠️ Caution` callout naming the check and repo; stop.
4. If `n_commits == 1`, print the Next callout below and exit 0.
```bash
git status --porcelain # must be empty
git rev-list --merges "$base"..HEAD # must be empty
n_commits=$(git rev-list --count "$base"..HEAD) # must be ≥ 2
git rev-list "@{u}..HEAD" --count 2>/dev/null # should be 0; warn if not
```
Single-commit exit:
```markdown
> **➡️ Next**
>
> Single commit on the branch — nothing to stack. Use `$orc-ship`.
```
NOTE: never try to "fix it for them". The fourth check only warns.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |