QA_source_index
Installation
SKILL.md
Documentation and Source Code Quick Reference
When answering questions about installation, configuration, or behavioral principles, first classify by keyword, then open 1–2 paths most likely to contain the answer from the table below, avoiding aimless directory traversal.
Usage Steps
- Extract the topic from the user's question (match against the left column or synonyms in the table below).
- Resolve
$QWENPAW_ROOT: usewhich qwenpawto get the executable path. If it is…/.qwenpaw/bin/qwenpaw, the source root is three levels up (consistent with the guidance skill); otherwise, determine it from the user-provided installation path. - Resolve
$DOCS_DIRfirst (cross-install compatible): runpython3 -c "from qwenpaw.constant import DOCS_DIR; print(DOCS_DIR or '')" 2>/dev/null. If it returns a valid path, use it directly. Otherwise, fallback to$QWENPAW_ROOT/website/public/docs/. - Read documentation first:
$DOCS_DIR/<topic>.<language>.md(use the same language as the user:zh/en.). If that is insufficient, read the source entry points listed in the table.