genie-editor-client
Genie Editor 宿主侧客户端接入工作流
专注 Genie Editor 宿主侧客户端接入工作流,目标是把属性编辑、多方案比稿、card 方案切换和页面环境信息声明能力落实到当前项目里。
这个技能不依赖 Genie 在线闭环。Genie 后端在线时可以复用在线上下文;不在线时,也可以直接根据当前代码、页面结构、宿主状态和用户需求完成实现。
适用场景
命中这些信号时,优先使用本技能:
- 用户要“暴露可编辑项”“让它能在调整面板改”
- 用户要按页面统一整理可编辑项
- 用户要先出多版方向,再比较后决定推进哪一版
- 用户要把多个方向做成页面里可切换的方案
- 用户要补页面定位信息,便于调试时快速找到当前页和对应实现
- Genie 后端不在线,但仍要完成属性编辑、比稿或方案切换实现
快速分流
- 属性编辑、页面级属性聚合 → 读
references/property-editing.md - 多方案设计比稿、card 方案切换 → 读
references/design-bid.md - 页面环境信息、调试定位、宿主资源上下文 → 读
references/environment-context.md
实施原则
- tweak / schema / values / adapter / update / card 方案切换优先复用
@axhub/genie-editor-client - 页面资源上下文 /
filePath/targetPath/projectPath优先走createGenieEditor(...).host.getResourceContext()或window.__GENIE_EDITOR_HOST__ - 术语对齐
schema、values、adapter、update - 页面环境信息优先提供最小必要的资源上下文,不堆临时调试噪音
- 宿主负责业务字段、默认值和回写语义
- 页面级属性聚合不是另造一套全局静态配置,而是基于元素级 tweak 注册结果做聚合展示
- 如果当前环境支持子代理,可把独立实现拆出去;主代理保留整体约束与最终复核
交付要求
最终回复至少包含:
- 命中的子流程
- 修改了哪些文件
- 暴露了哪些属性或方案字段
- 做了哪些验证
参考
references/property-editing.mdreferences/design-bid.mdreferences/environment-context.md
More from lintendo/axhub-skills
extract-axure-data
Extract structured data from Axure prototypes using Playwright — screenshots, design tokens, interaction maps, annotations, and page text. Use this skill whenever the user wants to extract data from an Axure prototype, reconstruct or clone an Axure page, analyze Axure design tokens, export Axure content, or work with Axure prototype URLs (even if they don't say "Axure" explicitly — look for AxShare links, /start.html#p= URLs, or mentions of wireframes/prototypes hosted online).
41clone-page
>
36generate-theme
>
35react-to-axure
将任意 React 组件/应用改造为 Axure 可导入的原型组件,生成符合规范的配置声明和运行时封装代码。适用于已有 React 项目希望导出为 Axure 交互原型的场景。
34genie-editor-workflow
通过 Axhub AI Extension(Chrome 扩展)配合 @axhub/genie CLI 实现网页编辑器待办的完整闭环处理流程。引导用户安装扩展和检测连接状态、发现在线编辑器客户端、读取用户标注和待办节点、导出上下文截图和图片、设置编辑状态(editing/idle/completed/error 四状态生命周期)、完成代码修改并回写终态。支持 CLI 自动重试、指数退避重连、标签页可见性感知、任务状态持久化等通信稳定性保障。当用户通过 Genie Editor 标注了网页修改待办并希望 AI 代为处理时使用。
33mcp-installer
Install and configure MCP servers across desktop and CLI clients (Claude, Cline, Windsurf, Cursor, VSCode, Gemini CLI, Codex, Trae, Antigravity, etc.) on macOS/Windows/Linux, preferring @smithery/cli when supported and otherwise performing manual JSON config updates and path discovery.
32