new-project
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
New project
The first session in a repo the owner just created. This is set-up, not a change: no spec. The
steps only the owner can do are in /opt/devshop-current/templates/new-project-steps.md; the owner
did its part 1 before this session.
1. Check, and stop with the reason on any miss
origin/mainexists. An empty repo has none: the owner creates the repo with a README.- No
.devshop-versionand no.github/workflows/ci.yml: else this isn't a new project; go toak:intent. - A clean tree, on a fresh branch cut from
origin/main. gitleaksandpython3run.
2. Place the files
- Ask the owner for their GitHub user name (it goes in
.github/CODEOWNERS). - Run, from the project root:
/opt/devshop-current/scripts/project-files.py init --devshop-git /opt/devshop.git --version <release> --project . --codeowner <name>, where<release>is what/opt/devshop-plugin/devshop/upgrade/latest-release.sh --devshop-git /opt/devshop.gitprints: the newest devshop release (vX.Y.Z). It exits 1 when the environment's copy predates the first release: the owner rebuilds the environment. Never pin a branch or a commit SHA. - A refusal writes nothing: say what it named, stop. A failure after a write lists what it wrote: delete those files, then stop.
- Run
scripts/check-fast.sh origin/mainandscripts/check-slow.sh. Both pass, or stop: a fresh project that fails its own checks is a devshop bug, so give the owner the output.
3. The first PR
- One commit, "chore: start from the devshop", the PR's title too; then
ak:pr. The body's What you should know carries the owner's part 2 of the steps, filled in with this repo's exact names. - Leave it unmerged until the owner has done part 2 (protection on
mainnames the checks CI's first run created). Then check each step from outside as the list says, and ask for the approval. A check that fails goes back to the owner with what you saw.
4. After the merge
The stack comes with the first change: the owner's next request goes through ak:intent, and
its spec names the stack. That stack's home (/opt/devshop-current/stacks/) has a ## Set-up
section with its own owner steps, given to the owner the same way.
04 同仓库更多 Skills
split
暂无简介
pr
暂无简介
intent
暂无简介
devshop-version
Which devshop version this session runs and how old its local copy is. Use when asked about the devshop version or the DEVSHOP line.
devshop-probe2
W10.1.2b probe. Use when asked to "run the devshop probe2".
devshop-probe
W10.1.2 probe. Use when asked to "run the devshop probe" or "check the devshop install".