The Catholic Church teaches that faith in God plus our works (in that order) are necessary for salvation.
This is true only if you count Baptism as a work (which it is, but it’s not what most people think about).
The Catholic Church teaches that a Baptized person who has not committed a mortal sin is saved. Nothing else is required.
The Catholic Church teaches that a Baptized person who has committed a mortal sin and attends Sacramental Confession (which is a work, but is not what most people think about) is restored to salvation. Nothing else is required.
The Catholic Church teaches that the failure to perform a work (such as an act of mercy) might constitute a sin of omission, and might rise to the status of mortal sin under certain very specific circumstances. But, like any mortal sin, such a sin of omission is completely absolved through Sacramental Confession. Nothing else is required (aside from completing the penance imposed by the Confessor).
The Catholic Church teaches that each and every person can be absolutely assured of salvation by just one or two
particular works: Reception of Christian Baptism (
really important) and attending Sacramental Confession (important if we have fallen into mortal sin, either of commission or omission). Neither of these “works” are what most people think about. Valid Confession requires a “resolve” to sin no more, but it is not invalidated if we fail to uphold our resolve (it is invalid only if we only pretended to have this resolve in the first place).
There are no “good works” (the “works” that most people think about) that are
required for salvation, according to Catholic doctrine. Christian Baptism without any accountability for mortal sin is the ONLY requirement for salvation, according to the Catholic Church.