myKG GitHub Pages
Jekyll och Actions GitHub Pages-inställning, hårdkodad till SenolIsci/mykg-repot
Fungerar med konfiguration
Vad den gör
Strukturar en dedicated pages/ folder, a Jekyll config och a GitHub Actions workflow that builds the site and force-pushes it to a gh-pages branch, then walks through enabling Pages and diagnosing builds that go green while the live URL stays dead. Utlöses vid requests to publish project docs or blog posts as a website, enable or troubleshoot GitHub Pages, or fix a failing pages workflow. Every command targets the SenolIsci/mykg repository by name, so reuse elsewhere means editing the skill.
Testrapport
Built the same project Pages site twice 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. The catch is scope and manual work: 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.
Testad: 2026-07-30 · Claude Code 2.x (agent harness)
Installation
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
Kommandon och exempelprompter
/mykg-github-pagesJekyll och Actions GitHub Pages-inställning, hårdkodad till SenolIsci/mykg-repot
Skills triggas av vanliga förfrågningar — inga kommandon att memorera. Efter installationen aktiverar prompter som dessa skillen (på engelska):
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