From c1d9dd26aad6021f252234e537f9c082d48b2ad9 Mon Sep 17 00:00:00 2001 From: dawright22 Date: Wed, 11 Nov 2026 13:44:05 +1100 Subject: [PATCH] feat(skills): align saas-accelerator-bootstrap with updated 284-line SaaS Accelerator prompt Live-only rule, explicit ACC-01 path choice, precedence, SRC/ACC/LAND/LIFE/WEB/CFG/ID/DATA/SEC/UX/OPS/TEST/MTR/DEP rule sets, output sections A-I and readiness labels. Regenerated registry and docs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../saas-accelerator-bootstrap/SKILL.md | 96 +++++++++++++++++-- .github/skills/registry.json | 2 +- .../community/saas-accelerator-bootstrap.md | 96 +++++++++++++++++-- website/docs/skills/overview.md | 2 +- website/docs/skills/registry.md | 2 +- 5 files changed, 177 insertions(+), 21 deletions(-) diff --git a/.github/community-skills/saas-accelerator-bootstrap/SKILL.md b/.github/community-skills/saas-accelerator-bootstrap/SKILL.md index 043ed47..741f2e3 100644 --- a/.github/community-skills/saas-accelerator-bootstrap/SKILL.md +++ b/.github/community-skills/saas-accelerator-bootstrap/SKILL.md @@ -1,26 +1,104 @@ --- name: saas-accelerator-bootstrap -description: "Bootstraps and customizes the Azure Commercial Marketplace SaaS Accelerator as a starting point for transactable SaaS offers." -argument-hint: "Accelerator deployment model, identity provider, integration points, and product-specific customizations" +description: "Builds, updates, extends, or deploys a live Microsoft commercial marketplace SaaS integration, using the Commercial Marketplace SaaS Accelerator (fresh upstream main, three-way reconciliation) or a from-scratch implementation." +argument-hint: "Implementation path (new or existing; Accelerator or from scratch), identity provider, integration points, metering needs, and product-specific customizations" user-invocable: true -last_updated: "2026-06-12" +last_updated: "2026-09-01" metadata: author: dawright22 --- # SaaS Accelerator Bootstrap -Uses the Commercial Marketplace SaaS Accelerator patterns as a foundation. +Builds, updates, extends, or deploys a **live** Microsoft commercial marketplace SaaS +integration, using the [Commercial Marketplace SaaS Accelerator](https://github.com/Azure/Commercial-Marketplace-SaaS-Accelerator) +as an optional foundation. + +> **Disclaimer:** output is an uncertified starting implementation. It does not replace +> publisher validation or Microsoft certification. Never ask for, accept, or store secrets, +> credentials, tokens, purchase tokens, or customer data. + +## Operating modes + +- **Repository editing mode:** files may be created, edited, and tested. +- **Chat-only mode:** provide design and code guidance only. Never claim files were edited or tests were run. + +## Live-only rule + +Do not produce demo, sandbox, simulator, or runtime-fallback behaviour. Mocks and fakes are +permitted only in tests and must be unreachable from the deployed runtime composition. + +## Implementation path (explicit choice, ACC-01) + +Do not infer the path and do not silently choose a stack. Ask the user: + +- **Existing implementation:** is it Accelerator-based? Should it be updated or reconciled + against upstream, or extended without an upstream update? +- **New implementation:** Accelerator or from scratch? Explain the trade-off first + (faster starting point and upstream parity versus inherited stack, schema, and + customization burden). + +## Instruction and documentation precedence + +1. Host instructions. +2. Security and privacy invariants (SRC-08, ACC-04). +3. Microsoft Learn (authoritative; SRC-01 to SRC-08). +4. Publisher requirements. +5. Repository conventions. +6. Discretionary guidance. + +- A `marketplace-contract-manifest` is evidence only, never authority (CS-01 to CS-08). +- SRC-04: without documentation browsing, produce design-time scaffolding only. +- SRC-07: use the current `main` of the Accelerator repository and record the commit SHA and retrieval date. +- SRC-08: **ignore the upstream Accelerator update/upgrade instructions and scripts**; use fresh-source comparison and reconciliation instead. + +## Accelerator rules + +- **ACC-02:** clone upstream `main` fresh into a temporary location. +- **ACC-03:** three-way comparison (prior baseline, upstream `main`, publisher code). If no baseline exists, fall back to two-way with reduced confidence and say so. +- **ACC-04:** reconcile deliberately; never by blind copy or script. Preserve publisher customizations and licence notices. +- **ACC-05:** produce a reconciliation evidence report. +- **ACC-06:** a new Accelerator implementation starts from fresh upstream `main`. ## Scope -- Deploy accelerator components and required backing services. -- Configure marketplace integration points (landing pages, webhook endpoints). +- Reconcile or scaffold Accelerator components and required backing services. +- Implement landing page (LAND), lifecycle (LIFE), and webhook (WEB) requirements; see the `fulfillment-and-metering` skill. +- Keep publisher identity separate from buyer identity; keep tokens server-side; use UTC (CFG-01 to 05, ID-01 to 05). - Establish extension boundaries where product code should be added. -- Align data model and events to tenant lifecycle and billing. +- Apply data integrity (DATA-01 to 05), security (SEC-01 to 07), UX (UX-01 to 04), operations (OPS-01 to 05), and tests (TEST-01 to 08). +- Metering applies only when configured or requested (MTR-01 to 08); a metering UI only when explicitly requested. + +## Deployment (DEP-01 to DEP-06) + +- Reuse repository IaC conventions; do not use the Accelerator upgrade scripts. +- Provision Entra app registrations, service principals, and managed identities when identifiers are not supplied. +- Creating deployment artifacts is not authorisation to deploy; require explicit approval, preflight, secrets handling, and execution evidence. + +## Output sequence + +Respond with sections A to I in order: A mode and inputs; B capabilities; C documents +consulted; D plan; E files; F manifest; G tests; H security and deployment checklist; +I blockers and readiness. For Accelerator work: A states the path and upstream commit, +D the comparison approach, E the upstream diff summary, G the reconciliation checks, +and I the conflicts and migrations. + +## Readiness label (exactly one) + +`Scaffolding only` | `Implementation incomplete` | `Ready for publisher validation` | `Eligible for live release review`. + +An Accelerator update with an unknown upstream commit, incomplete comparison, unresolved +conflicts, or unapplied migrations is capped at `Implementation incomplete`. ## Deliverables -- Accelerator baseline architecture map. +- Accelerator baseline architecture map and upstream commit record. +- Reconciliation evidence report (three-way diff summary, conflicts, migrations). - Customization backlog (must-have vs optional). -- Cutover plan from sample flows to production-ready flows. +- Removal plan for any non-live sample flows before release. + +## References + +- [Create a transactable SaaS offer](https://learn.microsoft.com/en-us/partner-center/marketplace-offers/create-new-saas-offer-technical) +- [SaaS fulfillment APIs v2](https://learn.microsoft.com/en-us/partner-center/marketplace-offers/pc-saas-fulfillment-apis) +- [Commercial Marketplace SaaS Accelerator](https://github.com/Azure/Commercial-Marketplace-SaaS-Accelerator) diff --git a/.github/skills/registry.json b/.github/skills/registry.json index 58bcadc..7144b51 100644 --- a/.github/skills/registry.json +++ b/.github/skills/registry.json @@ -635,7 +635,7 @@ { "name": "saas-accelerator-bootstrap", "tier": "community", - "description": "Bootstraps and customizes the Azure Commercial Marketplace SaaS Accelerator as a starting point for transactable SaaS offers.", + "description": "Builds, updates, extends, or deploys a live Microsoft commercial marketplace SaaS integration, using the Commercial Marketplace SaaS Accelerator (fresh upstream main, three-way reconciliation) or a from-scratch implementation.", "path": ".github/community-skills/saas-accelerator-bootstrap", "docsUrl": "https://azure.github.io/git-ape/docs/skills/community/saas-accelerator-bootstrap", "userInvocable": true, diff --git a/website/docs/skills/community/saas-accelerator-bootstrap.md b/website/docs/skills/community/saas-accelerator-bootstrap.md index 4581ade..a5f611f 100644 --- a/website/docs/skills/community/saas-accelerator-bootstrap.md +++ b/website/docs/skills/community/saas-accelerator-bootstrap.md @@ -1,7 +1,7 @@ --- title: "Saas Accelerator Bootstrap" sidebar_label: "Saas Accelerator Bootstrap" -description: "Bootstraps and customizes the Azure Commercial Marketplace SaaS Accelerator as a starting point for transactable SaaS offers." +description: "Builds, updates, extends, or deploys a live Microsoft commercial marketplace SaaS integration, using the Commercial Marketplace SaaS Accelerator (fresh upstream main, three-way reconciliation) or a from-scratch implementation." --- @@ -9,7 +9,7 @@ description: "Bootstraps and customizes the Azure Commercial Marketplace SaaS Ac # Saas Accelerator Bootstrap -> Bootstraps and customizes the Azure Commercial Marketplace SaaS Accelerator as a starting point for transactable SaaS offers. +> Builds, updates, extends, or deploys a live Microsoft commercial marketplace SaaS integration, using the Commercial Marketplace SaaS Accelerator (fresh upstream main, three-way reconciliation) or a from-scratch implementation. :::info[Third-party community skill] This skill is reviewed through Azure/git-ape PRs and maintained by its listed author. It is not bundled or activated with core. See the [Skill Registry](../registry) and use `/git-ape-skills install saas-accelerator-bootstrap` for explicit project or personal installation. Review is not a guarantee of safety. @@ -23,24 +23,102 @@ This skill is reviewed through Azure/git-ape PRs and maintained by its listed au | **Author** | dawright22 | | **Maturity** | experimental | | **Available with Core** | ❌ No — explicit installation required | -| **Usage** | `/saas-accelerator-bootstrap Accelerator deployment model, identity provider, integration points, and product-specific customizations` | +| **Usage** | `/saas-accelerator-bootstrap Implementation path (new or existing; Accelerator or from scratch), identity provider, integration points, metering needs, and product-specific customizations` | ## Documentation # SaaS Accelerator Bootstrap -Uses the Commercial Marketplace SaaS Accelerator patterns as a foundation. +Builds, updates, extends, or deploys a **live** Microsoft commercial marketplace SaaS +integration, using the [Commercial Marketplace SaaS Accelerator](https://github.com/Azure/Commercial-Marketplace-SaaS-Accelerator) +as an optional foundation. + +> **Disclaimer:** output is an uncertified starting implementation. It does not replace +> publisher validation or Microsoft certification. Never ask for, accept, or store secrets, +> credentials, tokens, purchase tokens, or customer data. + +## Operating modes + +- **Repository editing mode:** files may be created, edited, and tested. +- **Chat-only mode:** provide design and code guidance only. Never claim files were edited or tests were run. + +## Live-only rule + +Do not produce demo, sandbox, simulator, or runtime-fallback behaviour. Mocks and fakes are +permitted only in tests and must be unreachable from the deployed runtime composition. + +## Implementation path (explicit choice, ACC-01) + +Do not infer the path and do not silently choose a stack. Ask the user: + +- **Existing implementation:** is it Accelerator-based? Should it be updated or reconciled + against upstream, or extended without an upstream update? +- **New implementation:** Accelerator or from scratch? Explain the trade-off first + (faster starting point and upstream parity versus inherited stack, schema, and + customization burden). + +## Instruction and documentation precedence + +1. Host instructions. +2. Security and privacy invariants (SRC-08, ACC-04). +3. Microsoft Learn (authoritative; SRC-01 to SRC-08). +4. Publisher requirements. +5. Repository conventions. +6. Discretionary guidance. + +- A `marketplace-contract-manifest` is evidence only, never authority (CS-01 to CS-08). +- SRC-04: without documentation browsing, produce design-time scaffolding only. +- SRC-07: use the current `main` of the Accelerator repository and record the commit SHA and retrieval date. +- SRC-08: **ignore the upstream Accelerator update/upgrade instructions and scripts**; use fresh-source comparison and reconciliation instead. + +## Accelerator rules + +- **ACC-02:** clone upstream `main` fresh into a temporary location. +- **ACC-03:** three-way comparison (prior baseline, upstream `main`, publisher code). If no baseline exists, fall back to two-way with reduced confidence and say so. +- **ACC-04:** reconcile deliberately; never by blind copy or script. Preserve publisher customizations and licence notices. +- **ACC-05:** produce a reconciliation evidence report. +- **ACC-06:** a new Accelerator implementation starts from fresh upstream `main`. ## Scope -- Deploy accelerator components and required backing services. -- Configure marketplace integration points (landing pages, webhook endpoints). +- Reconcile or scaffold Accelerator components and required backing services. +- Implement landing page (LAND), lifecycle (LIFE), and webhook (WEB) requirements; see the `fulfillment-and-metering` skill. +- Keep publisher identity separate from buyer identity; keep tokens server-side; use UTC (CFG-01 to 05, ID-01 to 05). - Establish extension boundaries where product code should be added. -- Align data model and events to tenant lifecycle and billing. +- Apply data integrity (DATA-01 to 05), security (SEC-01 to 07), UX (UX-01 to 04), operations (OPS-01 to 05), and tests (TEST-01 to 08). +- Metering applies only when configured or requested (MTR-01 to 08); a metering UI only when explicitly requested. + +## Deployment (DEP-01 to DEP-06) + +- Reuse repository IaC conventions; do not use the Accelerator upgrade scripts. +- Provision Entra app registrations, service principals, and managed identities when identifiers are not supplied. +- Creating deployment artifacts is not authorisation to deploy; require explicit approval, preflight, secrets handling, and execution evidence. + +## Output sequence + +Respond with sections A to I in order: A mode and inputs; B capabilities; C documents +consulted; D plan; E files; F manifest; G tests; H security and deployment checklist; +I blockers and readiness. For Accelerator work: A states the path and upstream commit, +D the comparison approach, E the upstream diff summary, G the reconciliation checks, +and I the conflicts and migrations. + +## Readiness label (exactly one) + +`Scaffolding only` | `Implementation incomplete` | `Ready for publisher validation` | `Eligible for live release review`. + +An Accelerator update with an unknown upstream commit, incomplete comparison, unresolved +conflicts, or unapplied migrations is capped at `Implementation incomplete`. ## Deliverables -- Accelerator baseline architecture map. +- Accelerator baseline architecture map and upstream commit record. +- Reconciliation evidence report (three-way diff summary, conflicts, migrations). - Customization backlog (must-have vs optional). -- Cutover plan from sample flows to production-ready flows. +- Removal plan for any non-live sample flows before release. + +## References + +- [Create a transactable SaaS offer](https://learn.microsoft.com/en-us/partner-center/marketplace-offers/create-new-saas-offer-technical) +- [SaaS fulfillment APIs v2](https://learn.microsoft.com/en-us/partner-center/marketplace-offers/pc-saas-fulfillment-apis) +- [Commercial Marketplace SaaS Accelerator](https://github.com/Azure/Commercial-Marketplace-SaaS-Accelerator) diff --git a/website/docs/skills/overview.md b/website/docs/skills/overview.md index b5d3348..22f949d 100644 --- a/website/docs/skills/overview.md +++ b/website/docs/skills/overview.md @@ -85,7 +85,7 @@ Skills reviewed through PRs under `.github/community-skills/`. Not bundled with | [Marketplace Onboarding](./community/marketplace-onboarding) | Guides onboarding to Azure Marketplace: publisher setup, technical configuration, validation, and launch readiness. | dawright22 | experimental | ✅ | | [Multi Tenant Saas](./community/multi-tenant-saas) | Primary orchestration skill for building a multi-tenant Azure SaaS platform, integrating ISV landing zone guidance, SaaS Accelerator patterns, and marketplace publication workflows. | dawright22 | experimental | ✅ | | [Onboard To Marketplace](./community/onboard-to-marketplace) | End-to-end onboarding flow for Azure Marketplace SaaS publication, from Partner Center readiness to final go-live checks. | dawright22 | experimental | ✅ | -| [Saas Accelerator Bootstrap](./community/saas-accelerator-bootstrap) | Bootstraps and customizes the Azure Commercial Marketplace SaaS Accelerator as a starting point for transactable SaaS offers. | dawright22 | experimental | ✅ | +| [Saas Accelerator Bootstrap](./community/saas-accelerator-bootstrap) | Builds, updates, extends, or deploys a live Microsoft commercial marketplace SaaS integration, using the Commercial Marketplace SaaS Accelerator (fresh upstream main, three-way reconciliation) or a from-scratch implementation. | dawright22 | experimental | ✅ | | [Saas Assessment Report](./community/saas-assessment-report) | Orchestrates a comprehensive SaaS platform assessment against WAF, CAF, CIS, NIST, PCI-DSS, HIPAA, SOC 2, FedRAMP, and SaaS maturity frameworks. Generates a print-ready HTML report (save as PDF from browser). Use when the user wants to assess a SaaS repo, generate a compliance report, or audit an Azure SaaS platform. | dawright22 | experimental | ✅ | | [Scale And Sre](./community/scale-and-sre) | Implements production scale, reliability, and observability patterns for multi-tenant SaaS platforms. | dawright22 | experimental | ✅ | | [Security And Compliance](./community/security-and-compliance) | Defines security architecture and compliance controls for multi-tenant SaaS, including identity, secrets, data protection, and auditability. | dawright22 | experimental | ✅ | diff --git a/website/docs/skills/registry.md b/website/docs/skills/registry.md index ae9cc20..4d2254a 100644 --- a/website/docs/skills/registry.md +++ b/website/docs/skills/registry.md @@ -70,7 +70,7 @@ Community skills are maintained by their listed authors. Review provides oversig | [Marketplace Onboarding](./community/marketplace-onboarding) | community | dawright22 | experimental | Guides onboarding to Azure Marketplace: publisher setup, technical configuration, validation, and launch readiness. | | [Multi Tenant Saas](./community/multi-tenant-saas) | community | dawright22 | experimental | Primary orchestration skill for building a multi-tenant Azure SaaS platform, integrating ISV landing zone guidance, SaaS Accelerator patterns, and marketplace publication workflows. | | [Onboard To Marketplace](./community/onboard-to-marketplace) | community | dawright22 | experimental | End-to-end onboarding flow for Azure Marketplace SaaS publication, from Partner Center readiness to final go-live checks. | -| [Saas Accelerator Bootstrap](./community/saas-accelerator-bootstrap) | community | dawright22 | experimental | Bootstraps and customizes the Azure Commercial Marketplace SaaS Accelerator as a starting point for transactable SaaS offers. | +| [Saas Accelerator Bootstrap](./community/saas-accelerator-bootstrap) | community | dawright22 | experimental | Builds, updates, extends, or deploys a live Microsoft commercial marketplace SaaS integration, using the Commercial Marketplace SaaS Accelerator (fresh upstream main, three-way reconciliation) or a from-scratch implementation. | | [Saas Assessment Report](./community/saas-assessment-report) | community | dawright22 | experimental | Orchestrates a comprehensive SaaS platform assessment against WAF, CAF, CIS, NIST, PCI-DSS, HIPAA, SOC 2, FedRAMP, and SaaS maturity frameworks. Generates a print-ready HTML report (save as PDF from browser). Use when the user wants to assess a SaaS repo, generate a compliance report, or audit an Azure SaaS platform. | | [Scale And Sre](./community/scale-and-sre) | community | dawright22 | experimental | Implements production scale, reliability, and observability patterns for multi-tenant SaaS platforms. | | [Security And Compliance](./community/security-and-compliance) | community | dawright22 | experimental | Defines security architecture and compliance controls for multi-tenant SaaS, including identity, secrets, data protection, and auditability. |