Docsのロゴ

Docs

組織
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.

概要

公開者shakacode
リポジトリclaude-code-commands-skills-agents
スキル名docs
スター
48
フォーク
7
同梱ファイル
3
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    shakacodeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルDocsをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/shakacode/claude-code-commands-skills-agents/tree/main/skills/docs
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDocsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にDocsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Docsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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:** ...)

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでDocsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Docsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDocsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/shakacode/claude-code-commands-skills-agents/tree/main/skills/docsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Docsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Docsは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDocsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Docs」は無料ですか?

shakacodeがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