pb-project-new
Installation
SKILL.md
New private AOS project
What you get: a private GitHub repo with AOS bootstrapped, pushed, and a first CI run checked.
Inputs
- name, owner — asked in step 1
- local_folder — where the clone goes, asked in step 1
- upstream_url (optional) — a repo to track as
upstream, asked in step 1
Steps
- Ask — name, owner, local folder, optional upstream URL, stack/template choice (Vite SPA, Go service, or Rust/Tauri desktop app) → run log header in the start directory (
production_artifacts/pb-project-new-<date>.md, never committed) — all answered - [GO] github — from the parent of
<local_folder>(cdthere first; the clone lands in<name>/),gh repo create <owner>/<name> --private --clone→ repo and local clone — The run stops here until the human types GO. - github —
gh repo view <owner>/<name> --json visibility -q .visibility→ value in the run log — must equalPRIVATE; otherwise fail-stop: write the value to the run log, tell the user, push nothing, and do not delete or change the repo (destructive actions need the user's confirmation) - Upstream given →
git remote add upstream <url>—git remote -vshows it; never push toupstream(nogh repo fork: a fork of a public repo cannot be private) - aos-project-init — folder →
.aos/project.json,AGENTS.mdand symlinks, OpenWiki, memB project card, Synapse, CI choice (detect stack: Cargo.toml/src-tauri for Rust/Tauri, go.mod for Go, package.json for Vite; it may create triage labels and write../WORKTREE.md; aos-project-init asks for its own write-list approval) — doctor rows green or exceptions named,.openwiki/present; accept aos-project-init's own commit if it makes one, step 6 commits only what is left, never the run log - git commit
chore: bootstrap AOS project— remaining bootstrap files → SHA — commit succeeds (any hook failure is reported, never bypassed with --no-verify) (skip if nothing is left) - [GO]
git branch -M main, then git push -u origin main — SHA → remote — The run stops here until the human types GO. - pb-ci-fix — only if CI was chosen in step 5: run its step 10 (watch the run on the pushed SHA) → conclusion
success; if red, hand over to/pb-ci-fixfrom its step 1 (it has its own GO); then re-run the step 3 check — stillPRIVATE
Run log: production_artifacts/pb-project-new-<date>.md in the start directory, outside the new repo