Star Wars: Empire and Rebellion: Razor's Edge is a Star Wars Legends novel by Martha Wells. It is the first published book in the Empire and Rebellion duology, along with Star Wars Honor Among Thieves, which takes place a year or two prior.
As the story opens, Princess Leia Organa, joined by Han Solo and a crew of Rebels, is en route to a rendezvous with a cadre of merchants sympathetic to the Rebellion, to negotiate for funding and supplies for the planned Echo Base. Her ship, the Gamble, is attacked by an Imperial corvette and barely escapes. When they limp into the rendezvous point at a trading station, they witness an attack on a merchant ship (the very one that contains their sympethizers) by a pirate vessel. Leia is shocked to realize that the pirate craft is an Alderaanian patrol ship, all of which were thought to have either been destroyed with Alderaan or subsequently joined the Rebellion.
Determined to find out what caused Alderaanians to turn to piracy, Leia (along with Han and two of her crew) talks her way aboard the ship, the Aegis, to meet with Captain Celine Metara and her crew. They find themselves infiltrating a pirate base, both to rescue their allies and to try to get Metara out of the debt she owes to the pirate leader, so that she might consider another path. Meanwhile, the Imperial corvette is still out there, looking to finish the job it started.
Razor's Edge is the first of the planned Empire and Rebellion trilogy of novels set during the Original Trilogy era, designed to evoke the feel of classic Star Wars, starring (in order) Leia, Han, and Luke. Honor Among Thieves is the second story, and Heir to the Jedi was intended to be the third, but Disney's Continuity Reboot of the Expanded Universe interrupted this plan. Razor's Edge and Honor Among Thieves were deemed to be Legends works, and Heir to the Jedi was rewritten to be one of the first stories in the new Star Wars Expanded Universe. Reprints of Razor's Edge with the Legends banner do not include the "Empire and Rebellion" subtitle.
Razor's Edge contains examples of the following tropes:
- Asteroid Miners: The Space Pirates' clearinghouse is in an old large-scale asteroid mine. The place is riddled with passageways both in-use and abandoned, strewn with leftover mining equipment in various states of disrepair. At one point, lacking a quick way back to their ship from a deep cavern, Han hijacks a tunnel borer and simply makes a new passage.
- Aww, Look! They Really Do Love Each Other: For all of their bickering, Leia trusts Han implicitly and completely, which Han himself is startled to realize (she's glad the Millennium Falcon is going to be their backup ship, because she trusts Chewbacca, and by implication his partner). She never once considers that he might be the Imperial mole; among the Gamble crew, only General Willard himself rates the same consideration.
- Big-Bad Ensemble: Imperial Commander Degoren is trying to capture or kill Leia, who's high on the Empire's Most Wanted list. Flightmaster Viest expects personal loyalty from Metara in exchange for upgrading the Aegis and doesn't want Leia interfering. Han and Leia must deal with each in turn in order to escape the situation they've found themselves in. The two are aware of each other (Viest has sold out opponents to the Empire in the past), but are not allies, and Degoren would rather keep Leia out of Viest's clutches so that he can nab her himself.
- Belligerent Sexual Tension: In the final Legends novel before The Empire Strikes Back, Han and Leia's pre-romance is in full swing. They both privately admit to themselves their feelings for each other, while sniping at each other every chance they get. (Han has more "Your Worship"s for Leia than one can count.) In one scene they strategize in a very cramped restroom to avoid being overheard, and have to work very hard to avoid physical contact. Leia snaps at Han when his shifting positions distracts and flusters her.
- Bread, Eggs, Breaded Eggs: Sneaking around the clearinghouse, Sian points out that there's probably a former mine detention center repurposed as a slave pen, and Han agrees that that would make sense. The narration from his POV:A mine this big must have had some kind of facility to deal with the miners who stole or got drunk or did spice or got into fights about stealing and drinking and doing spice.
- Greater-Scope Villain: The Empire, in this story. Commander Degoren is after Leia because he received emergency orders to break off his usual sector-patrol duties and pursue her, since no other ship was in position to ambush her at the leaked coordinates. He knows that the Empire will reward him greatly for succeeding and and punish him severely for failure.
- Living Lie Detector: Aral tukor Viest is a Lorrdian, a race of humans who have developed a sophisticated language of signs and subtle face and body movements, due to their history of being slaves forbidden to speak. Many Lorrdians, including Viest, can read truth and lies, as well as other aspects of a person, off of his or her face and body. Facing Viest, Leia is extremely careful with both her words and her tone of voice and facial movements, trying to use Exact Words as much as possible to conceal her true intentions. When Han is captured, he does the same, but by then Viest knows more about them and their Rebel ties, and he is unsuccessful.
- The Mole: One of Leia's crew is an Imperial agent, having leaked coordinates for where the Gamble would be receiving a transmission to the Empire. When the Gamble escapes the resulting ambush, he spends the rest of the story looking for another opportunity to bring the Empire down on them. Leia and Han would have a much tougher time of things if he was better at his job.
- Redemption Equals Death: Captain Metara is starting to come around to Leia's way of thinking, and is certainly feeling personal loyalty to Alderaan's princess. She probably could have been convinced to join the Rebellion, except that she dies saving Leia. The other Alderaanians, inspired by her sacrifice, do come around in the end.
- Space Pirates: Not depicted at all sympathetically. Most pirates (at least in this part of the galaxy) take ships and crews whole instead of just looting cargoes, selling the crews into the slave trade, which is tolerated and resurgent under Imperial rule. Piracy is big enough business that they have a "clearinghouse" where they meet to repair and upgrade their ships, and fence goods and slaves. The clearinghouse "flightmaster," Aral tukor Viest, is the most ruthless of them all. Metara and the Aegis crew are portrayed as hopelessly naïve for thinking they can work with these pirates, attacking only Imperial targets and otherwise stealing cargoes without harming freighters' crews.
- Taking the Bullet: Metara shoves Leia out of the way of Viest's sonic pulse weapon, and is killed by it.