Which definition of the word craft is used in the

sentence below?

The burglars had to craft a detailed plan in order to break through the

museum's complex security system.

1.a job or activity requiring special talents

2.a skill or ability used for bad purposes

3. A ship or other vessel

4.to make or design something