AI Summaryfilesql is a library that implements the common functionality of the following commands: "Load files such as CSV into SQLite3 and execute SQL queries against CSV, etc." filesql reads the contents of specified input files and returns sql.DB. Developers can execute SQL queries in the same way as the s
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "filesql — Cursor Rules" prompt rules to my project. Repository: https://github.com/nao1215/filesql Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
sql driver for CSV, TSV, LTSV, JSON, Parquet, Excel with gzip, bzip2, xz, zstd support.
Key Features
• Input file formats: CSV, TSV, LTSV, Parquet, Excel + compressed versions (.gz, .bz2, .xz, .zst) • Input methods: File path, directory, io.Reader, embed.FS • Streaming: Chunk-based processing for large files • Type inference: Automatic column data type detection (INTEGER/REAL/TEXT) • Auto-save: Automatic saving at Commit or db.Close timing
filesql
filesql is a library that implements the common functionality of the following commands: "Load files such as CSV into SQLite3 and execute SQL queries against CSV, etc." • sqly: easily execute SQL against CSV/TSV/LTSV/JSON and Microsoft Excel™ with shell. • sqluv: simple terminal UI for RDBMS & CSV/TSV/LTSV at local/https/s3 filesql reads the contents of specified input files and returns sql.DB. Developers can execute SQL queries in the same way as the standard sql.DB they normally use, making it easy to learn.
Development Commands
• make test: Run tests and measure coverage (generates cover.out file, viewable in browser with cover.html) • make lint: Code inspection with golangci-lint (.golangci.yml configuration) • make clean: Delete generated files • make tools: Install dependency tools (golangci-lint, octocov)
Development Rules
• Test-Driven Development: We adopt the test-driven development promoted by t-wada (Takuto Wada). Always write test code and be mindful of the test pyramid. • Working code: Ensure that make test and make lint succeed after completing work. • Sponsor acquisition: Since development incurs financial costs, we seek sponsors via https://github.com/sponsors/nao1215. Include sponsor links in README and documentation. • Contributor acquisition: Create developer documentation so anyone can participate in development and recruit contributors. • Comments in English: Write code comments in English to accept international contributors. • User-friendly documentation comments: Write detailed explanations and example code for public functions so users can understand usage at a glance.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts