atomic-issues-prs
SolidPublish a change-set as atomic GitHub issues or PRs. Use when the user says "atomic PRs" or wants one issue/PR per logical change.
AI & Automation 35 stars
0 forks Updated 2 weeks ago Apache-2.0
Install
Quality Score: 85/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Atomic Issues and PRs
Publish a change-set as atomic GitHub objects: one issue/PR per logical change, never bundled.
The layer above `commit-push`. It opens the PRs (and optionally issues) that skill never touches.
## Phase 0 - Preflight & canonical-repo resolution
Run `gh auth status`. If unauthenticated, stop and ask the user to run `gh auth login`.
Resolve the canonical (upstream) slug **explicitly before any permission check**. `gh repo view`'s
default inspects the *current* repo, which is the fork in a fork clone.
- Read remotes: `git remote -v`. Pick the contribution target: `upstream` if present, else `origin`.
- Detect a fork relationship: `gh repo view <slug> --json nameWithOwner,parent,defaultBranchRef`.
A non-null `parent` means `<slug>` is itself a fork, so the canonical slug is `parent.nameWithOwner`.
- **Ambiguity → ask.** Prompt the user for the target repo only when there is no clear single
upstream (no `upstream` remote and ≥2 plausible non-origin candidates, or `gh`'s detected
`parent` disagrees with the `upstream` remote) **or** `origin` has genuinely diverged from
upstream (no common merge-base, or `origin` was re-created/renamed/renewed). Plain fork-behind,
where `origin` is merely behind `upstream` with a shared merge-base, is not ambiguity and must never
prompt.
- Query permission on the canonical slug: `gh repo view <canonical-slug> --json viewerPermission`.
`viewerPermission` ∈ {ADMIN, MAINTAIN, WRITE} ⇒ **direct mode**; otherwise...
Details
- Author
- OutlineDriven
- Repository
- OutlineDriven/odin-claude-plugin
- Created
- 9 months ago
- Last Updated
- 2 weeks ago
- Language
- Python
- License
- Apache-2.0
Integrates with
Related Skills
AI & Automation Featured
code-simplifier
Review RTK Rust code for idiomatic simplification. Detects over-engineering, unnecessary allocations, verbose patterns. Applies Rust idioms without changing behavior.
79,919 Updated today
rtk-ai AI & Automation Featured
design-patterns
Rust design patterns for RTK. Newtype, Builder, RAII, Trait Objects, State Machine. Applied to CLI filter modules. Use when designing new modules or refactoring existing ones.
79,919 Updated today
rtk-ai AI & Automation Featured
issue-triage
Issue triage: audit open issues, categorize, detect duplicates, cross-ref PRs, risk assessment, post comments. Args: "all" for deep analysis of all, issue numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.
79,919 Updated today
rtk-ai