Documentation coverage enforcement for TypeScript, JavaScript, Python, and Go. Detects missing JSDoc/docstrings on exported symbols, misleading or stale inline comments, and absent README files in new packages. Does not overlap with dead-check (commented-out code). Wired into the conductor's review operation.
From clean-code-codexnpx claudepluginhub mikecubed/agent-orchestration --plugin clean-code-codexThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
Scope boundary: docs-check covers missing and misleading prose documentation.
It does not flag commented-out code — that is dead-check's domain (DEAD-1). Do not
raise DOCS violations for code that has been commented out; raise DEAD-1 instead.
Precedence in the overall system: SEC → TDD → ARCH/TYPE → DOCS-1 through DOCS-3 (all WARN).
Severity: WARN | Languages: typescript, javascript, python, go | Source: CCC
What it prohibits: Exported functions, classes, interfaces, and public methods with no documentation comment. Callers cannot understand the contract without docs.
Prohibited patterns:
// TypeScript/JavaScript
export function foo(...) { } // no preceding /** ... */ JSDoc block
export class Foo { } // no JSDoc
# Python
def public_function(...): # no docstring (first statement not a string literal)
class PublicClass: # no docstring
// Go
func ExportedFunction(...) { } // no preceding // ExportedFunction ... comment
type ExportedType struct { } // no preceding // ExportedType ... comment
Exemptions:
_ in Python/JS, lowercase in Go)Detection:
export function, export class, export const.*=.*function,
export const.*=> with no preceding comment block^def [^_] or ^class [^_] in Python (matches any top-level
public function or class — names starting with _ are private) with no
""" or ''' docstring on the next line; also honour __all__ when present^func [A-Z] in Go with no preceding // comment lineagent_action:
DOCS-1 (WARN): Exported symbol '{name}' at {file}:{line} has no documentation comment./**
* Brief description of what {name} does.
*
* @param paramName - description
* @returns description
*/
--fix: insert the template above the symbol — require human to fill
in the descriptionSeverity: WARN | Languages: typescript, javascript, python, go | Source: CCC
What it prohibits: Inline comments that contradict the code they annotate. Signs of staleness: comments referencing removed variables, old function names, or superseded logic. Comments that reference code which no longer exists nearby indicate structural staleness.
Prohibited patterns:
// TypeScript/JavaScript
// calls foo()
bar(); // comment says foo, code says bar
# Python
# returns the user ID
def get_users() -> list[User]: // comment says ID, function returns list
// Go
// deprecated, use NewParser instead
func Parse() { } // NewParser does not exist in this file
Exemptions:
// Code generated by ...)Detection:
agent_action:
DOCS-2 (WARN): Stale comment at {file}:{line} — references '{symbol}' which no longer exists nearby.--fix: remove the stale comment and add a // TODO: add accurate comment placeholder — do not attempt to auto-generate a corrected commentSeverity: WARN | Languages: typescript, javascript, python, go | Source: CCC
What it prohibits: New directories that contain source files but no
README.md. Applies to directories that appear to be a new module/package
(contain index.ts, __init__.py, package.json, or a Go package
declaration) but have no README.md alongside them.
Prohibited patterns:
src/payments/
├── index.ts
└── (no README.md)
pkg/auth/
├── auth.go
└── (no README.md)
src/utils/database/
├── __init__.py
└── (no README.md)
Exemptions:
__tests__/, *_test.go directories)Detection:
.ts, .js, .py, .go) and an entry point (index.ts, __init__.py,
package.json, or Go package declaration)README.md exists in that directoryagent_action:
DOCS-3 (WARN): Directory '{path}' contains source files but no README.md.--fix: create the README.md stub — require human to fill in the
description and usage exampleReport schema: see skills/conductor/shared-contracts.md.