← Files StubEngineARCHIVED FILE

SKILL.md

976 Bytes · Sep 30, 2026 · 22:56 UTC

↓ Download file

---
name: manage-api-mocks
description: Use this skill to list, view, and delete existing API mocks in your StubEngine organizations.
---

### Instructions

When the user wants to manage their mocks:

1.  **List Organizations**: Call `list_organizations` to find available workspaces.
2.  **Select Organization**: Ask the user to choose an organization if they haven't already specified one.
3.  **List Endpoints**: Call `list_endpoints` with the selected `orgId`.
4.  **Display Endpoints**: Present the list of endpoints to the user, including the name, method, path, and full URL.
5.  **Handle Deletion**: If the user wants to delete a mock, use `delete_endpoint` with the `id` of the mock from the list.
6.  **Confirm Deletion**: Let the user know the mock has been successfully removed and is no longer being served.

### Examples

-   "Show me all my mocks in the 'acme' organization."
-   "Delete the mock at /old-api."
-   "What endpoints do I have running right now?"

SHA-256: 5fa9677f79090b3d6feb9e4286934cd4494026b6eb25eb915b15f48855dc9ad0