Get up and running with @devintern/code in minutes
Quick Start
@devintern/code is your AI intern for automatically implementing tasks from Jira. It fetches task details, creates feature branches, runs your AI agent, commits changes, and optionally creates pull requests — all from a single command.
Prerequisites
- Bun runtime — Required to run @devintern/code
- Jira account with API access
- AI agent CLI installed (e.g., Claude Code, Opencode, Codex, Cursor)
- Git repository for your project
Installation
Install globally with Bun:
# Install Bun if not already installed
curl -fsSL https://bun.sh/install | bash
# Install @devintern/code globally
bun install -g @devintern/code
Initialize Configuration
Navigate to your project directory and run:
devintern init
This will:
- Create a
.devintern-codefolder in your current project - Copy
.env.sampleto.devintern-code/.env - Create
settings.jsonfor per-project configuration - Automatically add
.devintern-code/.envto your.gitignore(to prevent leaking credentials)
After running init:
- Edit
.devintern-code/.envwith your Jira credentials - (Optional) Edit
.devintern-code/settings.jsonto configure PR status transitions
First Run
Run devintern with a Jira task key:
devintern PROJ-123
This will:
- Fetch Jira task details (description, comments, attachments)
- Transition the task to “In Progress”
- Create a feature branch (
feature/proj-123) - Run a clarity check (skippable with
--skip-clarity-check) - Execute your AI agent with formatted task context
- Commit changes automatically after successful implementation
- Post a summary back to Jira