CtrlK
BlogDocsLog inGet started
Tessl Logo

xberg

github.com/xberg-io/xberg

Skill

Added

Review

wasm-constraints

.ai-rulez/skills/wasm-constraints/SKILL.md

WASM build constraints for the crates/xberg-wasm crate — the wasm-target feature set, no-tokio sync-only internal APIs, the mandatory SyncExtractor trait for WASM-compatible extractors, the 2 MB HTML size limit, size-optimized build config (opt-level="z"), and the async-wrapper/sync-internal API pattern. Load when building for wasm32, adding or modifying a WASM-compatible extractor, or debugging WASM build/runtime failures.

76

release-versioning

.ai-rulez/skills/release-versioning/SKILL.md

How xberg versions are synced and released — Cargo.toml is the single source of truth, `task version:sync` propagates it to alef-managed binding manifests AND the integrations under integrations/, which are versioned and published in lockstep with core (including -rc.N). Load before bumping a version, editing the version-sync task, or touching an integration's version/xberg dependency.

79

plugin-architecture-patterns

.ai-rulez/skills/plugin-architecture-patterns/SKILL.md

Plugin architecture, registration, and trait patterns

54

mime-detection-routing

.ai-rulez/skills/mime-detection-routing/SKILL.md

MIME type detection and extractor routing in core/mime.rs and core/extractor/bytes.rs — the extension→EXT_TO_MIME→validate→registry→extractor flow, key detection functions, the 118+ case-insensitive extension map, priority-based registry selection, wildcard MIME families, and how to add a new MIME type. Load when adding a format, wiring an extractor to a MIME type, or debugging why a file routes to the wrong (or no) extractor.

75

format-specific-extraction

.ai-rulez/skills/format-specific-extraction/SKILL.md

Format-specific document extraction workflows

54

feature-flag-policy

.ai-rulez/skills/feature-flag-policy/SKILL.md

Cargo feature flags for crates/xberg — ORT-incompatible targets (WASM, Android x86_64 emulator), type-only and tract inference companion features, WASM/Android-safe variants, PDF backend, mutually-exclusive ORT variants, platform-conditional deps, aggregate feature sets, and build profiles. Load when adding, wiring, or debugging a Cargo feature, or when reasoning about what compiles on WASM/Android/Windows/macOS-intel targets.

76

extraction-pipeline-patterns

.ai-rulez/skills/extraction-pipeline-patterns/SKILL.md

Document extraction pipeline architecture and patterns

47

crate-structure

.ai-rulez/skills/crate-structure/SKILL.md

The Xberg workspace layout — the version source of truth (root Cargo.toml [workspace.package] version), the crates/ workspace members (core lib, CLI, FFI, per-language binding crates, OCR crates), the out-of-workspace binding packages under packages/ (PyPI, RubyGems, Composer, Go, Maven, NuGet, Hex), and the tools/ directory. Load when navigating the repo, deciding where code belongs, or wiring a new crate or binding package.

75

config-loading-precedence

.ai-rulez/skills/config-loading-precedence/SKILL.md

How Xberg resolves configuration — CLI-mode and server/MCP-mode precedence orders, config file auto-discovery (xberg.{toml,yaml,json}), field-level inline JSON merge (merge_json_into_config), config file formats, and apply_extraction_overrides. Load when adding a config flag or env var, changing config precedence, or debugging why a setting is or isn't taking effect.

75

chunking-embeddings

.ai-rulez/skills/chunking-embeddings/SKILL.md

Chunking, embeddings, and RAG pipeline integration

52

api-server-mcp

.ai-rulez/skills/api-server-mcp/SKILL.md

REST API server and MCP protocol integration

47

alef-generated-bindings

.ai-rulez/skills/alef-generated-bindings/SKILL.md

Alef-managed generated bindings in packages/* and binding crates — the regeneration workflow (task alef:generate / alef:format), Go DocumentExtractor→Extractor rename mapping, the git-diff freshness check, and the key alef.toml sections. Load before editing anything under packages/* or a binding crate, or when regenerating, formatting, or verifying Alef output.

80