One idea could be that they work together to solve a mystery in the wizarding world that neither could solve alone. Maybe it's about a series of strange disappearances in Hogwarts that are linked to an ancient curse.
Perhaps they find themselves in an alternate dimension where they have to rely on each other to get back to their own world. In this dimension, the rules of magic are different, and they need to combine their knowledge and skills. Tom could use his knowledge of dark magic (in a non - malicious way in this case) and Harry could use his more instinctive and light - magic - based skills to figure out a way home.
One idea could be that Harry and Tom meet in an alternate universe where they are not enemies. They discover they have a shared love for magic theory and start to study together, gradually developing feelings for each other. Another plot could be that they are forced to work together on a dangerous mission. Through facing hardships side by side, they realize their connection.
A possible plot for Harry and Tom mate fanfiction is that they are both sent on a special mission by Dumbledore. Along the way, they have to rely on each other's strengths. Tom might use his intelligence and cunning, while Harry uses his courage and loyalty. They could also encounter magical creatures that they have to work together to defeat. This would force them to put aside their differences and form a bond. And as they complete the mission, they realize that they can learn a lot from each other.
One idea could be that they discover their brotherhood through a magical accident. Maybe a spell goes wrong and reveals their hidden family connection. Then they have to deal with the shock and also how it will change their relationships with others at school.
Perhaps they are raised by a powerful and kind wizard who instills in them values of love and friendship. This causes Tom to view magic in a different light. They might go on adventures together in Hogwarts, exploring the secrets of the castle. Harry could be the one to show Tom the importance of loyalty, and in turn, Tom could share his advanced knowledge of magic with Harry.
Perhaps the locket contains a part of Tom's soul that is still somewhat 'good'. Harry accidentally releases this part while investigating the locket. This 'good' part of Tom then tries to help Harry defeat the remaining evil parts of Voldemort, leading to a very strange alliance between Harry and this new aspect of Tom.
A more complex plot might be where both Harry and Tom are sent back in time to a point where the Hogwarts founders are still alive. They get involved in the founding events of Hogwarts, and Harry has to stop Tom from influencing the founders in a way that would make Hogwarts more exclusive and dark - sided. Harry could try to work with the founders to see the potential danger in Tom even at a young age.
One idea could be a time - travel fanfic where Harry goes back in time and tries to prevent Tom Riddle from becoming Voldemort. He could try to befriend the young Tom and show him a different path. Another could be a fanfic where Harry and Tom are somehow trapped in an alternate dimension together and have to work together to escape, all while Harry tries to understand what made Tom turn so evil. A third idea is a fanfic where Tom Riddle actually has a change of heart early on due to some magical accident that makes him experience a different kind of love and kindness, and Harry has to deal with this new Tom in Hogwarts.
One plot idea could be that Fem Harry, with her unique perspective as a female in a male - dominated wizarding world, catches Tom Riddle's attention in Hogwarts. He's intrigued by her different way of approaching magic. Maybe she's more empathetic and uses magic in a way that he's never seen before, leading to a complex relationship where he both admires and is jealous of her power.
One plot idea could be a time - travel scenario where Harry goes back in time and meets a young Tom Riddle. He tries to change Tom's path to prevent him from becoming Voldemort. Another could be a situation where they are magically bound together and have to learn to co - exist and understand each other's motives.
One plot idea could be a time - travel fanfic where Harry Potter goes back in time and tries to prevent Tom Riddle from becoming Voldemort. He could attempt to befriend the young Riddle and guide him towards a different path, perhaps by showing him the value of love and friendship early on.