xano

Xano 专家:为 Xano 无代码/低代码后端平台提供指导,说明如何通过可视化函数堆栈创建可用于生产的 REST API、管理数据库模型与身份验证,以及将后端与前端框架集成,帮助开发者和非技术用户在无需编写服务器代码的情况下构建 API 和后端逻辑。

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

安装方式

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

用 AI 助手安装

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

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

来源与配置

github.com

配置方式待核实

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

安装实测待补充

Xano 专家:为 Xano 无代码/低代码后端平台提供指导,说明如何通过可视化函数堆栈创建可用于生产的 REST API、管理数据库模型与身份验证,以及将后端与前端框架集成,帮助开发者和非技术用户在无需编写服务器代码的情况下构建 API 和后端逻辑。

0 下载

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

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: xano
description: Expert guidance for Xano, the no-code/low-code backend platform for building APIs, databases, and authentication without writing server code. Helps developers and non-technical builders create production-ready REST APIs with visual function stacks, manage data models, and integrate with frontend frameworks.
license: Apache-2.0
compatibility: No special requirements
metadata:
  author: terminal-skills
  version: 1.0.0
  category: development
  tags:
  - no-code-backend
  - api-builder
  - database
  - auth
  - serverless

Xano — No-Code Backend Builder

Overview

Xano, the no-code/low-code backend platform for building APIs, databases, and authentication without writing server code. Helps developers and non-technical builders create production-ready REST APIs with visual function stacks, manage data models, and integrate with frontend frameworks.

Instructions

Database Schema

## Data Modeling in Xano
Create tables visually in the Xano dashboard:

### Users Table
| Field        | Type      | Properties                    |
|-------------|-----------|-------------------------------|
| id          | integer   | Primary key, auto-increment   |
| email       | text      | Unique, indexed               |
| name        | text      | Required                      |
| password    | password  | Hashed automatically          |
| plan        | enum      | free, pro, enterprise         |
| avatar_url  | text      | Nullable                      |
| metadata    | json      | Flexible key-value data       |
| created_at  | timestamp | Auto-set on create            |

### Posts Table
| Field        | Type       | Properties                   |
|-------------|------------|------------------------------|
| id          | integer    | Primary key                  |
| user_id     | integer    | Foreign key → Users          |
| title       | text       | Required, max 200 chars      |
| content     | text       | Required                     |
| published   | boolean    | Default: false               |
| tags        | list[text] | Array of strings             |
| created_at  | timestamp  | Auto-set on create           |

Xano auto-generates CRUD endpoints for each table.

API Endpoints (Function Stacks)

## Visual API Builder
Xano uses "Function Stacks" — visual, step-by-step API logic:

### POST /api/posts — Create a Post
1. **Precondition**: Verify authentication (JWT token valid)
2. **Input**: title (text, required), content (text, required), tags (list)
3. **Create Variable**: `user_id` from auth token
4. **Conditional**: Check user plan
   - If plan == "free" AND post_count >= 5 → Return error "Free plan limited to 5 posts"
5. **Database Query**: Add record to `posts` table
   - title: input.title
   - content: input.content
   - tags: input.tags
   - user_id: user_id
   - published: false
6. **Return**: { id, title, created_at }

### GET /api/posts — List Published Posts
1. **Input**: page (int, default 1), per_page (int, default 20)
2. **Database Query**: Query `posts` table
   - Filter: published = true
   - Sort: created_at DESC
   - Pagination: page, per_page
   - Join: users (for author info)
3. **Return**: { items: [...], total, page, pages }

Authentication

// Xano provides built-in auth endpoints:

// Sign up: POST /auth/signup
const signUp = async (email: string, password: string, name: string) => {
  const response = await fetch("https://your-instance.xano.io/api:auth/auth/signup", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({ email, password, name }),
  });
  const { authToken } = await response.json();
  return authToken;   // JWT token
};

// Login: POST /auth/login
const login = async (email: string, password: string) => {
  const response = await fetch("https://your-instance.xano.io/api:auth/auth/login", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({ email, password }),
  });
  const { authToken } = await response.json();
  return authToken;
};

