Assess Django codebase readiness for parallel multi-agent development
Assesses Django codebase readiness for parallel multi-agent development across 6 dimensions.
/plugin marketplace add jpoutrin/product-forge/plugin install python-experts@product-forge-marketplace[apps-directory]Category: Parallel Development (Django)
/parallel-ready-django [apps-directory]
apps-directory: Optional - Path to Django apps directory (default: apps/)Evaluate a Django codebase for parallelization readiness across 6 dimensions, generating a score from 0-100. This assessment identifies blockers that would cause conflicts during parallel agent execution.
When this command is run, Claude Code should:
Verify this is a Django project:
ls manage.py settings.py 2>/dev/null || ls */settings.py 2>/dev/null
Execute the analysis script from the skill references:
python /path/to/skills/parallel-ready-django/references/analyze-readiness.py [apps-directory]
Or perform manual analysis if script unavailable.
Check:
grep -r "from apps\." --include="*.py" apps/Scoring:
Check:
grep -r "@receiver\|\.connect(" --include="*.py"grep -r "^[a-z_]*\s*=\s*\[\|^[a-z_]*\s*=\s*\{" --include="*.py"Scoring:
Check:
__all__: grep -r 'fields.*__all__' --include="*.py"grep "\[tool.mypy\]" pyproject.tomlgrep -r "spectacular\|swagger" --include="*.py"Scoring:
__all__, OpenAPI present__all____all__ usageCheck:
find . -name "test_*.py" | wc -lgrep "pytest" pyproject.tomlgrep -r "DjangoModelFactory" --include="*.py"Scoring:
Check:
grep "\[tool.ruff\]" pyproject.tomlScoring:
Check:
ls poetry.lock Pipfile.lock requirements.txt 2>/dev/nullfind . -path "*/migrations/*.py" -not -name "__init__.py" | wc -lScoring:
Create/update .claude/readiness-report.md:
# Django Parallelization Readiness Report
## Overall Score: XX/100
## Dimension Scores
| Dimension | Score | Status |
|-----------|-------|--------|
| App Boundaries | X/20 | ✅/⚠️/❌ |
| Shared State | X/20 | ✅/⚠️/❌ |
| API Contracts | X/20 | ✅/⚠️/❌ |
| Test Infrastructure | X/15 | ✅/⚠️/❌ |
| Documentation | X/15 | ✅/⚠️/❌ |
| Dependencies | X/10 | ✅/⚠️/❌ |
## Blockers (Must Fix Before Parallelization)
[List issues with score <50% in dimension]
## Risks (Should Fix)
[List issues with score 50-80% in dimension]
## What's Working Well
[List items that scored well]
## Recommendations
[Based on score:]
- **Score ≥80**: Ready for parallelization
- **Score 50-79**: Fix blockers, then proceed
- **Score <50**: Sequential work recommended
## Parallelization Potential
- **Recommended parallel tracks**: [1-5 based on app structure]
- **Suggested boundaries**: [Django apps that can work independently]
- **Risk level**: [Low/Medium/High]
Output to console:
🔍 Django Parallelization Readiness Assessment
Overall Score: XX/100
┌─────────────────┬───────┬────────┐
│ Dimension │ Score │ Status │
├─────────────────┼───────┼────────┤
│ App Boundaries │ XX/20 │ ✅ │
│ Shared State │ XX/20 │ ⚠️ │
│ API Contracts │ XX/20 │ ❌ │
│ Tests │ XX/15 │ ✅ │
│ Documentation │ XX/15 │ ⚠️ │
│ Dependencies │ XX/10 │ ✅ │
└─────────────────┴───────┴────────┘
📄 Full report: .claude/readiness-report.md
Next steps:
[if score < 80] → Run /parallel-fix-django to address blockers
[if score ≥ 80] → Run /parallel-decompose <prd-file>
| Score | Status | Recommendation |
|---|---|---|
| ≥80 | Ready | Proceed with parallelization |
| 50-79 | Needs Work | Fix high-priority blockers first |
| <50 | Not Ready | Sequential development recommended |
# Assess default apps/ directory
/parallel-ready-django
# Assess specific directory
/parallel-ready-django src/apps
# After running
cat .claude/readiness-report.md
/parallel-setup - Initialize infrastructure (run first)/parallel-fix-django - Fix identified blockers/parallel-decompose - Create parallel tasks (after score ≥80)