Repository navigation
docs(customization): update stale ms.date in instructions.md - #3261
Chris Montazer (rezatnoMsirhC) merged 7 commits into
Conversation
The stale-docs check flagged docs/customization/instructions.md at 96 days past its ms.date of 2026-07-15. Reviewed the page against the current repository before refreshing the date: instruction files still live under .github/instructions/ with collection subdirectories, `description` remains the mandatory frontmatter field with `applyTo` required for auto-applied instructions, the documented hve-builder modes (create, review, refactor) are still part of the skill's mode set, and the Contributing: Instructions link resolves. No content change was needed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…tacking Address review feedback on microsoft#3261. Example paths: the tree diagram mixed real files with two that do not exist. `coding-standards/typescript.instructions.md` is really `coding-standards/typescript/typescript-doc-comments.instructions.md`, and there is no `shared/cross-package.instructions.md`. Pointed both at real files (`hve-core/markdown` and `hve-core/writing-style` already existed, so only these two were wrong). Showing the nested `typescript/` directory also illustrates the collection convention better than a flat file did. The hve-builder `mode=create` example still names a new file, but now inside the real directory convention. Instruction Stacking: the section claimed a specificity-based precedence ("the stacking order follows specificity", "the more specific file takes precedence", "the more specific pattern prevails") while also calling stacking additive. VS Code's custom-instructions documentation states that applicable instruction sources are additive, that you should not depend on a file order or precedence rule to resolve conflicts, and that contradictions should be resolved at their source. Reworded so matching files are described as combined, dropped the "the Python rule wins" example, and pointed readers at the References section to see what actually applied. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Thanks Chris Montazer (@rezatnoMsirhC) — both points confirmed and applied in ede85d5. 1. Example paths. I listed the real
Worth noting For the 2. Instruction Stacking. Agreed, and the contradiction you spotted was load-bearing. The section asserted a precedence rule in three places while also calling stacking additive. I checked the VS Code page you linked; it says plainly that "Applicable instruction sources are additive", "Do not depend on a file order or precedence rule to resolve conflicts", "Don't add a new instruction or assume that one source overrides the others", and that duplicates and contradictions should be removed and "resolve[d] at their source". The AGENTS.md section adds that for Copilot "there is no general precedence order between these files." So I reworded the numbered list from load order to what applies (specific patterns apply alongside broad ones, not instead of them), dropped the "use tabs" vs "4-space indentation" example since that conflict is precisely what is not resolved for you, and replaced "the more specific pattern prevails" in the NOTE with the point that overlapping patterns create ambiguity no precedence rule will settle. I also added the practical tip from that page — check the References section of a response to see which instructions were actually included — since the page previously gave readers no way to verify.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3261 +/- ##
==========================================
+ Coverage 85.25% 87.74% +2.49%
==========================================
Files 198 132 -66
Lines 40629 18086 -22543
Branches 201 63 -138
==========================================
- Hits 34637 15870 -18767
+ Misses 5921 2205 -3716
+ Partials 71 11 -60
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Co-authored-by: Chris Montazer <17170709+rezatnoMsirhC@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Generated-by: 📝 - Generated by Copilot
Pull Request
Description
Updates the
ms.datefrontmatter indocs/customization/instructions.mdfrom2026-07-15to2026-10-20, clearing the 96-day staleness flag.Before refreshing the date I reviewed the page against the current repository state:
.github/instructions/with the documented collection-subdirectory convention.descriptionis still the mandatory frontmatter field, andapplyTois still required for auto-applied instructions, matchingdocs/contributing/instructions.md.hve-buildermodes the page shows (create,review,refactor) are still part of the skill's mode set in.github/skills/hve-core/hve-builder/SKILL.md.docs/contributing/instructions.md.No technical content needed changing, so this PR is limited to the date metadata.
Related Issue(s)
Fixes #3250
Type of Change
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
hve-builderand addressed all actionable findings.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md).github/hooks/*/*.json)evals/)Other:
.ps1,.sh,.py)Testing
Reviewed the diff and confirmed the only change is the
ms.datevalue; the page body is untouched. The accuracy checks listed above were done by reading the referenced files in this checkout. The repository's PowerShell validators (npm run lint:frontmatter,npm run lint:adr-consistency) needpwsh, which is not available on this machine, so they were left to CI.Checklist
Required Checks
Security Considerations
Additional Notes
This change does not claim the page's guidance was re-validated beyond the specific checks listed above.
🤖 Generated with Claude Code