docs(guide/directive): rewrite directive guide