myKG GitHub Pages

Jekyll og Actions GitHub Pages opsætning, hardcoded til SenolIsci/mykg repoet

Af SenolIsci · SenolIsci/mykg

Virker med opsætning ★ 8.4/10

myKG GitHub Pages — Jekyll og Actions GitHub Pages opsætning, hardcoded til SenolIsci/mykg repoet

Hvad det gør

Scaffolds a dedicated pages/ folder, a Jekyll config and 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. Udløses ved 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.

Testet: 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

Kommandoer og eksempelprompter

  • /mykg-github-pagesJekyll og Actions GitHub Pages opsætning, hardcoded til SenolIsci/mykg repoet

Skills udløses af almindelige forespørgsler — ingen kommandoer at huske. Efter installationen aktiverer prompter som disse skillen (på engelsk):

  • Set up a GitHub Pages site for the mykg project with Jekyll and Actions
  • The Pages workflow is green but the site 404s, help me diagnose it
  • Publish this blog article on the mykg project site via GitHub Pages