feat(skills): add obsidian-nav — wiki page navigation primitives#83
Open
lg320531124 wants to merge 1 commit into
Open
feat(skills): add obsidian-nav — wiki page navigation primitives#83lg320531124 wants to merge 1 commit into
lg320531124 wants to merge 1 commit into
Conversation
Adds three navigation primitives for long wiki pages: - Folded TOC callout with ## 目录 anchor + [!note]+ callout - Per-section return links [[#目录|↑ 返回目录]] - Cross-page 📚 导航 footer linking sibling pages Complements obsidian-markdown (syntax) with navigation patterns. Integrates with wiki-ingest (post-create) and wiki-lint (health check).
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Adds a new
obsidian-navskill that provides three navigation primitives for wiki pages:## 目录heading as anchor +[!note]+ 📑 目录callout with clickable section links[[#目录|↑ 返回目录]]at the end of every##and###section📚 导航block linking sibling pages in the same domainWhy
Wiki pages generated by
wiki-ingestcurrently have no internal navigation. For pages with 5+ sections, readers must scroll linearly — there is no way to jump between sections, return to the table of contents, or traverse to sibling pages without going back toindex.md.The existing
obsidian-markdownskill covers Obsidian syntax (wikilinks, callouts, embeds), but does not cover navigation patterns (TOC callout structure, return link conventions, cross-page footers). This skill fills that gap at the orchestration level.How it works
TOC callout pattern
Key insight: callout titles don't generate anchor targets in Obsidian. The
## 目录heading is the actual anchor; the callout provides the visual folded TOC.Return links
Every
##and###section gets[[#目录|↑ 返回目录]]at its end. No emoji in the anchor —[[#目录]]resolves,[[#📑 目录]]does not.Cross-page footer
> 📚 导航: [[index|📑 知识库]] · [[concept-a|概念A]] · [[concept-b|概念B]]Integration points
##sections## 目录, missing return links, no footer)Testing
This is a new skill with no code changes to existing files. The skill is declarative (SKILL.md only) — no scripts, no hooks, no network calls. Hermetic by construction.
Existing test suite (
make test) is unaffected — no existing files modified.Checklist
obsidian-prefix likeobsidian-markdown,obsidian-bases)