myKG GitHub Pages

Configurazione GitHub Pages con Jekyll e Actions, hardcoded per il repository SenolIsci/mykg

di SenolIsci · SenolIsci/mykg

Richiede configurazione ★ 8.4/10

myKG GitHub Pages — Configurazione GitHub Pages con Jekyll e Actions, hardcoded per il repository SenolIsci/mykg

Cosa fa

Crea una dedicated pages/ folder, una Jekyll config e un GitHub Actions workflow that builds the site and force-pushes it to a gh-pages branch, then walks through enabling Pages e diagnosing builds that go green while the live URL stays dead. Si attiva su requests to publish project docs o blog posts as a website, enable o troubleshoot GitHub Pages, o fix a failing pages workflow. Every command targets the SenolIsci/mykg repository by name, so reuse elsewhere means editing the skill.

Rapporto di test

Ho costruito lo 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.

Testato il: 2026-07-30 · Claude Code 2.x (agent harness)

Installazione

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

Comandi e prompt di esempio

  • /mykg-github-pagesConfigurazione GitHub Pages con Jekyll e Actions, hardcoded per il repository SenolIsci/mykg

Gli skill si attivano con richieste in linguaggio naturale, senza comandi da ricordare. Dopo l'installazione, prompt come questi lo attivano (in inglese):

  • 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