Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

GitHub Repository Setup

A Claude Code skill that helps you connect a folder on your Mac to a GitHub repository, or create both from scratch. This is the natural next step after setting up GitHub with the GitHub Onboarding skill.

What Does This Skill Do?

When you have code on your Mac that you want to put on GitHub (or a repo on GitHub that you want to download), this skill figures out what you have and what you need, then walks you through connecting everything together.

It handles every situation:

  • You have a folder with code and want to put it on GitHub
  • You have a repo on GitHub and want to download it to your Mac
  • You're starting from scratch and need both a folder and a repo
  • You have both but they aren't connected yet

By the end, you'll have a folder on your Mac that's connected to a GitHub repository, with your code synced between the two.

Why Use This Skill?

Getting a folder and a GitHub repo talking to each other involves a surprising number of steps — initializing git, creating a repo, setting up remotes, making a first commit, pushing. If you miss a step or get the order wrong, you end up with confusing error messages.

This skill checks what's already set up, skips what's done, and handles the rest. It also verifies that you're logged into the right GitHub account before doing anything, so your code ends up in the right place.

How to Install

Open Claude Code and tell it:

Install this skill from https://raw.githubusercontent.com/FredLackey/shared-scripts/main/skills/github-repo-setup/SKILL.md

How to Use

Once installed, just ask Claude something like:

  • "I have some code I want to put on GitHub"
  • "Help me set up a project folder"
  • "I want to clone a repo from GitHub"
  • "I need to connect this folder to GitHub"
  • "How do I start a new project?"
  • "I want to push my code to GitHub for the first time"

Claude will ask you a few questions to understand your situation, then guide you through the setup.

What to Expect

Claude will:

  1. Check your GitHub login — makes sure you're logged into the right account
  2. Ask about your situation — do you have a folder, a repo, both, or neither?
  3. Set everything up — creates, connects, or clones whatever is needed
  4. Handle your first commit — if you have files ready to go, offers to push them to GitHub
  5. Show you the result — tells you where your folder and repo are

The whole process takes about 5 minutes, and Claude confirms with you before creating or changing anything.

Requirements

  • A Mac running macOS
  • Claude Code installed and running
  • GitHub set up on your Mac (use the GitHub Onboarding skill if you haven't done this yet)

Questions?

If you run into problems or have questions, reach out:

Fred Lackey Email: Fred.Lackey@gmail.com Website: FredLackey.com