Negative Mitzvah 320
Before the first Shabbat of the world, HaShem completed His work of creation.
Everything had been created during the first six days and He declared Shabbat a holy day of rest.
HaShem wants us to rest from our weekday work, too.
He commanded us to keep the Shabbat holy and not do any work.
What work is forbidden?
What one person may find a fun hobby, another may view as a tedious job.
What does HaShem define as work?
The Torah defines thirty-nine forbidden activities which are called "Melachah" - work - and which may not done on the Shabbat.
Using those rules as a base, our Rabbis have taught us a code of laws instructing us how to keep Shabbat.
We are not allowed to do any of those activities which the Torah considers to be Melachah on Shabbat.
שיעור מח
מצות לא תעשה שכ
מצוה שכ: הזהיר מעשות מלאכה בשבת. והוא אמרו לא תעשה כל מלאכה, והעובר על לאו זה באר בו הכתוב שהוא בכרת אם לא ידע בו הדיין ואם העידו עליו עדים חייב סקילה אם היה מזיד ואם היה שוגג חייב חטאת קבועה. וכבר התבארו משפטי מצוה זו במסכת שבת. (יתרו, זמנים הלכות שבת פ"א):