audit-path-sanitize

Community

Prevent unsafe folder and route repairs

AuthorElPoot
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It identifies risks and inconsistencies in how the contabilidad system sanitizes folders, repairs orphaned paths, and applies path/rename-related cleanup across the filesystem and classification storage.

Core Features & Use Cases

  • Verifies destination and orphan detection logic in gestor_contable/core/classification_utils.py so broken routes are detected only when the destination no longer exists.
  • Audits Windows-safe folder name sanitization in gestor_contable/core/classifier.py by checking character replacement rules and _sanitize_folder() behavior.
  • Checks destructive folder cleanup safeguards in gestor_contable/core/folder_sanitizer.py by confirming empty-folder checks and structural-folder protections before any rmdir/rmtree-style removal.
  • Use case: Before running folder-curation operations in production, you can request a targeted audit of path healing, empty-folder cleanup, and SQLite-related rename completeness to reduce the chance of deleting valid folders or leaving routes desynchronized.

Quick Start

Ask the AI to run an audit report for this repo that checks _sanitize_folder(), empty-folder deletion guards, and orphan/path-rot detection in the specified Python modules.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: audit-path-sanitize
Download link: https://github.com/ElPoot/contabilidad/archive/main.zip#audit-path-sanitize

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.