Claude-skill-registry get-docs-root

Retrieve the value of the DOCS_ROOT environment variable. Use this skill whenever you need to determine the documentation root directory for the current environment, or when a workflow requires knowledge of DOCS_ROOT.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/get-docs-root" ~/.claude/skills/majiayu000-claude-skill-registry-get-docs-root && rm -rf "$T"
manifest: skills/data/get-docs-root/SKILL.md
source content

Get Docs Root

Overview

Usage

To retrieve the value of the DOCS_ROOT environment variable, execute the following script:

python3 scripts/get_docs_root.py
  • If DOCS_ROOT is set, the script will print its value.
  • If DOCS_ROOT is unset or empty, the script will print an empty line.

Use this skill whenever you need to programmatically determine the documentation root directory for the current environment, or when a workflow requires knowledge of DOCS_ROOT.