Skip to main content

Ticketwright

CI release License: MIT Python tool-agnostic

Ticketwright turns a Claude Code session into a careful data analyst. Point it at a ticket-driven work repo (data intelligence, analytics, ops, regulatory reporting…) and it opens tickets, loads exactly the context each one needs, remembers every past ticket so you never rebuild what's been built, QC-reviews its own work against a validation pyramid, and never posts anything externally without your explicit go.

It works with your tools — Jira, Azure DevOps, Linear, Asana, Monday, or GitHub Issues; Snowflake, BigQuery, Databricks, Postgres, Redshift, or Synapse; Slack or Teams; Drive or SharePoint; GitHub, GitLab, or Azure Repos — through one config file. Don't see yours? Adding it is a single adapter file.

Quickstart (5 minutes)

claude plugin marketplace add kyle-chalmers/ticketwright
claude plugin install ticketwright@ticketwright

Then, in your repo:

/ticketwright:setup          # detects your tools, asks ≤5 questions, writes the config — once per repo
/ticketwright:ticket ENG-123 # start working

That's it. setup also handles repos that already have ticket history — it maps onto your existing layout instead of scaffolding, and writes a MIGRATION.md checklist (see Adopting an existing repo).

Project-scoped by default. A plugin can't set its own install scope — so instead, setup commits the enablement into the repo's .claude/settings.json. That's the repo opting in at project scope: it travels with the repo, so every teammate who opens (and trusts) the repo is prompted to install Ticketwright (no marketplace to add, no config to write), and it keeps working after the person who set it up moves on:

{
  "extraKnownMarketplaces": {
    "ticketwright": { "source": { "source": "github", "repo": "kyle-chalmers/ticketwright" }, "autoUpdate": true }
  },
  "enabledPlugins": { "ticketwright@ticketwright": true }
}

autoUpdate re-installs only on a formal release — Claude Code refreshes when the plugin's version changes, and the version only moves in a tagged release commit, so day-to-day commits to main never pull teammates onto un-released work. (Prefer the user-level /plugin install above for personal, cross-repo use; use the committed block when you want the whole team on it.)

How work flows

Four steps — plan → build → check → ship — and one command to remember:

/ticket <id>        opens or resumes the ticket, auto-loads its context + closest prior work,
                    and routes you to the right next step ↓
/spec-and-build     spec mode writes the blueprint (committed first); build mode executes it
/review [--deep]    independent QC pass: re-runs queries, walks the validation pyramid → APPROVE / REQUEST-CHANGES
/ship [--go]        backup → tracker comment → chat draft → commit + PR — HARD HALT before anything external

Three supporting skills you'll reach for occasionally:

Skill What it does
/setup Configure the repo (once) · add a tool later (/setup chat) · onboard a person (/setup --teammate)
/refresh Rebuild the ticket catalog (index) or the domain knowledge pack (context) — day-to-day, hooks keep these fresh automatically
/productize Turn a recurring workflow (quarterly pull, monthly report) into its own parameterized, golden-tested skill

Plugin skills are namespaced (/ticketwright:ticket); inside a configured repo the short names work too. (The v1 command names — /start-ticket, /qc-review, … — were retired in v3; see the rename map in docs/troubleshooting.md.)

Never rebuild what's been built

tickets/INDEX.md is an auto-maintained catalog of every ticket — status, one-line summary, tags, objects touched, cross-references — surfaced at the start of every session. When you open a ticket, /ticket ranks your prior work by shared objects/tags/keywords (deterministic, stdlib, no vector store) and writes a reuse brief: what to copy, which gotchas carry over, what's different this time. tickets/OBJECTS.md answers the reverse question — "which tickets touched VW_X?" Details: docs/ticket-index.md.

See it as a graph (Obsidian)

Ticketwright also writes a small, auto-maintained graph layer under tickets/graph/<id>.md (a node per ticket) and objects/<object>.md (a node per data object) — so you can open the repo as an Obsidian vault and browse your work: open a table like ANALYTICS.VW_LOAN and its local graph is every ticket that touched it; open a ticket and you see the objects it touched plus the tickets it built on. Point Obsidian at the repo (or tickets/), open Graph view, and for the cleanest picture set the filter to -README -INDEX -OBJECTS -AGENTS -CLAUDE and add a color Group on path:objects. It's plain markdown (no plugins, no wikilinks) and renders on GitHub too. On by default; set project.graph_notes: false in stack.yaml to turn it off.

Safety rails (on by default)

  • DB writes ask first — a hook inspects every warehouse command and prompts before anything destructive (UPDATE/DROP/CREATE OR REPLACE/…), even SQL hidden in a -f file.
  • External posts hard-halt/ship prints exactly what it's about to post (tracker comment, chat message, PR) and waits for your explicit go.
  • Chat defaults to draft — you click send.
  • Deliverables commit with the ticket, PII opts out — exports are committed by default so results show in the PR; keep customer data out of git by naming it *.private.csv or dropping it in a private/ subfolder, and /ship lists what it's about to commit so nothing sensitive slips in.
  • Every assumption is written down — the ticket README template enumerates them by category.

Adopting an existing repo

Already have years of ticket folders and your own conventions? Run /setup — it detects the existing layout, infers the config from evidence (folders, CI, CLIs, MCP servers), classifies any custom commands you've built as shadows / extends / unrelated against the plugin's skills, and writes a MIGRATION.md checklist instead of overwriting anything. Adoption is incremental: run one real ticket through /ticket → /review → /ship before deleting anything custom.

Also a standalone CLI

The pip package runs the deterministic engines without Claude Code:

pip install ticketwright                 # zero runtime dependencies; stdlib only
ticketwright recall --for ENG-123       # prior-art ranking
ticketwright index --stats              # catalog coverage
ticketwright init                       # vendor the kit into a repo (plugin-free installs)

Learn more

CI runs the full self-test on every push; PyPI publishing is OIDC Trusted Publishing (no stored tokens) — see docs/pypi-setup.md.

License

MIT — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ticketwright-3.2.0.tar.gz (111.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ticketwright-3.2.0-py3-none-any.whl (146.1 kB view details)

Uploaded Python 3

File details

Details for the file ticketwright-3.2.0.tar.gz.

File metadata

  • Download URL: ticketwright-3.2.0.tar.gz
  • Upload date:
  • Size: 111.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ticketwright-3.2.0.tar.gz
Algorithm Hash digest
SHA256 b3df99354ad64bd765fe2d0d58a38532712351560809f1ab79764df80dacfbbf
MD5 d852a63dabe24fc77190783b5aa8e8f8
BLAKE2b-256 0427ab22544fa59d2eab716e235eeac99f3d3c77611d8a8b3368c0ca8ffa8823

See more details on using hashes here.

Provenance

The following attestation bundles were made for ticketwright-3.2.0.tar.gz:

Publisher: publish.yml on kyle-chalmers/ticketwright

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ticketwright-3.2.0-py3-none-any.whl.

File metadata

  • Download URL: ticketwright-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 146.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ticketwright-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86c87acd5a04ff3732c315eefcdd04dbc88276e81cacdf9b8275474474c49c9d
MD5 ce4e44834a1e74bf35ebf317a48c0791
BLAKE2b-256 70ec37211d5e3f674d718e17d08c8b7d8381f9f02f1c2a5cecc9728641246100

See more details on using hashes here.

Provenance

The following attestation bundles were made for ticketwright-3.2.0-py3-none-any.whl:

Publisher: publish.yml on kyle-chalmers/ticketwright

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page