writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
ludwigGuides agents using Ludwig declarative machine learning configs, CLI commands, Python APIs, AutoML, HPO, serving, export, and deployment workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when the task is about Ludwig, a declarative machine-learning framework that trains, fine-tunes, evaluates, serves, exports, and inspects models from YAML configs or the LudwigModel Python API.
python -c "import ludwig; print(ludwig.__version__)"
ludwig --help
python scripts/check_env.py --check-cli
Read installation-and-extras.md for extras and backend decisions. Read troubleshooting.md when imports, optional dependencies, configs, data columns, GPU paths, servers, or artifact paths fail.
| User intent | Read this |
|---|---|
| Write or validate a Ludwig YAML config, generate a config from natural language, initialize/render a config, export JSON schema, prepare CSV/JSON/Parquet data, synthesize a tiny dataset, or debug config/data validation | configuration-and-data |
Run ludwig train, ludwig experiment, ludwig check_install, or Python LudwigModel.train/experiment; plan ECD, LLM, VLM, multimodal, timeseries, adapter, or quantization training | training-and-experiments |
Load a trained model, predict, evaluate, forecast, inspect, collect weights/activations, reason about prediction/evaluation outputs, or use LudwigModel.predict/evaluate/forecast/generate | prediction-evaluation-and-inspection |
Use AutoML, init_config, auto_train, hyperopt, Ray/Optuna executors, search spaces, or distributed tuning | automl-and-hyperopt |
Serve a model, build /predict or /batch_predict payloads, use FastAPI/Ray Serve/KServe/vLLM shims, export models, export MLflow, or upload to a hub | serving-export-and-deployment |
| Need all CLI subcommands and common flags | cli-reference.md |
| Need stable Python API signatures and return shapes | api-reference.md |
| Need to know whether this skill matches a current checkout | repo-provenance.md |
input_features, output_features, optional combiner, trainer, backend, preprocessing, hyperopt, adapter, quantization, and model-type sections.model_type: ecd for ordinary encoder-combiner-decoder models over tabular, text, image, audio, timeseries, vector, H3, and related features. Use model_type: llm for LLM fine-tuning/generation workflows.LudwigModel when embedding training/prediction in Python.full by default.This skill was distilled from source, package metadata, examples, and focused tests listed in repo-provenance.md. If the package version, CLI commands, config schema, or source commit differs, refresh this skill before relying on exact signatures or option names.