Skip to content

Contributing to Explorbot

Explorbot is general-purpose. It works with any web application, with no site-specific code. Keep this in mind when you contribute:

  • Solutions must work across different websites.
  • Don’t hardcode locators or site-specific selectors.
  • Prefer universal patterns: ARIA, semantic HTML, common UI conventions.
  • A fix that only helps one site is probably the wrong approach.

Discuss first, code second. Open an issue to propose your idea before you send a PR. This saves wasted effort and aligns on the approach.

If Explorbot struggles on your site, try the built-in extension points first:

  • Knowledge files teach Explorbot about your pages (credentials, wait conditions, hints).
  • Rules add agent-specific guidance for navigation, research, and planning.
  • Hooks run custom logic before and after actions.
  • Configuration adjusts models, timeouts, and browser settings.

See the knowledge, hooks, and configuration docs.

We accept PRs that help a variety of users. Here is what gets merged.

Small, focused changes are reviewed and merged quickly. Examples:

  • Fix a typo in a prompt.
  • Add a missing ARIA selector pattern.
  • Improve an error message.
  • Fix a bug with a clear reproduction.

PRs that change agent logic require manual testing

Section titled “PRs that change agent logic require manual testing”

Changes to agents (tester, navigator, researcher, pilot, and others) affect how Explorbot interacts with every website. These PRs must be:

  • Polished — clean code, no leftover debug artifacts.
  • Tested by a person on real websites.
  • Described clearly: what changed and why.

PRs that change prompts require execution traces

Section titled “PRs that change prompts require execution traces”

If you change internal AI prompts or rules, you must provide a Langfuse execution trace that shows the change improved behavior. “It should work better” is not evidence. Show the before and after.

AI-generated contributions are welcome if they follow the rules above: small, focused, tested, with clear explanations.

  • PRs that reformat code differently. We use Biome for formatting. Run bun run format before submitting.
  • Large refactoring PRs without prior discussion.
  • Site-specific fixes that only help one website.
  • Changes that break existing tests.
Terminal window
bun install
bunx playwright install
  • Biome for formatting and linting. Run bun run format after every change.
  • No comments unless explicitly needed.
  • Early returns instead of nested if/else.
  • KISS/YAGNI — make the smallest change possible.
  • No code duplication. Check if it already exists.
  • Use dedent for formatting prompts.
  • No ternary operators.

See CLAUDE.md for the full guidelines.

Run bun run format, bun run lint, bun run test:unit, and bun run test:node before you submit a PR — all checks must pass. See the testing guide for details, AI integration tests for mocked-LLM agent tests, and regression tests for the real-AI end-to-end harness.

This project includes Claude Code skills to help with development. See the .claude/skills/ directory: changelog, demo-video, explorbot-debug, explorbot-fix-session, image-processing, prompt-audit, xpath-testing.

Open an issue on GitHub for questions or discussion.