There are only two consistent ways to get prismatic shards in Stardew Valley. Otherwise, you will need to deal with some RNG. That said, there are two methods that have far better odds than anything ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results