Skip to content
Agentmart
Submit a tool

test:api

Run local backend API validation scripts

Skill by sapientcoffee

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sapientcoffee-test-api

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Run local backend API validation scripts

Use cases: backend, testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/test-api

What's inside

Skill name
test:api
Description
Run local backend API validation scripts
License
Apache-2.0
Instructions
52 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "test:api" does not match folder "test-api"

Files (1)

  • SKILL.md

SKILL.md (first lines)

<!--
Copyright 2026 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

# API Validation Test Skill

This skill executes local backend API validation test scripts sequentially to verify correct server routing, authentication, WebSocket handshakes, and wildcard path resolution.

## 1. Objective
To automate integration and regression testing for the backend API, confirming that all endpoints respond according to specification and that communication channels function reliably.

## 2. Prerequisites
- **Application Default Credentials (ADC)**: Ensure that Google Application Default Credentials are configured correctly on your workstation so that test scripts needing GCP services/APIs have permission.
- Ensure the local backend server is running (typically on port `3001`).

## 3. Workflow Steps

Run the following test scripts sequentially:

1. **API Routing and Endpoints (`test_api.mjs`)**:
   - Run `node test_api.mjs` to validate REST endpoints, payload parsing, and standard HTTP response status codes.

2. **Expanded Endpoint Coverage (`test_api2.mjs`)**:
   - Run `node test_api2.mjs` to execute secondary integration tests, edge cases, error handlers, and authenticated routes.

3. **WebSocket Connections (`test_ws.mjs`)**:
   - Run `node test_ws.mjs` to establish WebSocket connections and verify real-time events, subscription handshakes, and duplex message flow.

4. **Wildcard & Catch-all Paths (`test_wildcard.mjs`)**:
   - Run `node test_wildcard.mjs` to assert that wildcard routes and catch-all path fallback logic are handled correctly by the server.

Ensure all scripts execute successfully with a zero exit code.

## 4. Execution Example
Run the complete integration suite:
```bash
agy test:api
```

From sapientcoffee/bean-brewer, Apache-2.0.

More from sapientcoffee/bean-brewer

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 8, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from sapientcoffee

Cite this page

test:api skill. Agent Mart. https://agentmart.dev/skills/sapientcoffee-test-api (last updated 2026-10-24)