q-language
Installation
SKILL.md
q Language
Use this skill when writing or reviewing q, kdb+, or q-sql. Prefer idiomatic array/table operations over translating row-oriented SQL or imperative loops.
Workflow
- Read
references/index.mdfirst to choose the smallest relevant chapter notes. - For implementation tasks, start with
references/recipes.md; for pasteable patterns, loadreferences/executable-examples.md. - For reviews or generated-code cleanup, load
references/anti-patterns.mdand check for SQL literalism, atom/list rank mistakes, key misuse, and symbol interning risks. - For data modeling or query work, read
chapter-08-tables.mdandchapter-09-queries-q-sql.mdbefore writing code. - For expression bugs, read
chapter-01-q-shock-and-awe.md,chapter-03-lists.md,chapter-04-operators.md, andchapter-06-functions.md. - For type, null, cast, or enum bugs, read
chapter-02-basic-data-types-atoms.mdandchapter-07-transforming-data.md. - For persisted kdb+ databases, read
chapter-11-io.mdandchapter-14-introduction-to-kdb.md. - If an error message is supplied, read
appendix-b-error-messages.mdearly.