بنقرة واحدة
issue-update-decisions
Update the active issue with a design decision and cascade impact to all open issues and PRDs
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Update the active issue with a design decision and cascade impact to all open issues and PRDs
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Draft, polish, and create a well-formed GitHub issue with required structure
Post a structured checkpoint comment to the relevant issue and commit current code state
Close out issue work - ensure PR exists, run the full CodeRabbit + /code-review gate, merge, close all issues in the working set, clean branches, and update PROGRESS.md
Fresh session pickup using the most recent checkpoint comment and git log — reconstructs working context for active issue work
Recommend juggling pairs, user decides, create correctly-named branch for issue work
Complete PRD implementation workflow - create branch, push changes, create PR, merge, and close issue
| name | issue-update-decisions |
| description | Update the active issue with a design decision and cascade impact to all open issues and PRDs |
| category | project-management |
Run git branch --show-current to read the current branch name. Extract issue numbers from the branch name (format: feature/<numbers>-<description>). Fetch issue titles with gh issue view <number> --json number,title.
If the branch contains multiple issue numbers, ask the user which issue this decision most belongs to.
Read the current issue body with gh issue view <number> --json body to understand existing context and any existing Decision Log section.
Review the conversation context for decision-making patterns:
Look for conversation elements that suggest strategic changes:
If no clear decision is apparent from conversation context, ask the user: what was decided? What alternatives were considered? What is the rationale?
For each identified decision, assess:
For each decision, record using this format:
**[YYYY-MM-DD] [Short decision title]**: [description]. **Why**: [rationale]. **Alternatives**: [what was considered and rejected].
Update the active issue's body to record the decision.
Fetch the current issue body with gh issue view <number> --json body.
If a ## Decision Log section exists, append the new entry to it. If none exists, append a new ## Decision Log section to the end of the issue body.
Propose the complete updated issue body to the user for confirmation before applying. Do not post until the user approves. Then write the merged body to a temp file and update via:
gh issue edit <number> --body-file /tmp/issue-body.md
If the decision directly contradicts acceptance criteria, scope, implementation approach, code examples, or risk statements elsewhere in the issue body, include those as additional edits in the same proposed body update.
After recording the decision in the active issue, propagate its impact to other open issues and PRD files. Decisions that sit only in the active issue become invisible to implementers working on related open work.
gh issue list --state open --json number,title,body to get all open issues. Exclude the active issue (identified in Step 1) from the list when iterating — it was already updated in Step 4.prds/*.md.gh issue edit for issues and the Edit tool for PRD files. Only pause if a proposed update is genuinely ambiguous — for example, if it's unclear whether the decision changes an acceptance criterion or only adds context to it.When updating an affected issue or PRD, add a concise note that:
Example:
Before:
- [ ] Implement custom auth flow with username/passwordAfter:
- [ ] Implement OAuth provider integration (Updated per decision: switched from custom auth to OAuth)
After cascading, report which issues and PRDs were updated in a brief list (e.g., "Updated issue #42 and prds/84-autonomous-prd.md per decision: auth approach changed from custom to OAuth"), or confirm that no other open work was affected.