You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(workflow): adopt the /finalize-pr 3-phase PR workflow #19
Adopt the 3-phase PR workflow + /finalize-pr skill recently added to SahajCloud (reference: sydevs/SahajCloud#517), adapted to this repo's tooling.
Background
SahajCloud now structures PR work into three phases so CI re-runs once per batch, not on every change:
Implement — /implement-issue <n> (if present) takes a ticket end-to-end, then runs the finalize pipeline (opens the PR, gets CI green).
Adjust — while iterating on an open PR, commit changes locally but do not push (no CI churn).
Finalize — /finalize-pr ships the batch: simplify → /code-review → conditional /security-review → lean test gate → push → create/refresh the PR → watch CI (capped fix-loop) → report.
Acceptance criteria
.claude/skills/finalize-pr/SKILL.md exists implementing the ship pipeline, re-pointed at this repo's lint/test/CI commands.
AGENTS.md / CLAUDE.md documents the 3 phases + the Adjust-phase "commit locally, never push" rule.
If this repo has an /implement-issue skill, it delegates its finalize steps to /finalize-pr (single source of truth).
/security-review runs only when the diff touches this repo's risky paths (auth, API routes, access control, external integrations, secrets/config — define them for this stack).
A single code-review pass (no redundant second review).
Adaptation notes (do NOT copy SahajCloud verbatim)
Replace SahajCloud's pnpm lint / pnpm test:unit / pr-prep/check.sh / gh pr checks flow with this repo's equivalents (its package scripts, test runner, CI workflow name, build).
Define this repo's own risky-path globs for the conditional /security-review.
Match this repo's existing .claude/skills/ conventions + commit/PR style.
If there's no lean-gate equivalent of pr-prep, add or reference one.
Reference
sydevs/SahajCloud#517 — .claude/skills/finalize-pr/SKILL.md, .claude/skills/implement-issue/SKILL.md, and the AGENTS.md "PR workflow (3 phases)" section.
Activity
chore(workflow): adopt the /finalize-pr 3-phase PR workflow (#21)