Development of Halakhah - Shabbat
A deep dive into how halakhah develops by looking at the laws of Shabbat and how they've come to be.
(יד) וּשְׁמַרְתֶּם֙ אֶת־הַשַּׁבָּ֔ת כִּ֛י קֹ֥דֶשׁ הִ֖וא לָכֶ֑ם מְחַֽלְלֶ֙יהָ֙ מ֣וֹת יוּמָ֔ת כִּ֗י כׇּל־הָעֹשֶׂ֥ה בָהּ֙ מְלָאכָ֔ה וְנִכְרְתָ֛ה הַנֶּ֥פֶשׁ הַהִ֖וא מִקֶּ֥רֶב עַמֶּֽיהָ׃ (טו) שֵׁ֣שֶׁת יָמִים֮ יֵעָשֶׂ֣ה מְלָאכָה֒ וּבַיּ֣וֹם הַשְּׁבִיעִ֗י שַׁבַּ֧ת שַׁבָּת֛וֹן קֹ֖דֶשׁ לַיהֹוָ֑ה כׇּל־הָעֹשֶׂ֧ה מְלָאכָ֛ה בְּי֥וֹם הַשַּׁבָּ֖ת מ֥וֹת יוּמָֽת׃
(14) You shall keep the sabbath, for it is holy for you. He who profanes it shall be put to death: whoever does work on it, that person shall be cut off from among his kin. (15) Six days may work be done, but on the seventh day there shall be a sabbath of complete rest, holy to the LORD; whoever does work on the sabbath day shall be put to death.
(כא) שֵׁ֤שֶׁת יָמִים֙ תַּעֲבֹ֔ד וּבַיּ֥וֹם הַשְּׁבִיעִ֖י תִּשְׁבֹּ֑ת בֶּחָרִ֥ישׁ וּבַקָּצִ֖יר תִּשְׁבֹּֽת׃
(21) Six days you shall work, but on the seventh day you shall cease from labor; you shall cease from labor even at plowing time and harvest time.
(ג) לֹא־תְבַעֲר֣וּ אֵ֔שׁ בְּכֹ֖ל מֹשְׁבֹֽתֵיכֶ֑ם בְּי֖וֹם הַשַּׁבָּֽת׃ {פ}
(3) You shall kindle no fire throughout your settlements on the sabbath day.
(לב) וַיִּהְי֥וּ בְנֵֽי־יִשְׂרָאֵ֖ל בַּמִּדְבָּ֑ר וַֽיִּמְצְא֗וּ אִ֛ישׁ מְקֹשֵׁ֥שׁ עֵצִ֖ים בְּי֥וֹם הַשַּׁבָּֽת׃ (לג) וַיַּקְרִ֣יבוּ אֹת֔וֹ הַמֹּצְאִ֥ים אֹת֖וֹ מְקֹשֵׁ֣שׁ עֵצִ֑ים אֶל־מֹשֶׁה֙ וְאֶֽל־אַהֲרֹ֔ן וְאֶ֖ל כׇּל־הָעֵדָֽה׃ (לד) וַיַּנִּ֥יחוּ אֹת֖וֹ בַּמִּשְׁמָ֑ר כִּ֚י לֹ֣א פֹרַ֔שׁ מַה־יֵּעָשֶׂ֖ה לֽוֹ׃ {ס} (לה) וַיֹּ֤אמֶר יְהֹוָה֙ אֶל־מֹשֶׁ֔ה מ֥וֹת יוּמַ֖ת הָאִ֑ישׁ רָג֨וֹם אֹת֤וֹ בָֽאֲבָנִים֙ כׇּל־הָ֣עֵדָ֔ה מִח֖וּץ לַֽמַּחֲנֶֽה׃
(32) Once, when the Israelites were in the wilderness, they came upon a man gathering wood on the sabbath day. (33) Those who found him as he was gathering wood brought him before Moses, Aaron, and the whole community. (34) He was placed in custody, for it had not been specified what should be done to him. (35) Then the LORD said to Moses, “The man shall be put to death: the whole community shall pelt him with stones outside the camp.”
(כא) כֹּ֚ה אָמַ֣ר יְהֹוָ֔ה הִשָּׁמְר֖וּ בְּנַפְשׁוֹתֵיכֶ֑ם וְאַל־תִּשְׂא֤וּ מַשָּׂא֙ בְּי֣וֹם הַשַּׁבָּ֔ת וַהֲבֵאתֶ֖ם בְּשַׁעֲרֵ֥י יְרֽוּשָׁלָֽ͏ִם׃ (כב) וְלֹא־תוֹצִ֨יאוּ מַשָּׂ֤א מִבָּֽתֵּיכֶם֙ בְּי֣וֹם הַשַּׁבָּ֔ת וְכׇל־מְלָאכָ֖ה לֹ֣א תַעֲשׂ֑וּ וְקִדַּשְׁתֶּם֙ אֶת־י֣וֹם הַשַּׁבָּ֔ת כַּאֲשֶׁ֥ר צִוִּ֖יתִי אֶת־אֲבוֹתֵיכֶֽם׃
(21) Thus said the LORD: Guard yourselves for your own sake against carrying burdens on the sabbath day, and bringing them through the gates of Jerusalem. (22) Nor shall you carry out burdens from your houses on the sabbath day, or do any work, but you shall hallow the sabbath day, as I commanded your fathers.
(טו) בַּיָּמִ֣ים הָהֵ֡מָּה רָאִ֣יתִי בִֽיהוּדָ֣ה ׀ דֹּֽרְכִֽים־גִּתּ֣וֹת ׀ בַּשַּׁבָּ֡ת וּמְבִיאִ֣ים הָעֲרֵמ֣וֹת וְֽעֹמְסִ֪ים עַל־הַחֲמֹרִ֟ים וְאַף־יַ֜יִן עֲנָבִ֤ים וּתְאֵנִים֙ וְכׇל־מַשָּׂ֔א וּמְבִיאִ֥ים יְרוּשָׁלַ֖͏ִם בְּי֣וֹם הַשַּׁבָּ֑ת וָאָעִ֕יד בְּי֖וֹם מִכְרָ֥ם צָֽיִד׃ (טז) וְהַצֹּרִים֙ יָ֣שְׁבוּ בָ֔הּ מְבִיאִ֥ים דָּ֖אג וְכׇל־מֶ֑כֶר וּמוֹכְרִ֧ים בַּשַּׁבָּ֛ת לִבְנֵ֥י יְהוּדָ֖ה וּבִירוּשָׁלָֽ͏ִם׃ (יז) וָאָרִ֕יבָה אֵ֖ת חֹרֵ֣י יְהוּדָ֑ה וָאֹמְרָ֣ה לָהֶ֗ם מָֽה־הַדָּבָ֨ר הָרָ֤ע הַזֶּה֙ אֲשֶׁ֣ר אַתֶּ֣ם עֹשִׂ֔ים וּֽמְחַלְּלִ֖ים אֶת־י֥וֹם הַשַּׁבָּֽת׃ (יח) הֲל֨וֹא כֹ֤ה עָשׂוּ֙ אֲבֹ֣תֵיכֶ֔ם וַיָּבֵ֨א אֱלֹהֵ֜ינוּ עָלֵ֗ינוּ אֵ֚ת כׇּל־הָרָעָ֣ה הַזֹּ֔את וְעַ֖ל הָעִ֣יר הַזֹּ֑את וְאַתֶּ֞ם מוֹסִיפִ֤ים חָרוֹן֙ עַל־יִשְׂרָאֵ֔ל לְחַלֵּ֖ל אֶת־הַשַּׁבָּֽת׃ {פ}
(15) At that time I saw men in Judah treading winepresses on the sabbath, and others bringing heaps of grain and loading them onto asses, also wine, grapes, figs, and all sorts of goods, and bringing them into Jerusalem on the sabbath. I admonished them there and then for selling provisions. (16) Tyrians who lived there brought fish and all sorts of wares and sold them on the sabbath to the Judahites in Jerusalem. (17) I censured the nobles of Judah, saying to them, “What evil thing is this that you are doing, profaning the sabbath day! (18) This is just what your ancestors did, and for it God brought all this misfortune on this city; and now you give cause for further wrath against Israel by profaning the sabbath!”
Melachah
(ב) וַיְכַ֤ל אֱלֹהִים֙ בַּיּ֣וֹם הַשְּׁבִיעִ֔י מְלַאכְתּ֖וֹ אֲשֶׁ֣ר עָשָׂ֑ה וַיִּשְׁבֹּת֙ בַּיּ֣וֹם הַשְּׁבִיעִ֔י מִכׇּל־מְלַאכְתּ֖וֹ אֲשֶׁ֥ר עָשָֽׂה׃ (ג) וַיְבָ֤רֶךְ אֱלֹהִים֙ אֶת־י֣וֹם הַשְּׁבִיעִ֔י וַיְקַדֵּ֖שׁ אֹת֑וֹ כִּ֣י ב֤וֹ שָׁבַת֙ מִכׇּל־מְלַאכְתּ֔וֹ אֲשֶׁר־בָּרָ֥א אֱלֹהִ֖ים לַעֲשֽׂוֹת׃ {פ}
(2) On the seventh day God finished the work that He had been doing, and He ceased on the seventh day from all the work that He had done. (3) And God blessed the seventh day and declared it holy, because on it God ceased from all the work of creation that He had done.
(א) וְעָשָׂה֩ בְצַלְאֵ֨ל וְאׇהֳלִיאָ֜ב וְכֹ֣ל ׀ אִ֣ישׁ חֲכַם־לֵ֗ב אֲשֶׁר֩ נָתַ֨ן יְהֹוָ֜ה חׇכְמָ֤ה וּתְבוּנָה֙ בָּהֵ֔מָּה לָדַ֣עַת לַעֲשֹׂ֔ת אֶֽת־כׇּל־מְלֶ֖אכֶת עֲבֹדַ֣ת הַקֹּ֑דֶשׁ לְכֹ֥ל אֲשֶׁר־צִוָּ֖ה יְהֹוָֽה׃ (ב) וַיִּקְרָ֣א מֹשֶׁ֗ה אֶל־בְּצַלְאֵל֮ וְאֶל־אׇֽהֳלִיאָב֒ וְאֶל֙ כׇּל־אִ֣ישׁ חֲכַם־לֵ֔ב אֲשֶׁ֨ר נָתַ֧ן יְהֹוָ֛ה חׇכְמָ֖ה בְּלִבּ֑וֹ כֹּ֚ל אֲשֶׁ֣ר נְשָׂא֣וֹ לִבּ֔וֹ לְקׇרְבָ֥ה אֶל־הַמְּלָאכָ֖ה לַעֲשֹׂ֥ת אֹתָֽהּ׃ (ג) וַיִּקְח֞וּ מִלִּפְנֵ֣י מֹשֶׁ֗ה אֵ֤ת כׇּל־הַתְּרוּמָה֙ אֲשֶׁ֨ר הֵבִ֜יאוּ בְּנֵ֣י יִשְׂרָאֵ֗ל לִמְלֶ֛אכֶת עֲבֹדַ֥ת הַקֹּ֖דֶשׁ לַעֲשֹׂ֣ת אֹתָ֑הּ וְ֠הֵ֠ם הֵבִ֨יאוּ אֵלָ֥יו ע֛וֹד נְדָבָ֖ה בַּבֹּ֥קֶר בַּבֹּֽקֶר׃ (ד) וַיָּבֹ֙אוּ֙ כׇּל־הַ֣חֲכָמִ֔ים הָעֹשִׂ֕ים אֵ֖ת כׇּל־מְלֶ֣אכֶת הַקֹּ֑דֶשׁ אִֽישׁ־אִ֥ישׁ מִמְּלַאכְתּ֖וֹ אֲשֶׁר־הֵ֥מָּה עֹשִֽׂים׃
(1) Let, then, Bezalel and Oholiab and all the skilled persons whom the LORD has endowed with skill and ability to perform expertly all the tasks connected with the service of the sanctuary carry out all that the LORD has commanded. (2) Moses then called Bezalel and Oholiab, and every skilled person whom the LORD had endowed with skill, everyone who excelled in ability, to undertake the task and carry it out. (3) They took over from Moses all the gifts that the Israelites had brought, to carry out the tasks connected with the service of the sanctuary. But when these continued to bring freewill offerings to him morning after morning, (4) all the artisans who were engaged in the tasks of the sanctuary came, each from the task upon which he was engaged,

