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.
mdr add deftai/directive/deft-directive-gh-arch@git:20260925.cbb1099Pins 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
mdr add deftai/directive/deft-directive-gh-arch@sha256:3b395d6f1ffea37fThe 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260925.cbb1099 latest | 2026-09-25 | cbb1099 | 7,744 B | A | view · diff |
| git:20260707.0303c80 | 2026-07-07 | 0303c80 | 7,725 B | A | view · diff |
| git:20260701.0a1aa9c | 2026-07-01 | 0a1aa9c | 7,784 B | A | view · diff |
| git:20260622.035cde3 | 2026-06-22 | 035cde3 | 7,784 B | A | view |
Audit of the latest version
- 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
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
Every file in deftai/directive