Skip to content

content: add new-project repo setup checklist guide#64

Merged
wilsonwangdev merged 1 commit into
mainfrom
content/new-repo-setup-checklist
May 7, 2026
Merged

content: add new-project repo setup checklist guide#64
wilsonwangdev merged 1 commit into
mainfrom
content/new-repo-setup-checklist

Conversation

@wilsonwangdev
Copy link
Copy Markdown
Owner

Close the repo-init gap surfaced during companion-project setup: the existing git-workflow rule covers developer behavior but not repo configuration, so new projects accumulate stale branches until someone invents their own cleanup.

Changes

Guide contents

  • Why repo setup is a separate concern from workflow rules.
  • Hosting-platform checklist: auto-delete head branches, enforce a single merge strategy, protect the default branch, require linear history on squash projects. Adaptation callout maps the settings to GitHub / GitLab / Bitbucket.
  • Local cleanup script: why squash merges break git branch -d, with an npm run clean-branches example and an adaptation callout for Python / Go / shell runners.
  • Agent-instructions pointer so the cleanup command is actually discovered.
  • Verification step: merge a throwaway PR, run the cleanup command, confirm both remote and local branches disappear.

Why

This is the concrete form of the "repo init needs a setup checklist" item that has been sitting in the backlog since companion setup. Having it as a Layer 1 guide (universal + adaptation callouts) makes it reusable for any new project, not just this handbook.

Tested

npm run build succeeds — 26 pages generated (2 new). Both language pages appear in sitemap.md.

Document the one-time repo-level setup that makes the git-workflow
rule actually work in a new project: hosting-platform settings
(auto-delete, merge strategy, branch protection), a squash-aware
local cleanup script, and the agent-instructions pointer that
makes the cleanup discoverable.

The gap surfaced during companion-project setup — the git-workflow
rule covers behavior but does not cover repo configuration, so new
projects accumulate branches until someone invents their own
cleanup. This guide closes that loop with a concrete checklist.

Layer 1 content: universal principles, with platform-specific
commands (GitHub / GitLab / Bitbucket, npm / make / just) kept
in clearly marked adaptation callouts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-master-handbook Ready Ready Preview, Comment May 7, 2026 3:16pm

@wilsonwangdev wilsonwangdev merged commit cbaf7df into main May 7, 2026
3 checks passed
@wilsonwangdev wilsonwangdev deleted the content/new-repo-setup-checklist branch May 7, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant