Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
lazy-llm【部署与运维】Guides LazyLLM low-code LLM application workflows including modules, flows, RAG, agents, tools, writer review, CLI, and deployment.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task asks how to build, debug, test, or adapt LazyLLM applications: low-code LLM modules, composable flows, RAG/document pipelines, agents/tools/MCP, writer/review workflows, model deployment, online providers, or the lazyllm CLI.
| User task or signal | Read this |
|---|---|
Install LazyLLM, inspect extras, use lazyllm CLI, configure lazyllm.config, launcher/service basics, components/prompters, package import failures | core-runtime |
Use TrainableModule, OnlineModule, OnlineChatModule, ServerModule, deploy/fine-tune models, choose local vs online vs multimodal backend, diagnose provider/model type behavior | model-deployment |
Compose pipeline, parallel, diverter, switch, ifs, loop, bind, or traceable application graphs | flow-orchestration |
Build RAG/document workflows with Document, DocNode, readers, transforms, retrievers, rerankers, BM25, vector stores, parser service, Milvus/OpenSearch | rag-document-processing |
Register function-call tools, use ToolManager, build React/ReWOO/PlanAndSolve agents, use sandbox flags, SQL/HTTP/search tools, SkillManager, MCP | agents-tools |
Use writer IR/artifacts, writer tools, revision/stream utilities, Feishu adapter boundaries, lazyllm review or local review workflows | writer-review |
Read Installation and optional extras for the full matrix. Typical choices:
python -m pip install lazyllm
lazyllm install rag # document/RAG imports
lazyllm install agent-advanced # MCP/advanced agent dependencies
lazyllm install standard # broad app stack; may install heavy model/vector packages
lazyllm install full # all optional stacks; use only when explicitly needed
For a source checkout, use an editable install with a supported Python (>=3.10,<3.14) and then install only the extras required by the selected workflow. Do not install full just to answer a base CLI/config/flow question.
Minimal no-network smoke check:
python scripts/check_lazyllm_env.py --require-rag --require-agent --require-writer
Run that command from inside this skill directory after copying or locating the script, or pass the script path explicitly from any working directory. It only imports LazyLLM modules and does not call a provider.
Read API surface map when a task names a class/function or when you need exact routing. Verified public entry points include:
lazyllm.pipeline, parallel, diverter, switch, ifs, loop, bindTrainableModule, OnlineModule, OnlineChatModule, ServerModule, ActionModuleDocument, Retriever, Reranker, DocNode, BM25 and store/index helpersfc_register, ToolManager, SkillManager, ReactAgent, ReWOOAgent, PlanAndSolveAgentWriterToolBaseinstall, deploy, run, skills, review, review-localnpx/npm, Kubernetes/Slurm/SCO jobs, PR posting.Start with cross-cutting troubleshooting, then the owning sub-skill's troubleshooting file. Common LazyLLM symptoms:
ImportError: Missing package(s): ... You can install them by: lazyllm install rag → read the RAG or install reference; install the exact extra, not full, unless the task needs heavy backends.lazyllm --help exits with a usage error → this CLI prints usage from its dispatcher; use concrete subcommands such as lazyllm skills list or inspect the command table in core-runtime.bind, skip/kept items, and input tuple handling.Do not use this skill for generic LLM theory, non-LazyLLM frameworks, model architecture research unrelated to LazyLLM modules, or direct production deployment to a user cluster without first checking the model-deployment and core runtime dependency/back-end constraints.