Skip to content

bobmatnyc/ai-trackdown-pytools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Trackdown PyTools

PyPI - Version PyPI - Python Version PyPI - Downloads CI Status Coverage Status License: MIT Code style: black

Modern Python CLI tools for AI project tracking and task management

AI Trackdown PyTools brings powerful project management capabilities to your terminal, specifically designed for AI and software development workflows. With beautiful terminal output, intuitive commands, and seamless Git integration, it's the perfect companion for managing complex projects.

Why AI Trackdown PyTools?

  • 🎯 Purpose-Built for AI Projects: Designed specifically for managing AI and ML project workflows
  • ⚡ Fast and Lightweight: Minimal dependencies, instant startup, no bloat
  • 🎨 Beautiful Terminal UI: Rich formatting, colors, and interactive prompts that make CLI work enjoyable
  • 🔧 Extensible Architecture: Plugin-ready design with customizable templates and workflows
  • 🔍 Smart Filtering: Powerful search and filter capabilities across all your tasks and projects
  • 📊 Progress Tracking: Visual progress indicators and comprehensive status reporting

Documentation

Key Features

  • 🚀 Modern CLI Experience - Built with Typer and Rich for an exceptional terminal experience
  • 📋 Hierarchical Task Management - Organize tasks, epics, issues, and PRs with parent-child relationships
  • 🏗️ Smart Project Templates - Pre-configured templates for common AI project structures
  • 📝 Flexible Template System - Create and share custom templates for any workflow
  • 🔍 Advanced Search - Filter by status, assignee, tags, priority, and custom fields
  • 🎯 Schema Validation - Ensure data integrity with JSON schema validation
  • 🔧 Deep Git Integration - Automatic commit tracking, branch management, and PR linking
  • 🔄 Platform Sync - Sync with GitHub, ClickUp, and Linear platforms
  • 🎨 Rich Terminal Output - Tables, progress bars, syntax highlighting, and more
  • 🌐 Multi-Project Support - Manage multiple projects from a single installation
  • 📊 Workflow States - Comprehensive workflow management with standardized states

Installation

Requirements

  • Python 3.8 or higher
  • Git (optional, for version control features)

Install from PyPI

pip install ai-trackdown-pytools

Install with pipx (Recommended for CLI tools)

pipx install ai-trackdown-pytools

Install from Source

git clone https://github.com/ai-trackdown/ai-trackdown-pytools.git
cd ai-trackdown-pytools
pip install -e .

Development Installation

git clone https://github.com/ai-trackdown/ai-trackdown-pytools.git
cd ai-trackdown-pytools
pip install -e .[dev]
pre-commit install

Verify Installation

aitrackdown --version
aitrackdown --help

Quick Start

1. Initialize Your First Project

# Create a new directory for your project
mkdir my-ai-project && cd my-ai-project

# Initialize AI Trackdown with interactive setup
aitrackdown init project

# Or use a pre-configured template
aitrackdown init project --template ml-research

2. Create Your First Task

# Interactive task creation
aitrackdown create task

# Or create directly with options
aitrackdown create task "Implement data preprocessing pipeline" \
  --priority high \
  --assignee "alice@team.com" \
  --tag "data-pipeline"

3. View Project Status

# See all tasks at a glance
aitrackdown status

# Get detailed project overview
aitrackdown status project --detailed

Core Commands

AI-Friendly Mode

AI Trackdown PyTools supports a plain output mode optimized for AI tools and automated scripts:

# Use --plain flag for simplified output
aitrackdown --plain version
aitrackdown --plain info
aitrackdown --plain status

# Or set environment variable
export AITRACKDOWN_PLAIN=1
aitrackdown version

# Also respects NO_COLOR standard
export NO_COLOR=1
aitrackdown status

The plain mode:

  • Removes all color codes and rich formatting
  • Simplifies output structure for easier parsing
  • Ideal for piping to other tools or AI systems
  • Automatically enabled in CI environments

Task Management

# Create a new task interactively
aitrackdown create task

# Create task with full details
aitrackdown create task "Implement authentication" \
  --description "Add JWT authentication to API endpoints" \
  --assignee "john@example.com" \
  --tag "backend" --tag "security" \
  --priority "high" \
  --due "2025-08-15"

