본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)7.2k · #13341

publish-project-to-github

하는 일

이 스킬은 완성된 로컬 프로젝트를 GitHub에 올리는 과정을 에이전트가 안내합니다. README, 미리보기 이미지, 필요할 때 공개 웹사이트까지 포함합니다. 작은 웹 프로젝트를 공유하거나 오픈 소스로 공개하려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓로컬 웹 프로젝트를 GitHub에 올리고 싶을 때.
  • ✓설명 문서와 미리보기 이미지가 있는 저장소를 만들고 싶을 때.
  • ✓작은 사이트를 GitHub Pages로 호스팅하고 공개 후 확인하고 싶은 경우.

스킬 링크

https://github.com/MengTo/Skills/blob/main/agent-skills/codex/publish-project-to-github/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/MengTo/Skills/blob/main/agent-skills/codex/publish-project-to-github/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“로컬 HTML 프로젝트를 README와 GitHub Pages 사이트와 함께 GitHub에 올려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 먼저 프로젝트와 저장소 상태를 확인한 뒤 파일을 정리하고 README를 쓰고 변경 사항을 푸시합니다. 배포가 끝나면 공개 사이트가 정상적으로 열리는지 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Publish Project to GitHub

Turn a finished local project into a clean public artifact. Treat repository creation, public visibility, and deployment as separate gates; a successful push is not proof that the public site works.

Deliverables

Produce the applicable items:

  • a narrowly scoped Git repository
  • an intentional public or private GitHub repository
  • a project-specific README.md
  • a real preview image when the project is visual
  • a portable build or remix prompt when it adds value
  • a configured GitHub Pages site for compatible web projects
  • post-push and post-deploy read-back

1. Resolve scope and authority

Inspect the local project, repository state, remotes, and local instructions before writing.

Confirm or safely infer:

  • the exact project directory and intended files
  • repository name and owner
  • whether the target should be public or private
  • whether an existing repository must be updated or a new one created
  • whether the user wants a live website, source hosting only, or both

Creating a public repository is authorized only when the user explicitly asks for public sharing, a public URL, open source, or equivalent. Otherwise ask for visibility before creating it.

Never force-push, overwrite an existing remote, change repository visibility, or replace an existing Pages configuration without exact authorization.

2. Audit before packaging

Run the bundled audit from the project root:

bash /path/to/publish-project-to-github/scripts/audit_public_project.sh .

Then inspect findings rather than treating the script as a substitute for judgment.

Block publication on:

  • API keys, tokens, private keys, passwords, or .env files
  • personal data or private client information
  • absolute local filesystem paths required at runtime
  • unlicensed or private assets
  • missing runtime files
  • unclear ownership of a repository name that already exists

Review all external runtime URLs and generated assets. State any required network dependency in the README.

Inspect the existing license before publishing. If the user explicitly wants others to reuse or modify the project and no license exists, ask which license to add rather than inventing one. If the goal is only public viewing, a missing license does not block deployment, but report that reuse rights are not granted explicitly.

3. Choose the packaging model

Clean existing repository

Use the existing checkout when its remote, history, and tracked files match the intended public project. Stage only the requested files.

Mixed or unrelated workspace

Create a clean project directory or sibling checkout when the source workspace contains unrelated experiments, deletions, private files, or history. Copy only the intended runtime files. Do not publish an entire mixed folder for convenience.

Existing public repository

Inspect its default branch, Pages source, README, license, and remote state before changing it. Pull or reconcile deliberately; never hide divergence with a force push.

For a static one-file experiment, prefer this minimal shape:

project-name/
├── index.html
├── README.md
├── PROMPT.md        # optional
├── assets/          # optional previews or runtime assets
└── .gitignore

4. Build the repository presentation

Write the README from the real project. Use assets/README-template.md as a starting structure, not as final copy.

Include:

  • project name and one concrete sentence explaining the experience
  • a live demo link near the top and, when useful outside GitHub, a repository source link
  • a screenshot or short GIF captured from the actual running project
  • key interactions or features
  • a concise explanation of the architecture and unusual implementation choices
  • accurate local run instructions
  • project structure
  • runtime dependencies and network requirements
  • originality, attribution, or non-affiliation notes when references inspired the work

For agent-built projects, optionally add official links and a portable prompt showing how to rebuild or remix the project with relevant coding agents. Verify current official URLs before publishing.

Avoid generic claims such as “cutting-edge,” “stunning,” or “production-ready.” Prefer specific craft and behavior.

5. Verify locally

Use the project's real runtime rather than opening module-based sites directly from disk.

For static sites:

python3 -m http.server 4173 --bind 127.0.0.1

Check:

  • initial render
  • the primary in
자주 묻는 질문

허락 없이 저장소를 공개로 바꾸나요?

아닙니다. 이 스킬은 공개 공유에는 명확한 요청이 필요하다고 보며, 요청이 없으면 공개 범위를 먼저 묻습니다.

기존 원격 저장소를 덮어쓰나요?

아닙니다. 명확한 승인 없이는 강제 푸시를 하거나 원격 저장소를 바꾸지 않습니다.

푸시가 성공하면 사이트도 정상인가요?

아닙니다. 배포된 결과는 푸시와 별도로 다시 확인합니다.

상세 정보

작성자의 원본 설명

Package a finished local project into an intentional GitHub repository, create a strong README and visual preview, push it safely, configure a public GitHub Pages URL when the project is compatible, and verify the deployed result. Use when a user asks to upload, publish, open-source, share, or turn a local HTML/CSS/JavaScript experiment or small web project into a documented GitHub repository with a live demo.

repo: MengTo/Skills

인기도

GitHub 스타
7.2k
순위
#13341
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