Skip to main content

Agents should behave. Let them follow the issue flow.

Project description

issue-flow

Agents should behave. Let them follow the issue flow.

issue-flow scaffolds a lightweight issue-tracking workflow into your project so that Cursor AI agents can pick up GitHub issues, plan work, and land PRs in a consistent way.

What it does

Running issue-flow init in your project root creates:

your-project/
  .issueflows/
    00-tools/               # Helper scripts for agents
    01-current-issues/      # Active issue markdown files
    02-partly-solved-issues/ # Parked / in-progress issues
    03-solved-issues/       # Completed issues archive
  .cursor/
    commands/
      issue-init.md         # /issue-init — fetch a GitHub issue locally
      issue-start.md        # /issue-start — plan and implement
      issue-close.md        # /issue-close — test, commit, push, PR
    rules/
      issueflow-rules.mdc   # Always-on Cursor rule for the workflow
  docs/
    cursor-issue-workflow.md # Human-readable overview of the workflow

The three Cursor slash commands give agents a repeatable flow:

  1. /issue-init 42 — pulls GitHub issue #42 into .issueflows/01-current-issues/ and archives older issues.
  2. /issue-start — reads the issue file, plans, and implements.
  3. /issue-close — runs tests, updates status files, commits, pushes, and opens a PR.

Installation

Requires Python 3.13+ and uv.

uv tool install issue-flow

Or add it as a dev dependency to your project:

uv add --dev issue-flow

Quick start

cd your-project
issue-flow init

That's it. Open the project in Cursor and use /issue-init, /issue-start, /issue-close.

Usage

issue-flow init [PROJECT_DIR] [--force]
Argument / Option Description
PROJECT_DIR Project root directory. Defaults to . (current directory).
--force, -f Overwrite existing files instead of skipping them.

Running init a second time is safe — existing files are skipped unless --force is passed.

Configuration

issue-flow reads a .env file from the project root (via python-dotenv). The following environment variables are supported:

Variable Default Description
ISSUEFLOW_DIR .issueflows Name of the issue-tracking directory.
ISSUEFLOW_CURSOR_DIR .cursor Name of the Cursor config directory.
ISSUEFLOW_DOCS_DIR docs Where to write the workflow documentation file.

Development

git clone https://github.com/jepegit/issue-flow.git
cd issue-flow
uv sync

# Run tests
uv run pytest

# Lint
uv run ruff check src/ tests/

Future plans

  • Multi-tool support — generate config for other AI coding tools (Claude Code, Windsurf, etc.) in addition to Cursor.
  • issue-flow status — show a dashboard of current, partly-solved, and solved issues.
  • Custom templates — let users supply their own Jinja2 templates to tailor slash commands and rules to their team's conventions.
  • Git hook integration — optionally move issue files on commit based on status markers.
  • GitHub Actions workflow — ship a reusable action that syncs issue state between .issueflows/ and GitHub issue labels/milestones.

License

See LICENSE.

Project details


Download files

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

Source Distribution

issue_flow-0.1.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

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

issue_flow-0.1.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file issue_flow-0.1.1.tar.gz.

File metadata

  • Download URL: issue_flow-0.1.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for issue_flow-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9f281ded8b101c5af4344faf290c1cf28d974d7888e9666bff6bb0db864e4de5
MD5 f582c812ef3fa763833f909cf080c7cc
BLAKE2b-256 dd8dd1a10b6ad7ab80e9388673e1047e921ee6e7fa0375c1e2a2e163e5c1716b

See more details on using hashes here.

Provenance

The following attestation bundles were made for issue_flow-0.1.1.tar.gz:

Publisher: publish.yml on jepegit/issue-flow

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

File details

Details for the file issue_flow-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: issue_flow-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for issue_flow-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93fe00fa8d2ea5675da01ef0b66697e3a63597bd5e925d680cbe96ea19fbe0ed
MD5 5294b5ddab2e094a95e7c7e74d3e507b
BLAKE2b-256 14e226d006aba3de8d219ad99e9f0e1ee9aa8c24c2707eeb4bf1a1b0bbcd0405

See more details on using hashes here.

Provenance

The following attestation bundles were made for issue_flow-0.1.1-py3-none-any.whl:

Publisher: publish.yml on jepegit/issue-flow

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