技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
repo-maintenance【数据与研究】Maintain the LlamaIndex monorepo safely: inspect package layout and pyproject metadata, use llama-dev package/test commands, run targeted package tests, and triage docs/examples automation without performing release, publish, or credentialed sync actions.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when an agent is working inside the LlamaIndex monorepo and needs to reason about package boundaries, test one package or a small changed set, inspect package metadata, or decide which maintenance scripts are safe to adapt.
pyproject.toml, inspect tests, then choose the narrowest command.uv package-local workflows for ordinary development and tests; avoid installing every integration unless the task explicitly requires broad validation.llama-dev, run it from the repo root or pass --repo-root; package arguments are repository-relative package paths such as llama-index-core or llama-index-integrations/llms/llama-index-llms-openai.Identify the package path and distribution name with the bundled read-only helper:
python skills/llama-index/sub-skills/repo-maintenance/scripts/list_llama_packages.py --repo-root . --filter openai
Inspect the relevant package metadata:
python skills/llama-index/sub-skills/repo-maintenance/scripts/list_llama_packages.py --repo-root . --package-path llama-index-core
Run package-local tests from the package directory when you only touched one package:
cd llama-index-integrations/llms/llama-index-llms-openai
uv run -- pytest
Use llama-dev test when you need changed-package/dependant selection or a consistent package test harness:
llama-dev test llama-index-integrations/llms/llama-index-llms-openai --workers 1
If a command would bump versions, publish packages, sync external docs, or require secrets, stop and ask for explicit human approval.
llama-index-integrations/<category>/<distribution-name>/.pyproject.toml and confirm its own dependency group instead of syncing unrelated integrations.uv run -- pytest; this lets uv create/use the package-local environment.llama-dev test <package-path> so the CLI can install local changed packages for test execution.project.name, import namespace, and optional tool.llamahub.import_path all point to the intended integration.requires-python, runtime dependencies, and test/dev dependencies match package needs without inheriting unrelated integrations.llama-dev pkg info <package-path>, llama-dev pkg info --all, and JSON output when machine parsing helps.llama-dev pkg exec --cmd "uv sync" <package-path> only when dependency installation is expected.llama-dev test <package-path> --workers 1 or llama-dev test --base-ref main --workers <n> for changed-package selection.llama-dev pkg bump mutates package versions; llama-dev release ... supports release automation. Do not run these as routine maintenance.scripts/list_llama_packages.py scans a supplied repository root for pyproject.toml files with project.name, prints paths and package metadata, and can emit JSON. It is read-only and safe to run with --help.