A comprehensive framework for AI agent-driven software development with integrated Jira project management and GitHub workflows.
This framework enables AI coding agents (Claude Code, Cursor, Windsurf, etc.) to autonomously:
- Elicit and document requirements from stakeholders
- Set up and manage Jira projects via Atlassian MCP
- Create and manage GitHub branches tied to Jira issues
- Commit with smart commits for automatic Jira updates
- Maintain traceability across the entire development lifecycle
- Manage deployments across dev, staging, and production branches
π¨ PROTOCOL.md - READ THIS FIRST
MANDATORY session protocol and checklist for all agents.
Critical requirements:
- Session checklist that MUST be followed every time
- Enforcement mechanisms to prevent common failures
- Recovery procedures for protocol violations
- Git workflow with smart commits reference
- Integration with HISTORY.md for session continuity
Why it exists: Agents consistently forget protocols. This file uses multiple enforcement layers to make compliance automatic.
π HISTORY.md
Living document tracking all development sessions and project evolution.
Contains:
- Current project status and active work
- "Up Next" section with recommended tasks
- Session-by-session log of all work done
- Blockers, technical debt, and key decisions
- Handoff documentation between agents/developers
Critical for: Session continuity, agent handoffs, understanding project evolution.
π AGENTS.md
Universal AI agent configuration file following the AGENTS.md standard (adopted by 40,000+ projects).
Key sections:
- MANDATORY PROTOCOL REFERENCE (first section - points to PROTOCOL.md)
- Agentic workflow patterns (Sequential, Planning, Parallelization, Orchestrator-Worker)
- Requirements elicitation process with multi-agent collaboration
- Jira integration via Model Context Protocol (MCP)
- Git workflows with smart commits syntax
- Code conventions and architectural patterns
π PROJECT.md
Complete project initialization and management framework.
Covers:
- 5-phase project initialization (Requirements β Jira β GitHub β Integration β Development)
- Requirements elicitation templates and workflows
- Jira project setup with issue templates
- GitHub repository structure and branch protection
- Continuous synchronization between Jira and GitHub
- Daily development workflows from issue to deployment
π§ WORKFLOWS.md
Practical, copy-paste ready workflow templates and examples.
Includes:
- Agent prompt templates for common tasks
- Complete workflow examples (feature, bug fix, hotfix, refactoring)
- Smart commit cheat sheet with all syntax patterns
- GitHub Actions templates for CI/CD and Jira integration
- Agent automation scripts (morning sync, evening cleanup)
- MCP agent workflows for bulk operations
- Troubleshooting guides
# Clone the repository
git clone https://github.com/stuartsc/agent-driven-dev-framework.git
cd agent-driven-dev-framework
# Run protocol setup (installs git hooks)
./setup-protocol.sh# Copy these files to your project root
AGENTS.md
PROJECT.md
WORKFLOWS.md
PROTOCOL.md
HISTORY.md
verify-protocol.sh
setup-protocol.sh
hooks/pre-commit
.claude/prompts/session-start.mdUpdate the following in each file:
- Replace
PROJwith your Jira project key - Update team names and member lists
- Adjust workflow state names to match your Jira workflow
- Customize branch naming conventions if needed
Jira Setup:
- Create Jira project with your project key
- Install GitHub for Jira app
- Enable smart commits
- Configure MCP server (optional but recommended)
GitHub Setup:
- Create repository
- Set up branch protection rules
- Add GitHub Actions workflows from WORKFLOWS.md
- Configure secrets for Jira integration
MCP Configuration:
- Install Atlassian MCP server
- Configure authentication
- Test integration with sample commands
IMPORTANT: Before coding, EVERY agent must:
- Read PROTOCOL.md completely
- Copy session checklist to working notes
- Read HISTORY.md for current status and "Up Next" tasks
- Follow daily workflows in PROJECT.md Phase 5
The #1 problem with AI agents: They forget to follow protocols.
This framework solves that with multiple enforcement layers:
- PROTOCOL.md comes alphabetically first
- AGENTS.md first section points to PROTOCOL.md
- Impossible to miss when listing files
.claude/prompts/session-start.mdauto-loads on session start (Claude Code)- Forces protocol awareness before any work begins
- Provides checklist reminder
# Pre-commit hook verifies:
- Jira key in branch name
- Jira key in commit message
- HISTORY.md recently updated
- No uncommitted work
# Install hooks:
./setup-protocol.sh# Run before committing to verify compliance:
./verify-protocol.sh
# Checks:
β
HISTORY.md updated
β
Branch name has Jira key
β
Recent commits have Jira keys
β
No uncommitted changes
β
Required files exist- "Up Next" section tells agents what to work on
- Session log provides continuity
- Blockers are visible immediately
- Technical debt is tracked
Single reminders don't work. Agents need:
- Visual cues (file naming, emoji markers)
- Automatic prompts (session-start.md)
- Forced compliance (git hooks)
- Easy verification (verify-protocol.sh)
- Context persistence (HISTORY.md)
Together, these make protocol compliance automatic, not optional.
- Multi-agent approach with specialized roles (Interviewer, Analyst, Reviewer)
- Automated Jira issue creation from requirements
- Validation loops with stakeholder feedback
- Requirements traceability matrix
- Standardized branch naming:
<type>/<JIRA-KEY>-<description> - Smart commits for automatic Jira updates
- Branching strategy:
mainβstagingβdevβ feature branches - Automated CI/CD pipelines
- Real-time synchronization via smart commits
- MCP-powered bulk operations
- Automated sprint health monitoring
- Daily standup report generation
- Automated Jira transitions on PR events
- CI/CD pipelines with Jira integration
- Branch cleanup automation
- Release notes generation
# Basic format
<JIRA-KEY> #<command> <arguments>
# Examples
git commit -m "PROJ-123 #comment Implemented user authentication"
git commit -m "PROJ-123 #time 2h 30m Completed feature"
git commit -m "PROJ-123 #in-review #comment Ready for code review"
git commit -m "PROJ-123 #done #comment Deployed to production"See WORKFLOWS.md for complete syntax reference.
- Agent selects issue from Jira sprint
- Creates feature branch:
feature/PROJ-123-feature-name - Implements with regular smart commits
- Creates PR when complete
- After review, merges to
dev - Jira automatically updated throughout
- Create fix branch:
fix/PROJ-456-bug-description - Reproduce and diagnose
- Implement fix with tests
- Smart commit to update Jira
- Merge to
devafter review
- Branch from
main:hotfix/PROJ-789-critical-issue - Quick fix with minimal changes
- Fast-track review
- Merge to
main, then backport tostaginganddev
- Git 2.30+
- GitHub CLI (optional, recommended)
- Jira Cloud or Server
- Claude Code, Cursor, or compatible AI coding agent
- GitHub for Jira app
- Atlassian MCP server (optional)
- GitHub Actions for automation
- Jira: Create/edit issues, transition workflows, log time
- GitHub: Create repos, manage branches, deploy workflows
- Always include Jira key in branch names - Enables automatic linking
- Use smart commits for every commit - Keeps Jira in sync
- Create small, focused PRs - Easier review, faster merge
- Update Jira with blockers immediately - Transparency for team
- Let agents handle routine updates - Focus human time on decisions
- Verify Git email matches Jira user email exactly
- Check smart commits are enabled in Jira settings
- Ensure issue key format is correct (PROJ-123)
- Verify user has appropriate Jira permissions
- Check branch name includes issue key
- Verify GitHub integration is active
- Reconnect GitHub for Jira app if needed
See WORKFLOWS.md for more solutions.
This framework is designed to evolve with your team's needs. When you discover improvements:
- Update the relevant markdown file
- Document the change in commit message
- Share learnings with the team
- Consider contributing back to the community
MIT License - feel free to adapt for your organization's needs.
Framework Version: 1.0.0 Last Updated: 2025-11-08 Maintained by: Stuart Bond