Repository navigation
[Copilot Dreaming] Avoid rejecting valid extension IDs with digits - #5548
Merged
Merged
Conversation
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)
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The documentation now matches the existing validation regex, including valid digit-containing IDs, without changing executable behavior or validation logic.
No open issues 🎉
What changed in this PR
This documentation-only PR updates the community-extension skill so its extension ID guidance matches the existing validation regex and permits valid IDs containing digits.
Changes:
- Clarifies that IDs may contain lowercase letters, digits, and hyphens.
- Preserves the existing validation regex
^[a-z][a-z0-9-]*$. - Changes no executable behavior or validation logic.
| File | Description |
|---|---|
| .github/skills/add-community-extension/SKILL.md | Aligns the extension ID guidance with the permitted lowercase letters, digits, and hyphens defined by the existing validation regex. |
Review effort: Lite (adaptive)
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.
🧠 How this helps Copilot
Copilot could reject valid community extension IDs containing digits because the skill's prose excludes characters that its own regex and the publishing checklist permit. Aligning the description helps Copilot apply the existing validation rule consistently.
Review commit by commit for each change's rationale and evidence.
Note
Copilot Dreaming curates this repository's Copilot instructions and skills in the background, proposing updates to help agents work here. Learn more about Copilot Dreaming.
Automated details
Source:
curate-memoriesDream, analyzingmainatc120506.Discarded guidance: Architecture summaries in
AGENTS.mdremain because they help route readers to design documents rather than repeat task duties. Extension publication instructions remain because restricted automation does not establish a universal rule for all skill callers.