create-pr
Publish or update one repository-adaptive, exact-SHA pull request without duplicating or broadening authority
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Publish or update one repository-adaptive, exact-SHA pull request without duplicating or broadening authority
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Clade goal-driven autonomous improvement loop (Blueprint architecture — deterministic pre/post phases + LLM supervisor/worker nodes, converges when goal met or max-iter hit). NOT the Claude Code built-in /loop (which polls a prompt on an interval like `/loop 5m /foo`) — if the user wants interval polling, route to the built-in.
Adaptive, resumable Git delivery across repositories and agent runtimes — probe policy, checkpoint coherent work, publish, review, integrate, and verify cleanup
Adaptive, resumable Git delivery across repositories and agent runtimes — probe policy, checkpoint coherent work, publish, review, integrate, and verify cleanup
Inspect or select a Clade execution connection while keeping agent runtime, inference provider, wire protocol, and model distinct. Use for Claude/Codex runtime selection, Anthropic/OpenAI/MiniMax/Kimi/custom gateways, model routing, or connection troubleshooting.
Inspect or select a Clade execution connection while keeping agent runtime, inference provider, wire protocol, and model distinct. Use for Claude/Codex runtime selection, Anthropic/OpenAI/MiniMax/Kimi/custom gateways, model routing, or connection troubleshooting.
Equipment manager for Claude Code projects — inventory local skills/agents/scripts, audit external upstream repos (red-flag + prompt-injection screening), and sync selectively after user approval. Absorbs container-layout skill repos AND single-skill-at-root repos (e.g. a company design-system repo). Project-agnostic.
SOC 직업 분류 기준
| name | create-pr |
| description | Publish or update one repository-adaptive, exact-SHA pull request without duplicating or broadening authority |
This package composes the provider-neutral Clade core contract with the native Codex surface adapter. Run the workflow directly in Codex; do not launch another agent CLI or route it through Clade MCP.
Package provenance:
clade.delivery/v1codex/v1$clade:create-prconfigs/skills/<name>You are the Create PR skill. Publish or update the active Clade delivery idempotently.
Locate/read the sibling delivery skill, relevant surface overlay, and active
delivery state. Run its context probe again immediately before publication.
Stop or choose a non-PR fallback when:
GitHub uses gh; GitLab/Bitbucket use their available adapters; plain Git
returns a pushed branch, request-pull, or patch/bundle. Never invoke gh in a
non-GitHub repository.
Inspect the complete diff/commits from the resolved PR base. Map every file to one behavior/root cause. Multiple commits do not make a multi-feature branch acceptable.
For multiple scopes, preserve the source branch, then create independent or stacked delivery records in isolated worktrees. Each stacked PR targets its immediate parent and owns its own candidate/remote evidence. Never close or rewrite the recovery branch before replacements are reachable.
Require complete candidate evidence for the exact current head:
python3 "$DELIVERY_PY" show --id "<id>"
git rev-parse HEAD
If evidence is absent/stale, align the base, run full repository checks, and
record delivery candidate before publication.
Query the forge for an open PR with this exact head branch before creating one.
PR creation is idempotent. Never open a duplicate because a previous process crashed after the forge write but before local state recording.
Honor the repository PR template, required labels/reviewers, contribution token/instructions, and forge conventions. The body records:
Do not include secrets, raw auth endpoints, machine-private paths, or claims of independent human approval.
Draft only when requested, repository policy opens drafts early, or remote CI must run before ready.
Push with an explicit same-name refspec/upstream only under recorded push authority. Then create or update the PR through the selected forge adapter.
Record the result:
python3 "$DELIVERY_PY" publish \
--id "<id>" --pr <number> --url "<url>" \
--base "<resolved-base>" --head-sha "$(git rev-parse HEAD)" [--draft]
If recording fails after PR creation, re-query by head and repair the existing record; do not create another PR.
Wait for this PR's remote checks. Fix failures with new checkpoint commits, rerun full candidate verification for the new SHA, push, and update the same PR. Completion reports the URL, base/head, stack position, exact evidence, and remaining external review—not “ready” while gates are pending.
$clade:delivery, and use $clade:<skill-name> for companion workflows.AGENTS.md; read legacy CLAUDE.md only when it
is trusted repository guidance.git worktree list --porcelain before checkout, rewrite, or cleanup:
one branch cannot be checked out by multiple worktrees.Publish one independently reviewable and reversible delivery unit. Use the
shared $clade:delivery context/state controller; do not assume GitHub, origin,
main, branch ownership, or autonomous PR authority.
One PR = one independently reviewable and reversible delivery unit.
Tests, migrations, generated files, and documentation for that same behavior belong together. Independent behavior becomes independent or explicitly stacked delivery records.
If this workflow changes files or external state:
git status for a
repository task.DONE while task-owned changes are uncommitted. Use or continue
$clade:delivery and create a repository-compliant checkpoint or preserve
the work when committing is unavailable.BLOCKED or NEEDS_CONTEXT rather than
appending a "not committed/pushed/deployed" caveat after DONE.