k6-lookup-docs
Installation
SKILL.md
k6 Documentation Lookup
Read k6 docs via ./k6 x docs to write correct k6 test scripts. Docs are local and cached.
Command Syntax
All lookups use ./k6 x docs followed by a topic path. Paths in this skill and its references omit the ./k6 x docs prefix.
./k6 x docs <parent> <child> # Read a topic (requires full parent path)
./k6 x docs <parent> <child> <leaf> # Read a nested topic
./k6 x docs --depth 1 # TOC: top-level categories only (minimal output)
./k6 x docs --depth 2 # TOC: one level of children (default)
./k6 x docs search <term> # Fuzzy search (returns topic paths, not content)
Critical Rules
- Topics require their full parent path.
using-k6 thresholdsworks.thresholdsalone FAILS.