Yes. Because skill checks are ability checks.
See pp. 173-174 of the PHB, specifically the delineation of the "three main rolls of the game--the ability check, the saving throw, and the attack roll" and the following description of skills:
Each ability covers a broad range of capabilities, including skills that a character or a monster can be proficient in. (Emphasis mine)
Any History check is an Intelligence check: it's an Intelligence check in which you might be proficient, and covers a small subset of Intelligence.
An authoritative clarification on this matter came in The Ability Check, one of Jeremy Crawford's Sage Advice articles:
Whenever the rules say you’re making a check using one of the six ability scores, you’re making an ability check. This is true whether or not the check involves a skill. A Strength check, a Dexterity check, a Charisma (Persuasion) check, a Wisdom (Perception) check—those are all examples of ability checks.