Documentation
¶
Overview ¶
Package devflow provides development workflow primitives for AI-powered automation.
The package is organized into subpackages by domain:
- git: Git repository operations, worktrees, branches, commits
- pr: Pull request creation for GitHub and GitLab
- transcript: AI conversation transcript recording and search
- artifact: Workflow artifact storage and lifecycle management
- workflow: Workflow state and node implementations
- notify: Notification services (Slack, webhook)
- context: Service dependency injection
- prompt: Prompt template loading
- task: Task-based model selection
- http: HTTP client utilities
- testutil: Test utilities and fixtures
Quick Start ¶
import (
"github.com/randalmurphal/devflow/git"
"github.com/randalmurphal/devflow/workflow"
"github.com/randalmurphal/devflow/context"
)
// Create git context
gitCtx, _ := git.NewContext("/path/to/repo")
// Create workflow state
state := workflow.NewState("my-flow")
// Inject services
services := &context.Services{Git: gitCtx}
ctx := services.InjectAll(ctx)
See individual package documentation for detailed usage.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package artifact provides storage and lifecycle management for workflow artifacts.
|
Package artifact provides storage and lifecycle management for workflow artifacts. |
|
Package context provides dependency injection for workflow services.
|
Package context provides dependency injection for workflow services. |
|
examples
|
|
|
basic
command
Package main demonstrates basic usage of the devflow library.
|
Package main demonstrates basic usage of the devflow library. |
|
Package git provides Git operations including repository management, worktree creation, branch operations, commits, and command execution.
|
Package git provides Git operations including repository management, worktree creation, branch operations, commits, and command execution. |
|
parallel
Package parallel provides multi-worktree orchestration for parallel branch execution.
|
Package parallel provides multi-worktree orchestration for parallel branch execution. |
|
Package http provides shared HTTP client patterns for integration clients.
|
Package http provides shared HTTP client patterns for integration clients. |
|
Package jira provides a client for the Jira REST API.
|
Package jira provides a client for the Jira REST API. |
|
Package notify provides notification services for workflow events.
|
Package notify provides notification services for workflow events. |
|
Package pr provides pull request operations for GitHub and GitLab.
|
Package pr provides pull request operations for GitHub and GitLab. |
|
Package prompt provides prompt template loading and management.
|
Package prompt provides prompt template loading and management. |
|
Package task provides task-based model selection for LLM operations.
|
Package task provides task-based model selection for LLM operations. |
|
Package testutil provides utilities for testing.
|
Package testutil provides utilities for testing. |
|
Package transcript provides recording and management of AI conversation transcripts.
|
Package transcript provides recording and management of AI conversation transcripts. |
|
Package workflow provides workflow state management and node implementations for AI-powered development workflows.
|
Package workflow provides workflow state management and node implementations for AI-powered development workflows. |
Click to show internal directories.
Click to hide internal directories.