deft-directive-gh-arch SKILL.md skillA

deft-directive-gh-arch 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-gh-arch@git:20260925.cbb1099

Pins git:20260925.cbb1099 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-gh-arch/SKILL.md
Versions recorded
4
Latest version
git:20260925.cbb1099, committed Sep 25, 2026
First version recorded
Jun 22, 2026
Size
7,744 bytes
Repository stars
31
License
a license file GitHub does not identify

Explore a codebase for architectural improvement opportunities -- deepen shallow modules, generate competing interface designs in parallel via sub- agents, and file a refactor RFC as a GitHub Issue. Use when improving architecture, finding refactoring opportunities, or making a codebase more testable and AI-navigable. Requires the GitHub CLI (gh).

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 GH Arch

Explore a codebase for architectural friction, surface opportunities to deepen shallow modules, generate competing interface designs in parallel, and file a refactor RFC as a GitHub Issue.

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

> Inspired by [improve-codebase-architecture](https://github.com/mattpocock/skills/tree/main/improve-codebase-architecture) from [mattpocock/skills](https://github.com/mattpocock/skills). Adapted to deft's domain model conventions and GitHub CLI workflow.

## When to Use

- Codebase has grown and modules feel tightly coupled or hard to test
- New feature work keeps touching the same files unexpectedly
- User says "improve the architecture" or "this is hard to test"
- Pre-implementation cleanup before a major new feature

## Prerequisites
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add deftai/directive/deft-directive-gh-arch@sha256:3b395d6f1ffea37f

The line at the top of this page pins the label git:20260925.cbb1099, 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_6irrndwtbshliiqz.svg)](https://markdownregistry.com/a/art_6irrndwtbshliiqz)

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

Versions

The registry has recorded 4 versions of this file, between Jun 22, 2026 and Sep 25, 2026, about one every 32 days.

versioncommittedcommitsizeaudit
git:20260925.cbb1099 latest2026-09-25 cbb1099 7,744 BA view · diff
git:20260707.0303c802026-07-07 0303c80 7,725 BA view · diff
git:20260701.0a1aa9c2026-07-01 0a1aa9c 7,784 BA view · diff
git:20260622.035cde32026-06-22 035cde3 7,784 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 (7744 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_6irrndwtbshliiqz
GET https://markdownregistry.com/api/v1/resolve?ref=deftai/directive/deft-directive-gh-arch
GET https://markdownregistry.com/api/v1/blob/3b395d6f1ffea37f9100bd689c8335211b045260d79acd48c14c6b5bb35f42c6

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-gh-arch

deft-directive-gh-arch SKILL.md skill
deftai/directive · content/.agents/skills/deft-directive-gh-arch/SKILL.md · Explore a codebase for architectural improvement opportunities -- deepen shallow modules, generate competing interface…
git:20260622.035cde3 · audit A · 31 stars

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