// Authenticated request
const getPosts = async (token: string) => {
  const response = await fetch("https://your-instance.xano.io/api:main/posts", {
    headers: { Authorization: `Bearer ${token}` },
  });
  return response.json();
};

// Get current user: GET /auth/me
const getMe = async (token: string) => {
  const response = await fetch("https://your-instance.xano.io/api:auth/auth/me", {
    headers: { Authorization: `Bearer ${token}` },
  });
  return response.json();
};

External API Integration

## Calling External APIs from Function Stacks

### Example: Process payment via Stripe
1. **External API Request**: POST https://api.stripe.com/v1/charges
   - Headers: Authorization: Bearer sk_live_xxx
   - Body:
     - amount: input.amount * 100
     - currency: "usd"
     - source: input.payment_token
2. **Conditional**: Check response status
   - If status != 200 → Return error with Stripe message
3. **Database Query**: Update order status to "paid"
4. **External API Request**: POST to webhook (notify fulfillment)
5. **Return**: { success: true, charge_id }

### Example: Send email via Resend
1. **External API Request**: POST https://api.resend.com/emails
   - Headers: Authorization: Bearer re_xxx
   - Body:
     - from: "app@myapp.com"
     - to: user.email
     - subject: "Order Confirmed"
     - html: template with order details

Webhooks and Scheduled Tasks

## Webhooks (incoming)
Xano can receive webhooks from external services:
- Stripe payment events → Update order status
- GitHub push events → Trigger build
- Custom webhooks → Process any incoming data

## Scheduled Tasks (Cron)
Run function stacks on a schedule:
- Every hour: Sync data from external API
- Daily at midnight: Generate reports
- Weekly: Send digest emails

Examples

Example 1: Adding Xano to a new project

User request:

I'm building a SaaS app with Next.js. Integrate Xano for the database schema functionality.

The agent installs the Xano SDK, configures the connection (API keys, environment variables), creates the initial integration code with proper error handling, and writes a working example that demonstrates the database schema feature end-to-end.

Example 2: Building advanced configuration with Xano

User request:

I need to implement advanced configuration in my app. Show me how to do it with Xano.

The agent reads the project structure, identifies the right integration points, implements the advanced configuration feature using Xano's API, handles edge cases (authentication, error states, loading), and adds tests to verify the integration works correctly.

Guidelines

  1. Start with the data model — Design your tables and relationships first; Xano generates CRUD endpoints automatically
  2. Use function stacks for logic — Keep business logic in Xano's visual builder; don't put it in the frontend
  3. Authentication built-in — Use Xano's auth system (JWT-based); don't build your own
  4. Pagination on all list endpoints — Always add page/per_page inputs; unbounded queries kill performance
  5. Validate inputs — Add input validation (required, type, min/max) on every endpoint
  6. Use addons for complex queries — Xano supports raw SQL for complex aggregations and joins beyond the visual builder
  7. API groups for organization — Group related endpoints (auth, posts, payments) into separate API groups
  8. Rate limiting — Enable rate limiting on public endpoints to prevent abuse

当前收录版本

1.0.0

核对来源版本 ↗

质量评测

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

场景价值85/100

亮点

  • 提供 Xano 无代码后端平台的完整专家级指导
  • 涵盖数据库建模、API 构建、身份验证等核心功能
  • 面向开发者和非技术用户,实用价值高
触发精准90/100

亮点

  • 触发词精准完整,覆盖 Xano 平台的核心功能
  • description 清晰描述了平台用途和目标用户
  • 边界清晰,不易与其他 Skill 重叠
结构规范90/100

亮点

  • 文档结构清晰,包含 Overview、Instructions、Examples、Guidelines
  • frontmatter 完整,包含必要的元数据信息
  • 提供具体的数据模型示例和 API 端点说明
执行可靠90/100

亮点

  • 提供完整的数据库 schema 设计和 API 构建流程
  • 认证流程详细,包含完整的代码示例
  • 外部 API 集成和错误处理说明清晰
  • Webhooks 和定时任务配置指导完整
证据可验 (前四项均值)89/100

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

正文静态检测

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

正文未命中当前规则。

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

权限与使用前检查

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

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

文档引用的域名或地址

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

  • api.resend.com
  • api.stripe.com
  • your-instance.xano.io

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

安全评级与访问范围

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

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