一键导入
jetlinks-router
将 JetLinks 开发请求路由到当前工作区中最合适的 focused skill。适用于尚不确定应使用哪个 JetLinks 技能,或任务同时涉及模块落点、通用编码规范、响应式实践、CRUD、跨边界调用、事件与订阅流程、前端页面改造以及交付准备的场景。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
将 JetLinks 开发请求路由到当前工作区中最合适的 focused skill。适用于尚不确定应使用哪个 JetLinks 技能,或任务同时涉及模块落点、通用编码规范、响应式实践、CRUD、跨边界调用、事件与订阅流程、前端页面改造以及交付准备的场景。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
在当前 JetLinks 工作区中应用共享编码规范。适用于需要确认注解和导入、遵循本地命名与包结构、保持最小改动,判断模块是否应该补 i18n,实现 LocaleUtils、I18nEnumDict、messages_zh/messages_en、权限动作文案,补充 TraceHolder / MonoTracer / FluxTracer 链路追踪埋点,为常驻任务、缓存、队列等能力设计 MBean 运维可观测性,平衡人类可读性与大模型理解成本来编写代码注释,或当具体场景暴露公共组件、基类、框架、工具类等通用能力缺口时避免硬编码特调并从共同根因修复的场景。
在 JetLinks 脚手架中实现标准或高级 CRUD 开发。适用于需要新增或修改实体、服务、控制器、查询流程、批量更新,或处理与 CRUD 相关副作用,同时遵循当前模块现有风格的场景。
沉淀 JetLinks 开发过程中的可复用知识。适用于任务完成后判断是否值得沉淀、先给出沉淀建议,并在用户确认后将经验整理为 worklog、knowledge、playbook、提示词或 skill 更新;若已成熟到可抽成通用 skill,则继续询问是否并入官方技能仓库 PR 的场景。
发现 JetLinks 工作区结构并选择正确模块,必要时创建新模块。适用于需要梳理当前仓库结构、定位业务模块、识别软链接模块,或在低上下文脚手架中创建新模块的场景。
为 JetLinks 代码变更准备合规交付内容。适用于需要创建符合分支策略的提交、起草或审查中文 Conventional Commit、生成 shell 可执行的 git commit 命令、遵循 JetLinks 提交标题规范、避免直推受保护分支、落实后端新增功能或行为变动的测试门禁、收集测试证据,或编写包含测试、覆盖率、代码注释 / 公共契约(含 SPI 必要 @since / @see)、TraceHolder 与 MBean 运维可观测性结论的 PR 描述的场景。
在当前 JetLinks 工作区中使用统一 AssetsHolder 资产权限体系处理数据权限。适用于 CRUD 查询、详情、更新、删除、批量、导出、自定义接口、关联资产、命令服务、订阅或聚合查询需要资产权限控制,或需要判断 AssetType、@AssetsController、AssetsHolderCrudController、CorrelatesAssetsHolderCrudController、CrudAssetPermission、AssetsHolder.injectQueryParam / assertPermission / filterAssets 用法的场景。
| name | jetlinks-router |
| description | 将 JetLinks 开发请求路由到当前工作区中最合适的 focused skill。适用于尚不确定应使用哪个 JetLinks 技能,或任务同时涉及模块落点、通用编码规范、响应式实践、CRUD、跨边界调用、事件与订阅流程、前端页面改造以及交付准备的场景。 |
Read ai-prompt.md first. Treat it as the routing index.
references/backend-design-test-driven-rules.md and references/document-placement-rules.md, write only stable requirements, decisions, task breakdown, and test goals into the appropriate owning docs location, then wait for explicit user confirmation before implementation.jetlinks-capture, give the recommendation first, and only write the document after user confirmation.jetlinks-develop-skills and prepare an upstream PR.../jetlinks-protocol/SKILL.md../jetlinks-conventions/SKILL.md../jetlinks-reactive/SKILL.md../jetlinks-routing/SKILL.md../jetlinks-crud/SKILL.md../jetlinks-assets-permission/SKILL.md../jetlinks-boundary/SKILL.md../jetlinks-events/SKILL.md../jetlinks-web/SKILL.md. First analyze the real business workflow instead of defaulting to backend CRUD. Treat references as supporting material from adjacent pages or similar business scenarios, keep Ant Design as the baseline style, avoid meaningless decorative data, and make sure prototype annotations stay out of the final user-facing UI. Backend EnumDict / I18nEnumDict fields usually render as { value, text }: display text, submit/filter by value. Except for the jetlinks-web-style local-tweak whitelist, route frontend page implementation through ../jetlinks-web-style/SKILL.md together with ../jetlinks-web/SKILL.md before coding so a solution profile is locked first.../jetlinks-web-style/SKILL.md. Use it for any frontend page task that creates a page, rewrites a shell, changes first-screen organization, information architecture, main filter/list/detail carrier, visual rhythm, or structural reuse; not only when the user explicitly says “风格”. Also use it when the user wants to follow an existing page style, when a page could reasonably be built in several different shells, or when style choice should be confirmed before implementation. Standard table pages are not the fallback for missing facts, and ProSearch needs an explicit old-page / lightweight-filter exception reason.../jetlinks-capture/SKILL.md../jetlinks-delivery/SKILL.md../jetlinks-conventions/references/code-comments.md before implementation: identify required comment targets, add comments in the touched code when complex business intent / permission boundary / compatibility / lifecycle / public contract exists, and only report "no comments needed" when the touched code is straightforward. A final summary or PR description does not replace code comments.../jetlinks-conventions/references/tracing.md.../jetlinks-conventions/references/mbean-observability.md.termType, collapse unreleased same-PR intermediate forms into the final best-practice design; only keep compatibility or migration for released, persisted, or externally depended-on behavior.$jetlinks-conventions and resolve the root cause via official extension points, adjacent module abstractions, dependency choice, or by informing the user with concrete trade-offs; never ship reflection / Unsafe / visibility bypass / copied source / monkey patches / bytecode injection / silent exception swallowing as a hidden workaround. See ../jetlinks-conventions/references/root-cause-and-no-hack-rules.md.$jetlinks-conventions; require a common root-cause fix or an explicitly modeled strategy/configuration instead of hardcoded special branches.org.apache.commons.lang3.StringUtils; route deprecated string comparison/search/prefix/suffix/plain replace calls through $jetlinks-conventions to use Strings.CS / Strings.CI, while allowing non-deprecated null-safe predicates such as StringUtils.isEmpty / isBlank when they match local Commons Lang style.When analyzing first:
When implementing: