app-store-review-arbit…
Fetches low-star App Store and Google Play reviews, clusters them into broken-promise patterns, and generates a ranked copy brief…
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
Claude Code
$ npx -y skills add Varnan-Tech/opendirectory --skill docs-from-code --agent claude-code
Codex
$ npx skills add Varnan-Tech/opendirectory --skill docs-from-code -a codex -y
Cursor
$ npx skills add Varnan-Tech/opendirectory --skill docs-from-code -a cursor -y
Gemini CLI
$ npx skills add Varnan-Tech/opendirectory --skill docs-from-code -a gemini-cli -y
GitHub Copilot
$ npx skills add Varnan-Tech/opendirectory --skill docs-from-code -a github-copilot -y
OpenCode
$ npx skills add Varnan-Tech/opendirectory --skill docs-from-code -a opencode -y
Windsurf
$ npx skills add Varnan-Tech/opendirectory --skill docs-from-code -a windsurf -y
name: docs-from-code description: 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 codebase without writing it manually. author: OpenDirectory version: 1.0.0
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?"
---
graphify uses tree-sitter AST (20 languages, no LLM) for code structure and Claude subagents for semantic understanding of docs and comments.
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:
**QA:** Did `graphify-out/GRAPH_REPORT.md` get created? How many nodes and edges? If graphify fails, go to Step 1B.
# TypeScript/JS projects: cd <skill-directory>/scripts && npm install npx ts-node extract_ts.ts <project-root> <project-root>/.docs-extract.json # Python projects: python3 <skill-directory>/scripts/extract_py.py <project-root> <project-root>/.docs-extract.json
Read `references/extraction-guide.md` for framework-specific notes on the fallback output.
---
Read `graphify-out/GRAPH_REPORT.md` in full. This gives you:
Then run targeted queries for specific doc sections:
# API routes graphify query "show all API routes and endpoints" --graph graphify-out/graph.json # Data models graphify query "what are the main data models and types?" --graph graphify-out/graph.json # Auth flow graphify query "how does authentication work?" --graph graphify-out/graph.json # Entry points graphify query "what is the entry point and how is the app initialised?" --graph graphify-out/graph.json
Each query returns a focused subgraph. Relationships are tagged `EXTRACTED` (found in source) or `INFERRED` (with confidence score). Trust `EXTRACTED` fully. Use `INFERRED` but flag uncertainty.
**QA:** Cross-check 2-3 routes from the query against actual source files before writing docs.
---
Before writing anything new, check what already exists:
1. Read `README.md` if present. Note which sections exist and which are stale or missing. 2. Read `docs/API.md`, `docs/api.md`, or `API.md` if present. 3. Read `CHANGELOG.md` for context on recent changes worth noting.
Decide what to generate:
**QA:** List exactly what you will write or update before starting.
---
Read `references/output-template.md` for the exact templates to use.
**README — Project Description:** From `package.json` or `pyproject.toml` description + god nodes summary from `GRAPH_REPORT.md`.
**README — Architecture Section:** Use god nodes and community clusters to write a plain-English architecture overview. Example: > "The system is organised around 3 core modules: `AuthService` (god node, connects to 14 other components), `DatabaseAdapter` (bridges all data access), and `EventBus` (central to async flows). The auth and request-handling modules are tightly coupled; the analytics module is independent."
**README — Installation and Quick Start:** From the entry point file + `scripts` in `package.json` or `Makefile`.
**API Reference (`docs/API.md`):** From the `graphify query "show all API routes"` output. One section per resource, grouped by path prefix. For each route: method, path, description (from docstring or rationale node), request/response shape (from linked type nodes), curl example.
Flag anything without a docstring as `[Description needed]`. Do not invent behaviour.
**QA:** Check 3 random routes in the generated `docs/API.md` against the actual source file. Do the paths and descriptions match?
---
1. Write `README.md` to the project root (full file or updated sections only). 2. Write `docs/API.md` if routes were found. Create `docs/` if needed. 3. Clean up: `rm -rf graphify-out/ .docs-extract.json`
Ask the user: "Docs written. Should I open a GitHub PR with these changes?"
If yes:
git checkout -b docs/auto-generat
Fetches low-star App Store and Google Play reviews, clusters them into broken-promise patterns, and generates a ranked copy brief…
Use when the user asks to generate a blog cover image, thumbnail, or article header. Automatically uses modern typography, brand…
World-class brand strategist and naming expert. Uses an interrogation-led discovery phase to extract your brand's DNA, then…
Use when the user asks to generate or update a project's CLAUDE or AGENTS context file from a codebase scan. Writes a focused…
Use when the user wants to verify cold emails, enrich a lead list, or autonomously guess email addresses from a CSV using…
Competitive intelligence orchestrator tracking companies across 8+ platforms (GitHub, Twitter, Reddit, HN, PH, YC Jobs) with heat…
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use…
Comprehensive SEO analysis for any website or business type. Full site audits, single-page analysis, technical SEO (crawlability,…
Turn the current project website into a short, polished, shareable launch video using Hyperframes. Use when someone says "/brag",…
Full website GEO+SEO audit with parallel subagent delegation. Orchestrates a comprehensive Generative Engine Optimization audit…