engram-server-api
Gentleman-Programming/engram/skills/server-api/SKILL.md
API contract guardrails for Engram server changes. Trigger: Any route, handler, payload, or status code modification.
Skill7.1k starsChanged 4 months ago
What's in it
- When to Use
- Contract Rules
- Required Validation
- Docs Rules
--- 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.
More agent context in Gentleman-Programming/engram
19 other files this repository gives its agents.
AGENTS.md
Skill
- engram-architecture-guardrailsskills/architecture-guardrails/SKILL.md
- engram-backlog-triageskills/backlog-triage/SKILL.md
- engram-branch-prskills/branch-pr/SKILL.md
- engram-business-rulesskills/business-rules/SKILL.md
- engram-commit-hygieneskills/commit-hygiene/SKILL.md
- engram-cultural-normsskills/cultural-norms/SKILL.md
- engram-dashboard-htmxskills/dashboard-htmx/SKILL.md
- engram-docs-alignmentskills/docs-alignment/SKILL.md
- gentleman-bubbleteaskills/gentleman-bubbletea/SKILL.md
- engram-issue-creationskills/issue-creation/SKILL.md
- engram-memory-protocolskills/memory-protocol/SKILL.md
- engram-plugin-thinskills/plugin-thin/SKILL.md
- engram-project-structureskills/project-structure/SKILL.md
- engram-pr-review-deepskills/pr-review-deep/SKILL.md
- engram-testing-coverageskills/testing-coverage/SKILL.md
- engram-tui-qualityskills/tui-quality/SKILL.md
- engram-ui-elementsskills/ui-elements/SKILL.md
- engram-visual-languageskills/visual-language/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

