CtrlK
BlogDocsLog inGet started
Tessl Logo

xberg

github.com/xberg-io/xberg

SkillAddedReview
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:verify), the alef.toml section layout, the core-side edits that break a regen, and the FFI bridge's JSON marshalling requirement. Load before editing anything under packages/* or a binding crate, before adding a trait method or extractor, or when regenerating or verifying Alef output.

76

api-server-mcp

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

REST API server and MCP protocol integration

52

batch-extraction

plugin/.ai-rulez/skills/batch-extraction/SKILL.md

Use when extracting from many files at once with shared config, bounded parallelism, per-file overrides, and error recovery. Covers the `batch` command, `--file-configs`, `--max-concurrent`, and output layout.

68

benchmark-workflow

.ai-rulez/skills/benchmark-workflow/SKILL.md

Run, diagnose, or change Xberg extraction benchmarks, quality scoring, benchmark fixtures, artifact contracts, and independently sourced ground truth. Load for the Benchmarks workflow or benchmark-harness work, not ordinary unit tests.

72

chunking

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

Use when splitting extracted text into chunks for LLM context windows or RAG ingestion. Covers chunk size, overlap, markdown/yaml/semantic chunkers, tokenizer-based sizing, and the standalone `chunk` command.

69

chunking-embeddings

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

Chunking, embeddings, and RAG pipeline integration

52

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 walk-up, then the user config dir), field-level inline JSON merge (merge_json_into_config), the ExtractionOverrides CLI layer, and the two mechanisms that make a config change silently do nothing. Load when adding a config flag or env var, changing config precedence, or debugging why a setting is or isn't taking effect.

67

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 19 workspace members and 3 excluded crates, the distribution packages under packages/, the tools/ directory, and the ignore-file allowlists a new workspace member must be added to. Load when navigating the repo, deciding where code belongs, or wiring a new crate or binding package.

77

extracting-keywords

plugin/.ai-rulez/skills/extracting-keywords/SKILL.md

Use when extracting keywords (YAKE/RAKE) from documents — and, secondarily, when detecting document language or generating embeddings for RAG and search. Covers the keyword config (and its feature gating), `--detect-language`, and the standalone `embed` command with real flags.

68

extraction-pipeline-patterns

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

Change or diagnose Xberg's core extraction orchestration, cache semantics, extractor fallback, post-processing, concurrency defaults, or format-wide quality invariants. Load for pipeline work, not a single parser's syntax.

64

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.

68

format-specific-extraction

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

Format-specific document extraction workflows

53

mime-detection-routing

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

MIME type detection and extractor routing in core/mime.rs — the FORMATS registry that EXT_TO_MIME and SUPPORTED_MIME_TYPES are derived from, the path-based and bytes-based detection functions, priority-based registry selection, wildcard MIME families, and the real procedure for adding a format. Load when adding a format, wiring an extractor to a MIME type, or debugging why a file routes to the wrong (or no) extractor.

69

ocr-pipeline-and-quality

.ai-rulez/skills/ocr-pipeline-and-quality/SKILL.md

Change or evaluate Xberg OCR backends, preprocessing, caching, page acceptance, geometry, hOCR structure, table reconstruction, or cross-backend quality. Load for OCR behavior and A/B quality work, not ordinary PDF text extraction.

69

pdf-backends

.ai-rulez/skills/pdf-backends/SKILL.md

Change or diagnose Xberg PDF extraction, native/Pdfium backend selection, PDF rendering sessions, encrypted documents, OCR fallback, or backend-specific capability gaps. Load for PDF engine work, not generic image OCR.

72

plugin-architecture-patterns

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

Design, implement, or diagnose Xberg plugin traits, typed registries, priority collisions, lifecycle, native extractors, and Alef-generated Python plugin bridges. Load for plugin-system work, not ordinary extractor parsing.

73

polyrepo-boundaries

.ai-rulez/skills/polyrepo-boundaries/SKILL.md

Decide which xberg-io repository owns a cross-repository fix or API, and coordinate compatible changes across Xberg, Alef, enterprise, crawler, LLM, and OCR repositories. Load when work spans sibling repos; do not use for a self-contained Xberg edit.

71

release-readiness

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

Audit Xberg before a push or release by reconciling CI, Publish Release dry-run, Benchmarks, generated freshness, changelog, and remote branch state. Load for release-readiness work, not routine local commits.

75

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.

67

test-corpus

.ai-rulez/skills/test-corpus/SKILL.md

The test_documents submodule is a bucket-fetched fixture corpus that is not committed. This skill covers read_test_fixture, missing fixtures, valid A/B controls, and submodule push order. Load before running Rust tests on a fresh clone, setting up an A/B control, adding a fixture-backed test, or diagnosing missing-fixture failures.

67

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 crate-private SyncExtractor trait, 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.

68

xberg-typescript-toolchain

.ai-rulez/skills/xberg-typescript-toolchain/SKILL.md

Work on Xberg TypeScript or JavaScript packages with the repository's actual poly, pnpm, npm, Vitest, napi-rs, wasm-pack, and integration-package boundaries. Load for TS/JS tooling or package changes, not Rust-only binding generation.

69