Skip to content

donaldfilimon/abi / .agents/skills/pptx

Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.

FileKindSize
SKILL.mdskill md9.1 KB
references/creating.mdmarkdown18.8 KB
references/editing.mdmarkdown28.2 KB
references/template_taxonomy.jsonconfig112.3 KB
references/templates/activewear_collection_overview.jsscript31.4 KB
references/templates/africa_fmcg_value_chain_playbook.jsscript40.1 KB
references/templates/ag_trade_finance_pitch_deck.jsscript32.3 KB
references/templates/agri_commodities_trading_primer.jsscript31.9 KB
references/templates/agtech_seed_round_pitch_deck.jsscript36.9 KB
references/templates/ai_blockchain_market_briefing.jsscript47.6 KB
references/templates/ai_llm_technical_history.jsscript34.4 KB
references/templates/ai_robotics_startup_pitch_deck.jsscript70.8 KB
references/templates/ai_sports_media_partnership_pitch.jsscript38.4 KB
references/templates/ai_startup_series_a_pitch_deck.jsscript18.3 KB
references/templates/american_regional_pizza_guide.jsscript23.4 KB
references/templates/animation_studio_company_history.jsscript20.5 KB
references/templates/apothecary_brand_introduction.jsscript18.7 KB
references/templates/art_gallery_exhibition_presentation.jsscript92.5 KB
references/templates/auto_repair_company_profile.jsscript68.7 KB
references/templates/automotive_board_strategy_review.jsscript52.0 KB
references/templates/bagel_shop_menu_pitch_deck.jsscript32.3 KB
references/templates/bakery_business_pitch_deck.jsscript31.8 KB
references/templates/bakery_commercial_loan_pitch.jsscript32.9 KB
references/templates/bakery_concept_vision_board.jsscript31.6 KB
references/templates/biology_dissertation_proposal.jsscript37.4 KB
references/templates/biotech_cloud_rd_infrastructure_proposal.jsscript49.7 KB
references/templates/biotech_series_b_pitch_deck.jsscript53.4 KB
references/templates/biotech_startup_pitch_deck.jsscript23.7 KB
references/templates/cafe_concept_vision_pitch_deck.jsscript22.0 KB
references/templates/cfo_financial_performance_review.jsscript41.4 KB
references/templates/childcare_operator_partnership_pitch.jsscript32.2 KB
references/templates/coffee_franchise_prospectus.jsscript51.8 KB
references/templates/college_admissions_consulting_pitch.jsscript31.2 KB
references/templates/college_sports_policy_briefing.jsscript17.9 KB
references/templates/comedy_writing_guide.jsscript22.3 KB
references/templates/consumer_goods_annual_budget.jsscript15.9 KB
references/templates/cruise_itinerary_trade_portfolio.jsscript42.8 KB
references/templates/crypto_hedge_fund_pitch_deck.jsscript34.5 KB
references/templates/crypto_portfolio_management.jsscript25.6 KB
references/templates/crypto_quantum_risk_briefing.jsscript47.2 KB
references/templates/crypto_series_a_pitch_deck.jsscript51.2 KB
references/templates/destination_marketing_event_pitch.jsscript27.9 KB
references/templates/economic_consulting_prospectus.jsscript25.3 KB
references/templates/edinburgh_fringe_performer_guide.jsscript27.3 KB
references/templates/edtech_ai_product_pitch_deck.jsscript95.7 KB
references/templates/education_calculus_lecture.jsscript29.6 KB
references/templates/education_intro_chemistry_lecture.jsscript23.0 KB
references/templates/education_intro_to_piano_lecture.jsscript26.6 KB
references/templates/education_literature_canterbury_tales.jsscript18.9 KB
references/templates/education_music_theory_lesson.jsscript22.6 KB
references/templates/education_university_profile.jsscript48.6 KB
references/templates/education_visual_essay_presentation.jsscript25.4 KB
references/templates/education_water_polo_basics.jsscript22.8 KB
references/templates/electronic_music_promoter_field_report.jsscript38.9 KB
references/templates/energy_storage_vendor_assessment.jsscript36.4 KB
references/templates/entertainment_creative_pitch_deck.jsscript27.1 KB
references/templates/entertainment_film_pitch_deck.jsscript110.2 KB
references/templates/family_office_portfolio_review.jsscript52.9 KB
references/templates/fashion_apparel_lookbook.jsscript41.0 KB
references/templates/feature_film_pitch_deck.jsscript32.1 KB
references/templates/finance_10k_filing_analysis_guide.jsscript35.2 KB
references/templates/finance_ai_fixed_income_briefing.jsscript34.5 KB
references/templates/finance_ai_portfolio_analysis.jsscript21.5 KB
references/templates/finance_cockroach_portfolio_strategy.jsscript32.8 KB
references/templates/finance_crypto_fund_pitch_deck.jsscript27.1 KB
references/templates/finance_day_trading_primer.jsscript35.2 KB
references/templates/finance_digital_asset_custody_briefing.jsscript44.1 KB
references/templates/finance_employee_excellence_awards.jsscript24.4 KB
references/templates/finance_equity_investment_analysis.jsscript117.2 KB
references/templates/finance_equity_portfolio_performance_report.jsscript48.5 KB
references/templates/finance_equity_research_index_analysis.jsscript39.2 KB
references/templates/finance_equity_research_investment_thesis.jsscript42.2 KB
references/templates/finance_equity_research_stock_pitch.jsscript35.8 KB
references/templates/finance_hedge_fund_pitch_deck.jsscript29.6 KB
references/templates/finance_hedge_fund_primer.jsscript78.5 KB
references/templates/finance_ifrs_us_gaap_training.jsscript7.6 KB
references/templates/finance_investment_committee_memo.jsscript41.2 KB
references/templates/finance_investment_portfolio_brief.jsscript32.0 KB
references/templates/finance_lihtc_bond_portfolio_review.jsscript43.6 KB
references/templates/finance_nft_marketplace_pitch_deck.jsscript44.5 KB
references/templates/finance_portfolio_quarterly_review.jsscript40.7 KB
references/templates/finance_prediction_markets_investment_memo.jsscript28.9 KB
references/templates/finance_private_credit_primer.jsscript34.7 KB
references/templates/finance_quant_trading_desk_proposal.jsscript50.5 KB
references/templates/finance_rwa_tokenization_pitch.jsscript39.6 KB
references/templates/finance_spv_pre_ipo_pitch.jsscript50.0 KB
references/templates/finance_vc_investment_memo.jsscript32.8 KB
references/templates/finance_vc_investment_memo_2.jsscript43.9 KB
references/templates/finance_venture_capital_primer.jsscript31.5 KB
references/templates/fintech_ai_series_a_pitch_deck.jsscript44.5 KB
references/templates/fitness_franchise_qbr_performance.jsscript40.6 KB
references/templates/fitness_gym_summer_press_kit.jsscript32.0 KB
references/templates/fitness_personal_training_keynote.jsscript22.9 KB
references/templates/fixed_income_macro_outlook.jsscript145.9 KB
references/templates/flower_shop_company_profile.jsscript44.1 KB
references/templates/food_beverage_bakery_brand_profile.jsscript19.1 KB
references/templates/food_beverage_seed_pitch_deck.jsscript30.9 KB
references/templates/food_delivery_subscription_pitch.jsscript59.1 KB
references/templates/future_mobility_trends_keynote.jsscript44.2 KB
references/templates/game_design_character_brief.jsscript44.2 KB
references/templates/gaming_ai_startup_pitch_deck.jsscript41.9 KB
references/templates/gaming_product_portfolio_review.jsscript33.5 KB
references/templates/garyvee_content_strategy_framework.jsscript25.7 KB
references/templates/gelateria_seed_pitch_deck.jsscript26.6 KB
references/templates/geospatial_data_analysis_training.jsscript33.3 KB
references/templates/grocery_flash_sale_promotion.jsscript32.9 KB
references/templates/healthcare_ai_partnership_proposal.jsscript31.8 KB
references/templates/healthcare_ma_pitch_deck.jsscript52.0 KB
references/templates/healthcare_nursing_performance_review.jsscript33.7 KB
references/templates/healthcare_patient_accessibility_survey.jsscript37.4 KB
references/templates/healthcare_patient_forms_standardization.jsscript56.8 KB
references/templates/healthcare_promis57_patient_guide.jsscript43.3 KB
references/templates/healthcare_std_prophylaxis_grand_rounds.jsscript51.9 KB
references/templates/healthcare_tb_testing_clinical_training.jsscript23.9 KB
references/templates/hedge_fund_portfolio_strategy.jsscript26.7 KB
references/templates/hospitality_bed_and_breakfast_promo.jsscript41.9 KB
references/templates/indoor_golf_club_launch_deck.jsscript25.9 KB
references/templates/institutional_crypto_exchange_pitch_deck.jsscript63.0 KB
references/templates/interior_design_studio_portfolio.jsscript36.4 KB
references/templates/intro_to_guitar_lecture.jsscript33.0 KB
references/templates/italy_travel_destination_guide.jsscript49.5 KB
references/templates/japan_travel_destination_guide.jsscript35.3 KB
references/templates/jazz_bar_concept_pitch.jsscript34.5 KB
references/templates/k12_literacy_tutoring_pitch.jsscript26.0 KB
references/templates/kids_taekwondo_marketing.jsscript24.8 KB
references/templates/labor_economics_research_presentation.jsscript27.7 KB
references/templates/local_ai_consulting_pitch_deck.jsscript35.0 KB
references/templates/local_business_pitch_deck.jsscript28.1 KB
references/templates/local_city_history_overview.jsscript31.0 KB
references/templates/local_ice_cream_shop_pitch_deck.jsscript26.9 KB
references/templates/luxury_design_brand_story.jsscript17.9 KB
references/templates/luxury_eyewear_retail_seed_pitch.jsscript31.9 KB
references/templates/luxury_hospitality_brand_guidelines.jsscript25.2 KB
references/templates/luxury_interior_design_partnership_deck.jsscript22.5 KB
references/templates/luxury_nanny_placement_brochure.jsscript37.5 KB
references/templates/macro_research_yield_curve_report.jsscript42.5 KB
references/templates/mba_financial_crisis_lecture.jsscript55.7 KB
references/templates/mental_health_app_pitch_deck.jsscript42.4 KB
references/templates/middle_school_nutrition_lesson.jsscript26.8 KB
references/templates/mobile_pet_grooming_seed_pitch_deck.jsscript25.8 KB
references/templates/mobile_pet_grooming_service_overview.jsscript48.8 KB
references/templates/municipal_water_infrastructure_proposal.jsscript35.7 KB
references/templates/music_festival_seed_pitch_deck.jsscript27.6 KB
references/templates/music_label_pitch_deck.jsscript44.7 KB
references/templates/nonprofit_wildlife_conservation_prospectus.jsscript50.3 KB
references/templates/nursing_documentation_transformation_strategy.jsscript37.3 KB
references/templates/orbital_compute_investor_memo.jsscript45.1 KB
references/templates/paintball_arena_pitch_deck.jsscript31.5 KB
references/templates/paragliding_school_prospectus.jsscript37.6 KB
references/templates/pest_control_company_overview.jsscript33.6 KB
references/templates/pharma_product_launch_deck.jsscript42.3 KB
references/templates/photography_studio_portfolio.jsscript18.1 KB
references/templates/pressure_washing_company_profile.jsscript36.6 KB
references/templates/public_health_snus_field_guide.jsscript45.4 KB
references/templates/real_estate_development_pitch.jsscript29.7 KB
references/templates/real_estate_fund_investment_briefing.jsscript40.7 KB
references/templates/real_estate_investing_primer.jsscript43.4 KB
references/templates/real_estate_market_overview.jsscript18.0 KB
references/templates/real_estate_neighborhood_buyer_guide.jsscript27.8 KB
references/templates/real_estate_self_storage_community_pitch.jsscript62.0 KB
references/templates/regional_airport_pitch_deck.jsscript29.6 KB
references/templates/restaurant_concept_pitch_deck.jsscript20.8 KB
references/templates/restaurant_concept_vision_deck.jsscript24.4 KB
references/templates/restaurant_culinary_profile.jsscript25.1 KB
references/templates/restaurant_franchise_pitch_deck.jsscript39.2 KB
references/templates/restaurant_investor_pitch_deck.jsscript35.5 KB
references/templates/retail_bookstore_profile.jsscript29.4 KB
references/templates/retail_florist_business_profile.jsscript17.3 KB
references/templates/retail_pet_store_pitch_deck.jsscript23.2 KB
references/templates/retail_product_catalog_overview.jsscript27.4 KB
references/templates/retro_tech_cafe_pitch_deck.jsscript80.9 KB
references/templates/scuba_dive_operator_prospectus.jsscript37.7 KB
references/templates/seaborn_data_visualization_training.jsscript31.4 KB
references/templates/skateboarding_beginner_course_lesson.jsscript27.1 KB
references/templates/snowboard_school_prospectus.jsscript42.5 KB
references/templates/snowboarding_beginner_lesson.jsscript24.1 KB
references/templates/sports_betting_saas_pitch_deck.jsscript33.1 KB
references/templates/sports_market_expansion_strategy.jsscript93.5 KB
references/templates/sports_marketing_promo_calendar.jsscript21.3 KB
references/templates/sports_sponsorship_pitch_deck.jsscript30.2 KB
references/templates/student_transportation_company_overview.jsscript41.3 KB
references/templates/surf_school_intro_lesson.jsscript31.0 KB
references/templates/tech_hardware_expansion_strategy.jsscript41.1 KB
references/templates/tv_series_pitch_deck.jsscript38.5 KB
references/templates/university_giving_day_fundraising.jsscript25.0 KB
references/templates/urban_landscaping_service_proposal.jsscript28.9 KB
references/templates/us_history_student_presentation.jsscript38.1 KB
references/templates/vacation_rental_quarterly_financial_report.jsscript35.3 KB
references/templates/video_game_industry_history.jsscript32.0 KB
references/templates/video_game_pitch_deck.jsscript45.7 KB
references/templates/vintage_computer_cafe_pitch_deck.jsscript32.0 KB
references/templates/wakeboarding_coaching_prospectus.jsscript35.8 KB
references/templates/web3_defi_app_design_review.jsscript51.2 KB
references/templates/wellness_startup_seed_pitch_deck.jsscript57.6 KB
references/templates/wine_tourism_strategy_brief.jsscript33.8 KB
references/templates/youth_soccer_training_program.jsscript42.5 KB
references/templates/youtube_channel_media_kit.jsscript52.1 KB
scripts/__init__.pyscript0 B
scripts/add_slide.pyscript6.7 KB
scripts/check_overlaps.pyscript17.2 KB

