用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fabioc-aloha/ChessCoach --skill nav-inject命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
End-to-end academic paper drafting for CHI, HBR, journals, and conferences with venue-specific templates, drafting workflows, and revision strategies.
Detect, create, and manage the AI-Memory fleet communication channel. Fires on bootstrap, session start (announcements), and feedback writes.
Generate on-brand Alex — ACT Edition SVG banners for documents (READMEs, plans, notes, release artifacts)
基于 SOC 职业分类
正在显示 SKILL.md
| type | skill |
| lifecycle | stable |
| inheritance | inheritable |
| name | nav-inject |
| description | Inject cross-document navigation tables into multi-file Markdown documentation suites |
| tier | extended |
| applyTo | **/*nav*,**/*navigation*,**/nav.json |
| muscle | .github/muscles/nav-inject.cjs |
| currency | 2026-04-22T00:00:00.000Z |
One config, every file navigable -- keep multi-doc suites connected
Reads a nav.json config and stamps a navigation table into every .md file in a documentation suite. Eliminates manual navigation maintenance across multi-file document sets.
nav.json with the list of documents, labels, and iconsnav-inject.cjs -- it finds <!-- nav:start --> / <!-- nav:end --> sentinels in each file# Initialize a starter nav.json
node .github/muscles/nav-inject.cjs --init
# Inject navigation into all files
node .github/muscles/nav-inject.cjs nav.json
# Preview changes without writing
node .github/muscles/nav-inject.cjs nav.json --dry-run
{
"title": "Project Documentation",
"style": "table",
"position": "top",
"files": [
{ "path": "README.md", "label":
| Style | Format | Best For |
|---|---|---|
table | Markdown table with icons and descriptions | Formal documentation suites |
list | Bullet list with links | Lightweight nav headers |
Every target file must contain these markers (added automatically by md-scaffold.cjs):
<!-- nav:start -->
<!-- nav:end -->
The injector replaces only the content between sentinels, preserving all other content.
Given a nav.json with three files, the injected navigation looks like:
<!-- nav:start -->
| | Document | Description |
|---|----------|-------------|
| 📋 | [Overview](README.md) | Project introduction |
| 🔧 | [Setup Guide](SETUP.md) | Installation and configuration |
| 📡 | [API Reference](API.md) | Endpoint documentation |
<!-- nav:end -->
| Scenario | Behavior |
|---|---|
| File missing sentinels | Skipped with warning — never injects without markers |
Empty files array | Removes content between sentinels (cleans up) |
| File listed in nav.json but missing on disk | Included in nav table (link may 404) — warns |
| Nested directories | Paths are relative to nav.json location |
| Duplicate entries | Rendered as-is — no deduplication |
When converting a doc suite to Word, run nav-inject first so the navigation table is included in the converted document. The table renders as a standard markdown table in Word output.