Specs: add a best practices document for framework authors

Review URL: https://codereview.chromium.org/726723002