본문으로 건너뛰기
cccskills
무료GitHub에 공개

ferritin

Look up real Rust documentation with the `ferritin` CLI instead of guessing APIs from memory. Use whenever you need a crate's types, traits, methods, function signatures, or module contents — for dependencies, the standard library, or local workspace crates. Reach for it before answering any Rust API question ("what methods does X have", "how do I use Y", "what's the signature of Z", "does this trait require..."), and when writing or reviewing Rust against an unfamiliar API. Runs as a plain shell command; no MCP server.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

ferritin — Rust documentation lookup

ferritin renders real rustdoc for any crate. Prefer it over recalling Rust APIs from memory: it returns actual current signatures, trait impls, and prose for dependencies, std, and the local workspace's own crates — at the exact versions this project resolves.

In an agent session ferritin auto-detects the environment and emits LLM-friendly output; you do not need to pass any output-format flag.

Core commands

  • ferritin get <path> — documentation for one item, where <path> is crate::Module::Item:
    • ferritin get std::vec::Vec
    • ferritin get serde::Serialize
    • ferritin get serde@1.0::Serialize (pin a version — on the crate segment, not as a suffix on the full path)
    • The version is a semver spec, not an exact version: serde@1.0 matches any 1.x.y, while serde@=1.0.0 pins exactly 1.0.0. The full semver requirement syntax (^, ~, >=, *, etc.) applies.
  • ferritin search <crate> <query>... — search within one crate:
    • ferritin search tokio spawn
    • ferritin search serde@1.0 Deserialize (pin a version)
  • ferritin list — list the crates available to query.

By default ferritin sources docs straight from docs.rs as rustdoc JSON, so a crate does not need to be a dependency of this project or installed locally — you can query any published crate by name. To inspect the current workspace's own (in-development) crates instead, add -l / --local (uses the Cargo.toml in the working directory), or target one explicitly with --manifest-path <path>:

  • ferritin -l get my_crate::MyType

Discovering current flags

This CLI is actively evolving — treat --help as the source of truth for the live flag surface rather than guessing:

  • ferritin --help
  • ferritin get --help · ferritin search --help

Flags worth knowing (confirm names/values with --help):

  • -k, --kind <struct|enum|trait|function|module|…> — restrict a listing or search to given kinds (comma-separated or repeated).
  • --docs <full|brief|none> — how much doc prose to render; none gives just the signature/listing.
  • -r, --recursive (on get) — descend into nested items.

When to use it

Reach for ferritin whenever a task touches an unfamiliar Rust API: before writing code against a crate, when answering "what methods/fields/variants does X have", when checking a trait's required methods, or when verifying a signature. It is faster and more accurate than inferring from memory, and reflects the exact versions resolved in this project.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고