1---2name: not-elm-desktop-homunculus-desktop-homunculus3description: Sync API Documentation4---56# Sync API Documentation78Synchronize API documentation with the actual HTTP server and SDK implementation.910## Phase 1: Analysis1112Gather information and present findings before making changes.1314### Steps15161. **Read HTTP endpoints:** Scan `crates/homunculus_http_server/src/**` to extract all endpoint definitions (routes, methods, request/response types)17182. **Read SDK interfaces:** Scan `sdk/typescript/src/**` to extract client interfaces and type definitions19203. **Read current documentation:**21 - `docs/api/open-api.yml` for OpenAPI spec22 - `docs/mod-manual/src/sdk/**` for SDK manual23244. **Compare and classify:** For each endpoint and SDK interface, determine status:25 - `new` — exists in code but not in docs26 - `changed` — exists in both but differs27 - `unchanged` — matches between code and docs28 - `removed` — exists in docs but not in code29305. **Present summary table:**3132```33| Type | Name | Status | Notes |34|----------|----------------|-----------|-------------------------|35| Endpoint | POST /api/xxx | new | Not in OpenAPI spec |36| Endpoint | GET /api/yyy | changed | Response schema differs |37| SDK | SomeClient | unchanged | |38```39406. **Ask for confirmation:** "Proceed with documentation updates?"4142Do NOT proceed to Phase 2 without explicit user confirmation.4344## Phase 2: Update4546After user confirms, update the documentation.4748### Steps49501. **Update OpenAPI spec:** Modify `docs/api/open-api.yml` to reflect current endpoints51 - Add new endpoints with appropriate tags52 - Update changed endpoint schemas53 - For `removed` items: confirm with user before deleting54552. **Update SDK manual:** Modify `docs/mod-manual/src/sdk/**` to match SDK interfaces56573. **Regenerate:** Run `make build-openapi`58594. **Report:** Summarize what was updated6061## Constraints6263- Documentation must be in English64- Documentation must match the actual implementation (not aspirational)65- Documentation must be clear and concise66- Tag APIs appropriately by category (e.g., `vrm`, `webview`, `chat`, `system`)67- Never remove documentation for "removed" endpoints without explicit confirmation6869---70> Source: [not-elm/desktop-homunculus](https://github.com/not-elm/desktop-homunculus) — distributed by [TomeVault](https://tomevault.io).71<!-- tomevault:4.0:skill_md:2026-06-21 -->
Run npx skillmds@latest add tomevault-io/not-elm-desktop-homunculus-desktop-homunculus in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Sync API Documentation It is listed under Docs & Writing on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.