Rabbi Danny Nevins - all comments below from his T'shuvah on Electricity on Shabbos

These associations imply that there is something creative about melakhah—it is the language of creation for both God and for people. In desisting from creative labor on Shabbat, even the labor of tabernacle construction, the Israelite identifies with both the active and the resting states of God. The type of creativity discussed here is one in which material reality is transformed, rather than the .)He ceased from work and was refreshed (Ex. 31:17 ,שבת וינפש ,creativity of song, speech and other expressions of emotion and ideas. In fact, the cessation of physical creativity functions as a catalyst for spiritual creativity on Shabbat, as it says of God.

דְּאָמַר רַבִּי שִׁמְעוֹן בֶּן לָקִישׁ: נְשָׁמָה יְתֵירָה נוֹתֵן הַקָּדוֹשׁ בָּרוּךְ הוּא בָּאָדָם עֶרֶב שַׁבָּת, וּלְמוֹצָאֵי שַׁבָּת נוֹטְלִין אוֹתָהּ הֵימֶנּוּ, שֶׁנֶּאֱמַר: ״שָׁבַת וַיִּנָּפַשׁ״, כֵּיוָן שֶׁשָּׁבַת וַוי אָבְדָה נֶפֶשׁ.
As Rabbi Shimon ben Lakish said: The Holy One, Blessed be He, gives a person an additional soul on Shabbat eve, and at the conclusion of Shabbat removes it from him, as it is stated: “He ceased from work and was refreshed [vayinafash]” (Exodus 31:17). Rabbi Shimon ben Lakish expounds the verse as follows: Since he ceased from work, and now Shabbat has concluded and his additional soul is removed from him, woe [vai] for the additional soul [nefesh] that is lost.
מְלֶאכֶת מַחְשֶׁבֶת אָסְרָה תּוֹרָה וּמְלֶאכֶת מַחְשֶׁבֶת לָא כְּתִיבָא:
The Gemara answers: The Torah prohibited only planned, creative labor on Shabbat. An act of labor that is not intended, or whose result is unintended, or whose consequence is destructive, is not included in this category. Therefore, one who performs labor in this manner is exempt. And limitation of the prohibition against creative labor is not written anywhere in the Torah with regard to the laws of Shabbat. Admittedly, this principle is written in connection with the Tabernacle, and there is an established exegetical link between the building of the Tabernacle and Shabbat. Nevertheless, as this fundamental principle concerning the halakhot of Shabbat does not appear explicitly, it is compared to mountains suspended by a hair.
What is the content of Melacha?

(ב) אֲבוֹת מְלָאכוֹת אַרְבָּעִים חָסֵר אֶחָת. הַזּוֹרֵעַ. וְהַחוֹרֵשׁ. וְהַקּוֹצֵר. וְהַמְעַמֵּר. הַדָּשׁ. וְהַזּוֹרֶה. הַבּוֹרֵר. הַטּוֹחֵן. וְהַמְרַקֵּד. וְהַלָּשׁ. וְהָאוֹפֶה. הַגּוֹזֵז אֶת הַצֶּמֶר. הַמְלַבְּנוֹ. וְהַמְנַפְּצוֹ. וְהַצּוֹבְעוֹ. וְהַטּוֹוֶה. וְהַמֵּסֵךְ. וְהָעוֹשֶׂה שְׁנֵי בָתֵּי נִירִין. וְהָאוֹרֵג שְׁנֵי חוּטִין. וְהַפּוֹצֵעַ שְׁנֵי חוּטִין. הַקּוֹשֵׁר. וְהַמַּתִּיר. וְהַתּוֹפֵר שְׁתֵּי תְפִירוֹת. הַקּוֹרֵעַ עַל מְנָת לִתְפֹּר שְׁתֵּי תְפִירוֹת. הַצָּד צְבִי. הַשּׁוֹחֲטוֹ. וְהַמַּפְשִׁיטוֹ. הַמּוֹלְחוֹ, וְהַמְעַבֵּד אֶת עוֹרוֹ. וְהַמּוֹחֲקוֹ. וְהַמְחַתְּכוֹ. הַכּוֹתֵב שְׁתֵּי אוֹתִיּוֹת. וְהַמּוֹחֵק עַל מְנָת לִכְתֹּב שְׁתֵּי אוֹתִיּוֹת. הַבּוֹנֶה. וְהַסּוֹתֵר. הַמְכַבֶּה. וְהַמַּבְעִיר. הַמַּכֶּה בַפַּטִּישׁ. הַמּוֹצִיא מֵרְשׁוּת לִרְשׁוּת. הֲרֵי אֵלּוּ אֲבוֹת מְלָאכוֹת אַרְבָּעִים חָסֵר אֶחָת:

(2) This fundamental mishna enumerates those who perform the primary categories of labor prohibited on Shabbat, which number forty-less-one. They are grouped in accordance with their function: One who sows, and one who plows, and one who reaps, and one who gathers sheaves into a pile, and one who threshes, removing the kernel from the husk, and one who winnows threshed grain in the wind, and one who selects the inedible waste from the edible, and one who grinds, and one who sifts the flour in a sieve, and one who kneads dough, and one who bakes. Additional primary categories of prohibited labor are the following: One who shears wool, and one who whitens it, and one who combs the fleece and straightens it, and one who dyes it, and one who spins the wool, and one who stretches the threads of the warp in the loom, and one who constructs two meshes, tying the threads of the warp to the base of the loom, and one who weaves two threads, and one who severs two threads for constructive purposes, and one who ties a knot, and one who unties a knot, and one who sews two stitches with a needle, as well as one who tears a fabric in order to sew two stitches. One who traps a deer, or any living creature, and one who slaughters it, and one who flays it, and one who salts its hide, a step in the tanning process, and one who tans its hide, and one who smooths it, removing hairs and veins, and one who cuts it into measured parts. One who writes two letters and one who erases in order to write two letters. One who builds a structure, and one who dismantles it, one who extinguishes a fire, and one who kindles a fire. One who strikes a blow with a hammer to complete the production process of a vessel (Rabbeinu Ḥananel), and one who carries out an object from domain to domain. All these are primary categories of labor, and they number forty-less-one.

R' Nevins -

This list may be broken into five functions. #1‐11: the production of bread; #12‐24: the production of clothing; #25‐33: hunting and preparing hides as parchment for writing; #34‐38: the construction of tools and shelter; and #39: the transportation of goods. We may summarize the list by stating that the rabbinic understanding of melakhah regards the transformation of material reality to serve the needs of civilized people for food, clothing, writing, shelter and tools.

Labors which leave no durable impact on the material environment are not considered to be forbidden as melakhah. As Mishnah Shabbat 12:1 declares, הכלל כל העושה מלאכה ומלאכתו מתקיימת בשבת חייב זה, "this is the rule: anyone who performs work and his work is stable (or endures) on the Sabbath 49 is culpable.” This general principle is stated in a Mishnah which functions as a header to the second half of the tractate and its discussion of the first 38 labors.

אָמַר לְהוּ רַבִּי חֲנִינָא בַּר חָמָא: כְּנֶגֶד עֲבוֹדוֹת הַמִּשְׁכָּן. אֲמַר לְהוּ רַבִּי יוֹנָתָן בְּרַבִּי אֶלְעָזָר, כָּךְ אָמַר רַבִּי שִׁמְעוֹן בְּרַבִּי יוֹסֵי בֶּן לָקוֹנְיָא: כְּנֶגֶד ״מְלָאכָה״ ״מְלַאכְתּוֹ״ וּ״מְלֶאכֶת״ שֶׁבַּתּוֹרָה אַרְבָּעִים חָסֵר אַחַת.
Rabbi Ḥanina bar Ḥama said to them: They correspond to the labors in the Tabernacle. All types of labor that were performed in the Tabernacle are enumerated as primary categories of labor with respect to Shabbat. However, other labors, even if they are significant, are not enumerated among the primary categories of labor since they were not performed in the Tabernacle. Rabbi Yonatan, son of Rabbi Elazar, said to them that so said Rabbi Shimon, son of Rabbi Yosei ben Lakonya: They correspond to the instances of the words labor, his labor, and the labor of, that appear in the Torah a total of forty-less-one times.

Rabbi Hanina bar Hama asserts that the Mishnah’s list is in accord with the tabernacle labors; other theories indicate that the Torah supplied the quantity but not the identity of the labors. One view claims 39 as the number of references to the word melakhah (in three forms) in the entire Torah; at B. Shabbat 49b the rabbis struggle to identify which instances should be included on the list. Elsewhere in the Bavli 54 and in the Yerushalmi, 55 the rabbis derive the number 39 from plays on the gematria (numerical value) of the words אלה הדברים in Exodus 35:1.

Bavli Shabbat 49b states that any labor not performed in the tabernacle cannot be considered to be one of the archetypes.... The tabernacle is built through 39 discrete actions; the Sabbath is “built” through 39 discrete inactions.
Primary and Derivative Labors
Although the melakhot were initially limited to a list of 39, many other activities were banned by association. One of the many complicated questions in the laws of Shabbat is the relationship between the primary categories, אבות and their derivatives, תולדותיהם.
Derivative Shabbat prohibitions are said to resemble the primary categories in their physical function, purpose or result. 67 One example of a toledah is watering plants; this is forbidden as a derivative of the primary category of זורע (sowing seeds) . Both activities have the purpose of making a plant grow in the soil, but the mechanisms are physically distinct. Thus watering is not banned as a form of sowing, but rather is a derivative labor sharing the same goal of causing plants to grow.
If the physical mechanism, פעולה, is different from that of the primary prohibition, but the purpose and the result, תכלית , .are identical, then an activity is considered forbidden as a toledah or derivative of the primary category. If the mechanism, purpose and result are different, then the activity under consideration would not be forbidden as melakhah, though it might still be inconsistent with the command to rest on Shabbat.
In Mishnah Hagigah 1:8 the rabbis famously declare that, “the laws of Shabbat … are like mountains suspended by a hair, for they have few verses, but many laws.” 70 Given the large number of references to Shabbat across the
Hebrew Bible, the significance of this claim is unclear. In the Bavli (Hagigah 10b), the rabbis clarify the Mishnah’s puzzling statement by saying that while there are in fact many verses about Shabbat in the Torah, the matter of intentional labor is not explained in the text, but must be inferred:
מלאכת מחשבת אסרה תורה, ומלאכת מחשבת לא כתיבא
Indeed, the question of intention is essential to the rabbis’ determination of whether any given action is considered to have violated an established prohibition.
There are four categories of intention significant to hilkhot Shabbat:
A)דבר שאינו מתכוון - Unintended and unanticipated melakhah. If a person performs a permitted act on Shabbat knowing that it is possible but not inevitable that a melakhah might result from his/her activity, such action is permitted despite the unintended consequence. The classic examples are dragging a chair on a dirt floor, which could cause a rut, but is not considered to be “plowing,” and walking across a lawn, which could uproot some grass, but is not considered “harvesting.”
B) פסיק רישא ולא ימות ,Unavoidable melakhah. If a person likewise performs an action on Shabbat for a permitted purpose but knows that it is inevitable that a beneficial melakhah will result from the activity, such action is deemed by the rabbis to be forbidden by biblical law as an unavoidable and beneficial consequence. This category’s name comes from its classic example—a man wants to give a child a chicken head to play with on Shabbat; he cuts off the head, not intending to kill the chicken per se, but פסיק רישיה ולא ימות ) "if you cut off its head, will it not die?”
C) פסיק רישיה ולא ניחא ליה - Unavoidable and undesirable melakhah. Similarly, if a person intends to perform a permitted act on Shabbat knowing that it is inevitable that a melakhah will result from the activity, except that he will receive no benefit from this result (and may suffer a loss), many authorities permit the action, though some Ashkenazi poskim rule stringently
D) מלאכה שאינה צריכה לגופה -
Intentional act, but for a purpose different from the melakhah. Finally, if a person intentionally performs a melakhah
on Shabbat, but for a permitted purpose unrelated to its forbidden result, this is the subject of debate. In the Talmud, Rabbi Shimon considers such an act to be permitted, whereas Rabbi Yehudah forbids it. Later authorities mostly side with Rabbi Shimon’s leniency, ruling that such an action is not banned by the Torah, but they nevertheless ban it by force of rabbinic decree. The classic citation of מלאכה שאינה צריכה לגופה s Bavli Shabbat 73b, though there are other references to the debate throughout the tractate and other volumes. This case refers to a man who digs a hole on Shabbat, which is normally forbidden as either the melakhah of “digging”, בונה , or “building", חופר, depending on whether the hole is inside or outside of the home. In this case, however, this man’s interest is not in producing a hole, but rather in gathering some dirt. Rabbi Shimon permits the act, whereas Rabbi Yehudah forbids it—almost. In the end, even Rabbi Yehudah permits this because in this case the act of digging is considered to be קלקול, destructive (since it leaves an unhelpful and even hazardous hole in the field or floor). While the majority view is that such melakhah does not violate the biblical ban, the rabbis prohibited it of their own authority.

The question of intention is significant when considering the melakhot possibly involved in using electricity. For example, some electrical switches may create an arc of flame when flipped. It is forbidden to light a fire, מבעיר but in this case, the creation of sparks is not inevitable and is not the actor’s intention and is generally not even observed. Causing such sparks would therefore be considered only a possible consequence of the act, and certainly not one which benefits the actor. Thus we would deem their creation to be permitted as unintended and unanticipated, דבר שאינו מתכוון

To summarize this introductory discussion, in order to establish that a given action is biblically prohibited as melakhah, one must show that the act is physically comparable or has comparable intentions and results to one of the primary categories. or its derivations. Absent such results and intentions, the act may still be forbidden by authority of the rabbis, but will not be considered biblically prohibited. Rabbinic prohibitions are generally binding, but they bear lesser penalties and may be superseded by competing halakhic values.