Spray a large skillet with cooking spray and heat over medium-high heat. Add onion, and saute about 3 minutes. Add garlic, and cook 1-2 minutes longer. Add chicken, and sprinkle with chili powder. Stir fry until chicken is cooked on the outside, about 5 minutes.