Metadata-Version: 2.4
Name: ticketly
Version: 1.2.2
Summary: Turn project requirements into clean, structured PM-quality tickets, inside Claude Code or Codex.
Author: Shreyas Sonwane
License: Ticketly License
        Copyright (c) 2026 Shreyas Sonwane. All rights reserved.
        
        1. Grant of use.
           You are granted a free, non-exclusive, non-transferable right to install and
           use Ticketly ("the Software") for your own personal or internal business
           purposes, at no charge.
        
        2. Restrictions.
           You may NOT, without the prior written permission of the copyright holder:
           (a) copy, reproduce, or republish the Software or its source code, except for
               the local copy created by normal installation and use;
           (b) modify, adapt, translate, or create derivative works of the Software;
           (c) distribute, sublicense, rent, lease, sell, resell, or otherwise make the
               Software available to any third party; or
           (d) remove or alter any copyright, license, or attribution notices.
        
        3. Ownership.
           The Software is licensed, not sold. All title, ownership, and intellectual
           property rights in and to the Software remain with the copyright holder.
        
        4. Termination.
           This license terminates automatically if you breach any of its terms. On
           termination you must stop using and delete all copies of the Software.
        
        5. No warranty.
           THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
           IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
           FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
           AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
           LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
           OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
           SOFTWARE.
        
Project-URL: Homepage, https://ticketly-growth.vercel.app/
Project-URL: Documentation, https://ticketly-growth.vercel.app/guides
Project-URL: Source, https://github.com/Shreyas0786/ticketly
Project-URL: Issues, https://github.com/Shreyas0786/ticketly/issues
Project-URL: Changelog, https://github.com/Shreyas0786/ticketly/blob/main/CHANGELOG.md
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: jsonschema>=4.20
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: PyYAML>=6.0; extra == "dev"
Requires-Dist: build>=1.0; extra == "dev"
Dynamic: license-file

<div align="center">

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Shreyas0786/ticketly/main/assets/ticketly-logo-dark.png">
  <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/Shreyas0786/ticketly/main/assets/ticketly-logo-light.png">
  <img alt="Ticketly" src="https://raw.githubusercontent.com/Shreyas0786/ticketly/main/assets/ticketly-logo-light.png" width="340">
</picture>

**Turn a messy project idea into a clean, structured backlog — without leaving Claude Code or Codex.**

