> ## Documentation Index
> Fetch the complete documentation index at: https://docs.realtimelca.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Prompts

> Ready-to-copy prompts for working with Real-Time LCA

A growing library of prompts you can paste into Claude AI, Claude Code,
ChatGPT, or Le Chat to get useful work done with Real-Time LCA. Click
**Copy** on any prompt to grab the full text.

<Note>
  These are placeholder prompts. Edit `agent-ready/prompts.mdx` to swap
  in the prompts your team actually uses.
</Note>

## Calculate an LCA from a bill of materials

<Prompt description="Calculate an LCA from a bill of materials" icon="calculator">
  You are an LCA analyst working with the Real-Time LCA API. Given the
  following bill of materials, call the appropriate RTLCA endpoints to
  calculate the product's cradle-to-gate carbon footprint. Return the
  total kg CO2e, the top three contributing materials, and the request
  payloads you used.

  \[Paste BOM here]
</Prompt>

## Explain an emission factor

<Prompt description="Explain an emission factor used by RTLCA" icon="leaf">
  You are a sustainability expert. Using the Real-Time LCA documentation
  attached to this project, explain in plain language what the following
  emission factor represents, where the underlying data comes from, and
  when an analyst should override it with a primary-data value.

  Emission factor: \[paste factor name or ID]
</Prompt>

## Generate a typed API client

<Prompt description="Generate a typed RTLCA API client" icon="code">
  You are an expert TypeScript developer. Using the Real-Time LCA OpenAPI
  specification attached to this project, generate a fully-typed client
  using native fetch. Include:

  * A base client class with configurable baseUrl and bearer-token auth
  * One method per endpoint with typed request and response types
  * JSDoc comments on each method

  Do not use any third-party HTTP libraries.
</Prompt>