references/templates/apothecary_brand_introduction.js

View on GitHub
/**
 * build_sable_and_sage.js
 *
 * Recreates "Sable & Sage" (Volume I — Introduction) slide deck with pptxgenjs.
 *
 * Usage:
 *   npm install pptxgenjs
 *   node build_sable_and_sage.js
 *
 * Assets:
 *   Images live in ./assets/ next to this script.
 *   image-1-1.png ... image-8-1.png were extracted from the original PPTX.
 */

const pptxgen = require('pptxgenjs');
const path = require('path');

const ASSETS = path.join(__dirname, 'assets');

// ---------------- Palette (sampled from original deck) ----------------
const C = {
  bgCream:   'EDE6DB', // slide background
  bgDark:    '1C1A17', // botanicals slide & accents
  cardSoft:  'E4DCCE', // image placeholder card
  inkBlack:  '1C1A17', // primary text
  inkBrown:  '5A463A', // eyebrow / caption text
  inkMuted:  '3A2E25', // body paragraphs
  accent:    '6B7355', // sage green (ampersand, etc.)
  accentWarm:'B8925A', // warm gold used on dark slide
  rule:      '1C1A17', // thin hairlines
  ruleLight: 'EDE6DB', // hairline on dark slide
};

// Fonts
const F_HEAD = 'Georgia';          // serif display for large titles
const F_SERIF = 'Georgia';         // serif for body
const F_SANS = 'Arial';            // sans for eyebrows / captions / numerals
// (Original PPTX hard-coded Arial everywhere; we keep Georgia for display titles
//  to preserve the editorial feel of the Bodoni/Didot-style cover. Swap to
//  F_HEAD = 'Arial' if you need an exact font match.)

