One who slaughters a hen on Yom Tov and found within it finished eggs—they are permitted. And even on a Yom Tov that follows the Shabbat, for as long as it has not emerged, it is not called "preparation," because it is not yet fully completed; for it is not fit to hatch chicks, and the taste is not as good as an egg that has emerged outside (ibid. subsection 14), and it is nothing other than one of the organs of the hen. But a chick that was hatched on Yom Tov is forbidden. And if it was hatched on Shabbat, it is forbidden on the Yom Tov following it. So wrote the Tur in the name of his brother, that this too is called "preparation," since while in its shell it is not fit for eating at all, see there. That is to say: even though a calf born on Yom Tov is permitted when its months are complete, as I wrote in siman 498, nevertheless a chick hatched on Yom Tov is forbidden. For the calf is prepared by way of its mother through slaughter, but the hen in its shell is not fit even for a dog. And it is absolute muktzeh even according to the one who holds that muktzeh is permitted on Yom Tov, for this is like dried figs and raisins. And consequently, since it is forbidden on Yom Tov, if so, if you permit it on the Shabbat following it, it turns out that Yom Tov prepared for Shabbat, for it did not permit it for itself but permitted it for Shabbat, and it is rabbinic preparation. And this is like the preparation of an egg in section 8 which is rabbinic. And there is one who wishes to say that here it is Torah preparation (Taz subsection 11). And the main point is as I have written, and with this everything they questioned regarding this is settled. (And so it is implied in the Bach. And see Beit Yosef, and Taz there, and Magen Avraham subsection 15, who labored in the resolution of the questions. And according to what I have written it works out well. Examine it and you will find it easy.)
השוחט תרנגולת ביום טוב, ומצא בה ביצים גמורות – מותרות. ואפילו ביום טוב שאחר השבת, דכל זמן שלא יצאה – לא מקרי "הכנה", משום דעדיין לא נגמרה בשלימות; שאינה ראויה לגדל אפרוחים, ואין הטעם טוב כל כך כמו ביצה שיצאה לחוץ (שם סעיף קטן יד), ואינה אלא כאחד מאיברי התרנגולת. ואפרוח שנולד ביום טוב – אסור. ואם נולד בשבת – אסור ביום טוב שלאחריו. כן כתב הטור בשם אחיו, דגם זה מקרי "הכנה", כיון שבקליפתו אינו ראויה לאכילה כלל, עיין שם. כלומר: דאף על גב דעגל שנולד ביום טוב – מותר כשכלו לו חודשיו, כמו שכתבתי בסימן תצח, מכל מקום אפרוח שנולד ביום טוב אסור. דהעגל מוכן אגב אמו בשחיטה, והתרנגולת בקליפתה אינו ראויה אף לכלב. והוה מוקצה גמורה אפילו למי שסובר דמוקצה מותר ביום טוב, דזהו כגרוגרות וצמוקים. וממילא כיון שביום טוב אסורה, אם כן אם אתה מתירה בשבת שלאחריו – נמצא דיום טוב הכין לשבת, שלעצמה לא התירה ולשבת התירה, והוי הכנה דרבנן. וזהו כהכנה דביצה בסעיף ח דהוי דרבנן. ויש מי שרוצה לומר דכאן הוי הכנה דאורייתא (ט"ז סעיף קטן יא). והעיקר כמו שכתבתי, ובזה ניחא כל מה שהקשו בזה. (וכן משמע בב"ח. ועיין בית יוסף, וט"ז שם, ומגן אברהם סעיף קטן טו, שטרחו בתירוץ הקושיות. ולפי מה שכתבתי אתי שפיר. ודייק ותמצא קל.)