Skip to content

make-project-github-ready

An agent skill for Codex and Claude Code that prepares a repository for public GitHub collaboration, keeping local edits and remote changes in separate stages.

Role
Agent workflow design and automation engineering
Scope
Agent workflow, validation automation, and packaging
Status
Published npm package v0.1.0
A private repository passing through security and readiness checks before becoming public

Problem

A codebase can build and pass tests while its Git identity, metadata, security guidance, community files, secret hygiene, and CI are not ready for public collaboration. Making it public exposes all of that at once, including whatever is buried in the history. The move needs to be a deliberate security and operations change rather than a single click.

Constraints

  1. C1

    Creating a repository, changing visibility, changing branch settings, and pushing are external mutations.

  2. C2

    A license and a homepage URL cannot be assumed or invented.

  3. C3

    If a remote step only partly succeeds, the skill must not attempt destructive compensation.

Architecture

A local auditor inventories manifests, Git state, community files, and CI workflows, and metadata rules turn that inventory into proposed repository settings. Remote changes go through the GitHub CLI or API only when authorized, and each one is read back to confirm the result.

01

Skill workflow

A local auditor inventories recognized manifests, Git state, community files, CI workflows, and secret-named configuration.

02

Automation

Metadata and preparation rules propose an accurate description, homepage, topics, and default branch based on what the project actually is.

03

Verification

Authorization-gated GitHub CLI and API actions are followed by a read-back of the remote settings and commit SHAs.

Decisions

D1

Separate local readiness from remote mutations

Preparing files locally is reversible, while creating a repository or changing visibility is not. Keeping the stages apart lets the owner review everything before anything external changes.

D2

Require explicit visibility and license choices

These choices carry legal and security weight and cannot be inferred from the code, so the owner decides instead of a default.

D3

Verify remote state after every change

A successful API response does not prove the intended state was reached. Reading settings and SHAs back costs extra calls but catches partial results.

Contribution

  • Built an inventory of recognized manifests, community files, CI workflows, and secret names.
  • Encoded guidance for the repository description, homepage, topics, and default branch.
  • Designed safe local preparation steps and remote authorization boundaries.
  • Added read-back verification and partial-success reporting.

Outcomes

  • Agents can identify the gaps between a working codebase and a publicly ready repository.
  • Community and CI materials are prepared from facts about the project.
  • Proposed repository metadata reflects what the project actually is.
  • A repository is created or configured only when authorized, and the resulting state is verified.

Verified stack

  • Agent Skills
  • JavaScript
  • Node.js
  • npm
  • GitHub Actions
  • CI/CD
  • Git

Working through something similar?

Share your challenge, scope, and timeline to start a focused conversation.