Jaisalmer was founded in 1156 by Rawal Jaisal of the Bhati clan, who moved his capital to a ridge of yellow sandstone from Lodurva, a few kilometers away. The ridge was on a caravan road, and for centuries the city lived off the trade that passed through it. Then Bombay's sea port took the business, and after Partition the old route was closed. What remained was the Jaisalmer Fort, one of the few forts in the world where people still live behind the walls, about 4,000 of them, in houses, guesthouses and shops.
The town is small and the sights are close together, which is why three days works. One day goes to the fort, the merchant havelis and the cenotaphs at Bada Bagh. One day goes to the desert, with a ruined village, an old Jain temple and a night in a tent camp in the dunes. The last day is slow: sunrise on the sand, the lake, the bazaar and a puppet show. It's a long way from anywhere: Jodhpur is about 300 km, Delhi around 800.
Day one is the fort and the havelis, day two is the desert, day three is the lake and the old town. The India country page has the basics for the whole trip. Any weekday works to start: the fort, the havelis and Bada Bagh are all listed as open daily. The one weekday catch is the War Museum on the highway, which most listings show closed on Tuesdays. If you're coming from Jodhpur, see 3 Days in Jodhpur.