Logo vun Docs

Docs

Organisatioun
shakacode
docs

Generate, audit, or update project documentation to a professional open-source standard. Use this skill whenever the user mentions docs, documentation, README, API reference, guides, migration guides, troubleshooting, llms.txt, doc audit, or wants to improve any written developer-facing content in a repository. Also trigger when the user says things like "document this", "write docs for", "update the docs", "our docs need work", or compares documentation quality to other projects. Covers Ruby (YARD), TypeScript (TSDoc/JSDoc), Markdown guides, configuration references, and doc site structure.

Iwwersiicht

Editeurshakacode
Repositoryclaude-code-commands-skills-agents
Skill-Nummdocs
Stären
48
Forks
7
Matgeliwwert Fichieren
3
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum shakacode op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Docs an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/shakacode/claude-code-commands-skills-agents/tree/main/skills/docs
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/shakacode/claude-code-commands-skills-agents.git /tmp/claude-code-commands-skills-agents
mkdir -p .claude/skills
cp -r /tmp/claude-code-commands-skills-agents/skills/docs .claude/skills/docs
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Docs an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Docs automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Docs net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Documentation Skill

Generate and maintain documentation that meets or exceeds the standard set by the best open-source Rails/JS projects (Inertia Rails, Vite Ruby, Rails itself).

Before You Start

Read these reference files (located in the references/ subdirectory next to this SKILL.md file) before proceeding:

  1. Quality Standard — references/quality-standard.md — tiered audit checklist (Must-Have / Expected / Differentiator)
  2. Documentation Templates — references/templates.md — structural skeletons for each doc type
  3. Competitive Landscape — references/competitive-landscape.md — benchmarks against peer projects

Workflow

Step 1: Assess the current state

  • Scan the repo for existing docs: docs/, README.md, CHANGELOG.md, CONTRIBUTING.md, inline code comments, Wiki, and any hosted doc site config (VitePress, Docusaurus, Jekyll, etc.)
  • Identify what exists, what is outdated, and what is missing
  • Compare against the Quality Standard reference above

Step 2: Determine scope

If the user gave a specific target (e.g., /docs $ARGUMENTS), focus there. Otherwise, present a prioritized gap analysis:

  1. Critical gaps - Missing README sections, no quick start, no API reference
  2. High-value improvements - Outdated guides, missing migration/upgrade docs, no troubleshooting
  3. Polish - LLMs.txt, cookbook/recipes, configuration reference, contributor guide improvements

Ask the user which items to tackle (or do all if they say so).

Step 3: Generate or rewrite documentation

Follow these principles for ALL documentation:

Voice and Style
  • Direct and concise. Lead with what the reader needs. No filler.
  • Show, don't tell. Every concept gets a code example. Prefer real-world examples over contrived ones.
  • Progressive disclosure. Quick start first, then deeper guides, then API reference. Layer complexity.
  • Avoid em dashes (use commas, parentheses, or separate sentences instead).
  • Use second person ("you") for guides and tutorials. Use third person for API references.
  • Prefer active voice. "Run bundle install" not "The bundle should be installed."
Structure by Doc Type

README.md (the front door):

  • One-liner description + badges
  • "What is this?" in 2-3 sentences
  • Quick install (copy-paste ready)
  • Minimal "Hello World" example that works
  • Link table to deeper docs
  • Requirements / compatibility matrix
  • Community links (Slack, Discussions, Stack Overflow)
  • Contributing pointer
  • License

Quick Start Guide (< 15 minutes):

  • Prerequisites with exact version requirements
  • Step-by-step, numbered instructions
  • Every command is copy-paste ready
  • "You should see..." verification checkpoints after key steps
  • Link to "next steps" at the end

Conceptual Guides (explain "why" and "how"):

  • Start with a one-paragraph summary of what the reader will learn
  • Use diagrams (Mermaid or ASCII) for architecture and data flow
  • Break into logical sections with clear headings
  • End each guide with "Related" links

API / Helper Reference:

  • One page per module or helper group
  • Signature, parameters table, return value, exceptions
  • At least one usage example per method
  • For Ruby: follow YARD conventions (@param, @return, @example)
  • For TypeScript: follow TSDoc conventions (@param, @returns, @example)

Configuration Reference:

  • Table format: option name, type, default, description
  • Group by category
  • Include example config file (annotated with comments)

Migration / Upgrade Guide:

  • Version-to-version, with exact steps
  • "Breaking changes" section at top
  • "Deprecations" section
  • Automated migration commands if available
  • Before/after code comparisons

Troubleshooting / FAQ:

  • Problem statement as the heading (what the user sees or encounters)
  • Cause explanation (1-2 sentences)
  • Solution with exact commands or code
  • "Still stuck?" pointer to community support

LLMs.txt (AI-friendly docs):

  • /llms.txt with a structured overview and links to key pages
  • /llms-full.txt with complete documentation in a single Markdown file
  • Follow the llms.txt specification: title, description, sections with URLs
  • Include on every docs page: "Are you an LLM? View /llms.txt for optimized documentation"

Step 4: Cross-reference and link

  • Every guide should link to related guides
  • Every API method mentioned in a guide should link to its reference page
  • Add a "See also" or "Related" section at the bottom of each page
  • Verify no dead links (check file paths exist)

Step 5: Review with the user

Present the generated docs and ask:

  • "Does this match how your project actually works?"
  • "Any terminology or naming I got wrong?"
  • "Anything missing for your users?"

Targeting Specific Files

When invoked as /docs <target>:

  • If <target> is a file path: generate/update docs FOR that code file (inline comments, module-level docs, method docs)
  • If <target> is a directory: generate/update docs for the entire module
  • If <target> is a doc type keyword (e.g., "readme", "api", "quickstart", "migration", "troubleshooting", "llms.txt", "audit"): generate that specific doc type
  • If <target> is "audit": run a full gap analysis against the Quality Standard reference above and report findings

Language-Specific Conventions

Ruby

  • Use YARD doc format for all public methods and classes
  • @param name [Type] description
  • @return [Type] description
  • @raise [ExceptionClass] when condition
  • @example with realistic usage
  • @see for cross-references
  • Document @option for hash parameters

TypeScript / JavaScript

  • Use TSDoc for TypeScript, JSDoc for JavaScript
  • @param name - description
  • @returns description
  • @throws {ErrorType} description
  • @example blocks with realistic usage
  • Export documentation: what is public API vs. internal
  • Document generic type parameters

Markdown Docs

  • Use ATX headings (#, ##, ###) not Setext
  • Fenced code blocks with language identifiers (ruby, typescript, ```bash)
  • Use reference-style links for repeated URLs
  • Tables for configuration options and API parameter lists
  • Admonitions for warnings and tips (use blockquote style: > **Note:** ... or > **Warning:** ...)

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Docs?

Generate, audit, or update project documentation to a professional open-source standard. Use this skill whenever the user mentions docs, documentation, README, API reference, guides, migration guides, troubleshooting, llms.txt, doc audit, or wants to improve any written developer-facing content in a repository. Also trigger when the user says things like "document this", "write docs for", "update the docs", "our docs need work", or compares documentation quality to other projects. Covers Ruby (YARD), TypeScript (TSDoc/JSDoc), Markdown guides, configuration references, and doc site structure.

Firwat Docs op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Docs besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Docs an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/shakacode/claude-code-commands-skills-agents/tree/main/skills/docs an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Docs benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Docs benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Docs domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Docs gratis?

De Skill gëtt vum shakacode op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