docs-from-code SKILL.md skillA

docs-from-code from varnan-tech/opendirectory is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add varnan-tech/opendirectory/docs-from-code@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
varnan-tech/opendirectory
Path
skills/docs-from-code/SKILL.md
Versions recorded
2
Latest version
v1.0.0, committed Sep 16, 2026
First version recorded
Apr 14, 2026
Size
7,186 bytes
Repository stars
688
License
MIT

Generates and updates README.md and API reference docs by reading your codebase's functions, routes, types, schemas, and architecture. Uses graphify to build a knowledge graph first, then writes accurate docs from it. Use when asked to write docs, generate a README, document an API, update stale docs, create an API reference from code, add an architecture section, or document a project in any language. Trigger when a user says their docs are missing, outdated, or wants to document their…

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

# docs-from-code

You are a technical writer. Your job is to generate accurate, developer-friendly docs by first building a knowledge graph of the codebase with graphify, then using that graph to write docs grounded in what actually exists.

**DO NOT invent code.** If you cannot find a clear description for something, write `[Description needed]`. Accurate but sparse docs are better than confident but wrong docs.

**Before starting:** Confirm you are inside a codebase directory. If the user pointed you at a remote repo, clone it first. If neither, ask: "Can you point me to the project directory or repository URL?"

---

## Workflow

### Step 1: Install graphify and Build the Knowledge Graph

graphify uses tree-sitter AST (20 languages, no LLM) for code structure and Claude subagents for semantic understanding of docs and comments.

```bash
pip install graphifyy
graphify . --no-viz
```

`--no-viz` skips HTML output. You only need `GRAPH_REPORT.md` and `graph.json`.

This produces `graphify-out/` in the project root:
- `GRAPH_REPORT.md` — god nodes, community clusters, surprising connections, suggested questions
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add varnan-tech/opendirectory/docs-from-code@sha256:b3e15b62c173b16e

The line at the top of this page pins the label v1.0.0, 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_ikkwlqbwe64kash3.svg)](https://markdownregistry.com/a/art_ikkwlqbwe64kash3)

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

Versions

The registry has recorded 2 versions of this file, between Apr 14, 2026 and Sep 16, 2026, about one every 155 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-09-16 a03d635 7,186 BA view · diff
v1.0.02026-04-14 cf4acb6 7,243 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 (7186 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

varnan-tech/opendirectory · 688 stars · license MIT · pushed 2026-10-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ikkwlqbwe64kash3
GET https://markdownregistry.com/api/v1/resolve?ref=varnan-tech/opendirectory/docs-from-code
GET https://markdownregistry.com/api/v1/blob/b3e15b62c173b16e69976487af46405dbd1a0ae518b5801f14c06795eef6a83c

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 varnan-tech/opendirectory

app-store-review-arbitrage SKILL.md skill
varnan-tech/opendirectory · skills/app-store-review-arbitrage/SKILL.md · Fetches low-star App Store and Google Play reviews, clusters them into broken-promise patterns, and generates a ranked…
v1.0.0 · audit A · 688 stars
blog-cover-generator SKILL.md skill
varnan-tech/opendirectory · skills/blog-cover-image-cli/SKILL.md · Use when the user asks to generate a blog cover image, thumbnail, or article header. Automatically uses modern…
git:20260522.401a5ed · audit A · 688 stars
brand-alchemy SKILL.md skill
varnan-tech/opendirectory · skills/brand-alchemy/SKILL.md · World-class brand strategist and naming expert. Uses an interrogation-led discovery phase to extract your brand's DNA…
git:20260419.e608e58 · audit A · 688 stars
claude-md-generator SKILL.md skill
varnan-tech/opendirectory · skills/claude-md-generator/SKILL.md · Use when the user asks to generate or update a project's CLAUDE or AGENTS context file from a codebase scan. Writes a…
v1.0.0 · audit B · 688 stars
cold-email-verifier SKILL.md skill
varnan-tech/opendirectory · skills/cold-email-verifier/SKILL.md · Use when the user wants to verify cold emails, enrich a lead list, or autonomously guess email addresses from a CSV…
git:20260418.3202b3d · audit A · 688 stars
company-radar SKILL.md skill
varnan-tech/opendirectory · skills/company-radar/SKILL.md · Competitive intelligence orchestrator tracking companies across 8+ platforms (GitHub, Twitter, Reddit, HN, PH, YC Jobs)…
v1.0.0 · audit A · 688 stars
competitor-pr-finder SKILL.md skill
varnan-tech/opendirectory · skills/competitor-pr-finder/SKILL.md · Give it your product URL or description. It finds your top 5 competitors, runs three-track PR research across all of…
git:20260916.a03d635 · audit A · 688 stars
cook-the-blog SKILL.md skill
varnan-tech/opendirectory · skills/cook-the-blog/SKILL.md · Generate high-converting, deep-dive growth case studies in MDX format. Use this skill when asked to write a case study…
v1.0.0 · audit A · 688 stars
dependency-update-bot SKILL.md skill
varnan-tech/opendirectory · skills/dependency-update-bot/SKILL.md · Scans your project for outdated npm, pip, Cargo, Go, or Ruby packages. Runs a CVE security audit. Fetches changelogs…
v1.0.0 · audit A · 688 stars
domain-expired-opportunity-finder SKILL.md skill
varnan-tech/opendirectory · skills/domain-expired-opportunity-finder/SKILL.md · Evaluates expired domain candidates against a target niche, scores them by topical relevance, historical activity…
v1.0.0 · audit A · 688 stars
dx-roaster SKILL.md skill
varnan-tech/opendirectory · skills/dx-roaster/SKILL.md · Brutally honest developer-experience audit for a GitHub repo. Scores 10 DX dimensions (time-to-first-success, README…
v1.0.0 · audit A · 688 stars
email-newsletter SKILL.md skill
varnan-tech/opendirectory · skills/email-newsletter/SKILL.md · Drafts and designs a complete HTML email newsletter from a topic or content brief. Outputs paste-ready HTML for Loops…
v1.0.0 · audit A · 688 stars

Every file in varnan-tech/opendirectory

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