myKG GitHub Pages
Nastavení Jekyll a Actions GitHub Pages, napevno zakódované pro repozitář SenolIsci/mykg
Funguje s nastavením
Co umí
Vytvoří vyhrazenou složku pages/, konfiguraci Jekyll a workflow GitHub Actions, které sestaví web a vynuceně ho nahraje na větev gh-pages, poté provede povolení Pages a diagnostiku sestavení, která jsou zelená, zatímco živá URL zůstává nefunkční. Spouští se na požadavky na publikování projektové dokumentace nebo blogových příspěvků jako webové stránky, povolení nebo řešení problémů s GitHub Pages, nebo opravu selhávajícího workflow Pages. Každý příkaz cílí na repozitář SenolIsci/mykg by name, so reuse elsewhere means editing the skill.
Testovací report
Dvakrát jsem vytvořil stejnou project Pages site with Jekyll 4.4, once the obvious way and once following the skill's config, and the difference is real and silent: without the skill's mandatory baseurl the generated index.html links its stylesheet at /assets/css/style.css and its blog at /blog.html, both of which 404 under a project Pages URL even though the build is green and the page returns 200. The skill's config emits /mykg/assets/css/style.css and /mykg/blog.html correctly. The write-up is unusually candid, documenting three near-identical green-build-but-dead-site failures it says it hit live, including the one where GitHub refuses to run a Pages build for commits pushed with the default GITHUB_TOKEN. Háček je v rozsahu a manuální práci: every gh api call is hardcoded to SenolIsci/mykg, and the deploy step needs a classic personal access token that the skill correctly refuses to create for you, so a first run always stops for the user.
Testováno: 2026-07-30 · Claude Code 2.x (agent harness)
Instalace
git clone https://github.com/SenolIsci/mykg.git mkdir -p ~/.claude/skills cd mykg && cp -r .claude/skills/mykg-github-pages ~/.claude/skills/mykg-github-pages
Příkazy a ukázkové prompty
/mykg-github-pagesNastavení Jekyll a Actions GitHub Pages, napevno zakódované pro repozitář SenolIsci/mykg
Skilly se spouštějí běžnými požadavky — žádné příkazy k zapamatování. Po instalaci ho aktivují prompty jako tyto (anglicky):
Set up a GitHub Pages site for the mykg project with Jekyll and ActionsThe Pages workflow is green but the site 404s, help me diagnose itPublish this blog article on the mykg project site via GitHub Pages