Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

forge-app-builderForge 应用程序构建器

Agent Skill

forge-app-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

186

周安装

8

GitHub Stars

3

下载量

65
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:forge-app-builder(Forge 应用程序构建器)
来源仓库:https://github.com/atlassian/forge-skills
仓库路径:skills/forge-app-builder
安装命令:
npx skills add https://github.com/atlassian/forge-skills --skill forge-app-builder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/atlassian/forge-skills --skill forge-app-builder

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索追踪等研究检索场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,注意是否触发联网或文件操作。
  • 建议结合原始 README 和仓库内容进一步验证具体功能和使用方式。

SKILL.md

Forge App Builder

When building a Forge app, the agent MUST complete this workflow in order. Do not skip steps. Do not substitute manual instructions for running the scripts below.

Critical Rules

  1. Always use forge create to scaffold apps — it registers the app and generates a valid app ID
  2. Never manually scaffold — apps without valid app IDs cannot be deployed
  3. If forge create fails, STOP — inform the user and provide the manual command
  4. Never ask for API tokens in chat — direct users to run forge login in their terminal and enter credentials there
  5. Always ask the user to choose when multiple options exist (developer spaces, sites) — never pick on their behalf
  6. Always ask the user for their Atlassian site URL during installation — never try to discover it from other apps, environment variables, or any other source
  7. Always run the deploy script for deploy and install — do not give the user only manual forge deploy / forge install commands as the primary outcome; run scripts.deploy_forge_app.py yourself

MCP Server Prerequisites

This skill works best with the following MCP servers. The scripts and CLI workflow function without them, but the agent will lack access to up-to-date Forge documentation for template selection, module configuration, and code patterns.

MCP ServerRequired?Purpose
Forge MCPStrongly recommendedTemplate lookup, module discovery, manifest syntax, UI Kit/backend guides
ADS MCPOptionalAtlaskit component/token/icon lookup (Custom UI apps only)

If MCP servers are not connected, inform the user that code guidance may be based on the model's training data and could be outdated. Recommend they verify against developer.atlassian.com/platform/forge. |

Agent Workflow

Complete steps 0–5 in order. Run the scripts yourself; do not only instruct the user to run them.

Step 0: Prerequisites (Install Automatically If Missing)

Before any other steps, call the forge-development-guide tool to get the current Node.js version requirement and CLI setup instructions. Then check and install prerequisites:

  1. Node.js — Run node -v. If missing or below the version specified in the development guide:
  • macOS (Homebrew): brew install node
  • nvm: nvm install <version> then nvm use <version>
  • fnm: fnm install <version> then fnm use <version>
  • Other: https://nodejs.org (LTS)
  1. Forge CLI — Run forge --version. If missing:
 npm install -g @forge/cli
  1. Forge login — Run forge whoami. If not logged in:
  • Never ask for or accept API tokens in chat — tokens are sensitive; the user must enter them only in their terminal
  • Direct the user to create an API token: https://id.atlassian.com/manage/api-tokens
  • Tell the user to run forge login in their own terminal (not via the agent). The CLI will prompt for:

- Atlassian email - API token (paste only in the terminal when prompted)

  • Example message: *"You need to log in to Forge. Create an API token at https://id.atlassian.com/manage/api-tokens, then run forge login in your terminal. Enter your email and token when prompted — do not paste them here."*
  • After the user confirms they've logged in, retry the workflow

Install in order: Node.js first (required for npm), then Forge CLI, then login. Retry the workflow after installing.

Step 1: Discover Developer Spaces

forge developer-spaces list --json

Step 2: Ask User to Choose Developer Space

Do not proceed to Step 3 until the user has selected a developer space. Present the list from Step 1 (names and IDs) and ask which space to use. If only one space exists, you may use it and briefly inform the user. Never pick one of multiple spaces on the user's behalf.

Step 3: Create App

All python3 -m scripts.* commands must be run from the skill directory (the directory containing this SKILL.md file). Derive it from the SKILL.md path provided in the system prompt. Use python3 on macOS if python is not available.

Run from the skill directory. The --directory flag sets the parent directory under which the app folder (named after --name) will be created. The script cds into that directory before running forge create, so the app appears as a subdirectory (e.g. <parent-directory>/<app-name>/). If omitted, the app is created under the current directory.

python3 -m scripts.create_forge_app \
  --template <template> \
  --name <app-name> \
  --dev-space-id <selected-id> \
  --directory <parent-directory>

To find the right template for the user's needs:

  • Call list-forge-modules to identify the appropriate module type
  • Call search-forge-docs with a query like "template for " to find the matching template name

Validate a template: python3 -m scripts.list_templates --validate <name> List all templates: python3 -m scripts.list_templates --list

Step 4: Customize Code

After forge create succeeds:

cd <app-name>
npm install

UI Kit vs Custom UI — Choose the Right Tools

