To detect traps you need perception -> its better to have high perception, some hidden stuff can be reveal if you have more than 22 perception.
To disarm traps you need mechanics, let your companion disarm the trap, distribute/max specific skill (mechanic/stealth) on companions helps.