.remote-cache/kreuzberg-shared-rules/.ai-rulez/skills/platform-support-cross-platform-compatibility/SKILL.md
______________________________________________________________________ ## priority: critical # Platform Support & Cross-Platform Compatibility **Supported Platforms**: Windows (via Git Bash/MSYS2/MinGW/PowerShell), Linux (all major distributions), macOS (Intel & ARM/M-series). **Platform Detection in Taskfiles**: - `{{.OS}}`: Detects operating system (windows, linux, darwin) - Windows detection: PowerShell, GOOS env, WINDIR/SYSTEMROOT, MSYSTEM (Git Bash/MSYS2/MinGW) - Linux/macOS: uname
npx skillsauth add kreuzberg-dev/html-to-markdown .remote-cache/kreuzberg-shared-rules/.ai-rulez/skills/platform-support-cross-platform-compatibilityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Supported Platforms: Windows (via Git Bash/MSYS2/MinGW/PowerShell), Linux (all major distributions), macOS (Intel & ARM/M-series).
Platform Detection in Taskfiles:
{{.OS}}: Detects operating system (windows, linux, darwin)
{{.ARCH}}: Detects CPU architecture (x86_64, arm64, etc.){{.EXE_EXT}}: Platform-specific executable extension (.exe on Windows, empty on Unix){{.LIB_EXT}}: Platform-specific library extension (dll on Windows, dylib on macOS, so on Linux){{.NUM_CPUS}}: CPU count for parallel builds (PowerShell/sysctl/nproc/cpuinfo detection)Platform Guards in Task Files:
cmd: "script.sh"; platforms: [linux, darwin]cmd: "script.bat"; platforms: [windows]cmd: "script.sh"; platforms: [darwin]Cross-Platform Best Practices:
Environment Variables for Cross-Platform:
LD_LIBRARY_PATH (Linux): Add target/release/target/debug for FFI testsDYLD_LIBRARY_PATH (macOS): Add target/release/target/debug for FFI testsPATH (Windows): Automatically uses backslashes for library lookuptools
Convert HTML to Markdown, Djot, or plain text with structured extraction. Use when writing code that calls html-to-markdown APIs in Rust, Python, TypeScript, Go, Ruby, PHP, Java, C#, Elixir, R, C, or WASM. Covers installation, conversion, configuration, metadata extraction, document structure, and CLI usage.
development
Developer quick start guide with prerequisites, setup, and workflow commands
development
Common task runner commands for build, test, lint, and format workflows
tools
______________________________________________________________________ ## priority: high # Workspace Structure & Project Organization **Rust workspace** (Cargo.toml): crates/{kreuzberg,kreuzberg-py,kreuzberg-node,kreuzberg-ffi,kreuzberg-cli}, packages/ruby/ext/kreuzberg_rb/native, tools/{benchmark-harness,e2e-generator}, e2e/{rust,go}. **Language packages**: packages/{python,typescript,ruby,java,go} - thin wrappers around Rust core. **E2E tests**: Auto-generated from fixtures/ via tools/e2e