技能图谱SKILLSGROVE
技能图谱/效率工具/makenotion/skills/notion-apps

notion-apps

安装

$npx skills add https://github.com/makenotion/skills --skill notion-apps
$git clone --depth 1 https://github.com/makenotion/skills.git /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/notion-apps ~/.claude/skills/notion-apps
请帮我安装这个 Agent Skill:https://github.com/makenotion/skills/tree/10e976aa591995fd60c75ef13beba1a8aa827fcc/skills/notion-apps ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITSet up and scaffold Notion Apps with the Notion Apps SDK and `ntn`; use when starting a Notion App project.
以下 SKILL.md 内容转载自 makenotion/skills(提交 10e976a),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 Notion Labs, Inc. 所有。许可证:LICENSE.md。仅展示说明文件,附带脚本请在原仓库查看。

Notion Apps

Confirm alpha access

Before running commands or inspecting an App project, ask the user to confirm that they are in the Notion Apps alpha. CLI authentication, an enabled CLI experiment, or a locally working SDK does not confirm alpha access. If the user says no or cannot confirm, explain that SDK code may build locally but deployment requires alpha access, and stop the App workflow.

Set up and scaffold

After alpha access is confirmed, check that the Notion CLI is installed with ntn --version. If it is missing, install it using the command for the user's platform:

# macOS and Linux
curl -fsSL https://ntn.dev | bash

# Windows
winget install Notion.ntn

Scaffold a fresh App project with dependencies installed and Git initialized:

ntn apps new --install --git <app-directory>

Always pass an explicit destination. Agents cannot use the CLI's interactive directory prompt. Use . when the current directory is empty and is an appropriate project root; otherwise infer a suitable directory from the user's request or surrounding context. If no safe destination can be inferred, ask where the project should go before scaffolding. If the apps command is unavailable, enable it with ntn experiments enable apps and retry.

Once the project is instantiated, work from its root and read its AGENTS.md completely. That file contains the App design, implementation, capability, and deployment guidance for the generated project. Follow it and the installed SDK's version-specific guidance for the rest of the task.

查看许可证全文(MIT)
MIT License

Copyright (c) 2026 Notion Labs, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.