Skip to content
Development
Skill

/server-api

API contract guardrails for Engram server changes. Trigger: Any route, handler, payload, or status code modification.

From plugin
gentleman-programming-engram
5.9k22 skills1 MCP
Install
$ npx -y skills add Gentleman-Programming/engram --skill server-api --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/server-api

Context preview

The summary Claude sees to decide when to auto-load this skill.

API contract guardrails for Engram server changes. Trigger: Any route, handler, payload, or status code modification.

SKILL.md

server-api.SKILL.md
name: engram-server-api
description: >
  API contract guardrails for Engram server changes.
  Trigger: Any route, handler, payload, or status code modification.
license: Apache-2.0
metadata:
  author: gentleman-programming
  version: "1.0"

When to Use

Use this skill when:

  • Adding or changing HTTP routes
  • Updating handler request/response schemas
  • Modifying status code behavior

---

Contract Rules

1. Every new/changed endpoint must have tests. 2. Cover both success and error paths. 3. Keep scripts and docs aligned with real handlers. 4. Do not reference non-existent endpoints in plugins/hooks.

---

Required Validation

  • Handler-level tests for parsing/validation errors
  • E2E tests for route behavior and response body
  • Regression test for every bugfix related to API contracts

---

Docs Rules

If payload or route changes, update docs in the same PR.

Ships withgentleman-programming-engram

Persistent memory system for AI coding agents. Agent-agnostic Go binary with SQLite + FTS5, MCP server, HTTP API, CLI, and TUI.

Get the whole plugin
Stats
5,941
Stars
629
Forks
Active
Maintenance
Go
Language
MIT
License
10d ago
Last commit
5mo ago
Created

Repo: Gentleman-Programming/engram