Repository navigation
Conversation
added 3 commits
November 24, 2026 14:36
Package-import errors can prevent unit-test feedback even though the tests need only a supported Python. Giving Copilot the import-name alias and discovery directory avoids repeated package-path guessing while retaining the installed test workflow and its conditional integration check. https://github.com/github/replica/blob/71a3f1a5d9394f709ddef8acd025569eb59cd019/packages/learning/environments/brand-check/README.md#L29-L43 The package explicitly maps replica_brand_check to the environment directory and loads OpenEnv exports only on first use, which supports testing the uninstalled source through that alias. https://github.com/github/replica/blob/71a3f1a5d9394f709ddef8acd025569eb59cd019/packages/learning/environments/brand-check/pyproject.toml#L11-L19 https://github.com/github/replica/blob/71a3f1a5d9394f709ddef8acd025569eb59cd019/packages/learning/environments/brand-check/__init__.py#L3-L23
A blanket text-property cleanup can remove container-based heading styles that the same skill requires preserving. Keeping that exception at the cleanup decision prevents the conflicting instruction from stripping responsive typography; ordinary text styling still belongs in the Text component. https://github.com/github/replica/blob/71a3f1a5d9394f709ddef8acd025569eb59cd019/starters/coreai/.agents/skills/css-styling/SKILL.md#L90-L100 The home heading already uses a container-dependent font size, so this exception protects an existing supported use. https://github.com/github/replica/blob/71a3f1a5d9394f709ddef8acd025569eb59cd019/starters/coreai/app/routes/home.module.css#L47-L51
…lues The spacing checklist can reject larger pixel values that the detailed rule permits. Putting that exception at the final check avoids unnecessary substitutions and gives contributors one consistent criterion; the small-spacing token requirement still applies. https://github.com/github/replica/blob/71a3f1a5d9394f709ddef8acd025569eb59cd019/starters/coreai/.agents/skills/css-styling/SKILL.md#L186-L203 The home layout already combines larger pixel spacing with token-based adjustments at narrower widths. https://github.com/github/replica/blob/71a3f1a5d9394f709ddef8acd025569eb59cd019/starters/coreai/app/routes/home.module.css#L6-L19
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The documentation’s recovery instructions are ambiguous and would cause the stated -s tests command to fail from the referenced directory.
1 open issue
What changed in this PR
This PR updates Copilot guidance for CoreAI styling and documents a recovery path for Brand Check tests when package imports fail.
Changes:
- Preserve responsive typography inside container queries.
- Clarify spacing-token requirements and allow larger hardcoded spacing when necessary.
- Add package-symlink and
PYTHONPATHguidance for rerunning Brand Check tests.
| File | Description |
|---|---|
| starters/coreai/.agents/skills/css-styling/SKILL.md | Refines CSS guidance to preserve supported responsive typography and larger spacing exceptions. |
| packages/learning/environments/brand-check/README.md | Adds package-import recovery guidance for rerunning Brand Check unit tests. |
Review effort: Lite (adaptive)
| .venv/bin/python -m unittest discover -s tests -t . | ||
| ``` | ||
|
|
||
| To rerun Brand Check unit tests after package-import errors, use a supported Python and a `PYTHONPATH` parent with `replica_brand_check` symlinked to the environment directory, then run `<python> -m unittest discover -s tests -t .` from that directory. |
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
Package-import errors can stop Brand Check unit tests before they provide useful feedback. An explicit recovery route helps Copilot reach those tests without repeated package-path guessing.
CoreAI's cleanup and final spacing check can contradict their own exceptions, leading Copilot to remove supported responsive typography or replace permitted large spacing. Keeping the exceptions at those decisions avoids unnecessary styling changes.
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, analyzingmainat71a3f1a.