lightdash/lightdash✦ 精选0°

developing-data-apps-locally

仓库创建 2021年3月19日最近提交 6 天前SkillHot 收录 6 天前
▸ 精选理由

明确数据访问约束,降低本地调试误用风险。

这个 Skill 做什么

指导如何在本地编辑、构建与重新上传 Lightdash 数据应用。

指导如何在本地编辑、构建并重新上传 Lightdash 的 data app,告诉你哪些文件可改、哪些是只读以及构建流程。用在下载了 Lightdash 应用、需要离线开发或本地调试并最终回传修改时。重点提示所有运行时数据访问必须走 @lightdash/query-sdk 的 postMessage 桥接,没有直接的 fetch/REST 调用权限。

▸ 展开 SKILL.md 英文原文

Use when editing a downloaded Lightdash data app on your machine — how local editing, building, and re-uploading work, and what is read-only.

开发编程本地开发数据应用SDK限制通用
6.0k
Stars
750
Forks
21
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/lightdash/lightdash/main/packages/cli/src/handlers/apps/authoring/developing-data-apps-locally/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/lightdash/lightdash/main/packages/cli/src/handlers/apps/authoring/developing-data-apps-locally/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Developing Lightdash Data Apps Locally

You are editing a Lightdash **data app** that was downloaded with the Lightdash CLI (`lightdash download`).

## The only way to reach data is the SDK

- All data access goes through `@lightdash/query-sdk` (a postMessage bridge to Lightdash). There is **no** `fetch`, no REST calls, no other network access at runtime — anything else is blocked.
- For the SDK surface (query builder, `useLightdash`, filters, downloads), read the `lightdash-data-app` skill in this folder.

## External HTTP APIs go through linked connections

- The one sanctioned path to a third-party API is `lightdash.externalFetch('<alias>', ...)` against an **external connection** a pro
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有