[![PyPI downloads](https://static.pepy.tech/badge/ticketly)](https://pepy.tech/project/ticketly)

[Website](https://ticketly-growth.vercel.app/) ·
[Install guide](https://ticketly-growth.vercel.app/install) ·
[Codex guide](https://ticketly-growth.vercel.app/codex) ·
[Claude Code guide](https://ticketly-growth.vercel.app/claude-code) ·
[Post-MVP example](https://ticketly-growth.vercel.app/guides/post-mvp-codebase-to-next-release-backlog)

</div>

**Ticketly is a command-line tool that turns a project idea, spec, or existing codebase into a
structured backlog of tickets — epics broken into tasks, each with a description, acceptance
criteria, an effort estimate, and dependencies — exported to Markdown, CSV, or Notion.** It runs
inside Claude Code or Codex on your existing subscription: no API key, no cost per run.

## Who it's for

Anyone planning a project who wants a real backlog instead of a blank page — **technical or not.**
It talks in plain language, explains anything it asks, and never makes you learn jargon. If you can
describe your idea, you can use it.

## What it does

- **Plans the whole project** — turns your idea or spec into epics (big areas) broken into tickets.
- **Works on existing codebases too** — point it at a repo and it reads the code, infers the stack,
  and plans the work that's *left* (TODOs, half-built features, missing tests) instead of starting
  from a blank page. No company name needed for these — the backlog is titled by your project.
- **Suggests a tech stack that fits — not the same generic answer every time** — if you're not sure
  what to build with, it works out *what kind* of project yours is (marketplace, mobile app, online
  store, AI app…) and recommends a fitting stack, **free options first**, with plain-language reasons
  and a real alternative for each — and it never quietly skips the backend (database, logins,
  payments, storage). Already have a stack? It just uses yours.
- **Asks, never guesses** — if something isn't decided (which database? which host?), it flags the
  ticket for clarification instead of making something up. Nothing is invented.
- **Matches a real PM's style** — short, clear titles; one-line descriptions; testable acceptance
  criteria; sensible effort sizing.
- **Full or MVP** — you choose whether to plan everything or just enough for a first version (it
  lists whatever it sets aside).
- **Works out of the box** — exports to Markdown (to review), CSV (any tracker), and Notion.

## How it works

Ticketly runs **inside your AI coding agent — Claude Code or Codex — using your existing
subscription, with no separate Ticketly API key or Ticketly usage charge.** You talk; the agent
does the reasoning; a small local engine handles the exact, repeatable parts (validation and
exporting). A full run goes:

1. **Start** — you give your project (and company, if you want one in the title). It never guesses
   these. **On an existing repo it skips this and reads the code instead** — no company needed.
2. **Discuss** — you talk through what you're building and your tech stack, conversationally. If you
   don't have a stack in mind, it recommends one that fits your kind of project (free options first,
   with reasons and alternatives). (For an existing repo it drafts this from the code and just asks
   you to confirm.)
3. **Areas** — it proposes a few main areas for your project and you confirm or tweak them.
4. **Scope** — you pick a full backlog or a lean MVP.
5. **Generate** — it writes the tickets, checks them for problems, and exports the results into
   your project folder.

You can stop after any step and pick up later, and refine anything in plain English afterwards
("split this ticket", "add acceptance criteria", "we're using Postgres", "drop image upload").

## Install

Install Ticketly once from PyPI, then wire up the agent you use. **pipx** is recommended — it keeps
Ticketly isolated and always on your PATH, so it works no matter which Python your agent runs:

```bash
pipx install ticketly        # (or: pip install ticketly)
ticketly install all         # wire up Claude Code and/or Codex
```

Pick just one agent if you prefer:

```bash
ticketly install claude      # Claude Code (the /ticketly skill)
ticketly install codex       # Codex ("use Ticketly" in any session)
ticketly install all         # both
```

That's the whole setup. From then on, Ticketly works in **any** folder — even an empty new project.
Install both agents if you like; they don't clash.

> Requirements: Python 3.10+, and either [Claude Code](https://claude.com/claude-code) or
> [Codex](https://developers.openai.com/codex/cli) (logged in). **No API key.**

## Updating

```bash
pipx upgrade ticketly         # or: pip install -U ticketly
```

That's it — the bundled skill and Codex pointer update with the package. (Re-run
`ticketly install all` only if you want to refresh the agent front-doors immediately.)

## Using it

1. Open **any** folder — a blank one to plan from scratch, or an existing repo to plan the work
   that's left.
2. Start Ticketly:
   - **In Claude Code** — type **`/ticketly`**.
   - **In Codex** — run `codex`, then say **"use Ticketly"**.
3. Describe your project and answer its questions — or, on an existing repo, just confirm what it
   read from the code.

It writes everything into a single `ticketly/` folder in your current directory:

- `ticketly/tasks.md` — an **agent-ready checklist**: one checkbox per ticket, grouped by epic, with
  dependencies and acceptance criteria inline. Hand this to a coding agent (Claude Code, Cursor) to
  work through, ticking boxes as it goes.
- `ticketly/backlog.md` — a readable backlog. Opens with a plain-language **Your plan** overview
  (where to start, what you can do now vs. later, and how big each area is), then the full tickets
  and a suggested build order.
- `ticketly/backlog.csv` — import into any tracker. Includes a blank **Assignee** column you fill
  in later (in the tracker or Notion). Add Notion with `--format notion`.
- `ticketly/.data/` — the machine source-of-truth (`profile.json`, `backlog.json`), tucked away;
  you never need to open these.

You can re-export a backlog any time:

```bash
ticketly render ticketly/.data/backlog.json --format all --out-dir ticketly/
```

## Starting a project over

Requirements changed and you want a clean slate? Reset this folder's generated files, then re-run
`/ticketly` with the new requirements:

```bash
ticketly reset      # asks before deleting
```

Reset is deliberately careful: it only ever removes Ticketly's own generated files in `ticketly/`
(`tasks.md`, `backlog.md`, `backlog.csv`, and the `.data/` JSONs), confirms each one with you first,
never touches a file it can't verify as Ticketly's, and never reaches outside the current folder.
Your code and other files are never touched.

## Safe by design

- Ticketly's deterministic validation and export engine runs **entirely on your machine** and adds
  no network calls or telemetry.
- Repository inspection and conversational reasoning happen in Claude Code or Codex, so their data
  handling follows the settings and policies of the agent you use.
- Ticketly uses **no separate API key** and never asks for secrets.
- The local engine only reads/writes the folder you run it in. `ticketly install` just copies the
  Claude Code skill and/or appends a Codex pointer into your agent's config — no `sudo`, no remote
  scripts.

## FAQ

### How do I generate tickets from a PRD or spec?

Install Ticketly, open the folder with your spec, and run `/ticketly` in Claude Code (or say "use
Ticketly" in Codex). Describe or paste the spec, answer its questions, and it writes a full backlog
to `ticketly/` — epics, tickets, acceptance criteria, effort, and dependencies.

### How do I turn an existing codebase into a backlog?

Run `/ticketly` inside the repo. It reads the code, infers the stack, and plans the work that's
*left* — TODOs, half-built features, missing tests — rather than re-planning what already exists.

### Can I import the tickets into Jira, Linear, or Notion?

Yes. Ticketly exports `ticketly/backlog.csv`, which imports into any tracker that accepts CSV
(Jira, Linear, Asana, Trello). For Notion, use `--format notion`. There's a blank **Assignee**
column you fill in on the tracker side.

### Does Ticketly need an API key or a paid plan?

No. It runs inside Claude Code or Codex using the subscription you already have — no separate
Ticketly API key, and no Ticketly usage charge. Ticketly's own engine adds no network calls; the
conversation runs through your coding agent and follows that agent's data handling.

### How is this different from just asking Claude to write tickets?

Ad-hoc prompting gives you a different shape of output every time, invents details it doesn't know,
and doesn't validate anything. Ticketly runs a fixed interview, refuses to guess (it flags
undecided things for clarification instead of making them up), validates the result against a
schema, and exports the same clean structure every run.

### Can a coding agent work through the tickets?

Yes — that's what `ticketly/tasks.md` is for. It's a checklist with one checkbox per ticket,
dependencies and acceptance criteria inline. Hand it to Claude Code or Cursor and it can tick them
off as it goes.

## Contributing & Feedback

**Ticketly does not accept outside code contributions.** It's source-visible so you can read and
use it, but it's developed solely by the author — **pull requests are not accepted and will be
closed unmerged.** Please don't open one.

What *is* genuinely welcome — and the best way to help — is **bug reports, feature requests, and
feedback**. Open a [GitHub Issue](https://github.com/Shreyas0786/ticketly/issues) (there are short
templates for bugs and features); see
[CONTRIBUTING.md](https://github.com/Shreyas0786/ticketly/blob/main/CONTRIBUTING.md) for the full
policy and the [LICENSE](https://github.com/Shreyas0786/ticketly/blob/main/LICENSE) for usage terms.

## Security

Found a security issue? **Please don't open a public issue** — report it privately via the
repository's **Security** tab ("Report a vulnerability"). See
[SECURITY.md](https://github.com/Shreyas0786/ticketly/blob/main/SECURITY.md) for details.

---

_Development: from a repo checkout, `./install.sh all` does an editable install and wires both
agents. Run the test suite with `python3 -m pytest -q`._