# Create from template
aitrackdown create task --template bug-report

# Create subtask under parent
aitrackdown create task "Write unit tests" --parent TSK-0001

View and Filter Tasks

# List all tasks with rich formatting
aitrackdown status tasks

# Filter by multiple criteria
aitrackdown status tasks \
  --status open \
  --assignee "john@example.com" \
  --tag "backend" \
  --priority high

# Search tasks by keyword
aitrackdown search "authentication" --type task

# Show task details
aitrackdown show TSK-0001

# Update task status
aitrackdown update TSK-0001 --status in-progress

Template Management

# List all available templates
aitrackdown template list

# Show template details
aitrackdown template show bug-report --type task

# Create custom template interactively
aitrackdown template create

# Create template from existing task
aitrackdown template create --from TSK-0001 --name "feature-template"

# Share template
aitrackdown template export feature-template --output feature.yaml
aitrackdown template import feature.yaml

Platform Sync

# List available platforms
aitrackdown sync list-available

# Check sync status for a platform
aitrackdown sync platform github status

# Push local items to platform (dry-run first)
aitrackdown sync platform github push --dry-run
aitrackdown sync platform github push

# Pull platform items to local tasks
aitrackdown sync platform github pull --dry-run
aitrackdown sync platform github pull

# Works with GitHub, ClickUp, and Linear
aitrackdown sync platform clickup status
aitrackdown sync platform linear pull

Complete Command Reference

Core Commands

Command Description Example
init Initialize project or configuration aitrackdown init project
create Create tasks, issues, epics, PRs aitrackdown create task "New feature"
status Show project and task status aitrackdown status tasks --open
update Update existing items aitrackdown update TSK-0001 --status done
show Display detailed information aitrackdown show TSK-0001
search Search across all items aitrackdown search "bug" --type issue
template Manage templates aitrackdown template list

Advanced Commands

Command Description Example
epic Manage epic tasks aitrackdown epic create "Q3 Features"
pr Create and link pull requests aitrackdown pr create --branch feature/auth
migrate Migrate from other tools aitrackdown migrate --from jira
sync Sync with external platforms aitrackdown sync platform github push
ai AI-specific commands aitrackdown ai track-tokens --model gpt-4

Utility Commands

Command Description Example
info System information aitrackdown info
health Health check aitrackdown health --verbose
config Configuration management aitrackdown config set editor.default "vim"
doctor Diagnose issues aitrackdown doctor

Global Options

# Use plain output mode (no colors/formatting)
aitrackdown --plain status

# Get version information
aitrackdown --version

# Get help for any command
aitrackdown --help
aitrackdown create --help

Project Structure

my-project/
├── .ai-trackdown/          # Configuration and templates
│   ├── config.yaml         # Project configuration
│   ├── project.yaml        # Project metadata
│   ├── templates/          # Custom templates
│   └── schemas/            # Custom schemas
├── tickets/                # Ticket files organized by type
│   ├── tasks/             # Standard tasks (TSK-XXXX)
│   ├── epics/             # Epic tasks (EP-XXXX)
│   ├── issues/            # Issues and bugs (ISS-XXXX)
│   └── prs/               # Pull requests (PR-XXXX)
├── docs/                   # Documentation
└── README.md              # Project documentation

Configuration

AI Trackdown PyTools uses YAML configuration files:

Global Configuration (~/.ai-trackdown/config.yaml)

version: "1.0.0"
editor:
  default: "code"  # Default editor for task editing
templates:
  directory: "templates"
git:
  auto_commit: false
  commit_prefix: "[ai-trackdown]"

Project Configuration (.ai-trackdown/config.yaml)

version: "1.0.0"
project:
  name: "My Project"
  description: "Project description"
  version: "1.0.0"
tasks:
  directory: "tasks"
  auto_id: true
  id_format: "TSK-{counter:04d}"
templates:
  directory: "templates"

Templates

Templates are powerful tools for standardizing task creation:

Task Template Example

name: "Bug Report Template"
description: "Template for bug reports"
type: "task"
version: "1.0.0"

variables:
  severity:
    description: "Bug severity"
    default: "medium"
    choices: ["low", "medium", "high", "critical"]
  component:
    description: "Affected component"
    required: true

content: |
  # Bug: {{ title }}
  
  ## Description
  {{ description }}
  
  ## Severity
  {{ severity }}
  
  ## Affected Component
  {{ component }}
  
  ## Steps to Reproduce
  1. 
  2. 
  3. 
  
  ## Expected Behavior
  
  ## Actual Behavior
  
  ## Environment
  - OS: 
  - Browser: 
  - Version: 

Real-World Examples

Managing an ML Research Project

# Initialize ML research project
aitrackdown init project --template ml-research

# Create research epic
aitrackdown create epic "Experiment: Vision Transformer Fine-tuning" \
  --goal "Achieve 95% accuracy on custom dataset"

# Create subtasks
aitrackdown create task "Prepare dataset" --parent EPIC-0001 --assignee "data-team"
aitrackdown create task "Implement model architecture" --parent EPIC-0001
aitrackdown create task "Run baseline experiments" --parent EPIC-0001

# Track experiment results
aitrackdown update TSK-0003 --add-note "Baseline accuracy: 87.3%"

Bug Tracking Workflow

# Report a bug
aitrackdown create issue "Model inference crashes on GPU" \
  --type bug \
  --severity critical \
  --component "inference-engine" \
  --affects-version "2.1.0"

# Link to PR
aitrackdown create pr "Fix GPU memory leak in inference" \
  --fixes BUG-0001 \
  --branch hotfix/gpu-memory-leak

Sprint Planning

# Create sprint epic
aitrackdown create epic "Sprint 23: Authentication & API" \
  --start "2025-08-01" \
  --end "2025-08-14"

# Bulk assign tasks to sprint
aitrackdown update --tag "sprint-23" --bulk TSK-0001,TSK-0002,TSK-0003

# View sprint progress
aitrackdown status sprint --id 23

Git Integration

Seamlessly integrate with your Git workflow:

# Initialize with Git integration
aitrackdown init project --git

# Auto-link commits to tasks
git commit -m "feat: Add user authentication

Implements TSK-0001
Co-authored-by: AI Trackdown <ai@trackdown.com>"

# Create PR with task linking
aitrackdown pr create \
  --title "Add authentication system" \
  --implements TSK-0001,TSK-0002 \
  --reviewers "alice,bob"

# Auto-close tasks on merge
aitrackdown config set git.auto_close_on_merge true

Data Validation and Quality

# Validate all project data
aitrackdown validate

# Validate specific template
aitrackdown template validate feature-template

# Check project health
aitrackdown health --verbose

# Audit project for issues
aitrackdown audit --fix

Workflow States

AI Trackdown PyTools includes a comprehensive workflow state system:

# Available states: OPEN, IN_PROGRESS, BLOCKED, IN_REVIEW, RESOLVED, CLOSED, WONT_FIX
aitrackdown create task "New feature" --status OPEN
aitrackdown transition TSK-001 IN_PROGRESS
aitrackdown transition TSK-001 RESOLVED --resolution "Completed successfully"

# View tasks by status
aitrackdown status tasks --status IN_PROGRESS
aitrackdown status tasks --status RESOLVED

Contributing

We love contributions! AI Trackdown PyTools is a community-driven project, and we welcome contributions of all kinds.

Ways to Contribute

  • 🐛 Report bugs and suggest features
  • 📖 Improve documentation and examples
  • 🧪 Write tests and improve coverage
  • 🎨 Create templates for common workflows
  • 💻 Submit pull requests with enhancements

See our Contributing Guide for detailed instructions.

Quick Development Setup

# Clone and setup
git clone https://github.com/ai-trackdown/ai-trackdown-pytools.git
cd ai-trackdown-pytools
pip install -e .[dev]
pre-commit install

# Run tests
pytest

# Format code
black src tests
ruff check src tests --fix

Support

Getting Help

Community

License

AI Trackdown PyTools is open source software licensed under the MIT License.

Acknowledgments

Links


Made with ❤️ by the AI Trackdown Team

About

Python tools for AI-powered project tracking and task management

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages