fnnas-docs

Documentation for fnOS app development: includes quick start, developer guide, open API, CLI reference, app examples, and changelog. Used to answer questions about fn app development, open APIs, JS SDK, file authorization, Manifest configuration, app permissions, or Docker builds.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "fnnas-docs" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5c98df57b09d3458df5fe3ce4931844cfa947084bec104063eb397007260538f. Verify the upstream source and version against https://skillhub.cn/skills/user_5c85a23c/fnnas-docs before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Documentation for fnOS app development: includes quick start, developer guide, open API, CLI reference, app examples, and changelog. Used to answer questions about fn app development, open APIs, JS SDK, file authorization, Manifest configuration, app permissions, or Docker builds.

0 Downloads

Introduction source: third_party · user_5c85a23c · 1.1.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: fnnas-docs
description: 飞牛 fnOS 应用开发文档 - 快速开始、开发指南、开放 API、CLI 工具参考、应用案例和更新日志。当用户询问飞牛应用开发、开放 API、JS SDK、文件授权、Manifest 配置、应用权限或 Docker 构建等问题时使用此技能。
metadata:
  author: Tnnevol
  version: "2026.08.06"

SKILL: fnnas-docs (飞牛应用开发文档)

飞牛 fnOS 应用开发完整文档索引。基于飞牛应用开放平台的 文档索引 和 完整文档 整理。

Quick Start

# 文档来源
https://developer.fnnas.com/llms.txt
https://developer.fnnas.com/llms-full.txt

# 技能目录
skills/fnnas-docs/

# 更新文档(如需同步最新内容)
 cd skills/fnnas-docs && python3 scripts/fetch-docs.py

使用场景

  • 用户询问飞牛应用开发相关问题
  • 需要查阅 fnOS 开发文档
  • 了解应用打包、上架流程
  • 配置 Manifest、环境变量、应用权限
  • 构建 Native/Docker 应用
  • 了解文档更新记录

创建与生命周期约束

  • 创建应用模板:用户要求创建原生应用时,使用 fnpack create <app-name>,不要添加 --template 参数;用户要求创建 Docker 应用时,必须使用 fnpack create <app-name> --template docker。
  • 保护模板结构:创建应用后,不允许删除模板提供的文件或目录,只能在基础模板上修改内容,或新增必要的文件和目录。
  • 安装回调阶段:只有执行 cmd/install_callback 阶段时,飞牛框架提供的环境变量目录才会生成;该阶段也是应用正式安装阶段。涉及安装目录、框架环境变量或安装后初始化的逻辑,应放在此阶段处理。
  • cmd/main 进程检测:cmd/main 是框架用于管理应用运行状态的守护进程入口。应用可以使用非守护进程方式启动,框架会周期性探测进程的 PID 状态,具体实现可参考基础框架示例。若应用自身内置守护进程,可以不使用模板提供的 PID 文件进行探测,改为检测应用提供的 status 结果或实际 PID。
  • 生命周期日志:生命周期脚本不要单独维护日志文件,优先直接输出标准输出和标准错误;飞牛框架提供安装流程日志收集工具,直接输出便于统一收集和排查。

Core References

分类 文档数 说明 入口
概览 1 篇 平台介绍与学习路径 guide.md
快速开始 4 篇 环境准备、创建/测试/上架应用 quick-started/
开发指南 13 篇 架构、Manifest、权限、入口、网关等 core-concepts/
应用案例 2 篇 Native/Docker 应用实战案例 examples/
CLI 工具 2 篇 fnpack、appcenter-cli cli/
开放 API 11 篇 JS SDK、文件授权、页面能力和后端 API api/
更新日志 5 篇 文档站点和开放 API 更新记录 update-log.md

文档索引

📖 概览

文档 说明 链接
欢迎加入 平台介绍、学习路径 guide.md

🚀 快速开始

文档 说明 链接
准备工作 环境要求、系统要求、技术栈 prerequisites.md
创建应用 应用创建流程 create-application.md
测试应用 应用测试与调试 test-application.md
上架应用 应用发布上架流程 publish-application.md

📘 开发指南

文档 说明 链接
应用框架 fnOS 应用架构 framework.md
Manifest 应用配置清单 manifest.md
环境变量 应用环境变量配置 environment-variables.md
应用权限 权限声明与管理 privilege.md
应用资源 资源配置与使用 resource.md
应用入口 应用入口配置 app-entry.md
index.cgi CGI 轻量入口 index-cgi.md
统一网关 网关注册与鉴权 gateway-registration.md
用户向导 安装/升级/卸载向导 wizard.md
应用依赖 依赖管理 dependency.md
中间件服务 Redis、MinIO、RabbitMQ 等 middleware.md
运行时环境 Python、Node.js、Java 运行时 runtime.md
图标 应用图标规范 icon.md

💡 应用案例

文档 说明 链接
Native 应用案例 从零创建 Native 应用 native.md
Docker 应用案例 从零创建 Docker 应用 docker.md

🔧 CLI 开发工具

文档 说明 链接
fnpack 应用打包工具 fnpack.md
appcenter-cli 应用中心命令行工具 appcentercli.md

🔌 开放 API

