branch-pr
Prepare pull requests using the target repository's contribution policy. Trigger: creating, opening, or preparing PRs for review.
Trigger: fixing RDD defects (review authority, receipts/lineage, correction/recovery, delivery gate). Not for using or toggling RDD.
Claude Code
$ npx -y skills add gentleman-programming/gentle-shell --skill rdd-defect-workflow --agent claude-code
Codex
$ npx skills add gentleman-programming/gentle-shell --skill rdd-defect-workflow -a codex -y
Cursor
$ npx skills add gentleman-programming/gentle-shell --skill rdd-defect-workflow -a cursor -y
Gemini CLI
$ npx skills add gentleman-programming/gentle-shell --skill rdd-defect-workflow -a gemini-cli -y
GitHub Copilot
$ npx skills add gentleman-programming/gentle-shell --skill rdd-defect-workflow -a github-copilot -y
OpenCode
$ npx skills add gentleman-programming/gentle-shell --skill rdd-defect-workflow -a opencode -y
Windsurf
$ npx skills add gentleman-programming/gentle-shell --skill rdd-defect-workflow -a windsurf -y
name: gentle-ai-rdd-defect-workflow description: "Trigger: fixing RDD defects (review authority, receipts/lineage, correction/recovery, delivery gate). Not for using or toggling RDD." license: Apache-2.0 metadata: author: gentleman-programming version: "1.0"
Load when the frontmatter trigger terms apply to a defect workflow.
This skill guides public collaboration. It does not grant issue approval, label, review, exception, or merge authority.
| Condition | Action | | --- | --- | | Any RDD mode | Review evidence remains review-only; ordinary commit, push, PR, and release follow repository policy with no Pi delivery authority. | | Issue gate or reproduction fails | Wait, stop, or narrow with evidence. | | Invariant or rollback is independent | Separate issue and authoritative PR line. | | Core bench fits / does not fit | Bench journey / actual runtime E2E; never proxy. | | Forecast exceeds about 400 lines | Record the slice boundary; choose the delivery shape and apply the target size policy only when publishing; never a hard stop. |
1. Check mode, the repository's issue policy, PR conflicts, and default-branch reproduction. 2. Name invariant and rollback; isolate the worktree; CodeGraph-map code, tests, evidence, docs, distribution, and registration. 3. Inventory flows and controls; add failing tests and the smallest correction. 4. Normalize, record slice boundaries past about 400 changed lines, run tests, and record each flow's exact candidate, command, scenario, and result. 5. Freeze, validate read-only, and give the verdict, evidence, and one humane next action.
Return `rdd_mode`, `issue_pr`, `causal_invariant`, `operator_flows`, `journey_runtime_evidence`, `changed_line_budget`, `tests`, `rollback`, and `unresolved_authority_decisions`.
Identify approved and superseded/conflicting authority lines; every flow, negative control, and candidate-bound proof; additions plus deletions and chain/exception; test results; independent rollback; and unresolved maintainer decisions.
No supporting files. Current repository policy remains authoritative.
Gentle Shell is a Pi-native workspace for AI-assisted development, bringing parallel coding agents, live tasks, Git diffs, persistent memory, and permission controls into one terminal interface. Powered by Gentle AI and Organic Driven Development (ODD).
Prepare pull requests using the target repository's contribution policy. Trigger: creating, opening, or preparing PRs for review.
Trigger: PRs over 400 lines, stacked PRs, review slices. Split oversized changes into chained PRs that protect review focus.
Design docs that reduce cognitive load. Trigger: writing guides, READMEs, RFCs, onboarding, architecture, or review-facing docs.
Write warm, direct collaboration comments. Trigger: PR feedback, issue replies, reviews, Slack messages, or GitHub comments.
Trigger: design a screen or page, mockup, landing page, UI directions, artboards, try a different approach, design system sync.…
Gentle AI harness discipline for Pi work: clarify first, track ODD work, applicable test-first by default, delegate when useful,…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration