With the recent advances in micro devices, an accurate gas flow and heat transfer analysis become more relevant considering the slip effect. A micro-scale, multiple-relaxation-time (MRT) lattice Boltzmann method with double distribution function approach is used to simulate flow and heat transfer through circular- and diamond-shaped cylinders at the porescale level. The velocity slip and temperature jump are captured at the boundaries using a non-equilibrium extrapolation scheme with the counter-extrapolation method. A pore-scale domain of micro-cylinders comprised of circle and diamond shape are studied. It is found that the permeability increases linearly with an increase in Knudsen number for both circular- and diamond-shaped cylinders. However, the permeability increase for circular obstacle is larger than that of the diamond one. A larger surface area for diamond cylinder will offer more resistance to flow, hence resulting in lower values. For heat transfer, the Nusselt number shows an increase with increasing Reynolds number, however, it decreases with the increase in porosity. Nusselt number values are found to be higher for a circular obstacle. A variable boundary gradient for circular obstacle could be a possible explanation for this difference.