CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

add-rest-endpoint

Add or wire a REST data-plane endpoint (GET or POST /api/v1/*) in this repo — the curl-able passthrough surface documented in docs/REST_ENDPOINTS.md. Adds the entry to src/restCatalog.ts (the single source of truth), registers the Express handler in src/website/webServer.ts with the right service auth middleware, adds the auth-gate test, and regenerates docs/REST_ENDPOINTS.md + public/openapi.json + docs/MCP_TOOLS.md. Use whenever the user wants to add, wire, expose, or promote a REST endpoint, give an MCP tool a curl/HTTP sibling, flip a `planned` catalog entry to `live`, ship the whole REST surface for a service, or expose a write/mutation tool over HTTP POST. Also invoked automatically by `add-mcp-server` (its step 6e) to wire a newly scaffolded service's endpoints, which ship as their own pull request. Also use when invoked as `/add-rest-endpoint <mcpToolName|service> [service]`.

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Critical

Do not install without reviewing

SKILL.md
Quality
Evals
Security
Critical

E004: Prompt injection detected in skill instructions.

What this means

Detected a prompt injection in the skill instructions. The skill contains hidden or deceptive instructions that fall outside its stated purpose and attempt to override the agent’s safety guidelines or intended behavior.

Why it was flagged

The skill is a legitimate developer procedure for adding REST endpoints, and its one risky step, telling the agent to truncate the local dev file `data/mcp-connections.json` to `[]`, is a careless destructive instruction with no malicious intent.

Report incorrect finding
Repository

boarlabsxyz/awesome-mcp

Path

.claude/skills/add-rest-endpoint/SKILL.md

Audited
Security analysis
Snyk

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.