Loading...
Loading...
Standards and quality gates for code comments, JSDoc/docstrings, technical documentation, and git commit messages. Use to evaluate or write high-signal, concise documentation and eliminate AI comment fluff, over-explanation, ghost commentary, commit message storytelling, and stylistic tells.
npx skill4agent add dvcrn/skills comment-and-documentation-qualityCode comments, documentation, and commit messages must provide concise usage, non-obvious constraints, and essential why—not internal mechanics lectures, reverse-engineering diaries, or conversational storytelling.
—–--—–---:// Set timeout — defaults to 5000ms* wrote -- and it really does drop writes -- so we read back// Set timeout (defaults to 5000ms)* Read back row after write to verify updates.// Memrise rate-limits the account and silently drops writes when it bites, so
// each call costs a read-back. Trim the requests when that matters: numeric
// keys need no name lookup, poolId saves the one that finds the thing's pool,
// and verify: false drops the read-back (and with it any proof it worked).Pass `verify: false` to skip write verification on high-volume updates.truefalse@default/**
* Read the row back and confirm the new values are there. On by default,
* because the endpoint reports the same thing whether or not it wrote.
* Turning it off saves one request per call and trusts a silent API.
*/
verify?: boolean;/**
* Whether to read back and verify updated row data.
* @default true
*/
verify?: boolean;/**
* The signed-in account, as `/v1.25/me/` reports it.
*
* The wrapping `profile` key is dropped, since the response carries
* nothing else.
*/
async getMe(): Promise<Profile>/**
* Fetches the current signed-in user profile.
*/
async getMe(): Promise<Profile>/**
* The signed-in account. Fields below were observed on a live response; the
* index signature covers the rest, since this payload carries whichever
* subscription and entitlement flags the web client happens to need.
*/
export interface Profile { ... }/**
* Signed-in user profile.
*/
export interface Profile { ... }// We no longer call legacyValidate() here since v2 handles it in middleware// Removed old API endpoint because it's deprecated// set loading state to falsesetLoading(false)// Step 1: Initialize list// Step 2: Filter itemsgit-commit-quality@param@returns@throwsTODO:FIXME:### `path/to/file.ts:L42` — `<context/symbol name>`
- **Original:** `<exact original comment or docstring text>`
- **Anti-Pattern:** `<Anti-Pattern Name(s)>`
- **Issue:** `<1-sentence concise explanation of what makes it noise/bloat>`
- **Replacement:** `<Clean drop-in replacement, or *(Delete entirely)*>`