nishare-api
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "nishare-api":https://skillpi.com/zh/skills/deepskill-c50128fcdfd28ce8d4214afae1e5a9b2b7f9b46553b318b620458a907b4dfe06。安装前核对上游来源和版本:https://skillhub.cn/skills/user_4ff34572/nishare。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
当用户需要发布、更新或说明如何通过 API 将 AI 生成的 HTML、图像或文档内容发布到 Nishare 时可用。支持提供 curl 示例、API-Key/Bearer 认证方式、工作区定向、载荷验证规则,或返回 Nishare 分享链接(shareUrl)的代理提示。
介绍来源: third_party · user_4ff34572 · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: nishare-api
description: Use when the user wants to publish, update, or explain how to publish AI-generated HTML, image, or document content to Nishare via its API, needs curl examples, API-Key/Bearer authentication, workspace targeting, payload validation rules, or wants an agent prompt that returns a Nishare shareUrl.
metadata:
short-description: Publish and update Nishare sharesNishare API
Use this skill when helping a user or another AI tool publish generated content to Nishare.
Quick Workflow
- Choose the base URL:
- Production:
https://nishare.com - Local development:
http://localhost:4173
- Production:
- Choose an endpoint:
- Create a share:
POST /api/ai/publish - Update an existing project:
POST /api/ai/update
- Create a share:
- Choose content type:
- HTML: full HTML document only
- Markdown: document text
- Image:
imageDataUrl,imageBase64, orimageUrl
- Add authentication only when publishing into an account/workspace or updating:
X-Nishare-Key: nsk_xxx, orAuthorization: Bearer nsk_xxx
- Return
shareUrlto the user on success. On failure, surfacemessageand anymatches.
Copyable Agent Prompt
Use this prompt when instructing another AI tool:
把内容发布到 Nishare:POST https://nishare.com/api/ai/publish,成功后返回 shareUrl,失败时返回 message。
For full HTML pages:
请把你生成的完整页面 HTML 通过 POST 发送到 https://nishare.com/api/ai/publish,JSON 格式为 {"title":"页面标题","type":"html","html":"完整页面 HTML"},然后把响应里的 shareUrl 返回给我。
Essential Examples
Publish HTML:
curl -s https://nishare.com/api/ai/publish \
-H 'Content-Type: application/json' \
-d '{"title":"AI 生成演示","type":"html","html":"<!doctype html><html><body><h1>Hello</h1></body></html>"}'
Publish with API Key:
curl -s https://nishare.com/api/ai/publish \
-H 'Content-Type: application/json' \
-H 'X-Nishare-Key: nsk_xxx' \
-d '{"title":"AI 生成演示","type":"html","html":"<!doctype html><html><body><h1>Hello</h1></body></html>"}'
Update a project:
curl -s https://nishare.com/api/ai/update \
-H 'Content-Type: application/json' \
-H 'X-Nishare-Key: nsk_xxx' \
-d '{"projectId":"project_id","title":"更新后的演示","type":"html","html":"<!doctype html><html><body><h1>Updated</h1></body></html>"}'
Detailed Reference
Read references/api.md when you need:
- All accepted payload fields and headers
- Markdown, image, raw HTML, or text examples
- Workspace targeting
- Response shapes
- Validation limits and common errors
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供完整的 Nishare API 发布流程,涵盖 HTML、Markdown、Image 多种内容类型
- 包含详细的认证方式说明和端到端 curl 示例,实用性强
亮点
- 触发描述清晰完整,覆盖发布、更新、API 说明等核心场景
- 关键词精准,边界清晰,不易误触或漏触
亮点
- 结构完整,包含工作流、提示词、示例和参考文档
- 步骤清晰,有出口条件,frontmatter 完整规范
亮点
- API 端点、认证方式、载荷格式说明完整准确
- 覆盖主要异常情况,提供错误处理指导
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 3, 53 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- localhost
- nishare.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。