provision-tutorial-repo

Creates sap-tutorials GitHub repo pairs, org teams, and rebuild-notify CI workflows.

7|2|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/sap-tutorials/tutorials-ims --skill provision-tutorial-repo-sap-tutorials
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: provision-tutorial-repo
Source: https://github.com/sap-tutorials/tutorials-ims/tree/main/.claude/skills/provision-tutorial-repo
Command: npx skills add https://github.com/sap-tutorials/tutorials-ims --skill provision-tutorial-repo-sap-tutorials

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up a new product area in the sap-tutorials GitHub org requires many manual, error-prone steps: creating a public source repo and a private -Contribution repo from templates, copying rebuild-notify workflows, creating four org teams, adding members, and applying repo grants. This Skill automates the entire provisioning sequence so it matches the org convention exactly. ## Core Features & Use Cases - Repo pair creation from templates: Creates the public source repo and private -Contribution repo from the org's template repos, which already ship the base tutorial-ci workflows. - Notify workflow wiring: Copies the repo-agnostic notify-tutorials-ims.yml and notify-qa.yml workflows from canonical reference repos and sets the USE_GITHUB_APP variable. - Team and permission setup: Creates the four standard teams (admin/team for both repos), adds admin and member logins, and applies admin-ondemand or maintain grants with fallback handling. - Use Case: A requester asks to stand up a new 'integration' product area. You dry-run the script to review every mutation, ask the requester to elevate to org owner, then run it for real and complete the printed follow-ups like installing the sap-tutorials-builder GitHub App. ## Quick Start Ask the assistant to provision a new sap-tutorials repo pair named 'integration' with a description, admin logins, and member logins, starting with a dry run.

Frequently Asked Questions about provision-tutorial-repo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new tutorial repo in the sap-tutorials org?▼

Run provision.sh with --name, --description, --admins, and --members to create the public source repo and private -Contribution repo from the org templates. Start with --dry-run to review every mutation before executing for real.

What permissions are needed to provision GitHub repos and teams?▼

You must be authenticated with gh as a sap-tutorials org owner, or hold an active 20-minute just-in-time admin elevation. A plain org member cannot create repos or teams, and the script's preflight check fails fast in that case.

Does the script set up the tutorial-ci workflows?▼

No separate rollout is needed because the template repos already ship the base CI, including the tutorial-pr-checks and tutorial-pr-comment caller workflows pinned at v1. The script only adds the per-repo notify workflows that the templates deliberately omit.

Why does the notify workflow fail after provisioning a new repo?▼

The notify workflow only fires when USE_GITHUB_APP is true and the sap-tutorials-builder GitHub App is installed on the repo. App installation is a manual org-owner UI step that the script cannot perform, so it is listed in the printed follow-ups.

Can I re-run the provisioning script if something partially failed?▼

Yes, the script is re-runnable. Existing teams are skipped rather than causing failures, and the admin grant falls back from the admin-ondemand custom role to plain admin if the custom role is rejected.