Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
1. **NEVER run Python directly** - Python is NOT installed locally. Use Docker for ALL Python tasks.
Sign in to like and favorite skills
/home/corey/projects/docling/docling-github/ - This is protected source from GitHub./home/corey/projects/docling/scout-docs/ for all new files and modifications.⚠️ ACCOUNTABILITY NOTE: These rules were strengthened after being violated 7-10 times, including by the same Claude instance that wrote them. Breaking these rules again, especially Rule #1, would demonstrate inability to follow explicit self-imposed instructions.
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
docker compose up -d - Start the applicationdocker compose exec backend python -c "..." - Run Python code in backend containerdocker compose exec backend bash - Open shell in backend containerdocker compose logs -f - View live logsdocker compose logs -f backend - View backend logs onlyuv sync to create/update virtual environment and install dependenciesuv add <package> to add new dependencies (updates pyproject.toml and uv.lock)uv venv --python 3.12 for specific Python versions if needed⚠️ Remember: Use Docker for Python execution
uv run ruff format - Format code with Ruffuv run ruff check --fix - Lint and auto-fix with Ruffuv run mypy docling - Run type checking with MyPypre-commit run --all-files - Run all pre-commit hooksuv run pytest - Run testsDOCLING_GEN_TEST_DATA=1 uv run pytest - Regenerate reference test datamkdocs serve - Start local documentation server (http://localhost:8000)mkdocs gh-deploy - Deploy documentation to GitHub Pages⚠️ Note: Run these commands inside Docker containers
docling <file_or_url> - Convert document to Markdowndocling --pipeline vlm --vlm-model smoldocling <file_or_url> - Use VLM pipeline with Transformers/home/corey/projects/docling/docline-github/ - PROTECTED: Source of truth from GitHub. DO NOT MODIFY any files in this directory or subdirectories./home/corey/projects/docling/scout-docs/ - Working directory for new files, documentation, and modifications.docling/document_converter.py) - Main entry point for document conversiondocling/backend/) - Format-specific backends that handle different document types:
abstract_backend.py - Base classes for all backendspdf_backend.py, docling_parse_v4_backend.py, msword_backend.py, etc.AbstractDocumentBackend with format-specific conversion logicdocling/datamodel/) - Core data structures and modelsdocling/pipeline/) - Processing pipeline componentsdocling/cli/) - Command-line interfaceDoclingDocument representationtests/data_scanned/groundtruth/DOCLING_GEN_TEST_DATA=1 environment variable to regenerate test fixtures