Source command docs

From TrayHard/d2r-ultra-utility · View interactive version

Source command docs is an AI agent skill from the GitHub repository TrayHard/d2r-ultra-utility. Fetch Rust API documentation from docs.rs

How to use this skill

Skill file

source-command-docs

Use this skill when the user asks to run the migrated source command docs.

Command Template

/docs Command

Fetch API documentation for Rust crates from docs.rs.

Usage

/docs <crate_name> [item]

Examples

/docs snafu              # Get snafu crate overview
/docs tokio spawn        # Get tokio::spawn documentation
/docs serde Serialize    # Get serde::Serialize trait docs

Workflow

  1. Use actionbook MCP to get docs.rs selectors
  2. Launch docs-researcher agent with target URL
  3. Wait for agent to complete
  4. Return formatted API documentation

Target URLs

Output Format

# <crate_name> API Documentation

## Overview
<crate description>

## Key Types
- `TypeName`: <description>

## Key Functions
- `fn_name`: <description>

## Key Traits
- `TraitName`: <description>

Source: docs.rs
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.