This document describes the core principles and phased evolution of the AI-assisted Software Development Lifecycle workflow.
AI never starts work autonomously. A human must trigger it.
Examples:
/plan-feature PROJ-123
/implement-task PROJ-231
All planning and execution must remain visible in Jira.
The AI assistant must:
- Read tasks from Jira
- Create tasks and subtasks
- Update task states
- Comment with commit and PR links
Every commit must reference a Jira issue.
Example commit message:
feat: add SBOM CSV export endpoint
Implements PROJ-231
The AI assistant should prefer real information over guessing.
Sources of truth:
- Jira
- Figma
- Repository code
- Serena LSP
When a PR reviewer flags a defect, the workflow does not just fix the immediate issue — it traces the root cause back through the full workflow chain to prevent similar mistakes in future tasks. This creates a quality flywheel: each investigation improves an upstream phase, which produces fewer mistakes, which generates fewer review sub-tasks.
The verify-pr skill spawns a sub-agent to trace each reviewer-flagged defect
through four upstream phases:
- define-feature — was the requirement specified in the Feature description?
- plan-feature — did the task's Acceptance Criteria, Implementation Notes, and file references capture what was needed?
- implement-task — did the implementation follow the task correctly, including conventions and sibling patterns?
- project conventions — does CONVENTIONS.md document the relevant pattern?
The root-cause task targets the phase where the gap originated, not always the implementation phase. This distinction is critical: a fix applied at the wrong phase will not prevent recurrence.
Example: a reviewer comments "this endpoint should return paginated results". The same comment could trace to four different root causes:
/plan-feature PROJ-100 → /implement-task PROJ-201 → /verify-pr PROJ-201
Reviewer: "this endpoint should return paginated results"
Root cause 1 (define-feature): The Feature description never mentioned pagination
→ Fix: improve Feature template guidance to prompt for pagination requirements
Root cause 2 (plan-feature): The Feature mentioned pagination, but the task's
Acceptance Criteria omitted it
→ Fix: improve plan-feature analysis to detect pagination in Feature descriptions
Root cause 3 (implement-task): The task correctly specified pagination, but
implement-task missed a paginated sibling endpoint in the same module
→ Fix: improve implement-task sibling analysis to detect pagination patterns
Root cause 4 (conventions): The project uses pagination everywhere but
CONVENTIONS.md doesn't document the pattern
→ Fix: add pagination convention to CONVENTIONS.md
The flywheel effect: each root-cause task improves the upstream phase →
implement-task produces fewer mistakes → fewer review sub-tasks → a measurable
decline in the review-feedback metric over time = system improving.
The workflow supports two parallel pipelines that share downstream execution phases:
Feature: define-feature → plan-feature → implement-task → verify-pr
Bug: report-bug → triage-bug → implement-task → verify-pr
The feature pipeline starts with an interactive Feature definition (define-feature),
followed by automated planning that decomposes the Feature into implementation Tasks
(plan-feature). Each Task is then implemented (implement-task) and verified
(verify-pr).
The bug pipeline starts with a structured Bug report (report-bug), followed by
automated triage that investigates the root cause and produces a single fix Task
(triage-bug). The generated Task front-loads a reproducer test as its first
acceptance criterion, ensuring the bug is verified fixed before the PR merges.
The bug pipeline reuses downstream skills unchanged — the key difference is the entry point (Bug issue type vs Feature issue type) and the intermediate phase (triage with codebase investigation vs planning with task decomposition).
The platform evolves incrementally. The AI assistant should always prioritize the current phase capabilities.
Goal: Generate implementation tasks from a Jira feature.
Inputs:
- Jira feature
- Figma design
- Local repositories
Workflow:
- Fetch feature from Jira
- Retrieve Figma mockup
- Inspect repositories
- Identify impacted components
- Generate implementation plan
- Create Jira tasks
Limitations:
- No architecture index
- No shared knowledge
- Repositories scanned each run
Output:
- Jira tasks
- Plan comment on the feature
Goal: Improve planning accuracy.
Add a local architecture cache using:
- Tree-sitter
- Serena LSP
Index should store:
- Modules
- APIs
- Services
- Dependencies
- Tests
Limitations: Each developer has their own architecture cache.
Goal: Introduce a shared architecture service.
Components:
- Indexer pipeline
- Architecture database
- MCP server
Benefits:
- Consistent architecture knowledge
- Faster planning
- Cross-repository insights
Goal: Architecture knowledge must match Git commits.
Structure:
repository → commit SHA → architecture snapshot
Benefits:
- Accurate planning for branches
- Change impact analysis
- Improved reliability
Goal: Planning agents perform deeper analysis.
Analysis includes:
- Architecture impact
- Dependency analysis
- Test planning
- Risk detection
Output should include:
- Repositories affected
- Modules to modify
- Files likely impacted
- Test requirements
Engineers implement tasks using Claude Code.
Example command:
/implement-task PROJ-231
Workflow:
- Fetch Jira task
- Understand requirements
- Analyze repository with Serena
- Propose implementation plan
- Modify code
- Write tests
- Run tests
- Commit changes
- Open pull request
- Update Jira
Tasks should contain:
- Title
- Description
- Repository
- Implementation notes
- Acceptance criteria
- Test requirements
The AI assistant must:
- Create branch
- Commit referencing Jira
- Open PR
- Comment on Jira with PR link
When extending this system the AI assistant should:
- Deliver the simplest working version
- Iterate incrementally
- Keep engineers in control
- Maintain Jira visibility