Hallack, I think I recall your level-by-level play-journal postings on your 3.5 Beguiler from years ago. Good stuff! Like you, I love the Beguiler and have lengthy experience playing them in the trenches - two of them I got 10+ levels out of.
Sounds like you probably already know of the freely-available two PDF documents for ERTW's Pathfinder Beguiler. His PF Beguiler project was crowd-sourced for a looooooooong time. And from my experienced eyes, it looks fantastic. Although I've not had a chance to play it yet. ERTW has gone silent as of recent. But the level of minutiae, playtest revision, and quality control he put into the class was super impressive. He spent 6 years tweaking those 2 Beguiler documents.
Here's a link to his main Paizo Forum thread. Go down to his posts on April 12, 2018 for the most recent to ERTW's most up-to-date class documents.
https://paizo.com/threads/rzs2qmqe&page=last?Beguiler-conversion-for-Pathfinder***
On to Shadow Gambit ....
I played an illusionist with it. It's a fun feat that is "good" - not great. The flexibility of damage types is key here. Let's say you are 12th level and you want to blow-up your, 4th level level figments against your foes. You're best using this combo against elementally-vulnerable foes to get the 50% bonus tacked on (like, say, frost damage vs. a Fire Giant). Even so, that means your 4th are still only causing a meager 6d6 damage.
Note these 2 lines from the feat:
"The shadowy attack deals 1d6 points of damage per spell level."
"The shadowy attack
can deal acid, bludgeoning, cold, electricity, fire, piercing, or slashing damage, but the damage must be appropriate to the illusion. "
So against hard-to-ID creatures or ones that have tons of resistances, immunities, DR and what-not ... choose plain old Magic damage. Which means passing on the option to choose a damage type (note my bolded/underlined word up above).
Adding rider bad-status effects via Metamagic feats is quite mandatory in order to boost the weak offensive output of the feat.
What everyone else wrote in this thread are also great ideas. Although keep in mind, the Stencil Set mentioned earlier can only be used by Wayangs. You can't even do a "Emulate Race" UMD check to use it since it's a mundane item.
***
Finally, my fave figment spell to Shadow Gambit is the 2nd level Haunting Mists. Independently, the spell does a lot of nice things. Although the things it does do not neccessarily match up well with a spell that is a "illusion (figment) [fear, shadow]" spell. The spell is notorious for causing a lot of headachey disagreements at the tabletop. Behold one of the reasons why ...
https://rpg.stackexchange.com/questions/41043/does-haunting-mists-deal-wisdom-damage-once-or-repeatedly