Repository navigation
Conversation
added 3 commits
December 1, 2026 14:40
Copilot repeated lint after formatting failures before running the existing formatter. Giving the scoped fixer before linting can avoid that extra check cycle. Hub already defines Prettier, its authored-source formatting command and a separate read-only lint check. https://github.com/github/replica/blob/a3dda1046b271c8008b7982555799c0338c7c906/hub/package.json#L21-L23 The development guide requires commands from hub/ through the devcontainer, which mounts that directory as the working tree. https://github.com/github/replica/blob/a3dda1046b271c8008b7982555799c0338c7c906/hub/docs/development.md#L25-L31 The command is limited to changed Hub source. It does not replace lint or the final checks.
Copilot can be told that a single page's only family is too fine, inviting regrouping with no second family to combine. Removing the unconditional warning prevents that false diagnosis. The Discover example contains one build page in one family and a separate authentication stub. https://github.com/github/replica/blob/a3dda1046b271c8008b7982555799c0338c7c906/starters/minimal/.agents/skills/create-prototype-from-production/workflows/discover.md#L88-L112 Readers must load Discover, which owns the fingerprint comparison and count-based merge procedure; a second threshold summary adds another place to maintain its conditions. https://github.com/github/replica/blob/a3dda1046b271c8008b7982555799c0338c7c906/starters/minimal/.agents/skills/create-prototype-from-production/SKILL.md#L43-L51 The row still requires ordered section-type comparison. Conditional merging remains in Discover, rather than a blanket family-count limit in this table.
Copilot can be sent into an impossible merge or risk combining structurally different pages just to satisfy a count. Requiring a second family and allowing unchanged families when no permitted pair exists gives that instruction a valid stopping point. The shipped example has one build page in one family, so its family count exceeds half its build-page count without offering a pair to merge. https://github.com/github/replica/blob/a3dda1046b271c8008b7982555799c0338c7c906/starters/minimal/.agents/skills/create-prototype-from-production/workflows/discover.md#L88-L112 Families are defined by ordered section types, not by content differences. https://github.com/github/replica/blob/a3dda1046b271c8008b7982555799c0338c7c906/starters/minimal/.agents/skills/create-prototype-from-production/workflows/discover.md#L50-L57 The count threshold still triggers consideration of merges for multiple families, and only pairs differing by one optional section may merge before re-checking. Each family still needs exactly one representative. https://github.com/github/replica/blob/a3dda1046b271c8008b7982555799c0338c7c906/starters/minimal/.agents/skills/create-prototype-from-production/scripts/check-ledger.mjs#L99-L123
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active issues remain, and the documentation updates clearly scope family merging guidance and add the targeted Hub formatting command.
No open issues 🎉
What changed in this PR
This documentation-only PR refines Copilot guidance for production-site discovery and adds a targeted Hub formatting command so agents can format changed files before linting.
Changes:
- Restricts family merging to cases with multiple families and a valid optional-section pairing.
- Removes the unconditional family-count warning from the Minimal skill summary.
- Documents the scoped Prettier command for Hub source formatting.
| File | Description |
|---|---|
| starters/minimal/.agents/skills/create-prototype-from-production/workflows/discover.md | Clarifies when family merging is applicable and permits leaving families unchanged when no valid pair exists. |
| starters/minimal/.agents/skills/create-prototype-from-production/SKILL.md | Removes the unconditional family-count warning from the skill’s red-flag guidance. |
| hub/docs/testing-and-operations.md | Adds the command for formatting changed Hub source before linting. |
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 can spend extra lint runs on formatting errors that the existing formatter can fix first. The Hub guide gives a scoped formatting command before linting.
Copilot can be told to merge page families even when only one family exists or no permitted pair can be combined. Removing the unconditional count warning and limiting the merge instruction avoids directing agents toward regrouping without a valid target.
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, analyzingmainata3dda10.