{
  "prompt_metadata": {
    "prompt_id": "Comparative_Company_Analysis_v1",
    "prompt_version": "1.0",
    "creation_date": "YYYY-MM-DD",
    "description": "A prompt to generate a detailed comparative analysis of two companies in the same sector.",
    "author": "Jules - AI Software Engineer"
  },
  "report_specifications": {
    "report_title": "Comparative Analysis: [Company 1 Name] ([Ticker 1]) vs. [Company 2 Name] ([Ticker 2])",
    "company_1_name": "[Specify Company 1 Name]",
    "company_1_ticker": "[Specify Company 1 Ticker]",
    "company_2_name": "[Specify Company 2 Name]",
    "company_2_ticker": "[Specify Company 2 Ticker]",
    "sector": "[Specify Sector of both companies]",
    "time_horizon_financials": "Last 3-5 fiscal years and latest available quarter (TTM).",
    "target_audience": "Equity Analysts, Investors, Competitor Intelligence Teams",
    "output_format": "Markdown with structured sections, using tables for direct comparisons.",
    "tone_and_style": "Objective, analytical, data-driven, highlighting relative strengths and weaknesses."
  },
  "core_analysis_areas": [
    {
      "section_id": "executive_summary",
      "section_title": "Executive Summary",
      "instructions": "Provide a concise overview of the comparison, highlighting key differentiators, relative financial performance, and overall investment appeal (if applicable).",
      "key_considerations": [
        "Brief introduction to both companies and their sector.",
        "Key areas where one company outperforms the other (and vice-versa).",
        "Summary of relative valuation.",
        "Concluding thought on which company may be better positioned, and why."
      ]
    },
    {
      "section_id": "company_overviews",
      "section_title": "Company Overviews",
      "instructions": "Provide a brief overview of each company.",
      "sub_sections": [
        {
          "sub_section_id": "company_1_overview",
          "title": "Overview: [Company 1 Name]",
          "key_considerations": [
            "Business model, core products/services.",
            "Market position and scale.",
            "Geographic footprint.",
            "Recent strategic initiatives."
          ]
        },
        {
          "sub_section_id": "company_2_overview",
          "title": "Overview: [Company 2 Name]",
          "key_considerations": [
            "Business model, core products/services.",
            "Market position and scale.",
            "Geographic footprint.",
            "Recent strategic initiatives."
          ]
        }
      ]
    },
    {
      "section_id": "financial_performance_comparison",
      "section_title": "Financial Performance Comparison",
      "instructions": "Conduct a side-by-side comparison of key financial metrics and ratios. Use tables for clarity.",
      "sub_sections": [
        {
          "sub_section_id": "profitability_comparison",
          "title": "Profitability",
          "key_considerations": [
            "Revenue growth (YoY, CAGR).",
            "Gross Profit Margin.",
            "Operating Profit Margin.",
            "Net Profit Margin.",
            "Return on Equity (ROE).",
            "Return on Assets (ROA)."
          ]
        },
        {
          "sub_section_id": "liquidity_solvency_comparison",
          "title": "Liquidity and Solvency",
          "key_considerations": [
            "Current Ratio.",
            "Quick Ratio.",
            "Debt-to-Equity Ratio.",
            "Interest Coverage Ratio."
          ]
        },
        {
          "sub_section_id": "efficiency_comparison",
          "title": "Efficiency",
          "key_considerations": [
            "Asset Turnover.",
            "Inventory Turnover (if applicable).",
            "Days Sales Outstanding (DSO)."
          ]
        },
        {
          "sub_section_id": "cash_flow_comparison",
          "title": "Cash Flow",
          "key_considerations": [
            "Cash Flow from Operations (CFO).",
            "Free Cash Flow (FCF) margin.",
            "Capital Expenditures (CapEx) as % of revenue."
          ]
        }
      ]
    },
    {
      "section_id": "market_position_competitive_advantages",
      "section_title": "Market Position and Competitive Advantages",
      "instructions": "Compare the companies' market positioning and sources of competitive advantage.",
      "key_considerations": [
        "Market share comparison (if data available).",
        "Brand strength and reputation.",
        "Product/service differentiation.",
        "Technological leadership or innovation capabilities.",
        "Distribution networks and customer relationships.",
        "Cost structure advantages (if any)."
      ]
    },
    {
      "section_id": "growth_strategies_outlook",
      "section_title": "Growth Strategies and Future Outlook",
      "instructions": "Compare the stated growth strategies and future prospects of each company.",
      "key_considerations": [
        "Key strategic priorities outlined by management.",
        "Expansion plans (new markets, new products).",
        "R&D investments and innovation pipelines.",
        "M&A strategies.",
        "Analyst expectations for future growth (earnings, revenue)."
      ]
    },
    {
      "section_id": "valuation_comparison",
      "section_title": "Valuation Comparison",
      "instructions": "Compare the current market valuation of the two companies using relevant multiples.",
      "key_considerations": [
        "Price-to-Earnings (P/E) Ratio (TTM and Forward).",
        "Price-to-Sales (P/S) Ratio.",
        "Enterprise Value to EBITDA (EV/EBITDA).",
        "Price-to-Book (P/B) Ratio.",
        "Dividend Yield (if applicable).",
        "Comparison to industry average multiples."
      ]
    },
    {
      "section_id": "risk_factors_comparison",
      "section_title": "Risk Factors Comparison",
      "instructions": "Identify and compare key risks specific to each company and common industry risks.",
      "key_considerations": [
        "Company-specific operational risks.",
        "Financial risks (e.g., leverage, refinancing needs).",
        "Market and competitive risks.",
        "Regulatory risks.",
        "Dependence on key customers, suppliers, or personnel."
      ]
    },
    {
      "section_id": "conclusion_relative_assessment",
      "section_title": "Conclusion: Relative Assessment",
      "instructions": "Summarize the key findings of the comparison and provide a relative assessment.",
      "key_considerations": [
        "Reiterate the main strengths and weaknesses of each company relative to the other.",
        "Which company appears stronger on key financial metrics?",
        "Which company has a more compelling growth strategy or competitive position?",
        "Which company appears more attractively valued at current market prices?",
        "Overall, which company presents a more favorable profile based on the analysis (clearly state criteria for this judgment)."
      ]
    }
  ],
  "data_requirements": [
    "Historical financial statements for both companies.",
    "Company investor presentations, annual reports, and earnings call transcripts.",
    "Stock price data and market capitalization.",
    "Industry reports and competitor analysis.",
    "Analyst reports covering the companies or sector (if available)."
  ],
  "expert_guidance_notes": [
    "Ensure a balanced comparison, giving fair treatment to both companies.",
    "Use tables extensively for side-by-side numerical comparisons.",
    "Clearly define all financial ratios used.",
    "When making qualitative comparisons (e.g., brand strength), provide supporting evidence or reasoning.",
    "The conclusion should directly address the 'vs.' aspect of the report title."
  ]
}
