The General classification of shipyards. Any yard can repair a ship one class higher than it can build.
In general it takes a given population and industrial base to support a shipyard. The bigger the shipyard, the more people it takes. (I'm still thinking about numbers). Truly huge populations in the billions can support multiple shipyards. The Sol system for example has five class A shipyards, 10 class B shipyards, and nearly any station in orbit is at least a class D.
Build anything. These yards have the capacity to built the biggest and highest tech ships.
Build up to the 400 meter range. The technology and drives are the best but they don't have the resources for things like Federation heavy Cruisers, or massive bulk haulers. They also tend to be limited in the number of ships they can build at once.
Small ship building. Under 150 meter range. This yard could build a defiant for example. Large cutters small frigates and free traders. They don't tend to be up on the latest methods or technology. Usually less than ten ships at a time.
Repair facilities without the ability to build ships of any size.