**Setup:** Install the necessary npm dependencies for the html-to-pdf skill.
**Input:** Receive HTML content either from a local file, URL, or piped input.
**Configuration:** Parse command-line options to configure the PDF generation (e.g., format, margins, RTL).
**Conversion:** Use Puppeteer (headless Chrome) to render the HTML content.
**Rendering:** Apply CSS styles and execute JavaScript to ensure accurate rendering.
**Output:** Generate a PDF file based on the rendered HTML.
**Save:** Save the generated PDF to the specified output file path.