Something special is happening here.

There have not been many shining moments for the Knicks against Stephen Curry since the Warriors drafted him in 2009.

But this became one of them on a Thursday night in San Francisco, when the Tom Thibodeau Knicks train came rolling through California and reclaimed a .500 record.

The stars of the night were RJ Barrett, with his career-high 28 points, and Julius Randle, posting a near triple-double. Not Curry.

“It’s a typical Thibs team,’’ Warriors coach Steve Kerr said beforehand. “Defending like crazy. They’re building a foundation.”

The Knicks continued to build a winning streak that’s now three games after shutting down Curry in the second half and pounding the Warriors in an exhilarating, wire-to-wire 119-104 victory.

“I don’t think we view ourselves as underdog,’’ Randle said. “We view ourselves as a good team. We have pretty good team confidence.’’

After ransacking the Warriors’ new San Francisco digs, Thibodeau paid homage to Golden State and downplayed his team’s 8-8 mark.