I automate the boilerplate with inline JSDoc/TS types as I code, then use tools to extract it. If it needs a wiki, I write it before coding to clarify my own design. Saves time later.
Writing the wiki before coding is an elite move, Tahir. It doubles as a design doc and ensures you aren't trying to remember your reasoning after the fact. Automating the boilerplate with TS/JSDoc on the fly keeps the friction so low, too. Great workflow!