Skip to main content

Deploy /implement workflow templates for Claude and Gemini AI assistants

Project description

llm-flow

Deploy the /implement workflow templates to Claude and Gemini.

llm-flow is a small CLI that installs a consistent, opinionated software-development workflow (Analyze → Design → Gate → Implement → Tests → Review → Done) into your AI coding assistants. The workflow tracks state in Jira via the MCP — not via a Python backend.

What it does

  • Deploys commands/implement.md + commands/implement/init/*.md into .claude/commands/ and .gemini/commands/ of a project or user directory.
  • Converts Markdown to Gemini TOML automatically.
  • Works cross-OS (Linux, macOS, Windows).
  • Supports updating templates from GitHub without reinstalling the package.

What it does not do

  • It does not call Jira directly. The /implement templates instruct your LLM (Claude, Gemini) to use your MCP Jira server for all ticket operations (status, labels, comments, search). Configure your MCP separately in your assistant's settings.
  • It does not adapt to a specific programming language. Templates are language-agnostic — build/test/lint commands come from each project's own CLAUDE.md.

Installation

pip install llmflow-cli

Quick start

# First run triggers an interactive setup wizard (target, platforms)
llm-flow setup

# Deploy into the current project (.claude/, .gemini/)
llm-flow deploy

# Or deploy into user-level directories (~/.claude/, ~/.gemini/)
llm-flow deploy --target user

# Preview what would happen
llm-flow deploy --dry-run

# Update templates from GitHub, then deploy
llm-flow deploy --update

# Show or modify configuration
llm-flow config --show
llm-flow config --set-target user

Configuration

Two levels:

  • Global (user-level): ~/.config/llm-flow/config.yaml (Linux/macOS) / %APPDATA%\llm-flow\config.yaml (Windows).
  • Project (./.llm-flow.yaml): overrides global settings for a specific repo.

Schema is minimal:

default_target: project        # or "user"
platforms:
  - claude
  - gemini

Coverage thresholds, language choices, or Jira credentials are not managed by llm-flow — they belong in each project's own CLAUDE.md and in your MCP Jira server configuration respectively.

Updating templates

Templates are bundled with the installed wheel, but you can pull newer versions from GitHub without reinstalling:

llm-flow update            # fetch latest
llm-flow update --force    # re-download everything
llm-flow deploy --update   # update then deploy

Cache location: ~/.config/llm-flow/templates/ (or %APPDATA%\llm-flow\templates\).

CLI reference

Command Role
llm-flow version Show version
llm-flow setup First-time interactive setup wizard
llm-flow init Create a .llm-flow.yaml in the current project
llm-flow config [--show] [--set-target X] [--set-platforms X,Y] Inspect or edit configuration
llm-flow deploy [--target] [--platform] [--dry-run] [--force] [--update] [--no-cache] [--quiet] Deploy templates
llm-flow update [--force] [--quiet] Pull latest templates from GitHub into the cache

The /implement workflow

Once deployed, use these commands from Claude or Gemini:

Command Role
/implement Main continuous flow (phases 1–6)
/implement:init:1-project Discovery conversation, initialize Jira epics and tickets
/implement:init:2-architecture Define technical architecture
/implement:init:3-standards Define code conventions

Phases set a label on the Jira ticket (via your MCP): phase:analyze, phase:design, phase:impl, phase:tests, phase:review, phase:done. Status transitions (To Do → In Progress → Done) are separate and happen at the start of Phase 1 and the end of Phase 6.

All ticket types are supported (Story, Bug, Task, Subtask, etc.).

MCP Jira

llm-flow assumes your LLM has an MCP Jira server configured. The templates invoke it in natural language ("via the MCP Jira, fetch the next ticket of epic X") — no specific tool names are hardcoded, so any MCP Jira implementation works.

Configure your MCP Jira in your Claude/Gemini settings separately.

Development

git clone https://github.com/mxdumas/llm-workflow
cd llm-workflow
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"

pytest -v
ruff check src/
ruff format src/

The templates live at commands/ at the repo root. Editing them in place, then running llm-flow deploy --no-cache in a test project is the fastest feedback loop.

License

MIT

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

llmflow_cli-0.1.1.tar.gz (38.8 kB view details)

Uploaded Source

Built Distribution

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

llmflow_cli-0.1.1-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for llmflow_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 beaeaa588bea943c2ec0a68f8cf1529bb46c963fa25f68730c5808cb59ab14fd
MD5 a3b544cfef4a7d8be2204e652c35af17
BLAKE2b-256 234587ef0084105e99cf6f0f904da7957aa231709c18876fd4bc00b81c0c058e

See more details on using hashes here.

Provenance

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

Publisher: publish-pypi.yml on mxdumas/llm-workflow

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

File details

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

File metadata

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

File hashes

Hashes for llmflow_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65075b76274dfb825d9ab7ab00f4e55ad7915e16c3bc21dd3660d42436fa57ce
MD5 a07e44e41078b9087a23b4d738e6f55b
BLAKE2b-256 884056d9e494c9ad01b05cabde1202e8b1ea800cbe964b7e88dcb0cbfcfea0d9

See more details on using hashes here.

Provenance

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

Publisher: publish-pypi.yml on mxdumas/llm-workflow

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