“He has the baddest costume in comics and is a dude who is smarter and better than everyone,” said Axel Alonso, the editor in chief of Marvel. The character not only adds to the diversity of Marvel’s comics; he will do it for their films too: Black Panther is set to make his big-screen debut next year in “Captain America: Civil War,” followed by a solo feature in 2018.

At first glance, it may seem odd for Mr. Coates to write a mainstream superhero comic. He has been lauded for his book “Between the World and Me,” a passionate letter to his son on being black in America. But he does not see anything odd about it. “I don’t experience the stuff I write about as weighty,” he said. “I feel a strong need to express something. The writing usually lifts the weight. I expect to be doing the same thing for Marvel.”

“A Nation Under Our Feet,” the yearlong story line written by Mr. Coates and drawn by Brian Stelfreeze, is inspired by the 2003 book of the same title by Steven Hahn. It will find the hero dealing with a violent uprising in his country set off by a superhuman terrorist group called the People. “It’s going to be a story that repositions the Black Panther in the minds of readers,” Mr. Alonso said. “It really moves him forward.”

Mr. Coates’s enthusiasm for Marvel started when he was a boy. Marvel was “an intimate part of my childhood and, at this point, part of my adulthood,” he said. “It was mostly through pop culture, through hip-hop, through Dungeons & Dragons and comic books that I acquired much of my vocabulary.”