Agent skill

Yida Nav Shell

by openyida in openyida/openyida

为应用或独立前台页面编写自己的顶部、侧边等导航菜单时使用。只改现有导航颜色和样式用 yida-design,整理菜单分组和顺序用 yida-nav-group。只做前台菜单时保留管理端的宜搭导航;整个应用都使用自定义菜单时,才隐藏应用导航。

MITAuto-check passed

Install Yida Nav Shell

skills CLI
$ npx skills add openyida/openyida --skill yida-nav-shell -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openyida/openyida yida-nav-shell --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openyida/openyida.git skills-src && mkdir -p .claude/skills && cp -r skills-src/yida-skills/skills/yida-nav-shell .claude/skills/yida-nav-shell && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
yida-nav-shell
GitHub stars
220
Token cost
~1.6k tokens
SKILL.md length
256 words
Files
2 (incl. references)
Skills in repo
58
Repo updated
First seen
Licence
MIT

At a glance

为应用或独立前台页面编写自己的顶部、侧边等导航菜单时使用。只改现有导航颜色和样式用 yida-design,整理菜单分组和顺序用 yida-nav-group。只做前台菜单时保留管理端的宜搭导航;整个应用都使用自定义菜单时,才隐藏应用导航。

  • SKILL.md covers 先判断, 必做配置, 访问态入口与权限 and 实现要点, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Yida Nav Shell is an agent skill from openyida/openyida. 为应用或独立前台页面编写自己的顶部、侧边等导航菜单时使用。只改现有导航颜色和样式用 yida-design,整理菜单分组和顺序用 yida-nav-group。只做前台菜单时保留管理端的宜搭导航;整个应用都使用自定义菜单时,才隐藏应用导航。

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/nav-shell-patterns.md`).

The repository describes itself as: Your own personal YiDA AI assistant! The licence is MIT.

Example prompts

  • “/yida-nav-shell”

What it can do on your machine

Read from SKILL.md and the folder at commit 3dd4693. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Yida Nav Shell loads about 1.6k tokens when it runs, and up to ~7.7k if it reads all its reference files. Until then it costs about 34 tokens; SKILL.md has 256 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from openyida/openyida at commit 3dd4693, republished under its MIT licence (© openyida). 256 words, ~1,594 tokens.

Download SKILL.mdSave it as .claude/skills/yida-nav-shell/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
yida-nav-shell
description
为应用或独立前台页面编写自己的顶部、侧边等导航菜单时使用。只改现有导航颜色和样式用 yida-design,整理菜单分组和顺序用 yida-nav-group。只做前台菜单时保留管理端的宜搭导航;整个应用都使用自定义菜单时,才隐藏应用导航。

yida-nav-shell

先判断

先看需求和方案:只有需要编写自己的导航菜单时才使用本技能。调整已有导航的颜色、圆角、边框或阴影用 yida-design;整理菜单分组和顺序用 yida-nav-group。同一个应用可以让前台使用自己的菜单、管理端继续使用宜搭菜单。用户已有明确要求时直接沿用;尚未确定时按 导航决策 选择。

用户需求怎么处理
现有导航配色不搭,或需要调整圆角、边框、阴影用 yida-design 更新应用主题,不重写导航
导航分组、页面排序、隐藏/显示导航项用 yida-nav-group
页面内 tab、分段、筛选、卡片切换当前页内容结构,不用本技能
独立前台要自己的顶部/侧边菜单用本技能,只配置该页面独立展示,后台保留平台导航
整个应用采用自绘应用级导航用本技能,按应用级范围隐藏应用导航
用户只说隐藏应用导航执行 update-app --hide-app-nav;需要自绘导航时再用本技能
用户只说全屏、无导航、isRenderNav=false这是页面级隐藏,优先用 yida-page-config

关键区别:

  • 应用导航隐藏:hideAppNav='y',通过应用基础设置控制。
  • 页面导航隐藏:isRenderNav=false,只控制某个页面/表单页的导航显示。
  • 不要用 isRenderNav=false 代替 hideAppNav。
  • 不要让平台应用导航和自绘应用级导航同时出现。

平台导航下的管理页只实现业务内容,不默认使用本技能或导航壳片段;同任务分类使用页内 Tab,跨模块由平台菜单切换。管理入口的任务清单不等于页面菜单,详见管理页面边界。

必做配置

先读 PRD 的应用 navigationType 与当前页 pageSpecHandoff.entryMode/navigation,分别处理:

仅独立前台菜单

需要让应用管理员返回业务管理时,使用 管理员工作台入口 的 canvas-admin-entry,放在导航操作区并跟随主题。按当前访问者与当前应用的身份展示,指向真实业务管理页面;这只是访问态入口,不是开发后台按钮,不自动授予或调整管理员权限。

应用为 platform-top/platform-side/platform-l-shape、当前页为 standalone 时,只对该页面执行下面的 update-form-config 和回读;不调用 update-app --hide-app-nav,不批量隐藏后台表单或其他页面。需要应用级主题更新时继续保留平台导航。发布后分别验证前台页面链接与后台 workbench 链接;前台仍出现平台菜单时,先排查实际访问路径与页面配置,不能通过全局隐藏“修复”。

整个应用自定义导航

需求规划采用自定义导航后,就将应用导航隐藏纳入应用基础设置更新:新建应用时,等 app-theme.css 生成后,将 --hide-app-nav 与主题、Logo、布局等设置合并到同一次 update-app,按 应用设置同步 执行并回读。已有应用只需切换导航时执行:

bash
openyida update-app <appType> --hide-app-nav

只有整个应用采用自定义导航时,才对 PRD 本轮范围内全部普通表单、流程表单、自定义页面及其他支持页面配置的资源逐页执行;使用已解析的真实 formUuid 和原页面标题:

bash
openyida update-form-config <appType> <formUuid> false "<页面标题>"
openyida get-form-config <appType> <formUuid> --json

每页回读 renderNav=false 才完成;仅缺少 renderNav 时兼容 isRenderNav,布尔值及字符串 "false" 均表示隐藏,缺失或无效值不算成功。失败时修复该页配置并重读。表单及自定义页面在创建或复用并取得真实 formUuid 后立即配置,可与页面代码开发并行,不等待页面发布。发布后只回读核对;若发布改变了配置才补写修复,最终按 PRD 清单逐项核对。create-page --hide-nav 已包含配置、回读及一次补写,navigationVerification.verified=true 可作为创建时的证据,无需重复配置;URL 参数不能代替持久化设置。

访问态入口与权限

前台和管理端可以使用不同的菜单,管理端也可以直接打开业务列表,无需首页。菜单显示什么与用户能操作什么要分别处理:平台隐藏的菜单项,仍可能是前台需要的任务;能看到一个页面,也不代表能提交或修改数据。

公开内容的纯页内视图使用本地数组直接切换,或 mode=local,不请求平台菜单接口;叶子项需 key/viewKey/targetType=local。沿用平台菜单范围时使用 platform 模式并绑定真实资源 ID;按资源权限独立组织任务时使用 independent 模式,并查询当前用户的真实权限。local 中声明的 access 也必须校验,不得删除声明规避权限;业务查询、提交和管理操作继续校验平台权限。权限查询尚未接通时,不放行相关菜单,明确记录未完成项。字段和步骤见 前台与管理端的菜单规则。

实现要点

本节的 iframe 与原生表单打开规则用于计划选择复用原生页面的工作区。全码前台默认在同一页面切换业务视图、完成填写与结果展示,连接真实数据;不把默认 iframe 当作全码前台。菜单只包含该入口的有效任务,不能把后台菜单自动带入前台。

先读取 页面与导航连续性,落实 design.md 中的共同画布、滚动归属及往返状态。导航布局与内容切换共同设计;不要只生成菜单外形。

  • MUST:应用内切换保留导航壳:点击自定义导航后,导航必须仍然可见且可继续操作;默认只切换主内容区。原生提交页、数据管理页嵌入主内容 iframe,本地工作台切换 React 内容。只有确认目标页面也承载同一套导航壳时才允许整页跳转;不能直接跳到隐藏导航的原生页面。外链和用户主动新窗口打开单独处理。见 保留导航壳的最小示例。

  • 按场景选择内容布局:先执行 openyida sample openyida-page-template canvas-nav-content 并整体合并 CanvasNavigationContent,保持 .openyida-nav-layout / .openyida-nav-content 布局结构。业务工作区使用默认 layout="workspace",从壳到 main、iframe 建立完整 flex 高度链,每个可收缩层设置 min-height:0;工作台内容区滚动,原生页仅 iframe 内滚动。沉浸官网或连续展示页使用 layout="document",导航与首屏叠在共同画布上、沿用页面滚动,不套定高内滚动工作区。顶部导航通过 navigation 接入,提取 canvas-nav-top 时传 headerOnly,有首屏背景再传 overlay;不能再嵌一整套带 main 的导航壳。document 的 main/content 使用自然高度,禁止套用 workspace 的 flex 零基准或定高内滚动。见 连续展示页 和 主内容撑满剩余空间。

  • 画布与间距:宿主消费 --pod-page-bg-color,内部画布按 design.md 配色和材质,只作用于当前页,不改全局变量。根用 flow-root 或 flex/grid;沉浸页遵循共同背景规则,工作区按主题保证导航可读。

  • 先选形态,再写 UI:根据已确认的 PRD、design.md 和用户参考确定布局。模块多用侧栏,模块少且内容需要宽度用顶部,两级业务用顶部+侧边,沉浸展示可用悬浮 Dock,同模块视图用标签。已确认的选择直接沿用,不重新提问。

  • 自定义顶部导航默认贴顶通栏,不默认浮导;胶囊或悬浮栏仅按明确设计选用。有首屏背景图时默认叠加背景、初始透明,滚动后增加遮罩底色,回顶恢复透明;展开菜单保持可读底色。工作区导航占位。定位方式与外观分开选择,遵循 连续性规则,不改变导航归属。

  • 需要布局方向和小段代码时读 导航壳形态目录。按场景设计和手写实现,不强制复制任何导航组件。已有导航符合设计时直接复用,只补缺失功能;不能仅因存在新示例而替换现有外观。

  • 自定义侧边导航(含顶部+侧边)的 PC 端必须支持折叠/展开和拖拽调宽;展开恢复折叠前宽度,宽度变化时内容区同步调整。移动端改为可展开/收起的菜单,详见 侧栏交互。

  • 菜单数量、名称、顺序、分组和入口用途来自 PRD,默认落点按当前入口任务确定;平台模式用当前访问者的 getAccessableNavs.json 过滤展示,独立资源菜单及任何声明 access 的菜单必须接入真实权限适配,详见 导航数据来源。数据逻辑可直接复用,不要求采用同一套 UI。

  • 只在当前页切视图时用 React 状态;需要分享、刷新恢复、前进后退时同步 URL hash。跨真实页面时沿用应用路由与数据桥,详见 菜单契约。hashchange、matchMedia 等监听必须 cleanup。

  • 满足导航壳保留条件后的跨页跳转,避免重复应用前缀:完整的 /APP_xxx/workbench/FORM_xxx 地址通过数据桥调用 router.push(href, params, false, true),第三参 false 表示不新开标签,第四参 true 表示 URL 模式。数据桥已修复省略第四参时的自动识别,但不会覆盖显式传入的 false;生成代码仍须明确传 true,详见 路由模式与数据桥兜底。

  • 导航项保存真实资源 ID、入口用途和 params;办理任务、数据管理与页面内新增/详情按钮按 入口用途与嵌入页面 分别处理。用 URL / URLSearchParams 保留 corpid、locale 和业务参数。

UI 和验收

  • 导航表达应用身份、业务层级和当前位置;选中态清晰,图标使用 lucide-react 或 @ant-design/icons,不用 emoji、字母占位或 CSS 拼图标。
  • 视觉按 导航与应用框架 落实 design.md 的导航差异 token(未声明项沿用平台绑定);背景、文字、悬停/选中、边界、形状、字体和间距与表单、详情和内容区协调。对照用户参考检查位置、比例及首屏/滚动态,样式由当前导航组件消费应用主题。
  • 导航按连续目录排列,普通菜单项默认透明,不逐项加边框或投影;悬停时给轻微反馈,选中项清晰可辨。边框和阴影按设计需要添加,不是必填项。导航直接使用应用主题;PC 七档与移动端四档品牌变量由 yida-design 和 CLI 完整提供,不在导航组件里另配一套颜色。
  • 导航选中态已标明当前页时,内容区从业务开始;独立页头只补充对象、任务说明或操作,避免重复菜单标题。
  • 侧栏已验证折叠、恢复宽度、拖拽上下限和内容联动;顶部窄屏可展开菜单,Dock 不遮内容和主要操作。
  • 按范围验收:应用级自定义导航核验应用 hideAppNav 与各页 renderNav=false;仅前台菜单核验该页独立展示,并确认后台应用导航仍可用。配置均需持久化并回读;菜单可见性、选中态、内容与路由一致,深链、刷新及前进后退正常。
  • 逐项点击应用内导航,确认导航壳、当前选中项和主内容同时正确;切换后还能返回工作台。不能只验证目标页面打开成功。
  • 实际滚动到页脚并回顶,确认 main 没有塌缩到导航高度;检查首屏、第二屏与窄屏菜单展开态,无背景断带、遮挡或双滚动;测试往返、快速连点、重复点击、刷新、前进后退、加载失败及未保存输入,按连续性规则核验状态和焦点。
  • 完整检查见 验证清单。本地编译后按 yida-publish-page 发布并检查实际页面,编译通过不等于视觉验收通过。

© openyida, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in yida-skills/skills/yida-nav-shell of openyida/openyida.

  • SKILL.md
  • references/nav-shell-patterns.md

Open the folder on GitHubat commit 3dd4693

Compare with similar skills

Yida Nav Shell next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Yida Nav Shell compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Yida Nav Shell this skillopenyida/openyida220—~1.6kAutomated safety check: PassMIT
Shell ScriptingRightNow-AI/openfang18k—~827Automated safety check: PassApache-2.0
Crush Shell Builtinscharmbracelet/crush29k—~790Automated safety check: PassCustom licence
Groupsparcadei/Continuous-Claude-v33.9k1 repos~956Automated safety check: NotesMIT
Doordash Group Ordersdavila7/claude-code-templates32k—~1.3kAutomated safety check: PassMIT
Linux Shell Scriptingzebbern/claude-code-guide4.7k9 repos~3.1kAutomated safety check: NotesMIT

Similar skills

  • Shell Scripting

    RightNow-AI/openfang

    Shell scripting expert for Bash, POSIX compliance, error handling, and automation

    18k GitHub stars~827 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Crush Shell Builtins

    charmbracelet/crush

    Explains how to add a new in-process builtin command to Crush's embedded POSIX shell, so it is intercepted before reaching the OS, with context polling and exit-status rules.

    29k GitHub stars~790 tokensUpdated today
    DevelopmentAuto-check passed
  • Groups

    parcadei/Continuous-Claude-v3

    Problem-solving strategies for groups in abstract algebra. An agent skill from parcadei/Continuous-Claude-v3.

    3.9k GitHub starsUsed in 1 repo~956 tokens
    Research & ScienceAuto-check: notes
  • Doordash Group Orders

    davila7/claude-code-templates

    Group food ordering through the DoorDash CLI (dd-cli) from a persistent team roster.

    32k GitHub stars~1.3k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Linux Shell Scripting

    zebbern/claude-code-guide

    This skill should be used when the user asks to "create bash scripts", "automate Linux tasks", "monitor system resources", "backup files", "manage users", or "write production shell scripts".

    4.7k GitHub starsUsed in 9 repos~3.1k tokens
    DevelopmentAuto-check: notes
  • Profiling Threat Actor Groups

    mukul975/Anthropic-Cybersecurity-Skills

    Develops comprehensive threat actor profiles for APT groups, criminal organizations, and hacktivist collectives by aggregating TTP documentation, historical campaign data, tooling fingerprints, and…

    34k GitHub stars~1.8k tokensUpdated 1 mo ago
    SecurityAuto-check passed

More from openyida/openyida

All 58 skills in this repo
  • Yida Canvas Custom Page

    openyida/openyida

    宜搭自定义页面开发规范,使用 YidaCodeCanvas 组件实现现代 React18 自定义页面。用于官网、看板、工作台、列表、详情、门户壳、可视化、hooks 交互、表单入口,以及需要门户组件、数据管理视图、成员、部门或上传组件的场景;发布层自动注入 yida/utils window 桥。

    220 GitHub stars~4.3k tokensUpdated 8 days ago
    Auto-check passed
  • Openyida Release

    openyida/openyida

    快速发布 OpenYida npm 正式版或测试版。用户说“发布正式版”“发布测试版”“发 beta”或要求按当天日期生成版本 tag 时使用;不用于宜搭应用或自定义页面发布。

    220 GitHub stars~520 tokensUpdated 8 days ago
    Auto-check passed
  • Yida Design Plan

    openyida/openyida

    Plan 模式的视觉设计分支。基于需求选择视觉方向,再结合业务页面规划维护 build-plan.json 的 visualStyle,供 CLI 派生 design.md。

    220 GitHub stars~756 tokensUpdated 8 days ago
    Auto-check passed
  • Prevent stale local OpenYida custom page source from overwriting live designer edits.

    220 GitHub stars~1.2k tokensUpdated 8 days ago
    Auto-check passed
  • Codemap

    openyida/openyida

    Generate, update, or drift-check agent-facing CodeMaps as progressive code terrain indexes for projects, features, capabilities, functions, modules, or bug chains.

    220 GitHub stars~1k tokensUpdated 8 days ago
    Auto-check passed
  • Sdd Riper One Light

    openyida/openyida

    面向 GPT-5.5 等强模型和熟练用户的轻量 AI Agent Harness / checkpoint-driven coding skill。默认用户已经把任务切到基本可执行的最小混沌单元;模型自行分解、探索与推进,人类通过最终目标、最小 spec、复述、checkpoint、证据验证与回写来低干扰控盘。

    220 GitHub stars~1.5k tokensUpdated 8 days ago
    Auto-check passed

Questions about Yida Nav Shell

What does Yida Nav Shell do?

为应用或独立前台页面编写自己的顶部、侧边等导航菜单时使用。只改现有导航颜色和样式用 yida-design,整理菜单分组和顺序用 yida-nav-group。只做前台菜单时保留管理端的宜搭导航;整个应用都使用自定义菜单时,才隐藏应用导航。. Yida Nav Shell is an agent skill from openyida/openyida.

How do I install Yida Nav Shell in Claude Code?

Run `npx skills add openyida/openyida --skill yida-nav-shell -a claude-code`. Or copy the skill folder (yida-skills/skills/yida-nav-shell in openyida/openyida) into .claude/skills/yida-nav-shell in your project. Claude Code loads it when a task matches its description.

How do I install Yida Nav Shell in Codex?

Run `npx skills add openyida/openyida --skill yida-nav-shell -a codex`. Or copy the skill folder (yida-skills/skills/yida-nav-shell in openyida/openyida) into .agents/skills/yida-nav-shell in your project. Codex loads it when a task matches its description.

Can I use Yida Nav Shell in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openyida/openyida --skill yida-nav-shell -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/yida-nav-shell, .gemini/skills/yida-nav-shell, .github/skills/yida-nav-shell and .opencode/skills/yida-nav-shell in your project.

What does Yida Nav Shell need to run?

SKILL.md names no scripts, command-line tools or credentials: Yida Nav Shell is instructions for the agent only.

Does Yida Nav Shell access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Yida Nav Shell safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Yida Nav Shell use?

Yida Nav Shell is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Yida Nav Shell use?

About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.1k tokens, read only when the agent opens those files.

What are the alternatives to Yida Nav Shell?

Skills that share tags, products or a category with Yida Nav Shell: Shell Scripting (RightNow-AI/openfang, 18k stars), Crush Shell Builtins (charmbracelet/crush, 29k stars), Groups (parcadei/Continuous-Claude-v3, 3.9k stars) and Doordash Group Orders (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Yida Nav Shell?

openyida (a GitHub organization) maintains it in openyida/openyida, which has 220 GitHub stars. The repository holds 58 skills in this directory. The repository was last updated on September 30, 2026.

Source: openyida/openyida on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.