Parshas Yisro · Passuk 20:10
Chabad.org — English translation + Rashi
Torah Temimah points to Mechilta on the comprehensive nature of the prohibition.
Sefaria — Exodus 20:10
Sefaria — Mechilta
English: “You shall not do any work” — a general statement. “You, your son or your daughter, your male or female servant, or your cattle, or your stranger” — a particularization. A general statement followed by a particularization: the general statement includes only what is in the particularization.
On the daf / in context: The structure of the verse is read according to the midah of klal u-perat.
Category A — Formal traditional Middah
Traditional list — Rabbi Yishmael’s 13 Middos
Middah #4 — Klal u-Perat
Textual application — “You shall not do any work” is the klal; the list of persons and animals is the perat. The general prohibition is thereby limited to the categories enumerated.
Parallel text(s) — the internal structure of Shemos 20:10 itself.
The general prohibition of work on Shabbos is defined and limited by the specific categories listed in the verse.