From c91a95da078c23712b9536ef89cfffaf91b5c548 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Mon, 23 Nov 2026 21:35:56 +0000 Subject: [PATCH] [Copilot Dreaming] Avoid rejecting valid extension IDs with digits Copilot could reject IDs containing digits by applying the prose restriction, even though the community publishing checklist permits digits after the initial lowercase letter. https://github.com/github/spec-kit/blob/c1205067bd320e6e47fd260eaffbec3c5a62004d/docs/extensions/publishing.md#L87-L88 Matching that checklist reduces contradictory guidance during community submission validation. Assisted-by: GitHub Copilot (model: GPT-6.1 Sol, autonomous) --- .github/skills/add-community-extension/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/skills/add-community-extension/SKILL.md b/.github/skills/add-community-extension/SKILL.md index a9bb1dcae3..149fb8094b 100644 --- a/.github/skills/add-community-extension/SKILL.md +++ b/.github/skills/add-community-extension/SKILL.md @@ -37,7 +37,7 @@ Check **all** of the following (per `docs/extensions/publishing.md`): | LICENSE file present | Confirm in repo file listing | | GitHub release exists matching version | Check releases on the repo page | | Download URL is accessible | Validate the submitted URL first: scheme must be `https`, host must be exactly `github.com`, it must not include username/password, query string, or fragment, and its path must match `archive/refs/tags/.zip` or `releases/download//.zip`; also verify the release exists. Only then fetch the archive with redirects enabled. Validate each redirect and the final URL against an explicit safe-host policy (`github.com`, `codeload.github.com`, or `release-assets.githubusercontent.com`) and require HTTPS; allow the signed query string used by `release-assets.githubusercontent.com`. Require the final response to be HTTP 200. | -| Extension ID is lowercase-with-hyphens only | Regex: `^[a-z][a-z0-9-]*$` | +| Extension ID is lowercase alphanumeric with hyphens only | Regex: `^[a-z][a-z0-9-]*$` | | Version follows semver | Format: `X.Y.Z` | | Submission checklists are all checked | Confirm in issue body |