bool isHookName(String name) => isSharedHookName(name) || name.startsWith('pre:') || name.startsWith('post:');