When reading the Harry Potter series, I couldn't help but notice: Harry destroyed Tom Riddle's diary with a basilisk fang, and later in the series we find out that its poison can be conveniently used to destroy Horcruxes, and the diary was conveniently one of those Horcruxes.
ThatWith example above, I came up with a possible chain of logic: Destroy the diary with a fang to make Harry cool -> make diary a Horcrux -> Horcrux can be destroyed with basilisk poison because it was used in a previous book).
All above led me to this question: HowIs there any information on how was the plot of the Harry Potter series developed? Did Rowling already make an outline for the plot of the entire story, and was just modifying it as time went on; or was she creating the plot of the next book based on what she wrote before, and then just tied all the knots together?
To me personally, the Basilisk fang alone points to the latter (Conclusion I came up with back then: Destroy the diary with a fang to make Harry cool, and then make diary a Horcrux which can be destroyed with basilisk poison because it was used in a previous book).