Boom is telling you to start with your hands... Jim is telling you to get your lips on it.
Dirty lads....
The simple truth is the stuff you write will tell YOU the instrument it belongs on.
When you pick up the guitar and say, "ok this will be the guitar bit", put the guitar down and walk away.
Not natural.
Do you have a smartphone? Grab a free microphone app... I use MicPro on apple
http://www.downloadcollection.com/graphics/largeimages/mic_pro___recording-501510.jpeg
I use this ALL THE TIME. If I am out and about or just playing with a few minutes downtime, when I stumble across some magic I slap the app and record a chunk for when I have more time. Sometimes I just acapella that riff into it.. hum or scat or bad beat box.
I was taking the fam on a bike ride one day and I got a solo in my head for a piece I had been working on, recorded it by mouth and got home an hour later and the pitch I had hummed at was perfect and it became the solo for that song.
Writing is personal, even riffs... how do you write an original song? You find some combo of notes that sounds good to you, that doesn't sound like anything else!
Sometimes noodling around will give you a riff, sometimes using a particular effect or effect combo will trigger something. Sometimes a capo or a drop tuning, or a weird tuning that you just happened across. Try a new chord, a new timing, or just follow a thought pattern.
There are endless ways to write songs...
Inspiration by a particular song, and emotion, an event, a sound you created may become a focus. You may replicate the sound a vacuum cleaner makes, or a grinding machine, a bird whistle, a video game sound.
Writing isn't about writing. It's about being able to hear what isn't there yet, decoding clues that aren't given and bringing something to life that never even knew it was going to exist.
Magic is a cliché word.
Don't write. Just be aware of what you have done and wait for what you haven't thought about doing yet.
It isn't about making sense. It is about making music.