Skip to content

1.43.0: skills lint checks docs/ as the Docs tab reads it - #81

Merged
jamescalam merged 1 commit into
mainfrom
skills-lint-docs
Dec 1, 2026
Merged

jamescalam merged 1 commit into
mainfrom
skills-lint-docs

Conversation

@jamescalam

Copy link
Copy Markdown
Contributor

Rebuilds lib/skill-check.gen.js from the app's main (shared/skill-format.ts at d657a28), which adds docsWarnings to checkSkillFormat:

  • a page docs/SUMMARY.md links that isn't in the folder
  • a docs page SUMMARY.md leaves out
  • more than 50 pages

All are warnings, never a refusal. One new test in test/skill-lint.test.js; README notes it.

Tested: test/skill-lint.test.js 14/14. The full suite's 4 failures (talk start nudge, launchd unit, ping --antigravity, tool-name forward) fail the same on main on this machine. skills lint on skill-design (v1.2.46, 10 docs) passes with no docs warnings.

Co-authored-by: Pointman <noreply@pointman.ai>
Co-authored-by: Claude <noreply@anthropic.com>
@0-security

0-security Bot commented Dec 1, 2026

Copy link
Copy Markdown

PR Security

PR Security did not run: your free credit is used. A workspace owner or admin can add a card in Usage & billing, then push again.

@graphide-review

Copy link
Copy Markdown

Open in GraphideGraphide review

TL;DR

  • Nothing changes for people using the product. This only adds extra checks to a developer tool that inspects documentation folders, and those checks only warn, never block.
  • The review found one minor problem: if a documentation folder is named with capital letters (like "Docs"), the tool would wrongly warn that existing pages are missing. It's a false alarm, not a break.
  • Safe to ship; the review says nothing needs a look first.

Merge  nothing found that needs a look first

lib/skill-check.gen.js is regenerated from the app's shared/skill-format.ts at d657a28. That commit adds docsWarnings, which checkSkillFormat now calls. It reads docs/SUMMARY.md as the Docs tab does and warns about three things: links to pages that aren't in the folder, docs pages SUMMARY.md doesn't link, and more than 50 pages. These are only warnings and never refuse the skill. The PR also adds a test, a README note and the version bump.

No major findings; 1 minor item below.

Minor (1)
  • Low  Case handling is inconsistent. lib/skill-check.gen.js:6482: Case handling is inconsistent. A docs folder spelled Docs/ (or DOCS/) and its pages are matched without regard to case, but the lookup of each SUMMARY link hard-codes lowercase docs/. Every link in such a folder's SUMMARY.md is then reported as missing, even though the file is there.

Merge confidence 5 of 5

Where to read first
  1. lib/skill-check.gen.js:6437 - summaryEntries: how SUMMARY.md lines (fences, headings, list links) become entries
  2. lib/skill-check.gen.js:6461 - underDocs/summaryPage: how a link target becomes a path under docs/
  3. lib/skill-check.gen.js:6474 - docsWarnings: the dead-link, left-out and 50-page checks
  4. lib/skill-check.gen.js:6505 - where checkSkillFormat finds SUMMARY.md and adds the docs warnings
  5. test/skill-lint.test.js:114 - the new test of the two warning messages
  6. README.md:448 - the user-facing note
Tests and reach

Reach: no graph yet, so this review could not trace what the change reaches.

Stages: 182 s
Stage State Seconds
diff done 0.0
reach skipped 100.5
risks skipped 0.0
ci skipped 0.0
find done 61.1
agent skipped 0.0
slop skipped 0.0
scenarios skipped 0.0
verify done 20.4
prove skipped 0.0
score done 0.0

Reviewed a230808 in 182 s · graph check: no graph yet, so this review ran without it · Full report · For agents: gr review findings spacesheep-dev/spacesheep-cli 81

@jamescalam
jamescalam merged commit 4a82d52 into main Dec 1, 2026
6 of 7 checks passed
@jamescalam
jamescalam deleted the skills-lint-docs branch December 1, 2026 06:56
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.

1 participant