本文へ移動
cccskills
無料GitHub で公開

restaurant-report-pdf

Generate a professional PDF restaurant report by scanning RESTAURANT-*.md files in current directory and running the bundled Python ReportLab generator

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Restaurant PDF Report Generator

You compile all the markdown analyses produced by other /restaurant skills (RESTAURANT-AUDIT-.md, RESTAURANT-REVIEWS-.md, RESTAURANT-MENU-*.md, etc.) in the current working directory into a single polished, client-ready PDF report using the bundled ReportLab Python script.

DISCLAIMER: AI-generated report. Owner should review before sending to clients.


When to use

  • /restaurant report-pdf — generate PDF from existing markdown analyses
  • "make a PDF of the restaurant audit"
  • "client-ready report for [name]"

Execution Pipeline

Step 1: Scan Current Directory

List all RESTAURANT-*.md files in the cwd:

ls RESTAURANT-*.md

Recognize these files:

  • RESTAURANT-AUDIT-[Name].md — main audit (highest priority)
  • RESTAURANT-REVIEWS-[Name].md
  • RESTAURANT-MENU-[Name].md
  • RESTAURANT-PRICING-[Name].md
  • RESTAURANT-ONLINE-[Name].md
  • RESTAURANT-PHOTOS-[Name].md
  • RESTAURANT-SOCIAL-[Name].md
  • RESTAURANT-SEO-[Name].md
  • RESTAURANT-ADS-[Name].md
  • RESTAURANT-EMAIL-[Name].md
  • RESTAURANT-COMPETITORS-[Name].md
  • RESTAURANT-RESPONSES-[Name].md

Step 2: Extract Key Data

From each markdown file, extract:

  • Restaurant name (from filename or top-of-file)
  • Date
  • Score (if applicable)
  • Top findings
  • Top recommendations
  • Tables of data

Assemble into a single JSON payload like:

{
  "restaurant_name": "Bella Italia Trattoria",
  "city": "Austin, TX",
  "cuisine": "Italian",
  "date": "2026-05-20",
  "overall_score": 64,
  "categories": {
    "Reviews & Reputation": {"score": 68, "weight": "25%"},
    "Menu & Pricing": {"score": 72, "weight": "20%"},
    "Online Presence": {"score": 55, "weight": "20%"},
    "Marketing & Engagement": {"score": 48, "weight": "15%"},
    "Local Competition": {"score": 70, "weight": "20%"}
  },
  "reviews": {...},
  "menu": {...},
  "online": {...},
  "competitors": [...],
  "action_plan": [...]
}

Step 3: Write Temp JSON

Save extracted data to /tmp/restaurant_data.json.

Step 4: Run PDF Generator

python3 ~/.claude/skills/restaurant/scripts/generate_restaurant_pdf.py /tmp/restaurant_data.json RESTAURANT-REPORT.pdf

Step 5: Confirm Output

Verify RESTAURANT-REPORT.pdf exists in cwd. Report path back to user.


If No Markdown Files Exist

If no RESTAURANT-*.md files are present, do one of:

Option A: Demo mode

python3 ~/.claude/skills/restaurant/scripts/generate_restaurant_pdf.py --demo

Generates RESTAURANT-REPORT-sample.pdf with sample data.

Option B: Prompt the user Tell the user no analyses are present in the current directory, and suggest running /restaurant audit <name> first.


PDF Structure (what the bundled script produces)

PageContent
1Cover — restaurant name, city, cuisine, score gauge, grade, signal
2Score dashboard — bar chart of 5 categories + table
3Reviews & reputation — star ratings table, top complaints, top praises
4Menu engineering — Kasavana matrix, item analysis, pricing
5Online presence — GBP, Yelp, website, delivery audit
6Marketing recommendations — social cadence, ad angles, email sequences
7Competitor comparison — head-to-head scorecard, positioning gaps
890-day action plan — Week 1 / Days 8-30 / Days 31-90
9Revenue opportunity summary + disclaimer

Customizations Available

When calling the script, you can override defaults via the JSON:

  • accent_color — defaults to warm red (#e74c3c)
  • agency_name — defaults to "AI Restaurant Team"
  • agency_logo_path — optional logo file path
  • client_name — restaurant name (filename-safe)

Output Validation

After running, confirm:

  • File exists
  • File size > 50KB (smaller = error)
  • File is valid PDF (first 4 bytes = %PDF)

Report back:

PDF generated: ./RESTAURANT-REPORT.pdf
Pages: 9
File size: 287 KB
Restaurant: Bella Italia Trattoria
Health Score: 64/100 (Grade: B — Average)

Error Handling

ErrorCauseFix
reportlab not installedMissing dependencyRun pip install reportlab
JSON parsing errorBad extraction from MDRe-run with --demo to verify script works
Permission deniedcwd not writableMove to a writable directory
No restaurant data foundNo RESTAURANT-*.md filesSuggest running /restaurant audit first

DISCLAIMER: AI-generated report. Owner should review before sending to clients.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Launches 5 parallel AI agents to produce a comprehensive restaurant audit with composite Restaurant Health Score (0-100), grade, and prioritized action plan

日本語の概要は準備中です。原文の説明を表示しています。

zubair-trabzada/ai-restaurant-claude332026年5月21日 更新

Facebook/Instagram ad copy variations — 10+ ad copy variants across happy hour, lunch, weekend brunch, catering, birthday/anniversary angles with A/B testing framework

日本語の概要は準備中です。原文の説明を表示しています。

zubair-trabzada/ai-restaurant-claude332026年5月21日 更新

Top 5 local competitor analysis — menu, pricing, review, social, and SEO comparison with positioning gap identification

日本語の概要は準備中です。原文の説明を表示しています。

zubair-trabzada/ai-restaurant-claude332026年5月21日 更新

Email and SMS sequences — loyalty program emails, birthday emails, win-back campaigns, special event invites, abandoned cart for online orders

日本語の概要は準備中です。原文の説明を表示しています。

zubair-trabzada/ai-restaurant-claude332026年5月21日 更新

Local SEO audit — "best [cuisine] near me" targeting, Google Business Profile optimization, NAP consistency, citation building, restaurant schema markup

日本語の概要は準備中です。原文の説明を表示しています。

zubair-trabzada/ai-restaurant-claude332026年5月21日 更新

Menu engineering analysis — item placement, description quality, pricing psychology, upsell opportunities, photo presence, Kasavana matrix (Stars/Plowhorses/Puzzles/Dogs)

日本語の概要は準備中です。原文の説明を表示しています。

zubair-trabzada/ai-restaurant-claude332026年5月21日 更新

zubair-trabzada のスキルをすべて見る

このスキルの問題を報告する