{
  "schema": "https://ai-atoms.com/schemas/skill-v1.json",
  "type": "skill",
  "id": "skill/content-strategy",
  "version": "1.0.1",
  "name": "content-strategy",
  "description": "Analyzes sales data from PayPal and QuickBooks to find top performers and slow movers, layers in seasonality, and produces a prioritized 30-day content brief: what to push, what offers to run, what to hold. Strategic output only — no calendars or assets. Use when the user asks what to post, wants a content plan, asks what's selling, or what to promote this month.",
  "system_prompt_fragment": "# Content Strategy\n\n> **Status:** MVP draft\n> **Owner:** JJ\n> **Version:** 0.2.0 · Phase MVP\n> **Category:** Marketing & Sales\n\n## Quick start\n\nWhen an SMB owner asks \"what should I post this month?\" or \"what's my content plan?\", this skill:\n\n1. **Pulls sales data** from QuickBooks or PayPal (transaction history, product/service revenue by date)\n2. **Identifies patterns** — top-selling products, slow movers, seasonal trends\n3. **Layers in context** — seasonality (user-provided or industry benchmarks), past performance\n4. **Produces a 30-day brief** — ranked recommendations of what to push, what to hold, what offers to consider\n5. **Gets owner approval** before the brief feeds into `canva-creator` for asset generation\n\nThe output is strategic only — no calendar scheduling, no creative assets.\n\n---\n\n## Workflow\n\n### Step 1: Pre-flight check (QuickBooks only)\n\nIf using QuickBooks, verify the business profile is set up:\n\n1. Call `company-info` to check if `Industry` is populated\n2. If missing or \"Unknown\":\n   - Ask: \"I need your business category to pull the right seasonality benchmarks. What industry are you in?\" (e.g., retail, services, SaaS)\n   - Call `quickbooks-profile-info-update` with the user's industry\n   - Confirm: \"Profile updated. Ready to pull your sales data.\"\n3. If profile is set, proceed to Step 2\n\n**Note:** PayPal and Square do not require profile setup.\n\n### Step 2: Clarify priorities & metrics\n\nWhen triggered, ask the user:\n\n- **\"How do you want me to measure 'top performers'?\"**\n  - By total revenue?\n  - By profit margin?\n  - By sales velocity (how fast they're selling)?\n  - Combination of the above?\n\n- **\"Do you have seasonality patterns in mind?\"**\n  - If yes: \"Tell me about them\" (capture user's known seasonality)\n  - If no: \"I'll use industry benchmarks for your category\"\n\n### Step 3: Pull and analyze sales data\n\nFetch data from the authenticated connector (QuickBooks, PayPal, or Square, user's choice):\n\n- **Date range:** Last 90 days (or full history if <90 days available)\n- **Extract:** Product/service name, date sold, revenue, quantity\n\n**Connector-specific notes:**\n\n- **QuickBooks:** Fetch invoice line items via `profit-loss-quickbooks-account` (pre-flight sets industry context)\n- **PayPal:** Fetch merchant transactions via `list_transactions`. *Rate-limiting:* If you hit rate limits, pause 30 seconds and retry once. If still blocked, gracefully offer: \"PayPal is rate-limited. Would you like to switch to QuickBooks or Square instead, or I can continue with historical data I already pulled?\"\n- **Square:** Requires location ID first. Call `make_api_request(service=\"locations\", method=\"list\")` to discover available locations, then fetch orders for each location. *Future enhancement:* Square integration is stubbed; full path documented in `reference/square-integration.md`.\n\n**Fallback:** If <3 months of data, use industry seasonality benchmarks for the SMB's category (e.g., retail, services, e-commerce)\n\nIdentify:\n- **Top 3–5 performers** (by user's chosen metric)\n- **Bottom 3–5 slow movers** (consider holding or repositioning)\n- **Trending up** (gaining momentum in last 30 days)\n- **Trending down** (losing momentum)\n\n### Step 4: Layer in seasonality\n\n- **User-provided:** If they shared seasonal patterns, weight recommendations against them\n- **Industry benchmarks:** For categories without strong user data (e.g., \"Q1 is strong for tax services\")\n- **Timing:** Flag products that should ramp up/down in the next 30 days based on seasonal patterns\n\n### Step 5: Build the 30-day brief\n\nStructure:\n- **Executive summary** (1–2 sentences: \"Your best sellers are X and Y. Seasonal shift to Z is starting.\")\n- **Push hard** (Top 2–3 products + recommended content angle, e.g., \"Case study on ROI\", \"How-to video\")\n- **Hold steady** (Middle performers; maintain visibility but no heavy lift)\n- **Reposition or pause** (Slow movers; consider discounting, bundling, or pausing)\n- **Seasonal opportunities** (What's coming next month that you should position for now)\n- **Recommended offers** (Bundle, discount, or free-trial strategy based on data)\n\nExample length: **200–400 words** (brief and actionable, not essay-length).\n\n### Step 6: Owner approval & iteration\n\nPresent the brief to the owner. Ask:\n- \"Does this match your gut?\"\n- \"Anything to adjust?\"\n- \"Ready to feed this to canva-creator for asset generation?\"\n\nIterate if needed; once approved, return the final brief as structured JSON (ready for downstream tools).\n\n---\n\n## Gotchas & edge cases\n\nSee [`reference/gotchas.md`](reference/gotchas.md) for common pitfalls.\n\n---\n\n## Examples\n\nSee [`reference/examples/`](reference/examples/) for worked examples (SaaS, retail, services).",
  "applicable_domains": [
    "business",
    "operations"
  ],
  "invocation": [
    "/content-strategy"
  ],
  "tags": [
    "small-business",
    "anthropics",
    "knowledge-work"
  ],
  "authored_by": "anthropics",
  "source_url": "https://github.com/anthropics/knowledge-work-plugins/blob/main/small-business/skills/content-strategy/SKILL.md",
  "lifecycle": "stable",
  "category": "marketing",
  "provenance": {
    "source": "anthropics/knowledge-work-plugins",
    "source_url": "https://github.com/anthropics/knowledge-work-plugins/blob/main/small-business/skills/content-strategy/SKILL.md",
    "author": "Anthropic",
    "license": "Apache-2.0",
    "notes": "Imported by scripts/import-anthropic-skills.py."
  }
}