lanhu-rn-plan SKILL.md skillA

lanhu-rn-plan from dj931567261/lanhu-mcp is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add dj931567261/lanhu-mcp/lanhu-rn-plan@git:20260402.2d57380

Pins git:20260402.2d57380 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
dj931567261/lanhu-mcp
Path
skills/lanhu-rn-plan/SKILL.md
Versions recorded
1
Latest version
git:20260402.2d57380, committed Apr 2, 2026
Size
18,457 bytes
Repository stars
18
License
MIT

输入蓝湖设计图详情 URL(含 image_id),使用 lanhu MCP image_id 精确链路输出 React Native TSX 页面规划与样式草稿;annotations 为主路径,单位与圆角归一在 skill 内完成,schema 仅失败兜底,资源统一落盘到 src/assets/lanhu/<screen>/。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 蓝湖 → React Native TSX(image_id 直连 + annotations 主路径 + skill 归一)

## Skill 执行优先级(硬门禁)

当用户消息显式包含 `$lanhu-rn-plan`(或明确点名本 skill)时,必须执行以下规则:

1. **本 skill 规则最高优先级**:
   - 禁止回退到通用 UI 转换文档作为主流程。
   - 禁止输出 XML、Compose、Flutter、SwiftUI。
   - 禁止输出“按视觉估算实现”这类脱离本 skill 数据链路的结论。
2. **先协议、后改文件**:
   - 在完整输出“阶段 1 + 阶段 2(A/B/C/D)”之前,禁止修改项目代码文件。
3. **未满足契约即失败**:
   - 未按约定输出 A) 审计区,视为未执行本 skill。
   - 触发时必须输出:`FAIL_FAST: SKILL_CONTRACT_VIOLATION` 并停止。

## 输入格式(从用户消息解析)

支持任意一种:

- 只给一行蓝湖 URL
- 或 key=value 多行:
  - `LANHU_URL=...`
  - `HOST_ACTIVITY=...`(可选)
  - `HOST_FRAGMENT=...`(可选)
  - `PRESENTATION=auto|inline|screen|modal|bottom_sheet|popup`

### 输入硬要求

- `LANHU_URL` 必须是设计图详情链接并包含 `image_id`(`detailDetach?...&image_id=...`)。
- 为兼容既有调用协议,保留 `HOST_ACTIVITY` / `HOST_FRAGMENT` 字段名;在 RN 场景中仅作为挂载点线索,不生成 Android 代码。
- 若缺少 `LANHU_URL`:仅提示补充后停止。
- 若缺少 `image_id`:`FAIL_FAST: IMAGE_ID_MISSING_IN_URL`。

## 必须使用的 MCP 工具(主路径)

必须调用(禁止无工具猜测):

- `lanhu_get_ai_analyze_design_result(url, image_ids)`
- `lanhu_get_design_annotations(url, image_id)`
- `lanhu_get_design_slices(url, image_id)`

必要时(仅当链接为 PRD/原型文档且包含 `docId`):

- `lanhu_get_pages`
- `lanhu_get_ai_analyze_page_result`
- `lanhu_resolve_invite_link`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add dj931567261/lanhu-mcp/lanhu-rn-plan@sha256:9ae7024755ce7fef

The line at the top of this page pins the label git:20260402.2d57380, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_y3g3rbd73js7o7ze.svg)](https://markdownregistry.com/a/art_y3g3rbd73js7o7ze)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Apr 2, 2026.

versioncommittedcommitsizeaudit
git:20260402.2d57380 latest2026-04-02 2d57380 18,457 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (18457 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

dj931567261/lanhu-mcp · 18 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_y3g3rbd73js7o7ze
GET https://markdownregistry.com/api/v1/resolve?ref=dj931567261/lanhu-mcp/lanhu-rn-plan
GET https://markdownregistry.com/api/v1/blob/9ae7024755ce7fefaeeaa52f4af0c9b655a525ad5f487d6e84fc8b08a6161863

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from dj931567261/lanhu-mcp

lanhu-compose-plan SKILL.md skill
dj931567261/lanhu-mcp · skills/lanhu-compose-plan/SKILL.md · 输入蓝湖设计图详情 URL(含 image_id),使用 lanhu MCP image_id 精确链路输出 Jetpack Compose 页面规划与代码草稿;annotations 为主路径,单位与圆角归一在 skill…
git:20260402.2d57380 · audit A · 18 stars
lanhu-flutter-plan SKILL.md skill
dj931567261/lanhu-mcp · skills/lanhu-flutter-plan/SKILL.md · 输入蓝湖设计图详情 URL(含 image_id),使用 lanhu MCP image_id 精确链路输出 Flutter Dart Widget 规划;annotations 为主路径,单位与圆角归一在 skill…
git:20260402.2d57380 · audit A · 18 stars
lanhu-html-plan SKILL.md skill
dj931567261/lanhu-mcp · skills/lanhu-html-plan/SKILL.md · 输入蓝湖设计图详情 URL(含 image_id),使用 lanhu MCP image_id 精确链路输出原生 HTML 页面规划与代码草稿;annotations 为主路径,单位与圆角归一在 skill 内完成,schema…
git:20260402.2d57380 · audit B · 18 stars
lanhu-swiftui-plan SKILL.md skill
dj931567261/lanhu-mcp · skills/lanhu-swiftui-plan/SKILL.md · 输入蓝湖设计图详情 URL(含 image_id),使用 lanhu MCP image_id 精确链路输出 iOS SwiftUI 页面规划与代码草稿;annotations 为主路径,单位与圆角归一在 skill 内完成,schema…
git:20260402.2d57380 · audit A · 18 stars
lanhu-uniapp-plan SKILL.md skill
dj931567261/lanhu-mcp · skills/lanhu-uniapp-plan/SKILL.md · 输入蓝湖设计图详情 URL(含 image_id),使用 lanhu MCP image_id 精确链路输出 uni-app 页面规划与代码草稿;annotations 为主路径,单位与圆角归一在 skill 内完成,schema…
git:20260402.2d57380 · audit B · 18 stars
lanhu-vue-plan SKILL.md skill
dj931567261/lanhu-mcp · skills/lanhu-vue-plan/SKILL.md · 输入蓝湖设计图详情 URL(含 image_id),使用 lanhu MCP image_id 精确链路输出 Vue 3 单文件组件页面规划与代码草稿;annotations 为主路径,单位与圆角归一在 skill 内完成,schema…
git:20260402.2d57380 · audit B · 18 stars
lanhu-xml-plan SKILL.md skill
dj931567261/lanhu-mcp · skills/lanhu-xml-plan/SKILL.md · 输入蓝湖设计图详情 URL(含 image_id),使用 lanhu MCP image_id 精确链路输出传统 Android XML(annotations 直出 dp,schema 仅失败兜底,drawable-nodpi…
git:20260402.2d57380 · audit A · 18 stars

Every file in dj931567261/lanhu-mcp

Browse by kind, by grade A, or by owner.