The franchise has two distinct creative origins:
Walt Disney Imagineering "Imagineers" (Marc Davis, X Atencio, Claude Coats, Blaine Gibson, et al.) designed the original Pirates of the Caribbean dark ride at Disneyland (1967). It was a technological and narrative breakthrough—audio-animatronics, immersive environments, a loose storyline of pirate plunder.
Ted Elliott and Terry Rossio wrote the screenplay for The Curse of the Black Pearl (2003), adapting the ride's atmosphere into a structured narrative. They remained heavily involved in the sequels (Dead Man's Chest, At World's End, On Stranger Tides), with additional writers (e.g., Jeff Nathanson for Dead Men Tell No Tales) contributing.
Ride = Imagineers' original concept. Films = Primarily Elliott & Rossio.