ppt-typespec
Installation
SKILL.md
PPT TypeSpec
docs/api/typespec/ is the contract source-of-truth.
Pipeline (two steps):
cd docs/api/typespec && npx tsp compile .— compiles the TypeSpec into the OpenAPI spec atdocs/api/generated/openapi.yaml(pertspconfig.yaml'semitter-output-dir: {project-root}/../generated). This step is what regenerates the spec; the justfile recipe doesn't run it.just generate-api— wrapspnpm generate-api+pnpm generate-reality-apiinsidefrontend/, which consumesdocs/api/generated/openapi.yamlto regenerate the two TS API clients (@ppt/api-client,@ppt/reality-api-client).
Run both. Step 1 alone leaves the TS clients stale; step 2 alone leaves the OpenAPI YAML stale. Backend handlers consume the spec via utoipa annotations.