  We obtain a common generalization of two types of Sylvester formulas for
compound determinants and its Pfaffian analogue. As applications, we give
generalizations of the Giambelli identity to skew Schur functions and the Schur
identity to Schur's skew $Q$-functions.
