This may have been discussed at length already, but I couldn't find a relevant topic and it might help someone who is still confused about this.
In skirmish, if a figure qould suffer strain, its controller may discard a card from the top of their command deck to prevent this strain. I've noticed that a lot of people don't really understand this. In short, discarding cards does NOTHING to affect the quality of your deck and outside of "tutor" effects, the ONLY consideration should be whether you think you will run out of cards in the command deck or not .
What do I mean by this? I've heard my friends say "I won't discard here, I might discard a really good card" or "it's so early in the game, I don't want to discard yet because I'd be limiting my options of which command cards I can draw," (the second one holds some merit if you have Devotion) which are basically nonsensical arguments.
If your command deck is truly random, discarding a card is random as well, and as likely to "push" a good card to the top as it is to discard it. Let's say you're looking for Son of Skywalker and have 10 cards left in the deck. You will draw two cards over the next two turns. Your chance of drawing SoS is 2/10 . Now let's say you discard a card for strain. There's a 1/10 chance that you discard SoS. But there's a 9/10 chance that the card is in the other 9 cards. This increases your chance of drawing it to 2/9. So your chance of drawing SoS is 9/10*2/9=2/10 . If you discard 5 cards, it's 5/10*2/5= 2/10 . (Here's a Monte Carlo simulation that a player developed for Magic, you can try various simulations with multiple "good" cards etc.) This becomes different, of course, once you discard 9+ cards.
There is a number of ways to help your brain grasp this. You can imagine that the cards you discard are placed on the bottom of your deck instead (if the deck is random, this does nothing) where you won't draw them. You can imagine that you are discarding from the bottom of the deck (if the deck is random, this is the same as discarding from the top). You can imagine that the cards you discard are placed face-down (they are unavailable and they are as likely to be useless as useful).
Anyway, I hope this helps, as it's a relatively unintuitive concept, but it's also something that can help you easily improve your skirmish game.