/gabbe:documentationfrom GABBE
Generates accurate docstrings, API docs, and README content that matches current code with working examples. Supports JSDoc, PHPDoc, and Google-style Python docstrings.
Ships in GABBE. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate accurate, useful documentation for public APIs, modules, and the project README. Documentation describes WHY and WHAT (not HOW — the code shows how). All examples must be working code.
Identify what needs documentation
Write function/method docstrings
TypeScript (JSDoc):
/**
* Creates a new user account and sends a verification email.
*
* @param dto - User creation data (email, name, password)
* @returns The created user without sensitive fields
* @throws {EmailAlreadyExistsError} If email is already registered
* @throws {WeakPasswordError} If password doesn't meet requirements
*
* @example
* const user = await createUser({
* email: '[email protected]',
* name: 'Alice',
* password: 'SecureP@ss123'
* });
* // Returns: { id: 'uuid', email: '[email protected]', name: 'Alice' }
*/
async function createUser(dto: CreateUserDto): Promise<UserDto>
PHP (PHPDoc):
/**
* Creates a new user account and sends a verification email.
*
* @param CreateUserData $data User creation data
* @return UserResource The created user resource
* @throws EmailAlreadyExistsException If email is already registered
*
* @example
* $user = $this->createUser->handle(new CreateUserData(
* email: '[email protected]',
* name: 'Alice',
* ));
*/
public function handle(CreateUserData $data): UserResource
Python (Google Style / Sphinx):
def create_user(dto: CreateUserDto) -> UserDto:
"""Creates a new user account and sends a verification email.
Args:
dto (CreateUserDto): User creation data (email, name, password).
Returns:
UserDto: The created user without sensitive fields.
Raises:
ValueError: If email is already registered.
Example:
>>> user = create_user(CreateUserDto(email="[email protected]", ...))
>>> print(user.id)
"""
...
Verify examples are working
Update the project's README.md
Generate API documentation
If OpenAPI spec exists at docs/api/openapi.yaml:
# Scalar API docs (modern UI)
npx @scalar/[email protected] serve docs/api/openapi.yaml
# Redoc (alternative)
npx @redocly/[email protected] preview-docs docs/api/openapi.yaml
Generate module documentation (if tooling configured)
# TypeDoc for TypeScript
npx typedoc src/ --out docs/typedoc/
# JSDoc for JavaScript
npx jsdoc src/ -r -d docs/jsdoc/
# Laravel Scribe for PHP APIs
php artisan scribe:generate
# MkDocs (Python)
uv run mkdocs build
Check for outdated documentation
Updated docstrings in modified files + updated README sections. Report: "[N] functions documented, README sections updated: [list]."
example.com, 192.0.2.1, xxxx); scan the new docblocks for secret patterns before saving.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub andreibesleaga/gabbe --plugin gabbe49 skills in this plugin
/adr-writerGenerate Architecture Decision Records for significant technical decisions. Use when: architecture decision, ADR, why did we choose, why are we using, architectural choice./api-designAPI contract (OpenAPI, GraphQL SDL or proto) written before code, with resources, errors, pagination and authentication. Use when a new endpoint or API is needed or the contract of an existing one must change./arch-designArchitecture design from approved requirements — quality scenarios, style choice, decomposition, 4+1 or arc42 views, ADRs and risks. Use when a new system or major subsystem needs an architecture before implementation planning.Other plugins' skills for the same job