Well, I'd say attitude has almost as much to do with it as flying ability. You need to be confident but not cocky, it's a fine line. I think it was HPMA, sorry everyone, but I actually learned something from that course :-[ , but we learned that there's 3 types of people and when the poop hits the rotating air mover, that's when you see the 3 types in all their glory. In no particular order....Type 1, this type is a doer, when it gets crazy, these people will react and think on their feet so to speak. This type actually only makes up about 15-20% of the population. The second type are people that are unable to think but will follow directions without hesitation, usually directed by the Type ones. They make up about 30-40% of the population IIRC. The last type are the ones that will freeze, they won't react, they won't follow directions and usually bad things happen. The kind of people that will watch an accident unfold but not do anything to try and prevent it. Sadly, this type makes up about half of the population.
So what I'm getting at is, a pilot must be a type one, you can't panic and you can't freeze, your crew's lives depend on it. It's possible to be a type 2 from my example, but these types wouldn't make a good aircraft captain in my opinion. You have to have confidence in what you know but at the same time you don't want to be so cocky as to ignore good advice from the guys sitting beside you and behind you. The sides of this fine line are: 1. not being confident in your knowledge and always second guessing yourself and 2. being cocky and ignoring what your crew is telling you.
Hopefully I make a little sense with this post, it's just my thoughts so feel free to add where required.
Another thing I think is important, is your ability to remember facts and figures, things like normal torque ranges, speeds, checks, etc. I haven't flown a Harvard in over a year, yet I still remember that it stalls at 18 AOA and has a Vne of 316 or Mach .67, gear speed is 147. You need to remember red page emergencies verbatim and know them stone cold.
There's a couple that I think are important, unfortunately, the two I mentioned tend to be natural and not learned.
Cheers