bQuery AI Guidance Sync
When to Use
Use this skill when release metadata, supported engines, public exports, or shared AI-facing repo guidance change.
Typical triggers:
- version bump in
package.json - engine floor changes for Node.js or Bun
- changes in public module exports
- refreshes to
AGENT.md,llms.txt, or.github/copilot-instructions.md - updates to
.cursorrulesor.clinerules - changes to the guidance sync script
- release sweeps for README, docs, or changelog after a public-surface change
Source of Truth
Trust these in order:
package.jsonsrc/*/index.tsAGENT.mddocs/guide/*.mdCHANGELOG.mdfor release deltas and migration context
Procedure
- Confirm the real version, engines, scripts, and exports in
package.json. - Verify the current public runtime surface in the relevant
src/*/index.tsbarrels. - Update the shared AI-facing files as a synced set:
AGENT.mdllms.txt.github/copilot-instructions.md.cursorrules.clinerulesREADME.mdCONTRIBUTING.md
- If public exports changed, re-check
src/full.ts. - If the release messaging changed, update the relevant docs guides and
CHANGELOG.md. - Run the repo sync check before finishing.
Project-Specific Guardrails
- Keep the role split clear:
AGENT.md= deep referencellms.txt= compact mirror.github/copilot-instructions.md= behavioral and meta guidance.cursorrulesand.clinerules= derived snapshots
- Do not let the guidance files drift from
package.jsonversion or engine metadata. - Avoid updating only one guidance file when the change obviously applies to the synced set.
Required Validation
Run:
bun run check:ai-guidance
Use additional validation as needed for the actual code or docs touched.
Source: bQuery/bQuery — distributed by TomeVault.