writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
rest-serviceGuides Graphiti FastAPI REST service routes, configuration, deployment, and smoke checks.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill for the Graphiti FastAPI service surface. It covers route behavior, request/response shapes, queue semantics, environment variables, Docker startup, health checks, and live REST smoke testing.
references/rest-api.md for endpoint paths, request models, response shapes,
and queue semantics.references/configuration.md for service settings, backend variables, Docker
and Uvicorn startup patterns, and test commands.references/troubleshooting.md when startup fails, /messages returns before
search is ready, or a backend/credential mismatch blocks the service.scripts/graph_service_smoke.py to exercise /healthcheck, /messages,
/episodes, and /search against a running service.Use this sub-skill when the task mentions:
graph_service.main:app, ZepGraphiti, or the service Settings model/healthcheck, /messages, /entity-node, /search, /entity-edge,
/episodes, /get-memory, /group, or /clearDB_BACKEND, NEO4J_*, or FALKORDB_* variables for the REST APIRoute these elsewhere:
sub-skills/core-sdk/sub-skills/mcp-server/OPENAI_API_KEY and backend-specific variables./healthcheck./episodes/{group_id} before assuming queued ingestion has completed./search or /get-memory./clear only when intentional.POST /messages returns 202 Accepted and queues work. It does not prove the
episode has already been processed.POST /entity-node creates a node directly and returns it.POST /search searches fact edges and returns a facts list.GET /episodes/{group_id} is the most useful polling path after /messages.POST /clear and DELETE /group/{group_id} are destructive.For a running service:
python scripts/graph_service_smoke.py --base-url http://127.0.0.1:8000
Use --health-only when you only need startup validation, and use the full smoke
when you have a live backend plus model credentials.