V0.3.4/troubleshooting#9
Conversation
Align the scaffold skills, their references, the validator, and repo docs on the fallback path for incomplete installed copies so dotfiles and other required assets are restored from upstream before generation continues.
Greptile SummaryThis PR hardens hidden-asset recovery guidance across the Confidence Score: 5/5Safe to merge; all findings are P2 style suggestions with no runtime or logic impact. The only executable change is two new string-match assertions in the validator, both of which are verified to match the updated reference files. Remaining findings are a trailing comma typo and inconsistent phrasing between the two validator needles — neither blocks correctness. scripts/validate-skill-templates.ps1 — the two new Assert-Contains needles use divergent phrasings; worth standardising to reduce future fragility. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[npx skills add installs skill] --> B{All files present?}
B -- Yes --> C[Proceed with scaffold generation]
B -- No: dot-prefixed / required files missing --> D[Treat as incomplete copy]
D --> E[Verify upstream repository contents]
E --> F[Manually restore missing files from source tree]
F --> G{Validator check: Assert-Contains in validate-skill-templates.ps1}
G -- app.md needle matches --> H[App scaffold guidance verified]
G -- library.md needle matches --> I[Lib scaffold guidance verified]
H & I --> C
Prompt To Fix All With AIThis is a comment left during a code review.
Path: CHANGELOG.md
Line: 11
Comment:
**Trailing comma on bullet**
The first "Changed" bullet ends with a comma instead of a period, leaving it syntactically incomplete.
```suggestion
- Clarified `dotnet-new-app-slnx` and `dotnet-new-lib-slnx` so missing required or dot-prefixed files in an installed skill copy are treated as a local install mismatch first, with explicit upstream verification and manual restoration before continuing.
```
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: scripts/validate-skill-templates.ps1
Line: 588-589
Comment:
**Inconsistent needle wording between app and lib assertions**
The two new assertions use materially different phrases for functionally identical guidance:
- app needle: `'manually restore the missing files directly from the repository source tree'`
- lib needle: `'restore the missing files manually from the upstream repository contents'`
This means the validator and the two reference files are permanently coupled to divergent phrasings. If either reference is later edited for clarity it can silently break only one assertion while leaving the other green, making failures harder to diagnose. Standardizing both references (and needles) on a single canonical phrase would make the contract more robust.
How can I resolve this? If you propose a fix, please make it concise.Reviews (1): Last reviewed commit: "💬 clarify hidden-asset recovery guidanc..." | Re-trigger Greptile |
| ## [0.3.4] - 2026-04-24 | ||
|
|
||
| This is a patch release that tightens the generated .gitignore templates for the .NET app and library scaffolds, adding standard Visual Studio, Rider, build-output, test, publish, and workspace exclusions so generated solutions start with cleaner defaults. | ||
| This is a patch release that hardens the .NET scaffold guidance around hidden asset recovery, making incomplete `npx skills add` installs easier to diagnose and repair before generation continues. The validator and repo docs now reinforce the same upstream-verification and manual-restore rule so local cache or packaging mismatches do not get mistaken for template defects. |
There was a problem hiding this comment.
The first "Changed" bullet ends with a comma instead of a period, leaving it syntactically incomplete.
| This is a patch release that hardens the .NET scaffold guidance around hidden asset recovery, making incomplete `npx skills add` installs easier to diagnose and repair before generation continues. The validator and repo docs now reinforce the same upstream-verification and manual-restore rule so local cache or packaging mismatches do not get mistaken for template defects. | |
| - Clarified `dotnet-new-app-slnx` and `dotnet-new-lib-slnx` so missing required or dot-prefixed files in an installed skill copy are treated as a local install mismatch first, with explicit upstream verification and manual restoration before continuing. |
Prompt To Fix With AI
This is a comment left during a code review.
Path: CHANGELOG.md
Line: 11
Comment:
**Trailing comma on bullet**
The first "Changed" bullet ends with a comma instead of a period, leaving it syntactically incomplete.
```suggestion
- Clarified `dotnet-new-app-slnx` and `dotnet-new-lib-slnx` so missing required or dot-prefixed files in an installed skill copy are treated as a local install mismatch first, with explicit upstream verification and manual restoration before continuing.
```
How can I resolve this? If you propose a fix, please make it concise.Use one canonical hidden-asset recovery sentence in the library scaffold reference and its validator assertion so the contract stays aligned if the wording changes again.
This pull request strengthens the guidance and validation around handling hidden or dot-prefixed files (like
.bot/,.github/) during .NET skill scaffold installation and generation. It ensures that missing files are treated as local install issues, not template defects, and must be manually restored from the upstream repository before proceeding. The changes also align documentation and validation scripts to enforce this rule consistently across the repository.Hidden asset recovery and validation:
CHANGELOG.md,AGENTS.md, andREADME.mdto clarify that missing required or dot-prefixed files during anpx skills addinstall should be treated as incomplete copies, requiring explicit verification and manual restoration from the upstream repository. [1] [2] [3] [4]skills/dotnet-new-app-slnx/SKILL.md,skills/dotnet-new-lib-slnx/SKILL.md,skills/dotnet-new-app-slnx/references/app.md, andskills/dotnet-new-lib-slnx/references/library.mdto require verification and manual restoration of any missing hidden assets before continuing with generation. Checklist items reinforce this requirement. [1] [2] [3] [4] [5] [6] [7]Validator synchronization:
scripts/validate-skill-templates.ps1to assert that the updated hidden-asset recovery guidance appears in both app and library scaffold references, ensuring the validator enforces the documented install-fallback behavior.These updates help prevent confusion between local install issues and template bugs, and ensure all required assets are present before skill generation proceeds.