Workflows
nanx provides several automated workflows to streamline your development process. From AI-powered commit messages to smart release automation, these workflows help you ship faster while maintaining quality and consistency.
Available Workflows
AI-Powered Commits
BetaGenerate meaningful commit messages using AI analysis of your staged changes. Supports multiple AI providers including Claude, GPT, and local LLMs.
- Automatic diff analysis
- ACCID and Conventional Commits support
- Configurable AI providers
- Interactive review and edit
Release Automation
BetaStreamline your release process with automated versioning, changelog generation, and tag management. Supports semantic versioning and custom release hooks.
- Semantic version bumping
- Automated changelog generation
- Git tag creation and push
- Pre/post release hooks
ACCID Git
StableLearn about ACCID (Atomic Conventional Consistent Immutable Durable), an advanced Git workflow with structured commits that provide rich context and machine-parseable structure.
- Resource URI identifiers
- Issue tracking integration
- Structured body format
- Monorepo-friendly design
Git Workflow
StableStreamline your entire git workflow with powerful shortcuts. From status to staging, committing with AI, and pushing—all with simple, memorable commands.
- One-letter shortcuts (r st, r aa, r pu)
- Composite commands (r acgmp)
- Branch management
- Stash operations
Worktree Workflow
Beta New in v0.4.0Work on multiple branches simultaneously without stashing or switching. Each branch gets its own directory with automatic setup file copying.
- Multiple branches open at once
- Automatic .env copying
- Smart editor integration
- Environment-aware actions
Quick Start
AI Commit in 30 Seconds
# Stage your changes
nanx r aa
# Generate and commit with AI message
nanx r cgm
# Or all in one: add, commit with AI, push
nanx r acgmp Release in 30 Seconds
# Interactive release (prompts for version bump)
nanx repo release
# Quick patch release
nanx repo release --bump patch --yes Prerequisites
Before using workflows, ensure you have:
- AI Workflows: Configured an AI provider (Claude, GPT, or local LLM)
- Release Workflows: A .repo.yml configuration file in your project root
Next Steps
- AI Commit Workflow - Detailed guide
- Release Workflow - Full release automation
- Git Workflow - Complete git shortcuts reference
- Worktree Workflow - Work on multiple branches simultaneously
- ACCID Commit Specification - Commit format details
- Configure AI Providers - Setup guide