create-project

Fork open-source repositories via GitHub CLI and configure Git remotes.

7|1|Updated Mar 30, 2024
One-click install
npx skills add https://github.com/Lionad-Morotar/local-tools --skill create-project-lionad-morotar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-project
Source: https://github.com/Lionad-Morotar/local-tools/tree/main/local-link/skills/create-project
Command: npx skills add https://github.com/Lionad-Morotar/local-tools --skill create-project-lionad-morotar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates the process of forking existing open-source projects and setting them up under your GitHub account, streamlining the creation of new project versions or contributions.

Core Features & Use Cases

  • Repository Forking: Creates a new repository on GitHub by forking an existing one.
  • Remote Configuration: Updates local Git remotes to point to the newly created repository and the original upstream.
  • Project Metadata Update: Modifies configuration files like package.json and README.md to reflect the new project ownership and fork status.
  • Use Case: When you find an open-source project you want to modify or use as a base for your own work, this skill handles the initial setup of a new repository for you.

Quick Start

Use the create-project skill to fork the repository at 'https://github.com/original-owner/original-repo.git' and name the new project 'my-new-project'.

Frequently Asked Questions about create-project

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fork an open-source project and set up a new repository under my GitHub account?

To automatically fork an open-source project, this skill uses the GitHub CLI to create a repository under your account. It then reconfigures local Git remotes to track the new origin and the original upstream repository for simplified contribution workflows.

What is the best way to update project metadata like package.json and README.md when forking a repository?

When forking a repository, the best way to update project metadata is to automate the modification of configuration files. This skill automatically updates package.json and README.md to reflect the new project ownership and fork status after the repository is created.

Does this project setup automation work if the current repository origin is not owned by my GitHub account?

Yes, this project setup automation works even if the current repository origin is not owned by your target GitHub account. It specifically handles these scenarios by creating a new fork and reconfiguring the Git remotes to point to your newly created repository.

How do I configure Git remotes to track both my new fork and the original upstream repository?

To configure Git remotes, this skill reconfigures your local repository to point to the newly created fork as the origin. It simultaneously sets up upstream tracking to the original open-source project, allowing you to sync future updates from the source repository.

Can I use GitHub CLI to fork a repository and rename the new project at the same time?

Yes, you can use this skill to leverage GitHub CLI to fork a repository and rename the new project simultaneously. It manages the repository creation under your GitHub account and updates configuration files to reflect the new project name.