文档 说明 链接
概述 开放能力范围和阅读顺序 overview.md
调用方式 API Scope、JS SDK、后端 API 通用规则 calling.md
授权与文件 文件授权能力总览 authorization/overview.md
应用共享授权路径 管理员授权固定目录 shared-access.md
用户个人授权路径 当前用户授权目录或文件 user-access.md
文件权限检查 检查用户对文件或目录的 ACL file-acl.md
路径转换 转换内部路径为语义化展示路径 path-convert.md
页面路由 打开文件、文件管理器和应用设置 routing.md
页面交互 页面标题、主题、语言和离开提示 ui.md
错误码 JS SDK 和后端 API 错误码 error-codes.md
平台配置 读取语言、主题、系统版本和格式配置 platform-config.md

📝 更新日志

文档 说明 链接
2026-07-31 新增开放 API 和 API 文档索引 update-log.md
2026-07-05 新增 llms.txt、fnpack V1.2.3 20260705.md
2026-05-09 统一网关文档补充 20260509.md
2025-12-31 文档组织调整、platform 字段等 20251231.md
2025-12-16 文档结构优化、入门示例调整 20251216.md

意图识别规则

入门相关

  • "飞牛怎么开发" / "如何开发飞牛应用" / "fnOS 开发" → prerequisites.md
  • "环境要求" / "系统要求" / "准备工作" / "开发环境" → prerequisites.md
  • "系统架构" / "内核版本" / "支持的架构" → prerequisites.md
  • "技术栈" / "支持什么语言" / "用什么开发" → prerequisites.md
  • "平台介绍" / "学习路径" / "为什么开发" → guide.md

应用创建相关

测试相关

上架相关

架构与配置相关

  • "应用架构" / "fnOS 架构" / "框架" → framework.md
  • "Manifest" / "应用配置" / "manifest.json" / "配置文件" → manifest.md
  • "环境变量" / "env" / "配置变量" / "ENV" → environment-variables.md
  • "权限" / "应用权限" / "权限声明" / "privilege" → privilege.md
  • "资源" / "应用资源" / "资源配置" / "resource" → resource.md
  • "入口" / "应用入口" / "入口配置" / "entry" → app-entry.md
  • "CGI" / "index.cgi" / "轻量入口" → index-cgi.md
  • "向导" / "用户向导" / "引导页" / "wizard" → wizard.md

进阶功能相关

应用案例相关

  • "Native" / "原生应用" / "本地构建" / "原生构建" → native.md
  • "Docker" / "容器应用" / "Docker 构建" / "容器化" → docker.md
  • "案例" / "实战" / "示例" → native.md 或 docker.md

CLI 工具相关

  • "fnpack" / "打包" / "应用打包" / "打包工具" → fnpack.md
  • "appcenter-cli" / "appcenter" / "命令行工具" / "CLI" → appcentercli.md
  • "install-local" / "本地安装" / "快速安装" → appcentercli.md

开放 API 相关

更新日志相关

  • "文档更新" / "更新记录" / "changelog" / "最近更新" → update-log/

技术栈

fnOS 基于 Linux (Debian) 内核,支持:

  • 服务端:Node.js、Python、Java、Go 等
  • 前端:HTML/JavaScript/CSS 及现代框架
  • 架构:x86_64 (AMD64) 及 ARM
  • 系统版本要求:fnOS 0.9.27 及以上

CLI 工具速查

工具 用途 安装
fnpack 应用打包 下载对应平台二进制文件:fnpack-1.2.3-darwin-amd64 / fnpack-1.2.3-darwin-arm64,放到 PATH 中
appcenter-cli 应用管理(安装/卸载/日志) fnOS 设备预装

References

文件 说明
references/guide.md 平台概览
references/quick-started/ 快速开始文档(4 篇)
references/core-concepts/ 开发指南文档(13 篇)
references/examples/ 应用案例文档(2 篇)
references/cli/ CLI 工具文档(2 篇)
references/api/ 开放 API 文档(11 篇)
references/update-log.md 文档和开放 API 更新日志
scripts/fetch-docs.py 文档同步脚本(基于 llms.txt 和 llms-full.txt)

Current listing version

1.1.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 提供飞牛 fnOS 应用开发完整文档索引,直接解决开发者核心任务痛点
  • 覆盖从快速开始到开放 API 的全链路开发文档,具有高频刚需价值
  • 包含详细的意图识别规则和文档索引,便于用户快速定位所需信息
Trigger Precision90/100

Highlights

  • 触发词覆盖全面,包含飞牛应用开发、开放 API、JS SDK、文件授权等多个维度
  • 意图识别规则详细,覆盖入门、应用创建、测试、上架等各个开发阶段
  • 边界清晰,不易与其他 Skill 重叠
Structure and Standards85/100

Areas to improve

  • 文档过长 Reported severity: Minor

    SKILL.md 文件内容超过500行,影响阅读体验

    Recommendation: 建议将部分内容拆分为独立的参考文件,保持主文件简洁

Highlights

  • Phase/步骤清晰,包含快速开始、开发指南、应用案例等完整结构
  • frontmatter完整,包含name、description、metadata等必要信息
  • 提供了详细的文档索引和意图识别规则
Execution Reliability88/100

Areas to improve

  • description内容截断 Reported severity: Major

    顶层frontmatter中的description字段内容中途断句结尾

    Recommendation: 检查并修复description字段的完整性,确保描述内容完整

Highlights

  • 工具来源明确,提供了fnpack和appcenter-cli的具体下载链接和安装说明
  • 参数正确,CLI工具速查表提供了详细的用途和安装指导
  • 文档更新机制清晰,提供了同步最新内容的脚本和方法
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • developer.fnnas.com
  • static2.fnnas.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.