/forge-connector
Guides building and deploying Atlassian Forge Teamwork Graph connector apps that ingest external data into Atlassian's Teamwork Graph, making it searchable in Rovo Search and surfaced in Rovo Chat. Use when the user wants to build a Forge connector, ingest external data into
$ npx -y skills add atlassian/forge-skills --skill forge-connector --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/forge-connector
Context preview
The summary Claude sees to decide when to auto-load this skill.
Guides building and deploying Atlassian Forge Teamwork Graph connector apps that ingest external data into Atlassian's Teamwork Graph, making it searchable in Rovo Search and surfaced in Rovo Chat. Use when the user wants to build a Forge connector, ingest external data into
SKILL.md
forge-connector.SKILL.mdname: forge-connector
description: >
Guides building and deploying Atlassian Forge Teamwork Graph connector apps that ingest
external data into Atlassian's Teamwork Graph, making it searchable in Rovo Search and
surfaced in Rovo Chat. Use when the user wants to build a Forge connector, ingest external
data into Atlassian, connect a third-party tool (e.g. Google Drive, ServiceNow, Salesforce)
to Atlassian, make external content searchable in Rovo, build a graph:connector module,
use the @forge/teamwork-graph SDK, or implement onConnectionChange / validateConnection
functions.
license: Apache-2.0
labels:
- forge
- rovo
- jira
- atlassian
- teamwork-graph
- connector
maintainer: mbanjan94
namespace: cloud
Forge Connector
Builds a `graph:connector` Forge app that ingests external data into Atlassian's Teamwork Graph so it appears in **Rovo Search** and **Rovo Chat**.
Critical Rules
1. **Must install in Jira** — Apps using Teamwork Graph modules must be installed on a Jira site. Confluence-only installs will not work. 2. **Never ask for credentials in chat** — Direct users to run `forge login` in their own terminal. 3. **Always run the scaffold script yourself** — Do not only give manual instructions; run `scripts/scaffold_connector.py` to generate the boilerplate. 4. **Always ask the user for their Atlassian site URL** when install is needed — never discover or guess it. 5. **Atlassian deletes data on disconnect** — When `action = 'DELETED'`, the app only needs to clean up local state; Atlassian removes the Teamwork Graph data automatically. 6. **Handler arguments are passed directly** — Forge passes the request object as the first argument to handlers, NOT nested under `event.payload`. Config values are at `request.configProperties`, NOT `event.payload.config`. This is the most common source of `TypeError: Cannot destructure property of undefined` errors. 7. **Use `@forge/kvs` for storage** — Import `kvs` from `@forge/kvs`. Do NOT use `@forge/storage` — its `storage` export is `undefined` at runtime in connector functions. 8. **Use `graph` named export from `@forge/teamwork-graph`** — The correct import is `const { graph } = require('@forge/teamwork-graph')`. Call `graph.setObjects({ objects, connectionId })`. Do NOT import `setObjects` as a named export directly. 9. **`validateConnectionHandler` must return `{ success, message }`** — Do NOT throw an Error. Return `{ success: false, message: '...' }` to reject, `{ success: true }` to accept. 10. **`function` declarations belong under `modules`** — In `manifest.yml`, `function:` is a key under `modules:`, not a top-level key. Placing it at the top level causes a lint error. 11. **`formConfiguration` uses `form` array with `type: header`** — Do NOT use `fields:` or `beforeYouBegin:`. The correct format uses `form: [{ key, type: header, title, description, properties: [...] }]`. 12. **Scopes are `read/write/delete:object:jira`** — Use `read:object:jira`, `write:object:jira`, `delete:object:jira`. The scopes `read:graph:teamwork` and `write:graph:teamwork` are invalid and will fail `forge lint`. 13. **Set `ATL_FORGE_ATTRIBUTION_SKILL_NAME=forge-connector` on `forge` commands run for this skill** — prefix `forge` invocations with this env var: ones you run in the shell (e.g. `forge lint`, `forge logs`, `forge deploy`) **and the interactive `forge create` command you hand the user as a fallback**. The bundled scripts set it automatically; other commands shown in this skill omit it for brevity — add it when you run them. The only exclusions are `forge login` and `forge tunnel` (user-run auth / live-dev commands).
MCP Prerequisites
| MCP Server | Purpose | | ------------- | ------------------------------------------------- | | **Forge MCP** | Manifest syntax, module config, deployment guides | | **ADS MCP** | Atlaskit components (only if adding Custom UI) |
---
Agent Workflow — Complete Steps 0–7 in Order
Step 0: Prerequisites
Check Node.js (`node -v`, requires 22+), Forge CLI (`forge --version`), and login (`forge whoami`). Install missing tools:
npm install -g @forge/cli
Tell the user to run `forge login` in their terminal if not authenticated.
Step 1: Discover Developer Spaces
> **Note:** `forge developer-spaces list` does NOT exist in Forge CLI 12.x. You cannot list developer spaces non-interactively.
`forge create` requires an interactive TTY to select a developer space. Ask the user to run it themselves:
Tell the user:
cd <parent-directory>
ATL_FORGE_ATTRIBUTION_SKILL_NAME=forge-connector forge create --template blank <app-name>
When prompted, select a Developer Space and let it complete.
Come back when done.
The `--dev-space-id` flag in the scaffold script is optional and can be omitted — the script has been updated to skip it when not provided.
Step 1.5: Discover Data & Map to Object Types
**Do this before scaffolding.** Ask the user the following questions to determine the correct Teamwork Graph object type(s). Do not assume or default to `atlassian:document`.
Questions to ask the user
1. **What external system or tool are you connecting?** e.g. Google Drive, ServiceNow, Salesforce, GitHub, Confluence, Slack, Figma, Zendesk
2. **What kind of content do you want to make searchable in Rovo?** Prompt with examples to help them identify it:
- Files, pages, wiki articles, reports, PDFs → likely `atlassian:document`
- Tasks, tickets, issues, bugs, stories → likely `atlassian:work-item`
- Chat messages, emails, comments → likely `atlassian:message` or `atlassian:comment`
- Projects, workspaces, boards → likely `atlassian:project`
- Code repositories → likely `atlassian:repository`
- Pull requests / merge requests → likely `atlassian:pull-request`
- Git commits → likely `atlassian:commit`
- Design files (Figma, Sketch) → likely `atlassian:design`
- Vid
Read more
name: forge-connector description: > Guides building and deploying Atlassian Forge Teamwork Graph connector apps that ingest external data into Atlassian's Teamwork Graph, making it searchable in Rovo Search and surfaced in Rovo Chat. Use when the user wants to build a Forge connector, ingest external data into Atlassian, connect a third-party tool (e.g. Google Drive, ServiceNow, Salesforce) to Atlassian, make external content searchable in Rovo, build a graph:connector module, use the @forge/teamwork-graph SDK, or implement onConnectionChange / validateConnection functions. license: Apache-2.0 labels: - forge - rovo - jira - atlassian - teamwork-graph - connector maintainer: mbanjan94 namespace: cloud
Forge Connector
Builds a `graph:connector` Forge app that ingests external data into Atlassian's Teamwork Graph so it appears in **Rovo Search** and **Rovo Chat**.
Critical Rules
1. **Must install in Jira** — Apps using Teamwork Graph modules must be installed on a Jira site. Confluence-only installs will not work. 2. **Never ask for credentials in chat** — Direct users to run `forge login` in their own terminal. 3. **Always run the scaffold script yourself** — Do not only give manual instructions; run `scripts/scaffold_connector.py` to generate the boilerplate. 4. **Always ask the user for their Atlassian site URL** when install is needed — never discover or guess it. 5. **Atlassian deletes data on disconnect** — When `action = 'DELETED'`, the app only needs to clean up local state; Atlassian removes the Teamwork Graph data automatically. 6. **Handler arguments are passed directly** — Forge passes the request object as the first argument to handlers, NOT nested under `event.payload`. Config values are at `request.configProperties`, NOT `event.payload.config`. This is the most common source of `TypeError: Cannot destructure property of undefined` errors. 7. **Use `@forge/kvs` for storage** — Import `kvs` from `@forge/kvs`. Do NOT use `@forge/storage` — its `storage` export is `undefined` at runtime in connector functions. 8. **Use `graph` named export from `@forge/teamwork-graph`** — The correct import is `const { graph } = require('@forge/teamwork-graph')`. Call `graph.setObjects({ objects, connectionId })`. Do NOT import `setObjects` as a named export directly. 9. **`validateConnectionHandler` must return `{ success, message }`** — Do NOT throw an Error. Return `{ success: false, message: '...' }` to reject, `{ success: true }` to accept. 10. **`function` declarations belong under `modules`** — In `manifest.yml`, `function:` is a key under `modules:`, not a top-level key. Placing it at the top level causes a lint error. 11. **`formConfiguration` uses `form` array with `type: header`** — Do NOT use `fields:` or `beforeYouBegin:`. The correct format uses `form: [{ key, type: header, title, description, properties: [...] }]`. 12. **Scopes are `read/write/delete:object:jira`** — Use `read:object:jira`, `write:object:jira`, `delete:object:jira`. The scopes `read:graph:teamwork` and `write:graph:teamwork` are invalid and will fail `forge lint`. 13. **Set `ATL_FORGE_ATTRIBUTION_SKILL_NAME=forge-connector` on `forge` commands run for this skill** — prefix `forge` invocations with this env var: ones you run in the shell (e.g. `forge lint`, `forge logs`, `forge deploy`) **and the interactive `forge create` command you hand the user as a fallback**. The bundled scripts set it automatically; other commands shown in this skill omit it for brevity — add it when you run them. The only exclusions are `forge login` and `forge tunnel` (user-run auth / live-dev commands).
MCP Prerequisites
| MCP Server | Purpose | | ------------- | ------------------------------------------------- | | **Forge MCP** | Manifest syntax, module config, deployment guides | | **ADS MCP** | Atlaskit components (only if adding Custom UI) |
---
Agent Workflow — Complete Steps 0–7 in Order
Step 0: Prerequisites
Check Node.js (`node -v`, requires 22+), Forge CLI (`forge --version`), and login (`forge whoami`). Install missing tools:
npm install -g @forge/cli
Tell the user to run `forge login` in their terminal if not authenticated.
Step 1: Discover Developer Spaces
> **Note:** `forge developer-spaces list` does NOT exist in Forge CLI 12.x. You cannot list developer spaces non-interactively.
`forge create` requires an interactive TTY to select a developer space. Ask the user to run it themselves:
Tell the user: cd <parent-directory> ATL_FORGE_ATTRIBUTION_SKILL_NAME=forge-connector forge create --template blank <app-name> When prompted, select a Developer Space and let it complete. Come back when done.
The `--dev-space-id` flag in the scaffold script is optional and can be omitted — the script has been updated to skip it when not provided.
Step 1.5: Discover Data & Map to Object Types
**Do this before scaffolding.** Ask the user the following questions to determine the correct Teamwork Graph object type(s). Do not assume or default to `atlassian:document`.
Questions to ask the user
1. **What external system or tool are you connecting?** e.g. Google Drive, ServiceNow, Salesforce, GitHub, Confluence, Slack, Figma, Zendesk
2. **What kind of content do you want to make searchable in Rovo?** Prompt with examples to help them identify it:
- Files, pages, wiki articles, reports, PDFs → likely `atlassian:document`
- Tasks, tickets, issues, bugs, stories → likely `atlassian:work-item`
- Chat messages, emails, comments → likely `atlassian:message` or `atlassian:comment`
- Projects, workspaces, boards → likely `atlassian:project`
- Code repositories → likely `atlassian:repository`
- Pull requests / merge requests → likely `atlassian:pull-request`
- Git commits → likely `atlassian:commit`
- Design files (Figma, Sketch) → likely `atlassian:design`
- Vid
Showing the first part of this file.
Atlassian Forge lets you build and deploy apps directly on the Atlassian platform - issue panels, Confluence macros, dashboard gadgets, and more.
Repo: atlassian/forge-skills
Other skills on forge-skills.
- /forge-app-builder
Guides building, deploying, troubleshooting, and installing Atlassian Forge apps — custom extensions built with the Forge CLI (forge create, forge deploy, forge install). Use when the user wants to create a Forge app (issue panels, dashboard gadgets, Confluence macros, global
Open skill - /forge-app-review
Performs a lightweight pre-release readiness review of Atlassian Forge apps across manifest/module wiring, architecture, runtime compatibility, dependency posture, tests, deploy readiness, and obvious security, cost, or reliability smells. Use when the user asks "review my Forge
Open skill - /forge-cost-optimizer
Optimizes Atlassian Forge apps to reduce platform consumption and avoid unnecessary costs using Atlassian's "Optimise Forge platform costs" guidance. Use when the user asks to optimize Forge app costs, reduce Forge invocations, lower GB-seconds, reduce storage or log usage, tune
Open skill - /forge-debugger
Diagnoses and fixes issues in Atlassian Forge apps. Use this skill whenever a Forge app has errors, crashes, shows blank UI, fails to deploy, doesn't appear after installation, has permission issues, or produces unexpected output. Trigger on any mention of forge logs, forge
Open skill - /forge-security-review
Performs a white-box security review of Atlassian Forge apps using structured, Forge-specific security rules and evidence-driven reporting. Use when the user asks for a Forge security review, security audit, vuln assessment, pentest-style code review, authz review, tenant
Open skill

