Fix TOC-to-chapter navigation mismatch
The table of contents display now shows inline chapter references [ch: N]
so users know exactly which number to use with the chapter command.
Previously, TOC item numbers did not correspond to spine-based chapter
indices, making it confusing to navigate books with nested TOC structures.
Changes:
- Add buildHrefToSpineMap() to create href-to-spine index mapping
- Add findTocItemByHref() to recursively search TOC tree
- Update formatToc() to display [ch: N] inline with each entry
- Fix getChapterContent() to use proper TOC lookup for titles
- Update documentation (SKILL.md, README.md, AGENTS.md)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>