Asoba Zorora Documentation

Development Workflow Guide

Multi-step code development workflow with /develop command.

Overview

The /develop command executes a comprehensive multi-step workflow for code development. It explores your codebase, plans changes, gets your approval, executes with Codestral, and validates the results.

/develop Workflow Screenshot
(Placeholder - Add screenshot showing /develop workflow in action with plan display and execution)

Workflow Phases

Phase 0: Pre-flight Checks

What happens:

Why: Safety check to prevent data loss

Phase 1: Codebase Exploration

What happens:

Output: Codebase analysis report

Phase 2: Planning

What happens:

Output: Detailed development plan

Phase 3: User Approval

What happens:

User Options:

Why: User control over changes

Phase 4: Execution

What happens:

Output: Modified codebase

Phase 5: Lint & Validate

What happens:

Output: Lint report and validation results

Using /develop

Basic Usage

/develop Add user authentication to my Flask app

Complex Requests

/develop Refactor the API to use async/await and add comprehensive error handling

Feature Addition

/develop Add unit tests for the user service with 80% coverage

Requirements

Git Repository

Required: Git repository must exist

Why: Safety mechanism to track changes

Setup:

cd your-project
git init
git add .
git commit -m "Initial commit"

Project Structure

Required: Recognizable project structure

Supported:

Uncommitted Changes

Warning: Uncommitted changes detected

Recommendation: Commit changes before proceeding

Override: Can proceed with confirmation

Workflow Example

Request

/develop Add user authentication to my Flask app

Phase 1: Exploration

[Phase 1/5] Exploring codebase...
✓ Detected Flask project
✓ Found app.py, requirements.txt
✓ Identified existing routes

Phase 2: Planning

[Phase 2/5] Creating development plan...

Plan:
1. Create models/user.py (User model)
2. Create routes/auth.py (authentication routes)
3. Modify app.py (add auth blueprint)
4. Update requirements.txt (add flask-login, bcrypt)
5. Create tests/test_auth.py (unit tests)

Phase 3: Approval

[Phase 3/5] Approval required

Files to create:
- models/user.py
- routes/auth.py
- tests/test_auth.py

Files to modify:
- app.py
- requirements.txt

Dependencies to add:
- flask-login
- bcrypt

Approve? (yes/no/modify)

Phase 4: Execution

[Phase 4/5] Executing plan...
✓ Created models/user.py
✓ Created routes/auth.py
✓ Modified app.py
✓ Updated requirements.txt
✓ Created tests/test_auth.py

Phase 5: Validation

[Phase 5/5] Linting and validation...
✓ Ruff: No issues
✓ Syntax: Valid
✓ Imports: Resolved

Best Practices

Writing Development Requests

Be Specific:

Include Requirements:

Specify Framework:

Reviewing Plans

Check File Changes:

Review Dependencies:

Approve Carefully:

After Execution

Review Generated Code:

Run Tests:

Commit Changes:

git add .
git commit -m "Add user authentication"

Troubleshooting

Git Repository Not Found

Problem: Workflow requires git repository

Solution:

cd your-project
git init
git add .
git commit -m "Initial commit"

Plan Not Accurate

Problem: Generated plan doesn’t match request

Solution:

Execution Fails

Problem: Code execution fails

Solution:

Lint Errors

Problem: Linter reports errors

Solution:

See Also