Do I need a permit for my project? How to find the real answer

How permit thresholds work for fences, decks, sheds and slabs, why city and county rules override state rules, and how to check yours.