Sqlitecpp workflow

From SRombauts/SQLiteCpp · View interactive version

Sqlitecpp workflow is an AI agent skill from the GitHub repository SRombauts/SQLiteCpp. SQLiteCpp workflow for branches, implementation, tests, commits, pull requests, and CHANGELOG updates. Use when changing the repository.

How to use this skill

Skill file

SQLiteCpp Workflow

Required workflow

For an implementation request, complete the local Git workflow before handing the work back:

  1. Load sqlitecpp-git-branching, inspect git status, and create the task branch before editing.
  2. Implement the change and its tests, public API documentation, and any required build-file updates.
  3. Build and run the relevant tests.
  4. Commit the completed work according to the atomic and independent commit rules below.
  5. Report the branch name, commit hashes, and validation results.

If work was accidentally started on master, create the correctly named branch immediately while

preserving the working tree, then continue the workflow there. Do not leave completed implementation

changes uncommitted unless the user explicitly asks for an uncommitted patch.

Change checklist

CHANGELOG conventions

If the user explicitly requests no CHANGELOG change or entry, leave CHANGELOG.md unchanged.

Update CHANGELOG.md in the same PR that makes the change, but in a separate commit created after

the PR is opened so the PR number is known. Normally add one line per PR under the current unreleased

version heading (Version X.Y.Z - <year> ???). Create that heading if it does not exist yet.

entries or insert the new entry by category unless there is a clear reason to group related changes.

consecutive updates to the bundled SQLite library together instead of separating them by append order.

PRs share an entry: - <description> (#NNN) (#MMM).

"Fixes", or "Adding".

it was committed directly to master.

prose stays plain and free of AI tells.

Finalizing the version heading and tagging belong to the release process: see

[[sqlitecpp-release]].

Workflow for CHANGELOG updates:

  1. Commit source code changes (tests, implementation, etc.) in one or more atomic commits
  2. Push the branch and open the PR to obtain the PR number
  3. Create a separate final commit adding only the CHANGELOG entry with the PR number
  4. Push the CHANGELOG commit to the same branch

This keeps commits atomic (CHANGELOG is separate from code) and allows the PR number to be

included in the CHANGELOG entry. Keep the CHANGELOG commit last in the PR history. If review follow-ups

add source, test, or documentation commits after it, reorder the branch before pushing again.

Pull requests

does and why, plus a brief bullet list only when it genuinely helps review. No filler, no

restating the diff, no marketing. ASCII only, no em dashes; run it through humanizer if unsure.

Git commits and pushing

the change is needed, including the failure condition when useful. Wrap at about 72 characters.

the investigation. Add detail only when essential to understand the change; omit the body for a truly

self-explanatory change. Put fuller explanations and validation results in the PR description or task response.

on its own. Include only the implementation, tests, and public API documentation required for that

purpose.

fix can stand alone, followed by a commit adding its consumer test and CI coverage together.

documentation commit, even when it describes the implementation or CI from the same task.

unrelated work in one commit. A task containing separable outcomes, such as fixing existing behavior

and adding a new API, requires separate commits.

PR is opened so the PR number can be included.

when checked out at that point in the branch history.

Do not ask again when that authorization already covers the branch and action. Otherwise, ask for permission

stating the branch name and action (e.g., "Push branch update-sqlite-3.52.2 to origin?").

Add a method

Follow the required workflow above. Include:

Add a class

Follow the required workflow above. Include:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.