{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/3"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/4"}],"enrichment":{"capability":"Detects and fixes misaligned ASCII art boxes in documentation by validating box-drawing character alignment and automatically correcting width, corner, and border inconsistencies.","skillfed_tags":["documentation-tooling","ascii-art","linting"],"use_cases":["Validate ASCII flowcharts and diagrams in markdown documentation before publishing to catch subtle alignment errors introduced by AI tools","Auto-fix misaligned boxes in bulk across a documentation directory using the CLI or Python API in a CI/CD pipeline","Integrate into a documentation build process to enforce consistent ASCII art formatting without manual review","Show intentionally broken boxes in tutorials or before/after examples using ignore markers to skip validation on specific blocks","Detect and report all ASCII boxes in a file programmatically for custom processing or metrics collection"],"what_it_does":"ascii-guard is a linter and auto-fixer for ASCII art boxes commonly found in documentation. It detects misalignments where box borders (drawn with Unicode box-drawing characters like \u2500, \u2502, \u250c, \u2510, \u2514, \u2518) are off by 1\u20132 characters, which is a frequent artifact in AI-generated diagrams. The tool validates vertical alignment of \u2502 characters, horizontal alignment of \u2500 characters, corner correctness, width consistency across top/middle/bottom borders, and content fit within boxes.\n\nIt runs as both a CLI tool (lint and fix modes, with dry-run preview) and a Python library with functions like lint_file(), fix_file(), detect_boxes(), and validate_box(). The package has minimal dependencies\u2014zero for Python 3.11+, one (tomli) for Python 3.10\u2014and is built on the standard library, making it lightweight and fast to install and run.","worth_installing":"Yes. The package solves a real problem (AI-generated ASCII art misalignment) with minimal supply-chain risk, zero dependencies on modern Python, active maintenance, and a stable API. No known vulnerabilities. Install if you maintain documentation with ASCII diagrams or generate them programmatically."},"id":"ascii-guard","links":{"html":"https://skillfed.io/packages/ascii-guard","md":"https://skillfed.io/packages/ascii-guard.md","pypi":"https://pypi.org/project/ascii-guard/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-12","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"ascii-guard","python_support":"supports_current","summary":"A minimal-dependency Python linter for detecting and fixing misaligned ASCII art boxes in documentation"},"popularity":{"monthly_downloads":125238,"position":11830,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.3.0"}
