A reliquarian occultist does what you want:
The reliquarian archetype changes the occultist’s spells from occult to divine. They are still Intelligence-based—and reliquarian does change mental focus to be Wisdom-based, so that is a fairly significant drawback.
The occultist spell list has quite a large number of illusions, and you can specialize in them
The reliquarian also gains a domain, which could be the illusion domain
4 + Int skills isn’t bad, particularly on a class that rather likes Intelligence, but Stealth is not a class skill
The occultist is a very strange spellcaster, only getting to 6th-level spells despite being a “primary” spellcaster, without some other schtick (e.g. martial combat à la magus or warpriest, party buffing à la bard or skald, skill-monkeying à la investigator). However, what they get instead is a very large number of spells known that they can cast spontaneously. Generally speaking, the occultist is considered to be somewhat on the weaker side (for a ⅔-caster), but it’s still pretty solid. Also, thematic as anything—easily the most evocative expression of “magician” in Pathfinder, in my opinion.
To mitigate the occultist’s weaknesses, I usually use the silksworn archetype—and in my games, the silksworn’s mental focus and devoted mystic features are more the norm. So perhaps ask your GM if they would be amenable to making mental focus equal level + Int + Wis, similar to the silksworn’s level + Int + Cha, and to have the devoted mystic feature on the reliquarian (minus one for the domain, so three at 1st and then as normal for devoted mystic). Or even swap the reliquarian’s spells to Wis or Cha, and use Wis + Cha to be quite similar to a cleric. This does a lot to make the occultist more fun and give them the staying power that I consider appropriate for a primary spellcaster, particularly one without access to the highest-level spells.
A filidh bard kind of does what you want as well:
The filidh archetype makes the bard’s spells divine, and leaves them as Charisma-based which may be more appropriate for an illusionist or trickster. On the other hand, it’s the druidic kind of divine magic, which may not match what you’re looking for.
The bard spell list has a great number of illusions
6 + Int skills is as good as you’re going to get with any kind of serious spellcasting, and Stealth is in-class.
Ultimately, the Pathfinder bard—unlike the 3.5e one—is again rather weak for a ⅔-caster. Bardic performance is really limited, scales extremely slowly, and can get in the way of other actions. Between the greater match of the reliquarian and the relative weakness of the bard, I like the reliquarian occultist better than the filidh bard for this, even if you have to take the Black Sheep trait or something to get Stealth in-class.
3.5e Divine Bard
Speaking of the 3.5e bard, there is a divine bard variant in that system as well. Since the 3.5e bard was awesome compared to the Pathfinder one, if allowed to use this instead of the Pathfinder bard it might be solid. Ultimately, the divine bard throws a lot of roadblocks in your way—need both Wisdom and Charisma for spells, and blocked from casting spells with an alignment descriptor you lack (rather than only being blocked from casting spells with an alignment descriptor opposed to your own, as with most divine spellcasters).