LuiccianDev/drillhole-cli ? reverse-engineered prompt

Reverse engineered prompt

Build me a TypeScript command line tool for drillhole data that works on CSV and TXT files and is meant for mining and geology teams using Maptek Vulcan.

I want commands for auditing data quality, calculating collar boundaries, summarizing assays, listing lithology codes, and inferring schema types. The audit command should catch things like inverted intervals, overlaps, gaps, duplicate hole IDs, bad coordinates, and common missing value codes. The collar command should calculate a sensible spatial boundary and output Vulcan friendly block model info. The assay command should give basic stats like mean, median, standard deviation, CV, and percentile class breakdowns. The lithology command should count unique codes and percentages. The schema command should guess field types.

Make it work as a smooth terminal app with an interactive start screen, good help text, typo suggestions, and automatic file detection when possible. It should handle big files efficiently, so use streaming instead of loading everything into memory. Export results to CSV or readable TXT in an exports folder with timestamps. If you need current docs for CLI libraries, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab