uclaw-pr-discipline
Use whenever you're about to commit, open a PR, finish a task in a plan, or are working on the codex-absorption-v2.2 integration branch.
Skill by novolei
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/novolei-uclaw-pr-discipline
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/uclaw-pr-discipline
What's inside
- Skill name
uclaw-pr-discipline- Description
- Use whenever you're about to commit, open a PR, finish a task in a plan, or are working on the codex-absorption-v2.2 integration branch. Trigger phrases include "open a PR", "create a pull request", "ready to merge", "commit", "push", "cherry-pick", "prep branch", "stack PR", "one PR per plan", "bisectable", "PR discipline", "review-ready diff". Loads the cherry-pick prep-branch pattern (clean PR diffs from an accumulating integration branch), the stacking convention, and the commit-shape rule.
- License
- Apache-2.0
- Instructions
- 137 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# uClaw — PR Discipline
The codex-absorption work uses a **two-branch model** to keep PR diffs
clean while letting the integration branch accumulate experimental work:
```
main
|
|
┌─────────────────┴─────────────────┐
| |
prep/codex-absorption-pr<N>-<name> claude/codex-absorption-v2.2
| (integration branch — work freely here)
| accumulating commits
PR to main ↑
(clean, single-commit | cherry-pick of one
review-ready diff) | logical commit
```
The integration branch (`claude/codex-absorption-v2.2`) is where you do
exploratory work — commit early, commit often, sometimes squash later.
The prep branches are **clean cherry-picks of one task's commit** off
`origin/main` (or stacked on a predecessor prep branch). PRs go from prep
branches → main.
## When this skill applies
- You finished a plan task (a row in `docs/superpowers/plans/*.md` or the
upgrade-plan) and want a PR for it.
- The work is on `claude/codex-absorption-v2.2` (or any long-running
integration branch you're driving).
- You want a bisectable, review-friendly diff.
## The procedure — one task → one PR
```bash
# 1. On the integration branch, make focused commit(s) for THIS task.
git checkout claude/codex-absorption-v2.2
# ...do work...
git add <files>
git commit -m "<scope>: <subject> [Phase 0.5-T<N>]"
# Take note of the commit SHA: e.g. abc1234
# 2. Decide the base for the prep branch.
# - If no predecessor PR is open: base on origin/main
# - If a predecessor PR is open and unmerged: base on its prep branch
git fetch origin main --quiet
# OR for a stacked PR:
git fetch origin prep/codex-absorption-pr<PREV>-<name> --quiet
# 3. Create the prep branch from that base.
git checkout -b prep/codex-absorption-pr<N>-<topic> origin/main
# OR
git checkout -b prep/codex-absorption-pr<N>-<topic> origin/prep/codex-absorption-pr<PREV>-<name>
# 4. Cherry-pick the integration commit.
git cherry-pick abc1234
# 5. Push the prep branch.
git push -u origin prep/codex-absorption-pr<N>-<topic>
# 6. Open the PR. Use --body-file with a real markdown file — heredoc with
# backticks in table cells gets mangled.
gh pr create \
--base main \
--head prep/codex-absorption-pr<N>-<topic> \
--title "[Phase 0.5-T<N>] <short title>" \
--body-file /tmp/pr<N>-body.md
```
## Stacking convention
When PR <N> logically depends on PR <N-1> being merged first:
- Base prep branch <N> on `origin/prep/codex-absorption-pr<N-1>-<name>`,
not on `origin/main`.
- The PR `--base` is `prep/codex-absorption-pr<N-1>-<name>`, not `main`.
- GitHub will auto-retarget the PR to `main` after <N-1> merges.
- Mention the stack in the PR body: "Stacked on #XXX".
## Commit shape (per CLAUDE.md)
> Bisectability: one logical change per commit. Match the plans in
> `docs/superpowers/plans/*.md`.
> PR shape: one branch per plan, one commit per plan task, one PR with a
> `## Commits (bisectable)` table. See PRs #29, #31, #33, #35, #36.
Subject format:
```
<scope>(<subscope>): <verb-phrase> [Phase 0.5-T<N>]
<2-paragraph body>:
1. WHY this commit exists (link ADR / spec section)
2. WHAT changes mechanically (file-level summary)
```
## What NEVER to do
- ❌ **Force-push to a shared branch** — `main` is protected. Prep branches
are throwaways: you can force-push your own prep branch before opening
the PR, but never after a reviewer has commented.
- ❌ **PR directly from the integration branch** — diffs will include every
experimental commit, reviewers will hate you.
- ❌ **Multi-task PRs** — split into stacked PRs instead. PRs #29, #31, #33,
#35, #36 are the canonical examples.
- ❌ **`git commit --no-verify`** outside an emergency. If you bypassed the
pre-commit hook, the next commit must fix the violation or document the
allowlist exception. Mention in the PR body.
## Verification before pushing
```bash
# Backend
cd src-tauri && cargo build 2>&1 | grep -E "^error" | head
cd src-tauri && cargo test --lib 2>&1 | tail -20
# FrontendFrom novolei/uclaw-new, Apache-2.0.
More from novolei/uclaw-new
- 0.502score
web-design-engineer
novolei
Build polished visual web artifacts with HTML/CSS/JavaScript/React: pages, dashboards, prototypes, slide decks, animations, UI mockups, and data visualizations.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
kb-retriever
novolei
面向本地知识库目录的检索和问答助手。核心流程:(1)分层索引导航 (2)遇到PDF/Excel时必须先读取references学习处理方法 (3)处理文件后再检索。按文件类型组合使用 grep、Read、pdfplumber、pandas…
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
gpt-image-2
novolei
面向 GPT Image 2 的图像生成 / 编辑技能。可在 3 种环境下使用:(A) Garden 本地模式,通过 OpenAI 兼容接口直接出图并落盘;(B) Host-Native 模式,把本 Skill 当作提示词工程指引,把渲染好的 prompt 交给宿主 Agent 自带的图像工具出图;(C)…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-tauri-commands
novolei
Use whenever you add or modify a Tauri IPC command in src-tauri/src/tauri_commands.rs.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-migrations
novolei
Use whenever you need to add, modify, or coordinate a SQLite migration in src-tauri/src/db/migrations.rs.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-composers
novolei
Use whenever you change paste, drop, attachment, send, or any input behavior in the chat or agent UI.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
uclaw-tick-feature-verify
novolei
Use when E2E-verifying a uClaw feature whose production behavior is driven by a slow tick / cron / scheduler — typical signs are `tick_count % N == 0`…
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
uclaw-github-ops
novolei
Direct GitHub operations (commit / push / PR / merge) on the user's Mac — bypasses Cowork sandbox lock-tracking limitations.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
uclaw-codex-derived
novolei
Use whenever you copy, port, or adapt code from openai/codex (the Codex CLI Rust workspace at /Users/ryanliu/Documents/Hero/codex).
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
uclaw-gitnexus-workflow
novolei
Use before editing any function, method, or class — especially in files referenced by multiple call sites, or anywhere in src-tauri/src/agent/…
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
uclaw-memory-graph-freeze
novolei
Use whenever you're tempted to write to memory_graph or are working on memory persistence, knowledge graph, entity storage, or "save this for later" features.
SkillCFreshness: C★ 1Claude Code +9 - 0.264score
uclaw-milestone-closed-loop
novolei
No description from the publisher yet.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 20, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/novolei/uclaw-new
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from novolei
- 0.502score
web-design-engineer
novolei
Build polished visual web artifacts with HTML/CSS/JavaScript/React: pages, dashboards, prototypes, slide decks, animations, UI mockups, and data visualizations.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
gpt-image-2
novolei
面向 GPT Image 2 的图像生成 / 编辑技能。可在 3 种环境下使用:(A) Garden 本地模式,通过 OpenAI 兼容接口直接出图并落盘;(B) Host-Native 模式,把本 Skill 当作提示词工程指引,把渲染好的 prompt 交给宿主 Agent 自带的图像工具出图;(C)…
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
kb-retriever
novolei
面向本地知识库目录的检索和问答助手。核心流程:(1)分层索引导航 (2)遇到PDF/Excel时必须先读取references学习处理方法 (3)处理文件后再检索。按文件类型组合使用 grep、Read、pdfplumber、pandas…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-migrations
novolei
Use whenever you need to add, modify, or coordinate a SQLite migration in src-tauri/src/db/migrations.rs.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-composers
novolei
Use whenever you change paste, drop, attachment, send, or any input behavior in the chat or agent UI.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-tauri-commands
novolei
Use whenever you add or modify a Tauri IPC command in src-tauri/src/tauri_commands.rs.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
uclaw-pr-discipline skill. Agent Mart. https://agentmart.dev/skills/novolei-uclaw-pr-discipline (last updated 2026-10-24)