We consider a generalization of degeneracy loci of morphisms between vector bundles based on orbit closures of algebraic groups in their linear representations. Using a certain crepancy condition on the orbit closure we gain some control over the canonical sheaf in a preferred class of examples. This is notably the case for Richardson nilpotent orbits and partially decomposable skew-symmetric three-forms in six variables. We show how these techniques can be applied to construct Calabi-Yau manifolds and Fano varieties of dimension three and four.

This is a joint work with Vladimiro Benedetti, Laurent Manivel and Fabio Tanturri.