// ---------------- Deck setup ----------------
const pres = new pptxgen();
pres.defineLayout({ name: 'SABLE20x1125', width: 20, height: 11.25 });
pres.layout = 'SABLE20x1125';
pres.title = 'Sable and Sage - Volume I';
pres.company = 'Sable and Sage';

// ---------------- Helpers ----------------

/** Thin horizontal rule (drawn as a 1px-tall rectangle). */
function hr(slide, { x, y, w, color = C.rule, h = 0.0104 }) {
  slide.addShape(pres.ShapeType.rect, {
    x, y, w, h, fill: { color }, line: { color, width: 0 },
  });
}

/** Soft card used behind photographs. */
function card(slide, { x, y, w, h, color = C.cardSoft }) {
  slide.addShape(pres.ShapeType.rect, {
    x, y, w, h, fill: { color }, line: { type: 'none' },
  });
}

/** Add a text box. `text` can be a string or an array of pptxgenjs text objects. */
function tx(slide, text, opts) {
  const base = {
    margin: 0.035,                  // matches original 25400 EMU inset
    valign: 'top',
    align: 'left',
    isTextBox: true,
    fontFace: F_SANS,
    color: C.inkBlack,
    fill: { type: 'none' },
    line: { type: 'none' },
  };
  slide.addText(text, { ...base, ...opts });
}

