1. Define the data models (e.g., Item, CreateItemRequest, UpdateItemRequest) using TypeSpec.
2. Use the `@route` decorator to specify the API endpoint for each operation.
3. Use the `@get`, `@post`, `@patch`, and `@delete` decorators to define the HTTP method for each operation.
4. Use `@path`, `@query`, and `@body` decorators to define parameters for each operation.
5. Optionally, use the `@card` decorator to associate an adaptive card with a GET operation.
6. Optionally, use the `@capabilities` decorator to add confirmation prompts to POST, PATCH, and DELETE operations.
7. Compile the TypeSpec code to generate the API definition.