publish-pr SKILL.md skillA

publish-pr from ethanaubuchon/dossier-tradecraft is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ethanaubuchon/dossier-tradecraft/publish-pr@git:20260628.3255910

Pins git:20260628.3255910 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ethanaubuchon/dossier-tradecraft
Path
skills/publish-pr/SKILL.md
Versions recorded
1
Latest version
git:20260628.3255910, committed Jun 28, 2026
Size
3,260 bytes
Repository stars
3
License
MIT

Use in /implement at the draft→ready boundary to squash the branch's review-iteration commits into one (non-interactive soft-reset + recommit + force-with-lease) and mark the draft PR ready. Takes the commit message as input (sourced from the plan-file before cleanup). GitHub-specific (gh) behind a host-neutral contract.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Publish PR

The finalize step of `/implement`'s repo path: collapse the review-iteration commit noise into one clean commit, then mark the draft PR ready for humans. Runs **after** `cleanup-artifacts` (so a tracked plan-file deletion folds into the squashed commit).

The squash is a **non-interactive** local rewrite — `git rebase -i` isn't available in this harness, and isn't needed.

## Input

- **branch** — the current feature branch (committed; reviewed in its draft PR).
- **commit message** — the final squashed-commit message. The recipe sources it from the `plan-file` (story ref + change summary) **before** `cleanup-artifacts` deletes that file.
- **PR ref** — the draft PR to mark ready (from `open-draft-pr`).

## Steps

1. **Squash** the branch to one commit:
   ```
   git reset --soft "$(git merge-base origin/main HEAD)"
   git add -A
   git commit -m "<commit message>"
   ```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ethanaubuchon/dossier-tradecraft/publish-pr@sha256:8b0f476f33a60e88

The line at the top of this page pins the label git:20260628.3255910, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_3nzgnms34mlhmuig.svg)](https://markdownregistry.com/a/art_3nzgnms34mlhmuig)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jun 28, 2026.

versioncommittedcommitsizeaudit
git:20260628.3255910 latest2026-06-28 3255910 3,260 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3260 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ethanaubuchon/dossier-tradecraft · 3 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_3nzgnms34mlhmuig
GET https://markdownregistry.com/api/v1/resolve?ref=ethanaubuchon/dossier-tradecraft/publish-pr
GET https://markdownregistry.com/api/v1/blob/8b0f476f33a60e884fe16ff0bcbe396ecd9873fd4ef541007ecd71991d2d8a8b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ethanaubuchon/dossier-tradecraft

agent-review SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/agent-review/SKILL.md · Use in /implement after committing, inside the draft PR, to review the committed diff. Dispatches a dependency-free…
git:20260926.30c4426 · audit A · 3 stars
capture-to-vault SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/capture-to-vault/SKILL.md · Use during /research, /scope (or any recipe) to write or update a vault note via dossier-mcp. Agent drafts slug +…
git:20260503.21e93ab · audit A · 3 stars
cleanup-artifacts SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/cleanup-artifacts/SKILL.md · Use in /implement at the draft→ready boundary, before publish-pr's squash, to delete this branch's transient plan/spec…
git:20260628.3255910 · audit A · 3 stars
dispatch-exploration SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/dispatch-exploration/SKILL.md · Use during /research (or any recipe) to send 1-3 research queries in parallel — vault or web targets — and aggregate…
git:20260702.d38960a · audit A · 3 stars
load-context SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/load-context/SKILL.md · Use at the start of /research and other workflow recipes to establish vault grounding. Loads vault bootstrap…
git:20260509.64f65b9 · audit A · 3 stars
open-draft-pr SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/open-draft-pr/SKILL.md · Use in /implement after committing, to push the feature branch and open a draft PR, returning the PR ref. Thin and…
git:20260628.3255910 · audit A · 3 stars
plan-file SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/plan-file/SKILL.md · Use BEFORE writing implementation code in /implement, after repo-setup and once a ticket exists. Produces an…
git:20261002.634bb22 · audit A · 3 stars
repo-setup SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/repo-setup/SKILL.md · Use at the start of /implement's repo path to land in a clean working state — fetch, fast-forward main, prune merged…
git:20261002.634bb22 · audit A · 3 stars

Every file in ethanaubuchon/dossier-tradecraft

Browse by kind, by grade A, or by owner.