We did SF in 2015 with our younger girls. Stayed at a VRBO on the cable car line up the hill from Chinatown. Did a combination tour of Alcatraz and Muir Woods. Rented bikes and road around town and across the Golden Gate Bridge. Other touristy stuff.
Wife and I went to Sonoma in 2016. Rented road bikes and biked through the wine country during the morning and visited vinyards in the afternoons. Healdsberg was great for dining. We stayed at a B&B in Cloverdale and participated in that small town's 4th of July festivities. Armstrong Woods was a great place to see tall trees. As suggested above, spend a day hitting Armstrong and then out along the coast. I would highly suggest taking Boehieman Highway from near Armstrong to Occidental and Coleman Valley Road from Occidental to the coast. The views of the ocean are great.
One of the best rides we did, twice, was south out of Healdsberg to Wohler Road (left), across the Russian River and back north to Healdsberg through the Dry Creek area. Several really cool vineyards, including one in an old hop kiln. It would be a great drive as well.