Stat bonus = ((stat value - 10) / 2.

Int 8 or 9 -> Int bonus -1

Skill value = Stat bonus + Proficiency Bonus + Other boni (Expertise, Items, Magic, ...)