{
"file_path": "/tmp/style_guide_example.py",
"old_string": "",
"new_string": "#!/usr/bin/env python3\n\"\"\"\nStyle Guide Example File\n\nThis file demonstrates how tool usage appears in transcripts.\n\"\"\"\n\nimport os\nimport sys\nfrom typing import List, Dict, Any\n\n\nclass StyleGuideExample:\n \"\"\"Example class for the style guide.\"\"\"\n \n def __init__(self, name: str):\n self.name = name\n self.items: List[Dict[str, Any]] = []\n \n def add_item(self, item: Dict[str, Any]) -> None:\n \"\"\"Add an item to the collection.\"\"\"\n self.items.append(item)\n print(f\"Added item: {item.get('name', 'Unknown')}\")\n \n def process_all(self) -> None:\n \"\"\"Process all items in the collection.\"\"\"\n for i, item in enumerate(self.items):\n print(f\"Processing item {i+1}: {item}\")\n\n\nif __name__ == \"__main__\":\n example = StyleGuideExample(\"Demo\")\n example.add_item({\"name\": \"Sample\", \"value\": 42})\n example.add_item({\"name\": \"Test\", \"value\": 100})\n example.process_all()\n print(\"Style guide example completed!\")"
}