Repository navigation
feat(skills): tutorial-qa-to-prod author skill (#2310) - #2319
Merged
Merged
Conversation
Author-facing skill to promote a QA-previewed tutorial from its private <product>-Contribution repo (QA source) to the canonical public sap-tutorials/Tutorials repo (PROD source), opening a cross-linked PR in each. Handles create (first promotion) vs update, resolves each repo's default branch dynamically (Tutorials=master, -Contribution=main), and drift-guards updates before overwriting PROD. Complements sap-tutorial-dual-pr (edit/mirror); this covers QA->PROD promotion. Closes #2310.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a project-scoped Claude skill
tutorial-qa-to-prodso every tutorial author can promote a QA-previewed tutorial to PROD with a single natural-language request.Closes #2310.
Flow it automates
Author previews a tutorial on the QA channel (
/tutorials-qa/<slug>, served from the privatesap-tutorials/<product>-Contributionrepo). The skill copies that tutorial markdown to the canonical publicsap-tutorials/Tutorialsrepo (PROD source) at the sametutorials/<slug>/<slug>.mdpath and opens a cross-linked PR in each repo. Merging theTutorialsPR triggers the PROD content rebuild.Correctness details (verified 2026-09-15 against live repos)
Tutorials=master,<product>-Contribution=maintoday. Does NOT hardcode (the older dual-pr skill assumed bothmaster, now stale for Contribution repos).shato create.Relationship to existing skills
sap-tutorial-dual-pr— edits a tutorial and mirrors the edit to both repos in lockstep.tutorial-qa-to-prod(this) — promotes a QA-approved tutorial to PROD (create-or-update + drift guard).Read-only prescribed
gh apicalls dry-run cleanly againstbtp-adai-Contribution→Tutorials(create path exercised).