writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
app-deploymentGenerate, inspect, serve locally, and publish Mercury prediction apps from trained MLJAR AutoML models.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task involves turning an already fitted supervised.AutoML model into a Mercury prediction app, inspecting the generated app workspace, previewing it locally, or preparing a guarded publish flow.
automl.app(path=..., overwrite=..., title=...).mljar_app.json, notebooks, automl.zip, config.toml, requirements.txt, and runtime.txt.automl.local_app() when Mercury is installed and the user accepts a foreground server process.automl.publish_app(...) only after the user explicitly authorizes browser, network, and platform-auth actions.../training-core/ when the user still needs to train, configure, evaluate, or retrain an AutoML model.../artifacts-reports/ for interpreting saved model folders, leaderboards, structured reports, explainability outputs, or results_path artifacts outside the generated app workspace.../fairness-workflows/ for fairness metrics, sensitive features, and fairness dashboard/report interpretation.supervised imports and the model was fitted. App generation needs a valid results_path containing fitted AutoML artifacts.app() for file generation only.local_app() for a local Mercury server and browser preview.publish_app() for the hosted platform workflow; require explicit authorization.overwrite=True deletes an existing app workspace.mljar_app.json manifest before serving or publishing, especially supports.single_sample, feature count, and selected notebooks.mercury executable is on PATH.open_browser=False in non-interactive sessions and have the user open the printed login URL manually.scripts/generate_app_workspace_smoke.py for a safe synthetic helper that trains a tiny model and generates app files without starting Mercury or publishing.../../references/package-overview.md; cross-cutting install/import issues: ../../references/troubleshooting.md.