deft-directive-pre-pr SKILL.md skillA

deft-directive-pre-pr from deftai/directive is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add deftai/directive/deft-directive-pre-pr@git:20261018.106aa3e

Pins git:20261018.106aa3e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
deftai/directive
Path
content/skills/deft-directive-pre-pr/SKILL.md
Versions recorded
9
Latest version
git:20261018.106aa3e, committed Oct 18, 2026
First version recorded
Aug 13, 2026
Size
27,466 bytes
Repository stars
31
License
a license file GitHub does not identify

Iterative pre-PR quality improvement loop. Use before pushing a branch for PR creation -- after completing implementation but before deft check. Cycles through Read-Write-Lint-Diff until a full pass produces zero changes.

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

<!-- AUTO-GENERATED by task packs:render -- DO NOT EDIT MANUALLY -->
<!-- Purpose: rendered skill -->
<!-- Source of truth: packs/skills/skills-pack-0.1.json -->
<!-- Regenerate with: task packs:render -->
<!-- Edit the source, not this file. Slice instead of loading every SKILL.md: task packs:slice skills by-trigger --trigger <kw> (or list) -->

# Deft Directive Pre-PR -- Read, Write, Lint, Diff, Loop

Structured self-review loop agents run before submitting a PR. Catches inconsistencies, missing enforcement markers, incomplete acceptance criteria, scope creep, and unintended changes before they reach the reviewer.

Legend (from RFC2119): !=MUST, ~=SHOULD, ≉=SHOULD NOT, ⊗=MUST NOT, ?=MAY.

**See also**: [deft-directive-review-cycle](../deft-directive-review-cycle/SKILL.md) | [deft-directive-build](../deft-directive-build/SKILL.md) | [RWLDL tool](../../tools/RWLDL.md)

> **Formerly `deft-rwldl`** -- renamed and scoped to PR readiness. For the broader iterative quality improvement loop (micro/macro review), see [tools/RWLDL.md](../../tools/RWLDL.md).

## Branch-Protection Policy Guard
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add deftai/directive/deft-directive-pre-pr@sha256:eb01905cc3287028

The line at the top of this page pins the label git:20261018.106aa3e, 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_h45pvgtnqgqkdx4y.svg)](https://markdownregistry.com/a/art_h45pvgtnqgqkdx4y)

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

Versions

The registry has recorded 9 versions of this file, between Aug 13, 2026 and Oct 18, 2026, about one every 8 days.

versioncommittedcommitsizeaudit
git:20261018.106aa3e latest2026-10-18 106aa3e 27,466 BA view · diff
git:20261016.da3d8ea2026-10-16 da3d8ea 25,785 BA view · diff
git:20261007.5b06d522026-10-07 5b06d52 24,030 BA view · diff
git:20261003.6155b152026-10-03 6155b15 22,531 BA view · diff
git:20260911.a1d13072026-09-11 a1d1307 21,916 BA view · diff
git:20260911.ac195cf2026-09-11 ac195cf 21,374 BA view · diff
git:20260910.0fedaae2026-09-10 0fedaae 21,274 BA view · diff
git:20260830.886ca592026-08-30 886ca59 19,777 BA view · diff
git:20260813.67378a02026-08-13 67378a0 19,845 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 (27466 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

deftai/directive · 31 stars · license a license file GitHub does not identify · pushed 2026-10-22 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_h45pvgtnqgqkdx4y
GET https://markdownregistry.com/api/v1/resolve?ref=deftai/directive/deft-directive-pre-pr
GET https://markdownregistry.com/api/v1/blob/eb01905cc328702874ea3add712f06fd96c01dc4cb5429e20e72b9c4441cf931

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 deftai/directive

deft-directive-build SKILL.md skill
deftai/directive · .agents/skills/deft-directive-build/SKILL.md · Build a project from scope vBRIEFs following Directive standards.
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-interview SKILL.md skill
deftai/directive · .agents/skills/deft-directive-interview/SKILL.md · Deterministic structured Q&A interview skill (one question per turn).
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-portfolio-priority SKILL.md skill
deftai/directive · .agents/skills/deft-directive-portfolio-priority/SKILL.md · Pre-promotion portfolio prioritization across competing open RFCs/issues.
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-pre-pr SKILL.md skill
deftai/directive · .agents/skills/deft-directive-pre-pr/SKILL.md · Iterative pre-PR quality loop (Read-Write-Lint-Diff-Loop).
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-refinement SKILL.md skill
deftai/directive · .agents/skills/deft-directive-refinement/SKILL.md · Structured refinement workflow: triage issues and update the roadmap.
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-review-cycle SKILL.md skill
deftai/directive · .agents/skills/deft-directive-review-cycle/SKILL.md · Greptile bot reviewer response workflow for autonomous PR review cycles.
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-setup SKILL.md skill
deftai/directive · .agents/skills/deft-directive-setup/SKILL.md · Set up a new project with Directive framework standards.
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-swarm SKILL.md skill
deftai/directive · .agents/skills/deft-directive-swarm/SKILL.md · Parallel local agent orchestration with isolated worktrees.
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-sync SKILL.md skill
deftai/directive · .agents/skills/deft-directive-sync/SKILL.md · Session-start framework sync and alignment check.
git:20261021.cc4bd5d · audit A · 31 stars
deft SKILL.md skill
deftai/directive · .agents/skills/deft/SKILL.md · Apply Directive framework standards for AI-assisted development.
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-build SKILL.md skill
deftai/directive · .claude/skills/deft-directive-build/SKILL.md · Build a project from scope vBRIEFs following Directive standards.
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-interview SKILL.md skill
deftai/directive · .claude/skills/deft-directive-interview/SKILL.md · Deterministic structured Q&A interview skill (one question per turn).
git:20261021.cc4bd5d · audit A · 31 stars

Every file in deftai/directive

Other files named deft-directive-pre-pr

deft-directive-pre-pr SKILL.md skill
deftai/directive · .claude/skills/deft-directive-pre-pr/SKILL.md · Iterative pre-PR quality loop (Read-Write-Lint-Diff-Loop).
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-pre-pr SKILL.md skill
deftai/directive · .codex/skills/deft-directive-pre-pr/SKILL.md · Iterative pre-PR quality loop (Read-Write-Lint-Diff-Loop).
git:20261021.cc4bd5d · audit A · 31 stars
deft-directive-pre-pr SKILL.md skill
deftai/directive · content/.agents/skills/deft-directive-pre-pr/SKILL.md · Iterative pre-PR quality improvement loop. Use before pushing a branch for PR creation -- after completing…
git:20260622.035cde3 · audit A · 31 stars
deft-directive-pre-pr SKILL.md skill
deftai/directive · .agents/skills/deft-directive-pre-pr/SKILL.md · Iterative pre-PR quality loop (Read-Write-Lint-Diff-Loop).
git:20261021.cc4bd5d · audit A · 31 stars

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