Skip to content

Bump flat and mocha; reorganize docs and add AGENTS.md and SKILLS.md - #6

Draft
bitifet with Copilot wants to merge 2 commits into
dependabot/npm_and_yarn/flat-and-mocha-5.0.2from
copilot/bump-flat-and-mocha
Draft

Bump flat and mocha; reorganize docs and add AGENTS.md and SKILLS.md#6
bitifet with Copilot wants to merge 2 commits into
dependabot/npm_and_yarn/flat-and-mocha-5.0.2from
copilot/bump-flat-and-mocha

Conversation

Copilot AI commented Jul 29, 2026

Copy link
Copy Markdown

Bumps flat to 5.0.2 and updates ancestor dependency mocha. These dependencies need to be updated together.

Updates flat from 4.1.1 to 5.0.2


Updates mocha from 6.2.3 to 10.2.0


In addition, this PR includes a full documentation reorganisation and new AI-agent support files:

Documentation Reorganisation

The 1831-line README.md has been split into focused documents under a new docs/ directory, making it easier to navigate and maintain:

  • README.md — Concise overview (138 lines) with quick-start guide and navigation table linking to all docs.
  • docs/EXAMPLES.md — Annotated code examples covering CLI usage, Node.js integration, multi-engine output, and non-JS language support.
  • docs/USAGE.md — Installation, template writing patterns, and usage guide.
  • docs/ENGINES.md — Engine system reference: supported engines, flavours, SQL_ENGINE environment variable, and --engine CLI flag.
  • docs/TEMPLATE_FORMAT.md — Complete template source syntax reference (all properties).
  • docs/API.md — Full API reference: Template API, Tag API, and Static Methods.
  • docs/ADVANCED.md — Advanced features: hooks, SQL alternatives (altsql), mutable queries (mutations), and CTEs.
  • docs/ABOUT.md — Project background, prerelease context, and roadmap.

AI Agent Support Files

  • AGENTS.md — A guide for AI coding agents working on this repository, covering the repo layout, how to run tests, how to add new engines, coding conventions, and useful search patterns.
  • SKILLS.md — Describes how to use SQLTT as a GitHub Copilot Skill. Includes two activation methods (via .github/copilot-instructions.md or a Copilot Chat prompt), example prompts for common tasks (template generation, multi-engine support, CTE refactoring), and a quick-reference API cheatsheet. Instructions for using the skill are also included in the documentation.

- Split 1831-line README into focused docs/ files
- README.md now serves as a clean 138-line entry point
- docs/EXAMPLES.md: annotated code examples
- docs/USAGE.md: installation and usage guide
- docs/ENGINES.md: engine system reference
- docs/TEMPLATE_FORMAT.md: template source syntax
- docs/API.md: complete API reference
- docs/ADVANCED.md: hooks, mutations, CTEs, SQL alternatives
- docs/ABOUT.md: project background and roadmap
- AGENTS.md: guide for AI coding agents working on the repo
- SKILLS.md: using SQLTT as a GitHub Copilot Skill
Copilot AI changed the title [WIP] Update flat to version 5.0.2 and mocha dependency Bump flat and mocha; reorganize docs and add AGENTS.md and SKILLS.md Jul 29, 2026
Copilot AI requested a review from bitifet July 29, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants