Gens 6 and 7 are quite hard to rank with them being mixed bags overall. There's a lot of improvements X/Y made such as fixing some areas of competitive battling such as weather being limited to 5 turns, having simpler ways of going about EV training, far better online features and outside of that did well in having a variety of Pokemon with the sheer size of the Kalos Dex but had a bland story with little to do post-game. As for the Exp. Share, it's fine. It's there is you want to use it and can be turned off if you don't. The former route helps if wanting to go for less of a long haul whereas the latter helps really amp up the difficulty. Including ORAS, then that's in a similar boat. A lot of gameplay mechanics got improved such as methods for finding rare Pokemon, EXP grinding, etc. though a lot of the changes to the story hurt it rather than help. Most of these changes are fairly small, but happen often enough to give it the "death by 1000 cuts" effect.
Gen 7 was a step up in terms of story with its main cast being more fleshed out and delivering some differences from the standard experience such as not having a standing champion and has title challenges placed on you instead. The post-game also has more going for it than X/Y and the removal of HMS was a good move in allowing for more team variety for story playthroughs rather than requiring certain Pokemon. USUM was a give and take on this with elements such as the far more generic Hau taking Kukui's place as your first title match and limiting some of the character changes (eg. Lillie not going to Kanto), but did make improvements such as Lusamine's character having more agency and growth. Team Rainbow Rocket was pretty dumb fanservice though. The post-game was improved other than that with the Ultra Wormholes allowing for a more plausible method of catching Legendaries than them just showing up on some magical island. Gameplay-wise, the islands for levelling up, stat boosting, etc. are easier than Super Training, but a bit too easy, so not that exciting if wanting gains to feel earned. Z Moves are a bit too much of a flashy gimmick compared to Mega Evolution, though at least it's something that extends to all Pokemon rather than a few.
Overall, they're fun games if wanting to do quicker playthroughs of than those prior to them and do offer some level of greater variety in playstyles when it comes to things such as turning the EXP Share on/off or not needing HMs in Gen 7. They're far from the peak of the franchise, but definitely not the bottom tier. They're not HG/SS, but at least have far more going on in them than Gen 1 and is far better than Gen 8, and whilst I have some nostalgia for the Sinnoh games, Gens 6 and 7 are possibly superior to them considering some of the greater flaws of SInnoh such as the overly long time it can take the HP bar to deplete or how Platinum handled the version exclusive problem by just making all version exclusives of D/P unobtainable other than Dialga and Palkia.