jsonl-store-pattern
CommunityBuild a fast, append-only JSONL indexed store.
Authortransreal
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a robust design template for persisting structured records as an append-only JSONL store while keeping efficient lookup via multiple indexes, including Windows-safe UTF-8 handling and reliable loading.
Core Features & Use Cases
- Append-only JSONL records: Writes one JSON record per line for efficient tailing and streaming-style operations.
- Multi-index storage (master + by-X): Duplicates each record into a master file plus axis-specific indexes (e.g., by-topic, by-source) to enable fast queries.
- Windows CRLF + UTF-8 safe loading: Uses a ByteArray-to-string + line-splitting approach to avoid empty reads and parsing failures.
- Safe append with OpenAppend: Includes directory creation, JSON-safe serialization, and structured error returns for failure diagnosis.
- Pluggable debug/status checks: Verifies existence and counts to quickly detect issues such as the Windows read pitfall or JSON errors.
- Use Case: Store claim/event records for retrieval by topic and reverse-lookup by source without introducing a database dependency.
Quick Start
Use the jsonl-store-pattern to append claim records into master.jsonl and query them by topic or source using the provided iLoadJSONL and iByXPath templates.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: jsonl-store-pattern Download link: https://github.com/transreal/claudecode/archive/main.zip#jsonl-store-pattern Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.