Setup explorbot for API testing#119
Open
DavertMik wants to merge 4 commits into
Open
Conversation
olexandr13
reviewed
Jun 1, 2026
| @@ -0,0 +1,288 @@ | |||
| --- | |||
| name: explorbot-api-setup | |||
| description: Use to set up AI-powered API testing with Explorbot (the `api` subcommand). The skill ends when `explorbot api plan <endpoint>` produces a non-empty plan file AND `explorbot api test <plan> 1` exits `0`. Performs the work itself — edits the config, writes baseline knowledge, runs the curl ladder, runs the plan and a single test — only stopping to ask the user for the things only they know (base endpoint, auth headers / token, OpenAPI spec location, the endpoint to verify against). | |||
Contributor
There was a problem hiding this comment.
AND
explorbot api test <plan> 1exits0
what does 1 mean?
|
|
||
| **Scope ends at one successful `explorbot api test <plan> 1`.** Running full `explore`, multi-style planning, or writing extra knowledge files is not part of setup — once one test passes, hand off to [[explorbot-fundamentals]] (`docs/api-testing.md` topic). | ||
|
|
||
| **Do the work — don't narrate it.** Edit the config, write knowledge via `npx explorbot api know`, run `curl`, run `npx explorbot api plan`, run `npx explorbot api test`. The user is only asked for the things only they know: |
Contributor
There was a problem hiding this comment.
Do the work — don't narrate it.
nice))
|
|
||
| ```bash | ||
| set -a && source .env && set +a | ||
| curl -sS -H "Authorization: Bearer $<KEY_NAME>" -w "\nHTTP %{http_code}\n" <baseEndpoint>/<one-endpoint-from-§2D> |
|
|
||
| - [[explorbot-setup]] — install Explorbot from scratch and verify it can reach the user's web app. Use this first when `node_modules/explorbot/` is missing. | ||
| - [[explorbot-fundamentals]] — everything beyond setup (running, configuring, troubleshooting); see `node_modules/explorbot/docs/api-testing.md` for the API-mode reference. | ||
| - [[explorbot-debug]] — diagnose a failed API session from `output/explorbot.log` + recorded requests. |
Contributor
There was a problem hiding this comment.
not such skill
is it planned?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.