/agentex:db-integrationfrom AgenTeX
Executes pre-defined SQL Server queries from a project catalog during test runs. Verifies rows, checks column values, and seeds test data on 'db:' spec steps.
Ships in AgenTeX. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You execute the database query a test step asks for, strictly from the project's
integration/*_db.json catalog. You never compose your own SQL or run a query outside the
catalog.
Lets test scenarios query the database by name, from definitions the user wrote. Execution is done by the bundled runner script (deterministic, enforces the safety rules in code):
node ${CLAUDE_PLUGIN_ROOT}/skills/db-integration/scripts/run_db.js \
--entry <file-name>.<query-name> --param key=value [--param ...] \
[--env <environment-name>] [--expect-rows N] [--expect-min-rows N] \
--log <SESSION_DIR>/logs/<scenario>-<entry>.log
It loads the catalog, validates & escapes params, refuses DDL, resolves the connection (active
environment's db block, else legacy catalog env vars), runs sqlcmd, writes the evidence log, checks expectations, and prints one JSON line:
{"result":"PASS|FAIL|BLOCKED", ...} (exit 0/1/2). Read
${CLAUDE_PLUGIN_ROOT}/skills/db-integration/references/sqlcmd.md for the catalog format,
connection env vars, sqlcmd install/preflight, and the manual fallback.
Definitions live in the consumer project at ./integration/ (<database>_db.json).
${CLAUDE_PLUGIN_ROOT}/skills/db-integration/templates/sample_db.json (never overwrite),
then ask the user to define their entries.db: <file-name>.<query-name>(param=value, ...) → <expectation>
Example: db: sample-db.todo-by-title(title=qa-test-item) → expect 1 row
environments/<env>.json db block of the active environment (pass the
orchestrator's environment name via --env; omitted = the project's
defaultEnvironment): { "server", "port", "name", "user", "password": { "envSecret": "SQLCMDPASSWORD" } }.connection block naming .env vars
(serverEnv …) exactly as before. Old projects keep working untouched.The password is never in a JSON file: db.password is a { "envSecret": "NAME" }
reference resolved from .env and handed to sqlcmd only through its environment.
DROP / TRUNCATE / ALTER are refused even if
cataloged (runner rejects them; report as a catalog error).SQLCMDPASSWORD env var — never on a command line, never printed.;, --, comment markers, newlines) are rejected by the
runner — surface the value to the user instead of executing.Runner writes the result set to the --log path (under the session's logs/). Expectation
mismatch = FAIL defect with that log as evidence, reported in the standard defect format.
Requires sqlcmd — preflight and install per the reference (offer before installing in
sequential mode).
What SKILL.md sets; muted values are Claude Code's defaults
agentex@elgazzar-plugins is listed by mhmdelgazzar/elgazzar-plugins — review the source before installing
npx claudepluginhub mhmdelgazzar/elgazzar-plugins --plugin agentex17 skills in this plugin
/api-integrationExecute user-defined API calls during test runs, from the project's integration/ catalog. Use whenever a test step needs an HTTP call: verify via API that a UI action persisted, check an endpoint's response, or seed test data through a service. Triggers on spec steps starting with "api:", or requests like "verify via API", "call the endpoint", "check the response". The agent executes ONLY requests the user has defined in a *_api.json catalog (searched recursively under integration/) — it never composes its own HTTP requests.
/ask-kbAsk a project's knowledge base a natural-language question during a test run, via the KB Ask API, and read the answer as advisory context. Triggers on spec steps starting with "kb:", or requests like "ask the KB", "what does the knowledge base say", "how does <flow> work". Explicit only — the agent never calls the KB on its own initiative. Answers inform testing/navigation but are NEVER used as PASS/FAIL evidence.
/azure-integrationInteract with Azure resources from a QA/test run via the Azure CLI (`az`) — login/auth, discovery, and reading App Service, Storage, Key Vault, and AKS resources. Use whenever a task needs to reach Azure (verify a deployment, tail app logs, read a blob/secret, get AKS credentials) or when `az` is not installed. Read the reference before the first `az` command./browser-driverThe browser driver for test-execution runs. It drives a real browser through playwright-cli for unprefixed (prose) spec steps and covers isolated sessions, screenshot and console evidence, login modes, and the failure signatures that decide retry versus defect. Use when a test-execution run's drivers include browser, before the first browser action; the test-execution orchestrator and qa-executor read it. Not a standalone entry point./bug-report-azureAfter a completed test/regression run where one or more defects were found, file them as tracker Bugs on the configured tracker — Azure DevOps or Jira Cloud ("file these as Jira bugs" works the same) — following a configurable bug template, through bundled Node scripts that talk to the tracker REST API directly (no Azure CLI, no acli needed). Product/team-agnostic: org/site, project, area path, template, assignees, and test plan resolve from config, never hardcoded. ONE gate per filing: all reads and validation run first with zero board writes, then a single consolidated screen (validated fields + the exact write plan) and one approval before anything is written. Severity/priority recommended from the run's findings, screenshots validated in two passes, writes fail closed with an exact per-write ledger — the board never silently differs from what the user confirmed./define-flowDefine a test flow by doing it: an agent-led session that builds a spec step by step in a live browser — the agent proposes each step, executes it immediately, and the user asserts the real outcome before the next step is defined. Use when a user wants to create a spec for a long or complex flow without writing it blind, or wants to walk through an existing spec live to clarify ambiguous steps. Produces a normal natural-language spec file that runs unmodified via /execute-test.
Other plugins' skills for the same job