publish-project-to-github
O que ela faz
Esta skill orienta o agente a colocar um projeto local finalizado no GitHub, incluindo o README, uma imagem de prévia e um site público quando isso fizer sentido. Ela serve para quem quer compartilhar ou abrir o código de um pequeno projeto web.
Quando usar
- ✓Quando você quer publicar um projeto web local no GitHub.
- ✓Quando você quer um repositório documentado com uma imagem de prévia.
- ✓Quando você quer um pequeno site hospedado no GitHub Pages e verificado depois de publicado.
Link da skill
https://github.com/MengTo/Skills/blob/main/agent-skills/codex/publish-project-to-github/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Publique meu projeto HTML local no GitHub com um README e um site ao vivo no GitHub Pages.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente verifica primeiro o projeto e o repositório, depois empacota os arquivos, escreve o README e envia o trabalho. Em seguida, confirma que o site público funciona depois da publicação.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
.envfiles - 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
Perguntas frequentes
Ela deixará o repositório público sem perguntar?
Não. A skill diz que compartilhar publicamente exige um pedido explícito seu, e pergunta sobre a visibilidade caso contrário.
Ela sobrescreve um remoto existente?
Não. A skill diz para nunca fazer force-push nem substituir um remoto sem autorização exata.
Um push bem-sucedido significa que o site funciona?
Não. A skill verifica o resultado publicado separadamente, depois do push.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 7,2 mil
- Posição no ranking
- #13341
- Licença
- MIT
- Atualizada em
- 01/11/2026
Comentários
- …
Mais skills deste repositório
3d-cloth-material
7,2 milAjuda seu agente a criar tecido tramado realista no Three.js, com trama de fios, brilho suave, dobras naturais, barras e costuras.
3d-falling-leaves
7,2 milAjuda seu agente a acrescentar folhas caindo realistas a uma cena 3D, com folhas que giram, são levadas pelo vento e reaproveitadas conforme a câmera se move.
3d-four-seasons
7,2 milAjuda seu agente a acrescentar visuais de primavera, verão, outono e inverno a uma cena 3D, alterando folhagem, luz, céu e neve sem reconstruir a cena.
3d-high-poly-models
7,2 milAjuda seu agente a criar modelos 3D detalhados com formas suaves e bordas convincentes, e depois preparar versões mais leves que rodem bem na web.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.