/** Eyebrow/caption — small tracked-out uppercase. */
function eyebrow(slide, s, { x, y, w, h = 0.35, align = 'left', color = C.inkBrown } = {}) {
  tx(slide, s, {
    x, y, w, h, align,
    fontFace: F_SANS, fontSize: 10, color,
    charSpacing: 8,    // tight but noticeable tracking
    bold: false,
  });
}

/** Standard page footer: section tag (left) + brand (right). */
function footer(slide, { sectionTag, brand = 'SABLE & SAGE' }) {
  if (sectionTag) {
    tx(slide, sectionTag, {
      x: 1.4583, y: 10.3167, w: 6, h: 0.3917,
      fontFace: F_SANS, fontSize: 11, color: C.inkBrown,
      charSpacing: 6,
    });
  }
  tx(slide, brand, {
    x: 13, y: 10.3583, w: 5.6, h: 0.35, align: 'right',
    fontFace: F_SANS, fontSize: 11, color: C.inkBrown,
    charSpacing: 8,
  });
}

/** Top hairline + left/right eyebrow row used on most content slides. */
function topBar(slide, { left, right, ruleColor = C.rule }) {
  hr(slide, { x: 1.4583, y: 0.5833, w: 17.0833, color: ruleColor });
  eyebrow(slide, left,  { x: 1.4583,  y: 1.6667, w: 8, align: 'left' });
  eyebrow(slide, right, { x: 10.5833, y: 1.6667, w: 8, align: 'right' });
}

// ============================================================
// SLIDE 1 — Cover
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: C.bgCream };

  // Full-bleed botanical illustration (cream field + sprig on right)
  s.addImage({ path: path.join(ASSETS, 'image-1-1.png'), x: 0, y: 0, w: 20, h: 11.25 });

  // Top eyebrow row
  eyebrow(s, 'EST. MMXXIV · HUDSON VALLEY, NEW YORK',
    { x: 1.4583, y: 1.4583, w: 10.0822 });
  eyebrow(s, 'VOLUME I · INTRODUCTION',
    { x: 12.4482, y: 1.4583, w: 6.2763 });

  // Small subheading over title
  eyebrow(s, 'BOTANICALS FOR THE MODERN RITUAL',
    { x: 1.4583, y: 2.1417, w: 7.725 });

  // Headline — editorial serif, mixed upright + italic ampersand
  tx(s, [
    { text: 'Sable ',  options: { color: C.inkBlack, fontFace: F_HEAD, italic: false } },
    { text: '& ',      options: { color: C.accent,   fontFace: F_HEAD, italic: true  } },
    { text: 'Sage',    options: { color: C.inkBlack, fontFace: F_HEAD, italic: false } },
  ], {
    x: 1.4583, y: 3.0833, w: 7.725, h: 3.3667,
    fontSize: 126, charSpacing: -2, valign: 'top',
  });

  // Deck/tagline
  tx(s,
    'A small house of quiet botanicals — tea, oil, and air — made slowly, in small batches, by hand.',
    {
      x: 1.4583, y: 7.4, w: 5.5792, h: 2.0,
      fontFace: F_SERIF, fontSize: 20, italic: true, color: C.inkMuted,
      paraSpaceAfter: 6,
    });

  // Short rule + attribution
  hr(s, { x: 1.4583, y: 9.7375, w: 0.75 });
  eyebrow(s, 'AN INTRODUCTION BY THE MAKER',
    { x: 2.5, y: 9.5083, w: 6.1132 });

  footer(s, { sectionTag: null });
}

// ============================================================
// SLIDE 2 — A Note from the Maker
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: C.bgCream };

  topBar(s, { left: 'I · THE MAKER', right: 'A NOTE' });

  // Left photograph block (studio/morning-light image)
  card(s, { x: 1.4583, y: 2.5, w: 6.6667, h: 7.2917 });
  s.addImage({
    path: path.join(ASSETS, 'image-2-1.png'),
    x: 1.4583, y: 2.5, w: 6.6667, h: 7.2917,
    sizing: { type: 'contain', w: 6.6667, h: 7.2917 },
  });
  eyebrow(s, 'Studio No. 04, morning light',
    { x: 1.75, y: 9.2167, w: 4, color: C.inkBrown });

  // Pull quote
  tx(s,
    '\u201CI began Sable & Sage at a kitchen table, with a kettle and a question: what might stillness taste like?\u201D',
    {
      x: 10.4167, y: 2.7083, w: 8.3688, h: 1.85,
      fontFace: F_SERIF, fontSize: 33, italic: true, color: C.inkMuted,
      paraSpaceAfter: 0,
    });

  // Body paragraphs
  tx(s,
    'What started as a private practice — steeping herbs from a small garden in the Hudson Valley — has grown, quietly, into a house of botanicals made for people who keep ritual close.',
    {
      x: 10.4167, y: 4.8583, w: 7.725, h: 1.85,
      fontFace: F_SERIF, fontSize: 16, color: C.inkMuted,
      paraSpaceAfter: 6,
    });

  tx(s,
    'We remain small on purpose. Every tin, every bottle, every bloom is measured by hand. Nothing leaves the studio until it has earned its place on the shelf.',
    {
      x: 10.4167, y: 6.9583, w: 7.725, h: 1.85,
      fontFace: F_SERIF, fontSize: 16, color: C.inkMuted,
    });

  // Signature
  tx(s, 'Mara Linwood', {
    x: 10.4167, y: 9.1479, w: 4, h: 0.6,
    fontFace: F_SERIF, fontSize: 22, italic: true, color: C.inkMuted,
  });
  eyebrow(s, 'FOUNDER & MAKER',
    { x: 10.4167, y: 9.8771, w: 8.3688 });

  footer(s, { sectionTag: '02   A NOTE' });
}

// ============================================================
// SLIDE 3 — Philosophy: Three Principles
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: C.bgCream };

  topBar(s, { left: 'II · PHILOSOPHY', right: 'THREE PRINCIPLES' });

  // Headline (mixed upright + italic)
  tx(s, [
    { text: 'Slowness, ',       options: { color: C.inkBlack, fontFace: F_HEAD, italic: false } },
    { text: 'as a material.',   options: { color: C.inkBrown, fontFace: F_HEAD, italic: true  } },
  ], {
    x: 1.4583, y: 2.7083, w: 8.3688, h: 2.2083,
    fontSize: 78, charSpacing: -1, valign: 'top',
  });

  // Right-side standfirst
  tx(s,
    'We treat time the way others treat ingredients — carefully measured, rarely rushed, and the quiet difference between a product and a practice.',
    {
      x: 13.125, y: 3.125, w: 5.5792, h: 1.7417,
      fontFace: F_SERIF, fontSize: 14, italic: true, color: C.inkMuted,
    });

  // Three numbered principles, each with numeral / rule / heading / body
  const principles = [
    ['01', 'GROWN, NOT MANUFACTURED',
      'Botanicals from known gardens. Seasonal harvests. No shortcuts through laboratories.'],
    ['02', 'SMALL ON PURPOSE',
      'Batches of one hundred or fewer. Numbered by hand. Signed by the maker.'],
    ['03', 'FOR THE QUIET HOUR',
      'Made to accompany the parts of the day that belong to no one else.'],
  ];
  const xs = [1.4583, 7.8125, 14.1667];
  principles.forEach(([num, head, body], i) => {
    const x = xs[i];
    tx(s, num, {
      x, y: 6.5635, w: 4.5062, h: 0.6,
      fontFace: F_SERIF, fontSize: 22, italic: true, color: C.inkBrown,
    });
    hr(s, { x, y: 7.2677, w: 4.375 });
    eyebrow(s, head, { x, y: 7.5073, w: 4.5062, color: C.inkBlack });
    tx(s, body, {
      x, y: 8.2198, w: 4.5062, h: 1.4,
      fontFace: F_SERIF, fontSize: 13, color: C.inkMuted,
    });
  });

  footer(s, { sectionTag: '03   PHILOSOPHY' });
}

// ============================================================
// SLIDE 4 — The Collection (four products)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: C.bgCream };

  topBar(s, { left: 'III · COLLECTION', right: 'FOUR HOUSES OF BOTANICALS' });

  // Headline
  tx(s, [
    { text: 'The ',        options: { color: C.inkBlack, fontFace: F_HEAD, italic: false } },
    { text: 'Collection',  options: { color: C.inkBrown, fontFace: F_HEAD, italic: true  } },
  ], {
    x: 1.4583, y: 2.5, w: 10, h: 0.9583,
    fontSize: 66, charSpacing: -1, valign: 'top',
  });

  const items = [
    { x: 1.4583,  img: 'image-4-1.png', eyebrow: '01 · TEA',        name: 'Herbal Teas',
      body: 'Single-garden harvests, steeped for the unhurried morning.' },
    { x: 5.8333,  img: 'image-4-2.png', eyebrow: '02 · ADAPTOGEN',  name: 'Adaptogenic Blends',
      body: 'Roots and mushrooms for the long, evenly-paced day.' },
    { x: 10.2083, img: 'image-4-3.png', eyebrow: '03 · OIL',        name: 'Botanical Oils',
      body: 'Cold-pressed blends, meant for skin and for touch.' },
    { x: 14.5833, img: 'image-4-4.png', eyebrow: '04 · AIR',        name: 'Signature Diffusers',
      body: 'A room as a season — cedar, fig leaf, smoke, rain.' },
  ];

  items.forEach(it => {
    card(s, { x: it.x, y: 4.0625, w: 3.9583, h: 3.5417 });
    s.addImage({
      path: path.join(ASSETS, it.img),
      x: it.x, y: 4.0625, w: 3.9583, h: 3.5417,
      sizing: { type: 'contain', w: 3.9583, h: 3.5417 },
    });
    eyebrow(s, it.eyebrow, { x: it.x, y: 7.8958, w: 4.0771, color: C.inkBrown });
    tx(s, it.name, {
      x: it.x, y: 8.2833, w: 4.0771, h: 0.6,
      fontFace: F_SERIF, fontSize: 18, italic: true, color: C.inkBlack,
    });
    tx(s, it.body, {
      x: it.x, y: 8.8885, w: 3.8625, h: 1.3,
      fontFace: F_SERIF, fontSize: 12, color: C.inkMuted,
    });
  });

  footer(s, { sectionTag: '04   THE COLLECTION' });
}

// ============================================================
// SLIDE 5 — The Botanicals (dark slide, nine signatures)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: C.bgDark };

  // Top hairline (light on dark)
  hr(s, { x: 1.4583, y: 0.5833, w: 17.0833, color: C.bgCream });

  eyebrow(s, 'IV · THE BOTANICALS',
    { x: 1.4583, y: 1.6667, w: 8, color: C.bgCream });
  eyebrow(s, 'NINE SIGNATURES',
    { x: 10.5833, y: 1.6667, w: 8, color: C.bgCream, align: 'right' });

  // Headline
  tx(s, [
    { text: 'Nine plants, ',     options: { color: C.bgCream,    fontFace: F_HEAD, italic: false } },
    { text: 'known by name.',    options: { color: C.accentWarm, fontFace: F_HEAD, italic: true  } },
  ], {
    x: 1.4583, y: 2.2917, w: 12, h: 2.375,
    fontSize: 84, charSpacing: -1, valign: 'top',
  });

  // Botanical index row (full-bleed illustration strip)
  s.addImage({
    path: path.join(ASSETS, 'image-5-1.png'),
    x: 1.4583, y: 5.625, w: 17.0833, h: 3.9583,
    sizing: { type: 'contain', w: 17.0833, h: 3.9583 },
  });

  // Bottom eyebrow row on dark slide
  eyebrow(s, 'PL. IV · BOTANICAL INDEX',
    { x: 1.4583, y: 10.3833, w: 6, color: C.bgCream });
  eyebrow(s, 'SABLE & SAGE',
    { x: 13, y: 10.3583, w: 5.6, align: 'right', color: C.bgCream });
}

// ============================================================
// SLIDE 6 — The Ritual (a day, kept slowly)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: C.bgCream };

  topBar(s, { left: 'V · THE RITUAL', right: 'A DAY, KEPT SLOWLY' });

  // Left image block (tall portrait)
  card(s, { x: 1.4583, y: 2.5, w: 5.625, h: 7.2917 });
  s.addImage({
    path: path.join(ASSETS, 'image-6-1.png'),
    x: 1.4583, y: 2.5, w: 5.625, h: 7.2917,
    sizing: { type: 'contain', w: 5.625, h: 7.2917 },
  });

  // Headline
  tx(s, [
    { text: 'The ',     options: { color: C.inkBlack, fontFace: F_HEAD, italic: false } },
    { text: 'Ritual',   options: { color: C.inkBrown, fontFace: F_HEAD, italic: true  } },
  ], {
    x: 9.1667, y: 2.5, w: 9.6562, h: 0.9583,
    fontSize: 66, charSpacing: -1, valign: 'top',
  });

  // Divider above first entry
  hr(s, { x: 9.1667, y: 3.875, w: 9.375 });

  // Three time-of-day entries
  const rituals = [
    { num: 'I.',   time: 'MORNING · 07:00',    head: 'A cup of Morning Still.',
      body: 'Tulsi, chamomile, and lemon verbena. Steeped seven minutes.', y: 4.1125, ruleY: 6.1542 },
    { num: 'II.',  time: 'AFTERNOON · 15:00',  head: 'A palm of Field Oil.',
      body: 'Rosehip, meadowfoam, and atlas cedar. Warmed between the hands.', y: 6.3917, ruleY: 8.4333 },
    { num: 'III.', time: 'EVENING · 21:00',    head: 'A room of Hearthsmoke.',
      body: 'Fig leaf, smoked cedar, and black tea. Lit at dusk, forgotten by sleep.', y: 8.6708, ruleY: 10.7125 },
  ];

  rituals.forEach(r => {
    tx(s, r.num, {
      x: 9.1667, y: r.y, w: 1.3333, h: 1.8542,
      fontFace: F_SERIF, fontSize: 28, italic: true, color: C.inkBrown,
    });
    eyebrow(s, r.time, { x: 10.4167, y: r.y, w: 8.3688, color: C.inkBrown });
    tx(s, r.head, {
      x: 10.4167, y: r.y + 0.3875, w: 8.3688, h: 0.6,
      fontFace: F_SERIF, fontSize: 22, italic: true, color: C.inkBlack,
    });
    tx(s, r.body, {
      x: 10.4167, y: r.y + 0.9729, w: 6.6521, h: 0.95,
      fontFace: F_SERIF, fontSize: 13, color: C.inkMuted,
    });
    hr(s, { x: 9.1667, y: r.ruleY, w: 9.375 });
  });

  footer(s, { sectionTag: '06   THE RITUAL' });
}

// ============================================================
// SLIDE 7 — Craft & Sourcing (map of origins)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: C.bgCream };

  topBar(s, { left: 'VI · CRAFT & SOURCING', right: 'HOW, AND FROM WHERE' });

  // Headline
  tx(s, [
    { text: 'Made by hand, ',          options: { color: C.inkBlack, fontFace: F_HEAD, italic: false } },
    { text: 'from known ground.',       options: { color: C.inkBrown, fontFace: F_HEAD, italic: true  } },
  ], {
    x: 1.4583, y: 2.2917, w: 14, h: 2.375,
    fontSize: 84, charSpacing: -1, valign: 'top',
  });

  // World-map-dots illustration band
  s.addImage({
    path: path.join(ASSETS, 'image-7-1.png'),
    x: 1.4583, y: 5.625, w: 17.0833, h: 3.125,
    sizing: { type: 'contain', w: 17.0833, h: 3.125 },
  });

  // Origin callouts (positioned to match original)
  const origins = [
    { x: 1.4583,  y1: 5.9375, y2: 6.5458, eyebrow: '01 · HUDSON VALLEY', label: 'The home garden'   },
    { x: 4.6875,  y1: 7.9167, y2: 8.525,  eyebrow: '02 · PROVENCE',      label: 'Lavender & rose'   },
    { x: 8.5417,  y1: 5.9375, y2: 6.5458, eyebrow: '03 · ATLAS MTNS.',   label: 'Cedarwood'          },
    { x: 12.3958, y1: 7.9167, y2: 8.2417, eyebrow: '04 · KERALA',        label: 'Tulsi & cardamom'  },
    { x: 16.2469, y1: 5.9375, y2: 6.2625, eyebrow: '05 · YUNNAN',        label: 'Ancient tea'       },
  ];
  origins.forEach(o => {
    eyebrow(s, o.eyebrow, { x: o.x, y: o.y1, w: 2.5, color: C.inkBrown });
    tx(s, o.label, {
      x: o.x, y: o.y2, w: 2.5, h: 0.4,
      fontFace: F_SERIF, fontSize: 12, italic: true, color: C.inkMuted,
    });
  });

  // Closing body paragraph upper-right
  tx(s,
    'Every batch carries the name of the grower, the week of harvest, and the hand that packed it.',
    {
      x: 12.9625, y: 4.5833, w: 5.5792, h: 1.2417,
      fontFace: F_SERIF, fontSize: 14, italic: true, color: C.inkMuted,
    });

  footer(s, { sectionTag: '07   CRAFT & SOURCING' });
}

// ============================================================
// SLIDE 8 — In Closing / Contact
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: C.bgCream };

  // Full-bleed closing illustration (cream field on left, brown panel with sprig + S&S seal on right)
  s.addImage({ path: path.join(ASSETS, 'image-8-1.png'), x: 0, y: 0, w: 20, h: 11.25 });

  eyebrow(s, 'VII · IN CLOSING',
    { x: 1.4583, y: 1.4583, w: 8 });
  eyebrow(s, 'THANK YOU',
    { x: 1.4583, y: 2.5, w: 8.7979, color: C.inkBrown });

  // Headline
  tx(s, [
    { text: 'Begin, when you are ',  options: { color: C.inkBlack, fontFace: F_HEAD, italic: false } },
    { text: 'ready.',                 options: { color: C.inkBrown, fontFace: F_HEAD, italic: true  } },
  ], {
    x: 1.4583, y: 3.2, w: 12, h: 2.0815,
    fontSize: 72, charSpacing: -1, valign: 'top',
  });

  tx(s,
    'We would be honoured to place a tin, a bottle, or a small wooden crate in your hands.',
    {
      x: 1.4583, y: 5.8232, w: 8, h: 1.2,
      fontFace: F_SERIF, fontSize: 18, italic: true, color: C.inkMuted,
    });

  // Contact columns
  eyebrow(s, 'STUDIO',
    { x: 1.4583, y: 8.4208, w: 3.2188, color: C.inkBrown });
  tx(s, 'Stone House Lane\nHudson Valley, New York', {
    x: 1.4583, y: 8.8083, w: 3.2188, h: 1.2,
    fontFace: F_SERIF, fontSize: 13, color: C.inkMuted,
    paraSpaceAfter: 2,
  });

  eyebrow(s, 'CORRESPONDENCE',
    { x: 4.5833, y: 8.4208, w: 3.2188, color: C.inkBrown });
  tx(s, 'mara@sableandsage.co\nsableandsage.co', {
    x: 4.5833, y: 8.8083, w: 3.2188, h: 1.2,
    fontFace: F_SERIF, fontSize: 13, color: C.inkMuted,
    paraSpaceAfter: 2,
  });

  // Footer line & end mark
  eyebrow(s, 'SABLE & SAGE · VOLUME I · MMXXVI',
    { x: 1.4583, y: 10.3833, w: 8, color: C.inkBrown });
  eyebrow(s, '— END —',
    { x: 15, y: 10.3833, w: 3.6, align: 'right', color: C.inkBrown });
}

// ---------------- Save ----------------
const outName = 'Sable_and_Sage.pptx';
pres.writeFile({ fileName: outName }).then(name => {
  console.log('Wrote', name);
});
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall