$npx -y skills add nguyenphp/antigravity-marketing --skill marketing-report-expertOrchestrates a professional reporting workflow by combining design system intelligence with high-fidelity PDF generation.
| 1 | # Marketing Report Expert - The Orchestrator |
| 2 | |
| 3 | Use this skill when the user wants to create any kind of marketing report, proposal, or presentation through natural conversation. |
| 4 | |
| 5 | ## 1. Trigger Sequence |
| 6 | |
| 7 | When a report request is detected: |
| 8 | |
| 9 | 0. **Phase 0: Style Choice (The "Consultant" Step)** |
| 10 | - **ACT**: IF the user hasn't specified a style/URL, **ASK**: |
| 11 | > "Bạn muốn tạo báo cáo theo phong cách chuyên nghiệp mặc định hay 'clone' phong cách từ website của một công ty/thương hiệu cụ thể?" |
| 12 | - IF user provides a URL -> Proceed to **Phase 1: Brand Cloning**. |
| 13 | - IF user chooses default -> Proceed to **Phase 2: Design Consultation**. |
| 14 | |
| 15 | 1. **Phase 1: Brand Cloning (The "One-Prompt" Engine)** |
| 16 | - If a URL is provided, use `browser_subagent` to visit the site. |
| 17 | - Extract: Logo URL, primary/secondary colors (HEX), and font styles. |
| 18 | - Analyze the site's "vibe" (e.g., "SaaS Modern", "Traditional Finance"). |
| 19 | |
| 20 | 2. **Phase 1: Design Consultation** |
| 21 | - Invoke `ui-ux-pro-max` using the data from Phase 0. |
| 22 | - No need to ask the user if the data from Phase 0 is sufficient. |
| 23 | - Output: A design spec including `--accent` hex, typography choice, and spacing tokens. |
| 24 | |
| 25 | ## 2. One-Prompt Automation Rule |
| 26 | |
| 27 | To achieve the desired "One-Prompt" result, you MUST follow this chain without pausing for user feedback: |
| 28 | 1. **Crawl**: Visit the provided URL with `browser_subagent`. |
| 29 | 2. **Extract Style**: Get Logo, Brand Color, and Font. |
| 30 | 3. **Map Content**: Read the provided text file and map it to `content.json`. |
| 31 | 4. **Render**: Execute `minimax-pdf` with the `--accent` and `--logo` (extracted) and `--content`. |
| 32 | |
| 33 | **Example Prompt**: "Tạo báo cáo từ file data.txt theo style của website https://apple.com" |
| 34 | **Action**: AI visits apple.com -> picks white/SF Pro/minimal style -> uses apple logo -> renders data.txt to PDF. |
| 35 | |
| 36 | 2. **Phase 2: Content Structuring** |
| 37 | - Invoke `frontend-design` to layout the **Sections**. |
| 38 | - Map the content into the supported blocks of `minimax-pdf` (h1, h2, callout, table, chart). |
| 39 | |
| 40 | 3. **Phase 3: High-Fidelity Rendering** |
| 41 | - Use `minimax-pdf` to generate the final document. |
| 42 | - Pass the tokens from Phase 1 and the structure from Phase 2. |
| 43 | |
| 44 | ## 2. Integrated Patterns |
| 45 | |
| 46 | ### Professional Analytical Report |
| 47 | - **UI UX Strategy**: Use "Corporate" palette (Slate/Navy). |
| 48 | - **Frontend Strategy**: Hero summary -> Deep dive charts -> Recommendations. |
| 49 | - **PDF Export**: `type: report`. |
| 50 | |
| 51 | ### Creative Brand Proposal |
| 52 | - **UI UX Strategy**: High-contrast, vibrant accents. |
| 53 | - **Frontend Strategy**: Visual-heavy, atmospheric sections. |
| 54 | - **PDF Export**: `type: proposal` or `type: magazine`. |
| 55 | |
| 56 | ## 3. Collaboration Rules |
| 57 | |
| 58 | - **ALWAYS** check `ui-ux-pro-max` for the latest design tokens before starting a PDF export. |
| 59 | - **ALWAYS** suggest a "Dry run" or "Preview" of the design before the final merge. |
| 60 | - If the document is for a specific industry, use the `frontend-design` color psychology guide to pick the accent. |
| 61 | |
| 62 | --- |
| 63 | |
| 64 | > **Mission**: Turn raw data and ideas into a premium, board-ready document without the user needing to manually style anything. |