-
Notifications
You must be signed in to change notification settings - Fork 11
chore:updated onboarding skill #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -127,15 +127,19 @@ Ask the user: | |||||||||||||||||||||||||||||||
| **After getting the provider name, ALWAYS attempt to pull the existing connector from StackOne:** | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||
| stackone pull <provider> | ||||||||||||||||||||||||||||||||
| stackone pull -c <provider> | ||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| This will: | ||||||||||||||||||||||||||||||||
| - Download the existing connector if it exists in StackOne's registry | ||||||||||||||||||||||||||||||||
| - Place files in `connectors/<provider>/` | ||||||||||||||||||||||||||||||||
| - Provide a foundation to build upon | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| **If pull succeeds**: Fork and modify the existing connector | ||||||||||||||||||||||||||||||||
| **If pull succeeds**: | ||||||||||||||||||||||||||||||||
| - Create a NEW partial file for your new actions | ||||||||||||||||||||||||||||||||
| - Add a `$ref` to the existing connector to include your partial | ||||||||||||||||||||||||||||||||
| - **DO NOT** create a separate connector or duplicate auth config | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| **If pull fails** (connector doesn't exist): Check local configs and create new if needed: | ||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||
| ls connectors/ | grep -i <provider> | ||||||||||||||||||||||||||||||||
|
|
@@ -223,12 +227,26 @@ If user selects **Extend Existing Connector**, follow the StackOne Agent workflo | |||||||||||||||||||||||||||||||
| 1. **Fork Existing Connector** | ||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||
| # Pull the existing connector from StackOne | ||||||||||||||||||||||||||||||||
| stackone pull <provider> | ||||||||||||||||||||||||||||||||
| stackone pull -c <provider> | ||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
| - This downloads the existing connector configuration | ||||||||||||||||||||||||||||||||
| - Places files in `connectors/<provider>/` | ||||||||||||||||||||||||||||||||
| - **If pull fails**: The connector doesn't exist - redirect to Path A1 (Create New Connector) | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| **⚠️ CRITICAL: When extending a forked connector:** | ||||||||||||||||||||||||||||||||
| - **DO NOT** create a new connector file with a different key | ||||||||||||||||||||||||||||||||
| - **DO NOT** duplicate the authentication config | ||||||||||||||||||||||||||||||||
| - **DO** create a new partial file for your new actions (e.g., `<provider>.<resource>.s1.partial.yaml`) | ||||||||||||||||||||||||||||||||
| - **DO** add a `$ref` to the existing connector file to include your new partial | ||||||||||||||||||||||||||||||||
| - **DO** leverage the existing auth config as-is | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| Example structure after extending: | ||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
| connectors/bamboohr/ | ||||||||||||||||||||||||||||||||
| bamboohr_v1-0-0.s1.yaml # Existing pulled connector (may need $ref added) | ||||||||||||||||||||||||||||||||
| bamboohr.new-actions.s1.partial.yaml # Your NEW partial with new actions | ||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
|
Comment on lines
+239
to
+249
|
||||||||||||||||||||||||||||||||
| - **DO** create a new partial file for your new actions (e.g., `<provider>.<resource>.s1.partial.yaml`) | |
| - **DO** add a `$ref` to the existing connector file to include your new partial | |
| - **DO** leverage the existing auth config as-is | |
| Example structure after extending: | |
| ``` | |
| connectors/bamboohr/ | |
| bamboohr_v1-0-0.s1.yaml # Existing pulled connector (may need $ref added) | |
| bamboohr.new-actions.s1.partial.yaml # Your NEW partial with new actions | |
| ``` | |
| - **DO** create a new partial file for your new actions (e.g., `<provider>.unified-<resource>.s1.partial.yaml`) | |
| - **DO** add a `$ref` to the existing connector file to include your new partial (see example below) | |
| - **DO** leverage the existing auth config as-is | |
| Example structure after extending: |
connectors/bamboohr/
bamboohr.unified-hris.s1.yaml # Existing pulled connector (add $ref to partial)
bamboohr.unified-hris.s1.partial.yaml # Your NEW partial with additional actions
Example `$ref` inside `bamboohr.unified-hris.s1.yaml`:
```yaml
actions:
$ref:
- ./bamboohr.unified-hris.s1.partial.yaml
Copilot
AI
Mar 27, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section uses the <provider>.unified-<resource>.s1.partial.yaml naming, but earlier sections/examples use <provider>.<resource>.s1.partial.yaml. Please make this consistent across the onboarding skill (and ideally match the repo’s existing connector partial naming) to reduce confusion.
| - **DO** create a new partial file for your unified actions (e.g., `<provider>.unified-<resource>.s1.partial.yaml`) | |
| - **DO** create a new partial file for your unified actions (e.g., `<provider>.<resource>.s1.partial.yaml`) |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -57,8 +57,9 @@ When building Schema-Based connectors, follow this workflow: | |||||
| ``` | ||||||
| ┌─────────────────────────────────────────────────────────────┐ | ||||||
| │ 1. FORK CONNECTOR │ | ||||||
| │ └─ Run `npx @stackone/cli pull <provider>` to get existing │ | ||||||
| │ └─ Fork existing or create new from template │ | ||||||
| │ └─ Run `npx @stackone/cli pull -c <provider>` to get existing │ | ||||||
|
||||||
| │ └─ Run `npx @stackone/cli pull -c <provider>` to get existing │ | |
| │ └─ Run `npx @stackone/cli pull --connector <provider>` to get existing │ |
Copilot
AI
Mar 27, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pull -c <provider> is introduced here, but the repo’s existing CLI reference docs still show npx @stackone/cli pull <provider-name> (no -c), and the official CLI reference documents pull --connector <provider> instead. Please align on the correct syntax/flag and update this command (and any other references) to avoid broken onboarding instructions.
| npx @stackone/cli pull -c <provider> | |
| npx @stackone/cli pull --connector <provider> |
Copilot
AI
Mar 27, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example partial filename pattern here (<provider>.unified-<resource>.s1.partial.yaml) is inconsistent with other guidance in this repo (e.g., connectors/ashby/ashby.candidates.s1.partial.yaml and other sections that use <provider>.<resource>.s1.partial.yaml). Please pick one convention and use it consistently to avoid confusing contributors.
| - **DO** create a new partial file for your unified actions (e.g., `<provider>.unified-<resource>.s1.partial.yaml`) | |
| - **DO** create a new partial file for your unified actions (e.g., `<provider>.<resource>.s1.partial.yaml`) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stackone pull -c <provider>is introduced here, but other repo docs/reference materials still showstackone pull <provider>/npx @stackone/cli pull <provider>without-c, and the official CLI reference documentspull --connector <provider>. Please confirm the correct CLI syntax and keep onboarding docs consistent so new users don’t hit a command error.