writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
deployments-workersCreate and manage Prefect deployments, schedules, serve processes, work pools, work queues, workers, runner APIs, Docker/image inputs, and prefect.yaml configuration.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task is about turning authored Prefect flows into remotely triggerable deployments, serving flows from a long-running process, configuring prefect.yaml, or routing runs through work pools, work queues, and workers.
flow.serve() for static local processes, flow.deploy() / prefect deploy for work-pool deployments, or run_deployment() / prefect deployment run for triggering an existing deployment.prefect deploy init, not top-level prefect init --help.python scripts/validate_prefect_yaml.py --file prefect.yaml before deploying.prefect deploy, prefect deploy init, prefect flow serve, prefect deployment run, deployment schedules, deployment triggers, and runtime parameters.prefect work-pool, prefect work-queue, and prefect worker start commands for process, Docker, Kubernetes, and integration-provided worker types.prefect.yaml build, push, pull, deployments, schedules, work_pool, job_variables, and templated step-output fields.Flow.serve, Flow.deploy, prefect.deploy, RunnerDeployment.from_flow, RunnerDeployment.from_entrypoint, and run_deployment.cli-server-operations.@flow and @task code before deployment, local state behavior, task runners, retries, caching, and flow tests: use flow-task-authoring.get_client, PrefectClient, settings/profile internals, schema models, and the prefect-client package split: use api-client-settings.events-blocks-assets.repo-development.python scripts/validate_prefect_yaml.py --file prefect.yaml --check-entrypoints
python scripts/deployment_command_builder.py deploy --entrypoint flows.py:etl --name etl-prod --pool process-pool --work-queue default --param limit=10
--help on both bundled scripts for examples. They perform no network calls, do not start workers, and do not mutate Prefect server state.prefect flow serve and prefect worker start are long-running listeners; only run them when the user explicitly wants a service process.prefect deployment run creates server-side flow runs; use --start-in, --start-at, and --watch-timeout deliberately.prefect deploy and flow.deploy() require a reachable Prefect API and can create/update deployments, queues, and schedules.