
Skill
tsfile
work with Apache TsFile data formats
Description
Work with Apache TsFile programmatic SDKs and file-format concepts in Java, Python, C++, or C. Use for reading, writing, querying, schema or data-model design, encoding/compression decisions, performance analysis, API compatibility, and cross-language TsFile integration. Route shell inspection, preview, export, sampling, and CSV/TSV conversion to the sibling tsfile-cli skill.
SKILL.md
TsFile
Scope
Use this skill for SDK code, Tree/Table model decisions, schema design,
compatibility, and cross-language integration. Use the sibling
../tsfile-cli/SKILL.md for shell-oriented inspection, preview, export,
sampling, and CSV/TSV-to-TsFile conversion.
Operating Rules
- Before giving a dependency version or version-sensitive API, run
scripts/resolve-version.sh. Pass--root <checkout>when the target is not the repository that bundles this skill. When no checkout is present, the script returns the current skill baseline. Inspect external dependency metadata only when the user targets a different project or release. Do not treatlatestas a release number. Readreferences/source-policy.mdonly when the authority remains ambiguous, sources conflict, or a freshness/published-release claim matters. - Use
references/docs-map.yamlonly when an official online page, release, download, or repository link is needed. - Choose Tree or Table model, then choose one language binding. Do not load all language references by default.
- Close writers, readers, and result sets so file footers and native resources are finalized. Validate files with every language that must consume them.
Offline Reference Routing
Read only the files required by the current task:
- Source authority, version conflicts, offline/online selection, and update
rules:
references/source-policy.md - Official website, download, release, and repository URL registry:
references/docs-map.yaml - Model selection, schema, data types, and generic read/write workflow:
references/core-concepts.md - Java SDK code and API guardrails:
references/java.md - Python SDK code and binding-specific behavior:
references/python.md - C++ SDK code and resource management:
references/cpp.md - C wrapper entry points and lifecycle:
references/c.md - Version resolution, build requirements, and cross-version checks:
references/compatibility.md - Encoding, compression, throughput, memory, or storage tuning:
references/performance.md
Do not read references/performance.md for ordinary API questions. Do not read
multiple language references unless the task explicitly crosses languages.
Workflow
For writes, select the model and schema, prefer tablet/batch APIs, write data, flush where required, close the writer, and reopen the result for validation.
For reads, identify the model and schema, select only needed columns, bound the time range when possible, consume the result incrementally, and close all resources.
For compatibility questions, report the local source version and the requested release separately. Never silently combine signatures from different versions or language bindings.
Bundled Resources
- Run
scripts/resolve-version.sh [--root <checkout>]to obtain Maven, C++, Python, and Git version metadata without loading or copying source files. Its output schema remains stable when no checkout is discovered and then reports the baseline shipped with this skill. - When a compatible checkout is available, use maintained examples from the
same commit:
java/examples/,python/examples/example.py, orcpp/examples/. Do not copy anassets/template merely to answer an API question. - When no compatible checkout is available and the user requests a starter
project, copy only the needed files from
assets/. Supply the target Java dependency as-Dtsfile.version=<version>; the template intentionally contains no default TsFile version. - Run
scripts/validate-assets.sh [--root <checkout>]after changing a template. It automatically uses a compatible checkout when found and always performs dependency-free checks. Explicitly select an external dependency with either--tsfile-version <version>or--java-jar <path>for Java,--cpp-include <dir>for C++, or--python-runtimefor Python. - Use
scripts/build_tsfile.shfor repository language build checks. - Use
scripts/example.pyonly for Python API metadata or writer examples.
More skills from the tsfile repository
View all 2 skillsMore from Apache Software Foundation
View publisherComputer Use
operate local desktop applications
maka
Aug 20AutomationDesktopMCPdatafusion-python
write Apache DataFusion Python code
datafusion-python
Jul 12Data AnalysisPythonSQLflink-agents-dev
build and debug Apache Flink agents
flink-agents
Aug 7AgentsAutomationMCPbydbql
generate and execute BanyanDB BydbQL queries
skywalking-banyandb
Jul 12AnalyticsDatabaseSQLcompiling
compile and build BanyanDB projects
skywalking-banyandb
Jul 12BuildEngineeringgh-pull-request
create GitHub pull requests for BanyanDB
skywalking-banyandb
Jul 12GitHubPull Requests