Repository navigation
chore(workflow): add /finalize-pr skill + 3-phase PR workflow - #517
Merged
Merged
Conversation
Extract the post-implementation ship pipeline out of /implement-issue into a reusable /finalize-pr skill, and split the workflow into three phases (Implement -> Adjust -> Finalize) so follow-up tweaks are committed locally and CI only re-runs once, at finalize. - New .claude/skills/finalize-pr/SKILL.md: simplify -> single /code-review -> conditional /security-review (risky paths only) -> pr-prep lean gate -> push -> create/refresh PR -> watch CI with a capped fix-loop -> report. pr-template.md moves here. - /implement-issue now delegates its finalize steps to it, uses pr-prep/check.sh for the lean gate, and drops the duplicate scripts/validate.sh and the redundant second /review pass. - AGENTS.md documents the 3 phases + the Adjust-phase "commit locally, never push" rule. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
railway-app
Bot
temporarily deployed
to
sahajcloud / SahajCloud-pr-517
June 30, 2026 14:31
Destroyed
This was referenced Jun 30, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/implement-issueinto a reusable/finalize-prskill./security-review(risky paths only), a capped CI fix-loop, and retires a duplicate validation script.Changes
.claude/skills/finalize-pr/SKILL.md— new ship-pipeline skill (disable-model-invocation): pre-flight →/simplify→ single/code-review→ conditional/security-review→pr-preplean gate → push → create/refresh PR → watch CI (3-iteration fix cap) → report..claude/skills/implement-issue/SKILL.md— delegates its finalize steps to/finalize-pr; usespr-prep/check.shfor the lean gate; runs a single review; hands off to the Adjust phase..claude/skills/finalize-pr/pr-template.md— moved fromimplement-issue/..claude/skills/implement-issue/scripts/validate.sh— removed (duplicate ofpr-prep/check.sh).AGENTS.md— new "PR workflow (3 phases)" section, including the Adjust-phase "commit locally, never push" rule.Test Results
Notes for reviewer
/implement-issuereads + executesfinalize-pr/SKILL.mdrather than duplicating the pipeline, so both paths run the same steps./security-reviewis gated on a risky-path grep (access / clients-managers / endpoints / api / storage / webhooks /payload.config.ts) — verified it matches an access-touching branch and skips a docs-only one.sydevs/SahajAtlasWebandsydevs/WeMeditateWeb(tickets to be raised).🤖 Generated with Claude Code