Toolverse
All skills

exploring-rust-crates

by hashintel

Generate Rust documentation to understand crate APIs, structure, and usage. Use when exploring Rust code, understanding crate organization, finding functions/types/traits, or needing context about a Rust package in the HASH workspace.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
hashintel
Category
Backend
Views
2

About this skill

Generate Rust documentation to understand crate APIs, structure, and usage. Use when exploring Rust code, understanding crate organization, finding functions/types/traits, or needing context about a Rust package in the HASH workspace.

How to use

  1. Otwórz terminal w katalogu workspace HASH i upewnij się, że masz zainstalowany Rust oraz cargo.

  2. Uruchom polecenie generujące dokumentację dla konkretnego cratea, zastępując rzeczywistą nazwą: cargo doc --no-deps --all-features --package . Flaga --no-deps dokumentuje tylko lokalny kod (szybciej), --all-features uwzględnia wszystkie warianty API, a --package wskazuje konkretny crate.

  3. Jeśli chcesz wygenerować dokumentację dla całego workspace, użyj: cargo doc --no-deps --all-features --workspace.

  4. Poczekaj na zakończenie procesu generowania. Dokumentacja zostanie zapisana w katalogu target/doc//index.html.

  5. Otwórz wygenerowany plik index.html w przeglądarce, aby przeglądać hierarchię modułów, publiczne funkcje, typy, traity, przykłady użycia i dokumentację błędów.

  6. Jeśli potrzebujesz zobaczyć także prywatne elementy implementacji, dodaj flagę --document-private-items do polecenia cargo doc.

Related skills

architecture-decision-records

by wshobson

Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.

Backend
29130

sql-optimization-patterns

by wshobson

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

Backend
40163

travel-planner

by ailabs-393

This skill should be used whenever users need help planning trips, creating travel itineraries, managing travel budgets, or seeking destination advice. On first use, collects comprehensive travel preferences including budget level, travel style, interests, and dietary

Backend
4379

scientific-writing

by K-Dense-AI

Write scientific manuscripts. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), abstracts, for research papers and journal submissions.

Backend
47191

drizzle

by lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

Backend
79340

youtube-transcribe-skill

by feiskyer

Extract subtitles/transcripts from a YouTube video URL and save as a local file. Use when you need to extract subtitles from a YouTube video.

Backend
24178