Actions: Multiattack: 2 Claws (Melee or Ranged?), maybe each attack does 7-9 damage (e.g., 1d6 + 3 + 1d8 necrotic). Maybe a spell-like ability: "Shadow Blast" as an action, 3d6 necrotic in a line. Or a different mechanic.
Special Traits: Maybe "Shadow Form": advantage on Dexterity saves against non-magical attacks, disadvantage on Perception checks to detect it. "Invisibility": automatically Invisible in dim light or darkness. Legendary Actions: 3-4 actions like telepathic bond with master, shadow surge attack, or teleport. Alternatively, since CR is 3, maybe 2-3 legendary actions. Companion of Darkness -Ch. 9- By Berkili4
AC might be 13-15. HP mid to high, maybe 50-80. Speed could be 30 feet. Abilities: maybe Strength moderate, Dexterity high, Constitution good. Wisdom and Intelligence lower. Saving throws could be Dexterity and Constitution. Skills like Stealth, Perception. Immunities to poison and necrotic maybe. Senses like Darkvision 60 feet. Languages: maybe Shadow Tongue or something. Challenge rating 2-4. Actions: Multiattack: 2 Claws (Melee or Ranged