搜索

PythonReactSEOPDF
GitHub Skill

track-task-management

Manages development tasks with integrated JJ workspaces, WebUI, and link management. Use when creating tasks, adding TODOs, working through task lists, managing references, or when the user mentions 'track' CLI, task management, or workspaces.

manji-0☆ 1 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Track Task Management

Lightweight CLI tool for managing development tasks with integrated JJ workspace support.

Quick Start

Creating a Task
# Basic task
track new "Implement dark mode"

# With ticket integration
track new "Fix login bug" --ticket PROJ-123 --ticket-url https://jira.example.com/browse/PROJ-123
Adding TODOs
# Simple TODO
track todo add "Create dark mode CSS variables"

# TODO with isolated workspace
track todo add "Implement theme switcher" --worktree
Working in a Workspace
track sync
cd "$(track todo workspace 1)"

# Verify bookmark and describe changes
jj status
jj bookmark list -r @
jj describe -m "Implement theme switcher"
Checking Status
track status

Essential Commands

Command Purpose
track status [id] View current (or specified) task and TODOs
track status --all Show all scraps instead of recent
track status --json Output in JSON format
track new "<name>" Create new task
track new "<name>" --template <ref> Create task from template
track list List all tasks
track switch <id> Switch to another task
track switch t:<ticket> Switch by ticket reference
track switch a:<alias> Switch by alias
track todo add "<text>" Add TODO
track todo add "<text>" --worktree Add TODO with workspace
track todo workspace <index> Show or recreate TODO workspace
track todo done <index> Complete TODO
track todo next <index> Move TODO to front (make it next)
track link add <url> Add reference link
track link add <url> --title "<title>" Add link with title
track repo add [path] Register repository
track repo add --base <bookmark> Register with base bookmark
track scrap add "<note>" Record progress note
track sync Create bookmarks and workspaces
track config set-calendar <id> Set Google Calendar ID
track config show Show current configuration
track webui Start web-based UI
track llm-help Show comprehensive guide

Workflows

For detailed step-by-step workflows, see:

Key Concepts

Ticket Integration

Link tasks to external tickets (Jira, GitHub, GitLab). Ticket IDs are automatically used in bookmark names.

track new "Feature" --ticket PROJ-123
# Creates bookmark: task/PROJ-123
JJ Workspaces

Automatically create isolated working directories for each TODO, enabling parallel development.

track todo add "Refactor auth" --worktree
track sync  # Creates workspace at: /repo/task/PROJ-123-todo-1
cd "$(track todo workspace 1)"
# ... work, jj describe ...
track todo done 1  # Automatically rebases and cleans up
Task-Scoped Indices

TODO, Link, and Repository indices (1, 2, 3...) are scoped to each task, not global. Each task maintains its own independent numbering for better organization.

Link Management

Add reference links to tasks for documentation, PRs, issues, or any relevant URLs.

track link add https://docs.example.com/api --title "API Documentation"
track link list
Template Feature

Create new tasks based on existing ones, copying all TODOs.

track new "Sprint 2" --template t:PROJ-100
# All TODOs copied with status reset to 'pending'
Alias Support

Set memorable aliases for tasks to make switching easier.

track alias set feature-x
track switch a:feature-x
Progress Notes (Scraps)

Record findings, decisions, and progress as you work. Supports Markdown formatting.

track scrap add "Decided to use bcrypt for password hashing"
track scrap add "## Performance Results\n- Query time: 50ms\n- Memory: 128MB"
Web UI

Visual interface with real-time updates, Markdown rendering, and inline editing.

track webui  # Access at http://localhost:3000

For LLM Agents

Standard Workflow Pattern
  1. Sync first (MANDATORY): track sync
  2. Verify bookmark: jj status (must be task bookmark, not main/master)
  3. Check context: track status
  4. Identify next action: Look at pending TODOs
  5. Navigate to workspace: track todo workspace <index>
  6. Implement changes and test
  7. Describe changes: jj describe -m "..."
  8. Record progress: track scrap add "..."
  9. Complete: track todo done <index>
  10. Repeat for next TODO
Important Notes
  • ALWAYS run track sync before making code changes
  • ALWAYS verify you are on task bookmark, not main/master/develop (jj status + jj bookmark list -r @)
  • Always run track status first to understand current state
  • TODO, Link, and Repository indices are task-scoped (not global)
  • Describe all changes before track todo done
  • Use scraps to document decisions and findings (supports Markdown)
  • Ticket IDs appear in bookmark names when linked
  • Use track webui for visual interface with real-time updates
  • Template feature available for recurring workflows

Additional Resources

  • Quick reference: Run track llm-help for comprehensive guide
  • All commands: Run track --help
  • Installation guide: See ../INSTALL.md

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!