Skip to content

docs(skills): update coverage config references for glob-based include#1576

Merged
kaizhou-lab merged 1 commit intomainfrom
zynx/docs/update-skills-for-coverage-glob
Mar 20, 2026
Merged

docs(skills): update coverage config references for glob-based include#1576
kaizhou-lab merged 1 commit intomainfrom
zynx/docs/update-skills-for-coverage-glob

Conversation

@piorpua
Copy link
Copy Markdown
Contributor

@piorpua piorpua commented Mar 20, 2026

Summary

Follow-up to #1491 — sync skill documentation to reflect the new glob-based coverage configuration.

  • Replace manual coverage.include whitelist references with glob-based auto-inclusion semantics
  • New source files under src/**/*.{ts,tsx} are automatically included in coverage — no manual config needed
  • Maintainers only need to verify files are not accidentally excluded via coverage.exclude

Affected Files

  • .claude/skills/testing/SKILL.md — updated Step 4 description and Quick Checklist item
  • .claude/skills/architecture/SKILL.md — updated checklist item
  • .claude/skills/pr-review/SKILL.md — updated review criterion under "测试" dimension

Test Plan

  • Verify all three skill files no longer reference manually adding files to coverage.include
  • Verify the new wording accurately reflects the glob-based coverage behavior from vitest.config.ts

Replace manual `coverage.include` whitelist references with glob-based
auto-inclusion semantics introduced in PR#1491. New source files are
now automatically covered; maintainers only need to check `coverage.exclude`
for accidental exclusions.

Affected skills: testing, architecture, pr-review
@kaizhou-lab kaizhou-lab merged commit ccb8261 into main Mar 20, 2026
4 checks passed
@piorpua piorpua deleted the zynx/docs/update-skills-for-coverage-glob branch March 20, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants