The Rebbe's guidance on praying with a minyan and on the life of the shul:
Keep the minyan going. Maintain a daily minyan and keep the shul open often, as a center for Torah and prayer (IK 2378, 3892). Starting a new minyan is hard at first; persevere and it becomes easier (IK 4026). Difficulty keeping a minyan together is a reason to work harder, not to move away (IK 3748). There is merit in praying regularly in one's established minyan (IK 2211). Join the minyan without skipping parts of the prayers (IK 5482).
Halachic points. Don't count a minor as the tenth for a minyan (IK 2524). Using a microphone on Shabbos or Yom Tov in shul is forbidden and a public desecration (IK 6495). One should not pray in non-Orthodox synagogues (IK 9396). A son may pray in a more religious shul even against his father's wishes, respectfully and peacefully (IK 3854). When a small community has trouble making a minyan, there is flexibility in who leads the prayers (IK 746); where earning a living requires living without a minyan, some leniency may apply (IK 674).
Leading the prayers. A chazzan should review the prayers, their meaning and their laws before leading, especially for the High Holidays (IK 3738, 3798, 4674). Leading the congregation in prayer is a way of honoring G-d with one's voice (IK 2983), and one should seek such roles (IK 4635).
A shul that lives. A shul's holiness should carry into daily life (IK 6316, 6123). A shul should reach out to the Jews around it (IK 2362), add public Torah classes, including practical halachah (IK 2997, 4364), and introduce the saying of Tehillim, even on weekdays (IK 1008). A shamash's real task is to bring light — prayer and learning — to the shul (IK 2415, 3078). Don't withdraw from the minyan because of distractions; bring warmth to others instead (IK 2939).
See also: Prayer – Nusach and prayer customs; Prayer – Preparing for prayer and davening at length.