Skip to content

fix(skills): four docstrings that no longer matched the code - #4

Merged
rjstone merged 1 commit into
mainfrom
fix/skillspector-doc-mismatches
Nov 29, 2026
Merged

rjstone merged 1 commit into
mainfrom
fix/skillspector-doc-mismatches

Conversation

@rjstone

@rjstone rjstone commented Nov 29, 2026

Copy link
Copy Markdown
Owner

What changed

Comments and docstrings only; no behaviour changes. Skill versions: docshelf 0.9.0 -> 0.9.1, docshelf-build 0.5.0 -> 0.5.1 (skills/index.json regenerated).

File Said Code does Now says
docshelf-build/scripts/build_detect.py, detect looks for objects.inv and llms.txt; "Sphinx first, then llms.txt" also looks for a Doxygen index all three, in the order the code uses: Sphinx, llms.txt, Doxygen
docshelf-build/scripts/build_doxygen.py, read_search_index the all_* files are never read reads them last, for entries no category listed that
docshelf/scripts/shelf_mcp.py the notes tool is read-only over MCP only --path is left out; --set and --delete still write that
docshelf/scripts/shelf_render.py "stdlib only" imports shelf_core "no third-party packages (the standard library and shelf_core)"

Why

A SkillSpector scan reported the four as documentation mismatches (LOW). Each was checked against the code before changing it.

Tested

scripts/ci.sh: 25 generator tests and 942 unit tests pass; node scripts/build.ts --check is clean.

No plugin version bump here; that happens at the next release.


Generated by Claude Code

- docshelf-build 0.5.1, build_detect.detect: it also looks for a
  Doxygen index; the order is Sphinx, llms.txt, Doxygen.
- docshelf-build 0.5.1, build_doxygen.read_search_index: the all_*
  files are read, last, for entries no category listed (the docstring
  said never).
- docshelf 0.9.1, shelf_mcp: the notes tool is not read-only over MCP;
  only --path is left out, and set and delete still write.
- docshelf 0.9.1, shelf_render: "stdlib only" while importing
  shelf_core; now "no third-party packages".

Comments and docstrings only; no behaviour changes. Found by a
SkillSpector scan and each checked against the code.

Tested: scripts/ci.sh (25 generator tests, 942 unit tests).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QT6szv5y1hHiZr5DD8HJkv
@rjstone
rjstone merged commit f338574 into main Nov 29, 2026
4 checks passed
@rjstone
rjstone deleted the fix/skillspector-doc-mismatches branch November 29, 2026 04:20
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