Do you ever make custom pattern libraries?

When you create a custom pattern library how close do you stick to a framework vs. making components more specific to your needs and use cases? What type of information do you document (resources, placement, developer notes, description of the elements etc.)