← knowledge.oriz.in

Userscript @author metadata uses GitHub handle `chirag127`

rule ruleuserscriptmetadataattribution

Userscript @author = chirag127

Rule

Every userscript in the family uses this metadata block author line:

// @author       chirag127

Not Chirag Singhal. Not Chirag. Not Oriz. The GitHub handle, lowercase.

Why

Other userscript metadata standards (family conventions)

// ==UserScript==
// @name         <descriptive name>
// @namespace    https://github.com/chirag127/userscripts
// @version      <semver>
// @description  <one-line, ≤200 chars>
// @author       chirag127
// @match        <as narrow as feasible>
// @run-at       document-end (default) | document-start | document-idle
// @grant        <list each used GM_* explicitly; never use @grant none unless truly grant-free>
// @license      MIT
// @homepageURL  https://github.com/chirag127/userscripts/tree/main/<slug>
// @supportURL   https://github.com/chirag127/userscripts/issues
// @updateURL    https://github.com/chirag127/userscripts/raw/main/<slug>/<slug>.user.js
// @downloadURL  https://github.com/chirag127/userscripts/raw/main/<slug>/<slug>.user.js
// ==/UserScript==

@updateURL + @downloadURL are non-negotiable — without them Tampermonkey/Violentmonkey skip the auto-update cycle and every user gets stuck on whatever version they first installed.

Enforcement

Any new userscript: copy the metadata block above. Any existing userscript: when editing for any reason, normalize the @author line in the same commit. No standalone "fix author" commits — piggyback.

Cross-refs