leak

Detect and fix context leaks in code comments and documentation.

76|6|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/gweslab/cerf --skill leak-gweslab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: leak
Source: https://github.com/gweslab/cerf/tree/main/.claude/skills/leak
Command: npx skills add https://github.com/gweslab/cerf --skill leak-gweslab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps developers identify and correct narration leaks in code comments and documentation, ensuring that only technical information remains, improving code readability and maintainability.

Core Features & Use Cases

  • Detects narration leaks: Identifies and lists all instances where session or conversation context has been inadvertently committed to code comments or documentation.
  • Enumerates leaks: Provides a detailed enumeration of each leak, including file, line number, and the exact text that is leaking context.
  • Fixes leaks: Offers instructions on how to fix each leak, usually by deleting the excess narration or rewriting it to be self-contained.
  • Use Case: When a developer uses the /leak command, the Skill will analyze the codebase and provide a report on all leaks, along with instructions for fixing them.

Quick Start

Run the command /leak to identify and fix context leaks in your codebase.

Frequently Asked Questions about leak

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify and fix context leaks in code comments and documentation?

To identify and fix context leaks in code comments and documentation, run the `/leak` command to analyze your codebase, enumerate leaking text with file and line details, and rewrite or delete non-self-contained narrative.

What is a narration leak in code and documentation?

A narration leak in code and documentation is inadvertently committed session or conversation context that lacks self-contained technical value, reducing code readability and maintainability by embedding irrelevant chat history into codebase files.

How do I remove session conversation context from committed code comments?

Remove session conversation context from committed code comments by running an analysis tool to detect narrative leaks, then follow provided instructions to delete the excess narration or rewrite it to be self-contained technical information.

Can I detect documentation context leaks without specifying file paths or dependencies?

Yes, you can detect documentation context leaks without specifying file paths or dependencies, as the analysis script automatically scans the codebase to enumerate all instances of non-self-contained narrative and provides exact file and line locations.

What is the best way to clean up non-technical narrative in a codebase?

The best way to clean up non-technical narrative in a codebase is to use an automated detection script that enumerates context leaks by file and line number, then rewrite or delete the excess narration to ensure only self-contained technical information remains.