Lanhu Design logo

Lanhu Design

Community
joe-qai
lanhu-design

蓝湖设计稿与 Axure 原型分析。通过 lanhu MCP Server 直接读取蓝湖项目的原型页面、设计图、切图资源。 触发场景: - 需要从蓝湖获取 Axure 原型页面进行需求分析 - 需要查看蓝湖 UI 设计图和设计参数 - 需要提取蓝湖设计稿中的切图资源 - 需要通过蓝湖团队留言板协作 - 收到蓝湖邀请链接需要解析 触发词:蓝湖、lanhu、设计稿、原型图、蓝湖链接、设计图、切图

Overview

Publisherjoe-qai
Repositoryqa-skills
Skill namelanhu-design
Stars
30
Forks
4
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by joe-qai on GitHub. Read the source before you install it.

Installation

Install the Lanhu Design AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/joe-qai/qa-skills/tree/main/lanhu-design
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/joe-qai/qa-skills.git /tmp/qa-skills
mkdir -p .claude/skills
cp -r /tmp/qa-skills/lanhu-design .claude/skills/lanhu-design
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lanhu Design in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Lanhu Design on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Lanhu Design is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

蓝湖设计稿分析

前置条件

lanhu MCP Server 已注册在Trae CN/User/mcp.json中。首次使用需配置蓝湖 Cookie:

  1. 浏览器登录蓝湖 → F12 开发者工具 → Network → 复制请求头中的 Cookie
  2. 填入 .claude/settings.json 的 lanhu.env.LANHU_COOKIE

MCP 工具清单

工具用途输入
lanhu_resolve_invite_link解析蓝湖邀请链接邀请链接 URL
lanhu_get_pages获取原型文档页面列表+截图含 docId 的蓝湖 URL
lanhu_get_ai_analyze_page_resultAI 分析原型页面(开发/测试/探索视角)含 docId 的 URL + 页面名 + 模式
lanhu_get_designs获取 UI 设计图列表不含 docId 的蓝湖 URL
lanhu_get_ai_analyze_design_resultAI 分析设计图(含尺寸/颜色/CSS)不含 docId 的 URL + 设计图名
lanhu_get_design_slices提取设计稿切图资源不含 docId 的 URL + 设计图名
lanhu_say发送团队留言URL + 内容
lanhu_say_list查询留言列表URL 或 'all'
lanhu_say_detail查看留言详情消息 ID
lanhu_say_edit编辑留言URL + 消息 ID + 新内容
lanhu_say_delete删除留言URL + 消息 ID
lanhu_get_members获取项目成员URL

URL 类型区分(重要)

URL 类型特征用于
原型文档 URL含 docId 参数lanhu_get_pages、lanhu_get_ai_analyze_page_result
设计项目 URL不含 docIdlanhu_get_designs、lanhu_get_design_slices
邀请链接lanhuapp.com/link/#/invite?sid=xxx先用 lanhu_resolve_invite_link 解析

典型工作流

1. 需求分析(与 requirements-orchestrator 联动)

收到蓝湖链接
  │
  ├─ 邀请链接? → lanhu_resolve_invite_link → 获取真实 URL
  │
  ├─ 含 docId?(原型文档)
  │   ├─ lanhu_get_pages → 获取页面列表和截图
  │   └─ lanhu_get_ai_analyze_page_result(mode="development") → 获取字段/逻辑/流程
  │
  └─ 不含 docId?(设计项目)
      ├─ lanhu_get_designs → 获取设计图列表
      └─ lanhu_get_ai_analyze_design_result → 获取尺寸/颜色/CSS

2. 前端开发(获取设计参数)

lanhu_get_designs → 查看设计图列表
  → lanhu_get_ai_analyze_design_result → 获取精确设计参数(尺寸/间距/颜色/字体)+ HTML+CSS 代码
  → lanhu_get_design_slices → 提取切图/图标资源

3. 分析模式选择

lanhu_get_ai_analyze_page_result 支持 3 种模式:

模式关注点适用场景
development字段规则、业务逻辑、全局流程图后端/前端开发
testing测试场景、用例、边界值、校验规则测试编写
exploration核心功能概览、模块依赖、评审要点需求评审

与其他技能联动

场景先用 lanhu-design再用
需求分析获取原型截图和页面结构requirements-orchestrator 输出开发任务清单
前端开发获取设计参数和切图ui-pc 实现页面
接口开发从原型推导接口字段api-development / crud-development

注意

  • 蓝湖 Cookie 有效期有限,过期需重新获取
  • 原型文档和设计项目使用不同的 URL 格式,工具不能混用
  • 大型原型建议分页面分析,避免单次请求过大
  • 与 requirements-orchestrator 的区别:本技能负责从蓝湖获取数据,requirements-orchestrator 负责分析数据输出任务

Frequently asked questions

What does the Lanhu Design AI skill do?

蓝湖设计稿与 Axure 原型分析。通过 lanhu MCP Server 直接读取蓝湖项目的原型页面、设计图、切图资源。 触发场景: - 需要从蓝湖获取 Axure 原型页面进行需求分析 - 需要查看蓝湖 UI 设计图和设计参数 - 需要提取蓝湖设计稿中的切图资源 - 需要通过蓝湖团队留言板协作 - 收到蓝湖邀请链接需要解析 触发词:蓝湖、lanhu、设计稿、原型图、蓝湖链接、设计图、切图

Why use Lanhu Design on TypingMind?

Because you install it once and use it with any model. Lanhu Design is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Lanhu Design in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/joe-qai/qa-skills/tree/main/lanhu-design. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Lanhu Design?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Lanhu Design?

As many as you like. As long as a model supports skills, you can use Lanhu Design with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Lanhu Design AI skill free?

It is published on GitHub by joe-qai. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