github-integration

Use when building GitHub-based features - Explains auth token usage, Gist reading/writing and rendering helpers.

$ Installieren

git clone https://github.com/dave1010/tools /tmp/tools && cp -r /tmp/tools/.skills/github-integration ~/.claude/skills/tools

// tip: Run this command in your terminal to install the skill


name: github-integration description: "Use when building GitHub-based features - Explains auth token usage, Gist reading/writing and rendering helpers."

GitHub tokens and auth

  • Check whether github-device-login-token is already in local storage before prompting users.
  • When the token is missing or lacks scopes, direct users to /tools/github-device-login/ to refresh authorization.

Gists

  • Review tools/scratch-pad/index.html for an end-to-end example of creating and saving Gists.
  • Render saved HTML gists at https://gistpreview.github.io/?${encodeURIComponent(gistId)} to preview their content.