David Gerrold carefully documented the story, from first draft through airing, of his fan-favorite Star Trek episode The Trouble with Tribbles. I've carefully guarded my copy of this paperback since my teens.
Gerrold's memories of working on the set are fantastic:
One day, I showed up at the set and William Shatner said, "Hi, kid. What're you writing now?"
Kid–? (All right, so I still looked like an eighteen-year-old; did he have to rub it in?).
I said, "I'm doing a story where you lose your voice in the teaser and don't get it back till the tag."
His reply wasn't unprintable– just deadly. I won't repeat it here.
Suffice it to say, plowboys should never pull on number-one guns.
The book also includes gems about other episodes Gerrold worked on, including the oft discussed by Pesco and I City on the Edge of Forever.
If you love Star Trek, check out this book!