Skip to content

feat(skills): provision-tutorial-repo skill + script - #2221

Merged
jung-thomas merged 1 commit into
DEVfrom
worktree-provision-tutorial-repo-skill
Sep 9, 2026
Merged

jung-thomas merged 1 commit into
DEVfrom
worktree-provision-tutorial-repo-skill

Conversation

@jung-thomas

Copy link
Copy Markdown
Contributor

Adds a reusable Claude skill provision-tutorial-repo (+ parameterized provision.sh) that stands up a new sap-tutorials tutorial repo pair the way every existing product repo is set up.

What it provisions

  • <name> public source repo + <name>-Contribution private QA repo, from the org template repos (tutorial-repo-template / tutorial-repo-Contribution-template).
  • The two notify-*.yml rebuild-dispatch workflows that the templates deliberately omit (copied verbatim from the canonical repos; repo-agnostic).
  • USE_GITHUB_APP=true repo variable.
  • Four org teams (-admin, -team, -contribution-admin, -contribution-team) with admin/maintain grants per the ai-core convention, plus member assignment.

Notes

  • Base CI (tutorial-ci callers, label-issues, community-requester-id) already ships with the templates — no tutorial-ci rollout needed.
  • No tutorials-ims code change: discoverAllTutorials auto-discovers any org repo with a tutorials/ folder.
  • Preflight fails fast for non-org-owners; org-owner-only follow-ups (App install, org secret visibility) are printed at the end.
  • shellcheck clean; dry-run verified.

First real use: standing up integration / integration-Contribution.

Reusable procedure + parameterized gh script to stand up a new
sap-tutorials tutorial repo pair (public source + private -Contribution),
the four org teams (admin/maintain grants), and the content-rebuild
notify workflows — matching the org convention. Templates supply base CI
(tutorial-ci callers); script adds the notify workflow the templates omit.
Platform auto-discovers the new source repo (no tutorials-ims change).
@jung-thomas
jung-thomas merged commit 0e05340 into DEV Sep 9, 2026
4 checks passed
@jung-thomas
jung-thomas deleted the worktree-provision-tutorial-repo-skill branch September 9, 2026 15:15
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