Before writing any UI code, determine which approach the app uses. Getting this wrong causes import errors and broken builds.

  • UI Kit (most forge create templates): manifest uses render: native or code imports from @forge/react. Use forge-ui-kit-developer-guide as the ONLY UI reference. Do NOT suggest @atlaskit/* imports — they won't work.
  • Custom UI: manifest has resource pointing to a static/ directory. Use ADS MCP tools (ads_plan, ads_get_components, ads_get_all_icons) for component discovery. Do NOT use forge-ui-kit-developer-guide — it describes a different API.

Knowledge tools for implementation

  • forge-ui-kit-developer-guide — Frontend components (UI Kit only)
  • ads_plan / ads_get_components — Component and token lookup (Custom UI only)
  • forge-backend-developer-guide — Backend resolvers and APIs
  • forge-app-manifest-guide — Manifest configuration
  • search-forge-docs — Search for specific APIs or props

Step 5: Deploy and Install (run the deploy script)

You MUST run the deploy script — do not only paste manual forge deploy / forge install commands for the user to run. Execute the script from the skill directory.

  • If you have the user's Atlassian site URL (e.g. they provided it earlier or in the request), run in one go:
python3 -m scripts.deploy_forge_app \
  --app-dir <app-directory> \
  --site <site-url> \
  --product <jira|confluence>
  • If you do not have the site URL yet: run deploy only, then ask for the site, then run again to install:
# 1) Deploy only
python3 -m scripts.deploy_forge_app \
  --app-dir <app-directory> \
  --product <jira|confluence> \
  --deploy-only

# 2) Ask the user: "What is your Atlassian site URL (e.g. yourcompany.atlassian.net)?"

# 3) After they reply, run again with their site to complete install
python3 -m scripts.deploy_forge_app \
  --app-dir <app-directory> \
  --site <site-url> \
  --product <jira|confluence> \
  --skip-deps

Always ask the user for their site URL when needed for install; never try to discover it. If scopes changed from a previous install, add --upgrade to the install (or run the script again with --site and the script will handle it; for manual upgrade use forge install... --upgrade).

Cross-product installation

When an app uses scopes from multiple products (e.g. a Confluence macro that also reads Jira data), the deploy script automatically detects the required products from the manifest scopes and installs on all of them. The --product flag sets the primary product; the script adds any additional products found in the scopes.

If you need to install manually, run forge install once per product:

forge install --non-interactive --site <site-url> --product confluence -e development
forge install --non-interactive --site <site-url> --product jira -e development

Handling forge create Failures

When forge create fails, never attempt workarounds or manual scaffolding.

ErrorAction
Prerequisites missing (Node.js, Forge CLI)Run Step 0 install commands, then retry
"Prompts can not be meaningfully rendered"Ask user to run forge create in an interactive terminal
"No developer spaces found"Direct user to https://developer.atlassian.com/console/
"directory already exists"A folder named <app-name> already exists inside the parent directory. Choose a different name or remove the existing folder
Network/auth issues, not logged inDirect user to https://id.atlassian.com/manage/api-tokens, then run forge login in their terminal
Any other errorShow error, ask user for guidance

Example response when it fails:

forge create needs an interactive terminal. Please run:

  forge create --template jira-dashboard-gadget my-app-name

Once created, let me know and I'll help customize it.

Module Selection

Call list-forge-modules for a comprehensive, up-to-date list of all available modules organized by product. Then use search-forge-docs with the module name for configuration details and YAML examples.

Scripts

ScriptPurpose
scripts/create_forge_app.pyCreate app with dev space selection and template validation. --directory sets the parent dir (script cd's into it). Run: python3 -m scripts.create_forge_app
scripts/list_templates.pyList/validate all Forge templates from Atlassian registry. Run: python3 -m scripts.list_templates
scripts/deploy_forge_app.pyDeploy and install app (prerequisites check, npm install, lint, deploy, install). Auto-detects cross-product scopes and installs on all required products. Run: python3 -m scripts.deploy_forge_app

Completion checklist

Before considering the workflow done, confirm:

  • User selected developer space when more than one existed (or only one existed)
  • App was created via create_forge_app (or user ran forge create after a failure)
  • Code was customized and npm install run in the app directory
  • Deploy script was executed by the agent (not only manual commands given to the user)
  • If install was needed, user was asked for site URL and the script was run with --site (or user provided site and install completed)
  • If the app uses cross-product scopes (e.g. Confluence app reading Jira data), it was installed on all required products (the deploy script handles this automatically)

Common agent mistakes (avoid these)

  • Picking a developer space when multiple exist — always ask the user to choose.
  • Skipping the deploy script — giving only "run forge deploy and forge install" instructions instead of running deploy_forge_app.py yourself.
  • Not asking for site URL — when install is required, ask the user for their Atlassian site URL; do not guess or skip install.
  • Proceeding to create app before user chooses a developer space — wait for their selection when there are multiple spaces.

Troubleshooting

For CLI commands, debugging techniques, and common error patterns, call forge-development-guide. For quick checks:

  • Not logged in / auth failed: Create API token at id.atlassian.com/manage/api-tokens, then run forge login in your terminal (never paste token in chat)
  • App not appearing after install: Check forge logs -e development --limit 50, verify manifest with forge lint, re-install with --upgrade if scopes changed
  • "forge: command not found": npm install -g @forge/cli

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.81%
按下载量换算25

Claude

27.85%
按下载量换算18

Cursor

19.8%
按下载量换算13

Gemini CLI

8.8%
按下载量换算6

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills