The following are Prompts related to helping with Parks of San Francisco workflows that I may or may not be using.
Frontmatter Generation
You are assisting in populating structured data for the Parks of San Francisco project. Your task is to convert provided park data into precisely formatted YAML frontmatter, filling in any missing details thoughtfully and consistently. You can use the web to search for any missing details as well.
Task
Given incomplete data about a San Francisco park (e.g., survey responses, partial metadata), produce a YAML frontmatter block exactly matching the following example’s formatting, field order, and conventions. Make sure to use double quotes when using apostrophes.
Frontmatter Example
---
# Park Identifiers
park_id: 'patriciasGreen'
name: "Patricia's Green"
slug: 'patricias-green'
# Classification
neighborhood_id: 'hayes_valley'
park_type: 'neighborhood' # 'beach' | 'regional' | 'neighborhood' | 'pocket' | 'natural-area' | 'urban';
size_label: 'pocket' # Options: pocket, small, medium, large, regional
area_acres: 5.6 # Optional
tier: 'C' # Options: S, A, B, C, D
# Description and Features
good_for: 'Admiring outdoor art installations with coffee.'
recommended_album: 'Beatopia - Beabadoobee'
description: "Patricia's green is a wonderful little green space in the heart of Hayes Valley. Within the park itself, you can enjoy a scoop of ice cream, or a wonderful coffee from Ritual. Every Friday & Saturday, Hayes Street shuts down for community events. Patricia's Green is also home to Proxy, which often throws movie nights in the park."
amenity_ids: ['picnic', 'dogFriendly', 'playground', 'publicArt']
tag_ids:
[
'familyFriendly',
'dogFriendly',
'publicArt',
'playground',
'eventSpace',
'businesses',
'benches',
'accessible',
]
businesses_nearby: true
# Quality Ratings (0-5)
ratings:
accessibility: 4
cleanliness: 3
safety: 3
# Operational Info
park_hours: '24/7'
location:
lat: 37.75955
lng: -122.41795
address: '50 Fell St, San Francisco, CA 94102'
maps_url: 'https://maps.app.goo.gl/1kefvdS2aN8EiujN6'
# Media
thumbnail_asset_id: 'patricias-green-thumbnail.jpg'
gallery_asset_ids: ['park-template-1', 'park-template-2']
# Collections
collections: ['Walking Your Dog', 'Family Friendly']
# Publishing Metadata
draft: false
date_created: '2025-06-14T18:07:50.935Z'
date_updated: '2025-06-14T18:07:50.935Z'
created_by: 'Apurva Shah'
---Instructions for Completing Missing Data
- park_id and slug: Lowercase, hyphen-separated versions of the park’s name.
- Classification fields (
neighborhood_id,park_type,size_label,tier): Use predefined enumerations. - Description: Expand user-provided descriptions into a detailed, engaging paragraph.
- Recommended Album: Choose an album that stylistically matches the park’s ambiance.
- Amenities and Tags: Strictly use the following IDs:
Amenity IDs
amphitheater: 'Ampitheater',
baseballDiamond: 'Baseball Diamond',
basketballCourt: 'Basketball Court',
bbqGrills: 'BBQ Grills',
benches: 'Benches',
dedicatedParking: 'Dedicated Parking',
dogPark: 'Dog Park',
fitnessEquipment: 'Fitness Equipment',
gardens: 'Gardens',
grassyLawns: 'Grassy Lawns',
pickleballCourt: 'Pickleball Court',
picnicArea: 'Picnic Area',
playground: 'Playground',
publicArt: 'Public Art',
restrooms: 'Restrooms',
runningTrack: 'Running Track',
runningTrails: 'Running Trails',
skatePark: 'Skate Park',
soccerField: 'Soccer Field',
swimmingPool: 'Swimming Pool',
tennisCourt: 'Tennis Court',
volleyBallCourt: 'volleyBallCourt',
walkingTrails: 'Walking Trails',
waterFeatures: 'Water Features',Tag IDs
accessible: 'accessible park',
bikeRacks: 'park with bike racks',
birdWatching: 'bird watching park',
boatLaunch: 'park with boat launch',
businesses: 'park with businesses',
businessesNearby: 'park with businesses nearby',
campground: 'campground park',
climbingWall: 'climbing wall park',
communityCenter: 'park with community center',
dogFriendly: 'dog friendly park',
drinkingFountains: 'park with drinking fountains',
educationalSigns: 'park with educational signs',
eventSpace: 'park event space',
familyFriendly: 'family friendly park',
fishingPier: 'park with fishing pier',
natureCenter: 'park with nature center',
parking: 'park with parking',
scenicViews: 'scenic view park',
shade: 'park with shade',
splashPad: 'splash pad park',
sportsFields: 'sports fields park',
securityLighting: 'well-lit park',
wifi: 'park with free Wi-Fi',Neighborhood IDs
Ensure neighborhood IDs exactly match keys from the provided neighborhoods mapping, formatted as lowercase snake_case.
alamo_square: 'Alamo Square',
anza_vista: 'Anza Vista',
balboa_terrace: 'Balboa Terrace',
bay_view: 'Bay View',
bay_view_heights: 'Bay View Heights',
bernal_heights: 'Bernal Heights',
buena_vista: 'Buena Vista',
castro: 'Castro',
candlestick_point: 'Candlestick Point',
central_richmond: 'Central Richmond',
central_sunset: 'Central Sunset',
chinatown: 'Chinatown',
civic_center: 'Civic Center',
clarendon_heights: 'Clarendon Heights',
cole_valley: 'Cole Valley',
corona_heights: 'Corona Heights',
cow_hollow: 'Cow Hollow',
crocker_amazon: 'Crocker Amazon',
diamond_heights: 'Diamond Heights',
dogpatch: 'Dogpatch',
dolores_heights: 'Dolores Heights',
downtown: 'Financial District',
duboce_triangle: 'Duboce Triangle',
the_embarcadero: 'The Embarcadero',
excelsior: 'Excelsior',
financial_district: 'Financial District',
forest_hill: 'Forest Hill',
forest_hill_extension: 'Forest Hill',
forest_knolls: 'Forest Knolls',
glen_park: 'Glen Park',
golden_gate_heights: 'Golden Gate Heights',
golden_gate_park: 'Golden Gate Park',
haight: 'Haight-Ashbury',
hayes_valley: 'Hayes Valley',
hunters_points: 'Hunters Point',
ingleside: 'Ingleside',
ingleside_heights: 'Ingleside Heights',
ingleside_terrace: 'Ingleside Terrace',
inner_mission: 'Inner Mission',
inner_parkside: 'Parkside',
inner_richmond: 'Inner Richmond',
inner_sunset: 'Inner Sunset',
japantown: 'Japantown',
lake_side: 'Lake Side',
lake_shore: 'Lake Shore',
lake_street: 'Lake Street',
laurel_heights: 'Laurel Heights',
lincoln_park: 'Lincoln Park',
lone_mountain: 'Lone Mountain',
lower_haight: 'Lower Haight',
lower_nob_hill: 'Lower Nob Hill',
lower_pacific_heights: 'Lower Pac Heights',
marina: 'Marina District',
merced_heights: 'Merced Heights',
merced_manor: 'Merced Manor',
midtown_terrace: 'Midtown Terrace',
miraloma_park: 'Miraloma Park',
mission: 'Mission District',
mission_bay: 'Mission Bay',
mission_dolores: 'Mission Dolores',
mission_terrace: 'Mission Terrace',
monterey_heights: 'Monterey Heights',
mount_davidson_manor: 'Mount Davidson',
nob_hill: 'Nob Hill',
noe_valley: 'Noe Valley',
north_beach: 'North Beach',
north_panhandle: 'NoPa',
north_waterfront: 'North Beach',
oceanview: 'Oceanview',
outer_parkside: 'Parkside',
outer_richmond: 'Outer Richmond',
outer_sunset: 'Outer Sunset',
pacific_heights: 'Pacific Heights',
park_merced: 'Park Merced',
park_side: 'Park Side',
pine_lake_park: 'Pine Lake Park',
portola: 'Portola',
potrero_hill: 'Potrero Hill',
presidio: 'The Presidio',
presidio_heights: 'Presidio Heights',
russian_hill: 'Russian Hill',
saint_francis_wood: 'Saint Francis Wood',
sea_cliff: 'Sea Cliff',
sherwood_forest: 'Sherwood Forest',
silver_terrace: 'Silver Terrace',
south_of_market: 'SoMa',
south_beach: 'South Beach',
stonestown: 'Stonestown',
sunny_side: 'Sunny Side',
telegraph_hill: 'Telegraph Hill',
tenderloin: 'Tenderloin',
twin_peaks: 'Twin Peaks',
visitacion_valley: 'Visitacion Valley',
western_addition: 'Western Addition',
westwood_highlands: 'Westwood Highlands',
westwood_park: 'Westwood Park',
west_portal: 'West Portal',
yerba_buena: 'SoMa',Additional Requirements
- Ratings: integers 0–5.
- Location: Always provide latitude, longitude, full address, and a valid Google Maps URL.
- Date fields: ISO-8601 format, matching provided timestamps.
- Asset IDs: Format consistently (e.g.,
{slug}-thumbnail.jpg).
Example Input
- Park name: Duboce Park
- Visit Date: 2025-06-12
- Neighborhood: Duboce Triangle
- Accessibility: 5
- Dog-Friendliness: 3
- Cleanliness: 4
- Safety: 5
- Amenities seen: Grassy Lawn, Playground, Basketball Court, Restrooms, Benches, Dog Park (Off Leash)
- Nearby businesses: Yes (Cafe Réveille)
- Unique Feature: Harvey Milk Photo Center
- User Description: “A lovely neighborhood park with good amenities and an incredible photo center.”
- Grade: 3 (C)
- Additional JSON metadata provided (coordinates, acres, etc.)
Example Output
Exactly formatted like the Frontmatter Example provided, adapted to this input.
Linked Tags