
Prefect
- 9 installs
- Updated July 27, 2026
- sleeplessv/relentless-data-skills
Helps with ai & agent building tasks.
About
prefect is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.
- prefect
- AI & Agent Building
- AI-coding skill
Prefect by the numbers
- 9 all-time installs (skills.sh)
- +1 installs in the week ending Jul 27, 2026 (Skillselion tracking)
- Ranked #12,133 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/sleeplessv/relentless-data-skills --skill prefectAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 9 |
|---|---|
| Last updated | July 27, 2026 |
| Repository | sleeplessv/relentless-data-skills ↗ |
What it does
Helps with ai & agent building tasks.
Files
Prefect 3
This skill encodes only what an agent gets wrong about Prefect by default: stale 3.x knowledge, unqueried instance state, and house standards. Topic detail is fetched from the live docs, never memorized. Prefect 2.x is out of scope — recommend migrating up.
Two obligations on every Prefect answer:
1. State assumptions when they fork the answer — Cloud vs self-hosted, work-pool type (process / docker / kubernetes / managed). Never silently assume. 2. Name the doc page you fetched — or say "baseline knowledge" explicitly.
Doc-Lookup Protocol
Follow this whenever unsure, the task is version-sensitive, or the user asks for current/best practice:
1. Fetch the index https://docs.prefect.io/llms.txt and find the page matching the topic. 2. Fetch that page as markdown by appending .md to its URL. 3. If a URL 404s, re-fetch `llms.txt` and re-resolve — never invent a URL. 4. Web search is a fallback only. 5. Prefer the agent's web-fetch capability over shell curl (works under network sandboxing). Avoid llms-full.txt (whole corpus; context-heavy).
Anchors for the guardrails below — verify against these before advising:
- states => https://docs.prefect.io/v3/concepts/states.md
- deployments => https://docs.prefect.io/v3/concepts/deployments.md
- prefect.yaml => https://docs.prefect.io/v3/how-to-guides/deployments/prefect-yaml.md
- caching => https://docs.prefect.io/v3/concepts/caching.md
- results => https://docs.prefect.io/v3/advanced/results.md
CLI-First Protocol (query, don't guess state)
When the answer lives in the Prefect instance — deployments, work pools, runs, blocks, profiles — query it via the CLI instead of reasoning from memory or code alone.
- Invocation: in uv projects (
uv.lock/pyproject.tomlpresent) always
uv run prefect ... — never bare prefect or ad-hoc pip installs. Bare prefect only when there's no uv project.
- Auth preflight: start with
uv run prefect config viewto confirm the
active profile and PREFECT_API_URL. If unauthenticated or pointing at the wrong server, stop and ask the user to run prefect cloud login (interactive) — don't retry blindly.
- Useful queries:
deployment ls/deployment inspect,work-pool ls/
work-pool inspect, flow-run ls / flow-run inspect <id>, block type ls, variable ls, profile ls. Verify flags via --help or the docs, not memory.
- Boundary: read-only queries — run freely, eagerly. State-changing
commands — only when they're the explicit task; surface anything destructive or hard to reverse (pause, cancel, delete) before running it.
Two moves that aren't obvious:
- Auditing a project: diff deployed reality (deployments, pools, schedules
— via the CLI) against the repo's manifests; drift is the finding.
- Debugging a run:
flow-run inspectfirst, then classify — code failure
(traceback in logs → fix the flow/task) vs infra failure (Crashed/zombie, stuck Pending, Late → check worker online, polling the right pool/queue, concurrency limits not exhausted). The fix paths diverge completely.
Standards (house opinions)
- Pin Prefect 3.x and manage deps with a lockfile (uv preferred).
- Separate dev vs prod by distinct work pools / deployment manifests / blocks —
never by branching inside flow code.
- Keep flows importable via stable entrypoints (
module/path.py:flow_func). - Deploy from CI/CD with pinned source, not from a laptop.
- Attach schedules (cron / interval / rrule) at the deployment, not in flow code.
- Secrets live in Secret blocks / a secrets backend — never in code, parameters,
or logs. Non-secret environment-varying values go in variables.
- Dual deployment manifests — a local
prefect.yaml(process pool) plus a
Cloud variant (managed pool / git_clone) selected via --prefect-file — when dev and prod genuinely need different pools or source, not before.
- Parametrized shared flow — one flow keyed by a
source_nameparameter,
deployed once per source — when you're about to write a second near-identical flow.
- `run_deployment` fan-out — an orchestrator flow triggering child
deployments — when stages need independent logs/retries/reruns, not as a starting architecture.
Guardrails (stale-knowledge traps)
- Workers, not agents. Prefect 3 uses workers + work pools; the agent model is gone.
- No `Deployment` object. Create deployments via
prefect.yaml,
flow.deploy(), flow.from_source(...).deploy(), or flow.serve() — not prefect.deployments.Deployment or prefect deployment build.
- Don't guess `prefect.yaml` shape or CLI flags — confirm via the anchors or
--help. - Results, caching, and transactions changed in 3.x — verify against the
anchors before advising.
- When unsure whether an API is current, look it up (protocol above) rather than recalling.
{
"name": "prefect",
"version": "0.2.0",
"description": "Version-aware Prefect 3 guidance: a live docs-lookup protocol, CLI-first instance queries, and house standards. Prefect 2.x out of scope.",
"author": {
"name": "sleeplessv"
},
"homepage": "https://github.com/sleeplessv/relentless-data-skills/tree/main/skills/prefect",
"repository": "https://github.com/sleeplessv/relentless-data-skills",
"license": "Apache-2.0",
"keywords": [
"prefect",
"prefect-3",
"orchestration",
"data-engineering",
"workflows",
"audit"
]
}
prefect
The `prefect` agent skill for Prefect 3. It encodes only what an agent gets wrong by default: stale 3.x knowledge, unqueried instance state, and house standards. Everything else is fetched from the live Prefect docs, so advice tracks the latest docs instead of training data.
What it does
- Doc-lookup protocol — resolves a topic via
docs.prefect.io/llms.txt,
then fetches the page as markdown (<page>.md); never invents URLs; web search is fallback only. Works under network sandboxing (uses the agent's web-fetch, not shell curl). Every answer names the doc page consulted — or says "baseline knowledge" explicitly.
- CLI-first protocol — queries the live instance (`uv run prefect
deployment ls, flow-run inspect, …) instead of guessing state; checks auth via prefect config view` first. Read-only commands run eagerly; destructive/hard-to-reverse ones are surfaced before running.
- Standards — ~10 house opinions (lockfile-pinned 3.x, dev/prod split by
pools and manifests, CI deploys, schedules on the deployment, secrets in blocks) plus three battle-tested patterns, each with its applicability condition.
- Guardrails — the classic stale-knowledge traps: workers not agents, no
Deployment object, changed 3.x caching/results/transactions semantics.
Targets the Prefect 3.x generation (no patch pin). Prefect 2.x is out of scope.
How it works
The whole skill is a single SKILL.md (~100 lines, no references/). The durable contract is the lookup protocol (llms.txt → <page>.md); the only URLs it ships are five guardrail anchors, with a 404-means-re-resolve rule instead of a CI-checked URL cache.
Install
See the repo root README for the general install patterns (npx skills, Claude Code plugin, manual clone). For this skill specifically:
npx skills add sleeplessv/relentless-data-skills/skills/prefect/plugin marketplace add sleeplessv/relentless-data-skills
/plugin install prefect@relentless-data-skillsIt activates automatically when you do Prefect 3 work or ask about Prefect.
Files
SKILL.md— everything: doc-lookup + CLI-first protocols, standards, guardrails.
Maintenance / CI
Repo CI lints this skill via `scripts/lint_skill.py` (frontmatter, "Use when" trigger in the description, line budget). There is deliberately no doc-URL liveness check: the skill carries no URL cache to rot, and its 404 rule (re-fetch llms.txt, re-resolve) handles upstream page moves at use time.