appsmith

使用 Appsmith 构建内部工具、管理面板和仪表板。适用于需要创建 CRUD 界面、通过拖放组件连接数据库或 API、编写 JSObjects 实现业务逻辑,或在 Docker 或 Kubernetes 上自托管 Appsmith 的场景。

仓库最近推送
GitHub Stars
219
Forks
38
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "appsmith":https://skillpi.com/zh/skills/deepskill-936fc75d1e3a46873065bfef16838e8addbd02843aac3d12284f79d10ba36afa。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

使用 Appsmith 构建内部工具、管理面板和仪表板。适用于需要创建 CRUD 界面、通过拖放组件连接数据库或 API、编写 JSObjects 实现业务逻辑,或在 Docker 或 Kubernetes 上自托管 Appsmith 的场景。

0 下载

介绍来源: third_party · TerminalSkills · 1.0.0 参考来源

SkillPi 解读

实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: appsmith
description: >-
  Build internal tools, admin panels, and dashboards with Appsmith. Use when a user asks to create CRUD interfaces, connect to databases or APIs with drag-and-drop widgets, write JSObjects for business logic, or self-host Appsmith with Docker or Kubernetes.
license: Apache-2.0
compatibility: "No special requirements"
metadata:
  author: terminal-skills
  version: "1.0.0"
  category: development
  tags: ["internal-tools", "low-code", "open-source", "admin-panel", "self-hosted"]

Appsmith — Open-Source Internal Tool Builder

Overview

You are an expert in Appsmith, the open-source low-code platform for building internal tools, admin panels, and dashboards. You help developers connect to databases and APIs, build CRUD interfaces with drag-and-drop widgets, write custom JavaScript, and self-host the platform for full data control.

Instructions

Data Queries

// PostgreSQL query with bindings
// Appsmith uses {{ }} for dynamic bindings to widget values
SELECT * FROM orders
WHERE status = {{ StatusDropdown.selectedOptionValue }}
  AND created_at BETWEEN {{ DateRange.startDate }} AND {{ DateRange.endDate }}
  AND ({{ SearchInput.text }} = '' OR customer_email ILIKE '%' || {{ SearchInput.text }} || '%')
ORDER BY created_at DESC
LIMIT 50 OFFSET {{ (Table1.pageNo - 1) * 50 }}

// REST API datasource
// URL: https://api.example.com/users/{{ Table1.selectedRow.id }}
// Method: PUT
// Body: {
//   "plan": {{ PlanSelect.selectedOptionValue }},
//   "note": {{ NoteInput.text }}
// }

JavaScript Objects (JSObjects)

// JSObject — reusable business logic
export default {
  // Transform query data for charts
  getRevenueByMonth() {
    return OrdersQuery.data.reduce((acc, order) => {
      const month = moment(order.created_at).format("YYYY-MM");
      acc[month] = (acc[month] || 0) + order.amount;
      return acc;
    }, {});
  },

  // Multi-step workflow
  async processRefund() {
    const order = Table1.selectedRow;
    if (!order) {
      showAlert("Select an order first", "warning");
      return;
    }

    const confirmed = await showModal("ConfirmRefundModal");
    if (!confirmed) return;

    // Step 1: Create refund in Stripe
    await StripeRefundAPI.run({ chargeId: order.stripe_charge_id });

    // Step 2: Update order status
    await UpdateOrderQuery.run({
      orderId: order.id,
      status: "refunded",
    });

    // Step 3: Send notification
    await SlackNotifyAPI.run({
      message: `Refund processed for order #${order.id} ($${order.amount})`,
    });

    showAlert("Refund processed successfully", "success");
    await OrdersQuery.run(); // Refresh table
  },

  // Form validation
  validateForm() {
    const errors = {};
    if (!EmailInput.text?.includes("@")) errors.email = "Invalid email";
    if (AmountInput.text <= 0) errors.amount = "Amount must be positive";
    if (!ReasonSelect.selectedOptionValue) errors.reason = "Select a reason";
    return errors;
  },
};

Deployment

# Self-hosted with Docker (recommended)
curl -L https://bit.ly/docker-compose-appsmith -o docker-compose.yml
docker compose up -d
# Dashboard at http://localhost:80

# Kubernetes with Helm
helm repo add appsmith https://helm.appsmith.com
helm install appsmith appsmith/appsmith -n appsmith --create-namespace

Git Sync

# Connect Appsmith to Git for version control
# Settings → Git Connection → Connect to Git Repository
# Supports: GitHub, GitLab, Bitbucket

# Workflow:
# 1. Develop on feature branch
# 2. Commit changes from Appsmith UI
# 3. Create PR for review
# 4. Merge → auto-deploy to production instance

Examples

Example 1: User asks to set up appsmith

User: "Help me set up appsmith for my project"

The agent should:

  1. Check system requirements and prerequisites
  2. Install or configure appsmith
  3. Set up initial project structure
  4. Verify the setup works correctly

Example 2: User asks to build a feature with appsmith

User: "Create a dashboard using appsmith"

The agent should:

  1. Scaffold the component or configuration
  2. Connect to the appropriate data source
  3. Implement the requested feature
  4. Test and validate the output

Guidelines

  1. Self-host for security — Appsmith is open-source; self-host on your infrastructure when data can't leave your network
  2. JSObjects for logic — Keep business logic in JSObjects, not in widget event handlers; easier to test and reuse
  3. Git sync for teams — Connect to Git for version control; review app changes in PRs like code
  4. Prepared statements — Appsmith uses prepared statements by default for SQL; prevents SQL injection
  5. Environments — Use Appsmith's environment variables for dev/staging/prod database URLs
  6. Granular permissions — Use role-based access control; limit who can view/edit/run destructive queries
  7. Reusable widgets — Extract common patterns (search + table + pagination) into reusable templates
  8. Audit trail — Enable audit logging for compliance; track who did what and when

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供 Appsmith 低代码平台的完整使用指导,涵盖数据查询、业务逻辑、部署等核心功能
  • 适用于构建内部工具、管理面板等实际业务场景,具有明确的实用价值
触发精准90/100

亮点

  • 触发描述清晰完整,覆盖 CRUD 界面、数据库/API 连接、JSObjects、自托管等多种使用场景
  • 边界定义明确,便于用户准确识别适用场景
结构规范75/100

待提升项

  • 缺少明确的步骤划分和出口条件 原报告严重程度:轻微

    文档提供了丰富的代码示例和使用场景,但缺乏清晰的 Phase/步骤划分和明确的出口条件描述

    改进建议:建议添加明确的步骤划分(如 Phase 1: 环境准备, Phase 2: 数据源配置等)和每个阶段的完成条件

亮点

  • 文档结构完整,包含多个功能模块的详细说明
  • 提供了具体的代码示例和实际使用场景
执行可靠70/100

待提升项

  • 异常处理覆盖不足 原报告严重程度:轻微

    提供了正确的工具使用方法和参数,但未覆盖主要异常处理场景(如数据库连接失败、API 调用错误等)

    改进建议:建议添加常见异常的处理方案,如连接失败重试机制、API 错误处理、数据验证等

亮点

  • 工具来源明确,提供了具体的 SQL 查询、JSObjects 代码和部署命令
  • 参数使用正确,符合 Appsmith 平台的最佳实践
证据可验 (前四项均值)80/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • api.example.com
  • bit.ly
  • helm.appsmith.com
  • localhost

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。