CODITECT Standard: Use Case
Version: 1.0.0 Status: Active Last Updated: January 12, 2026
Purpose
This standard defines the format and requirements for CODITECT use cases. Use cases serve as:
- Project seeds - Starting points for new projects
- Workflow templates - Mappings to CODITECT's 1,152 workflows
- Training material - Hands-on exercises for certification
- ROI documentation - Productivity metrics and business value
Use Case Structure
Required Fields
Every use case MUST include:
| Field | Type | Description |
|---|---|---|
| ID | Integer | Unique identifier (1-1000) |
| Title | String | Concise, action-oriented title |
| Domain | Enum | One of 15 industry domains |
| Problem Statement | String | Clear description of the problem solved |
| Deliverables | List | Expected outputs/artifacts |
| Components | List | CODITECT agents, commands, workflows |
| Productivity Metrics | Object | Time savings, error reduction |
| Complexity | Enum | Low, Medium, High |
Optional Fields
| Field | Type | Description |
|---|---|---|
| Category | String | Subcategory within domain |
| Prerequisites | List | Required setup or dependencies |
| Related Use Cases | List | Cross-references to related IDs |
| Notes | String | Additional context or edge cases |
Domain Classification
The 15 Industry Domains
| # | Domain | ID Range | Description |
|---|---|---|---|
| 1 | Software Development | 1-100 | APIs, CI/CD, testing, refactoring |
| 2 | Business Strategy | 101-175 | Business plans, market sizing, go-to-market |
| 3 | Research & Intelligence | 176-250 | Competitive analysis, due diligence |
| 4 | Education & Training | 251-325 | Curriculum, assessments, learning paths |
| 5 | Content & Marketing | 326-400 | Content strategy, SEO, editorial calendars |
| 6 | Finance & Investment | 401-475 | Financial modeling, valuations, portfolio |
| 7 | HR & Legal | 476-550 | Hiring, compliance, contracts |
| 8 | Healthcare & Real Estate | 551-650 | Clinical workflows, property analysis |
| 9 | Manufacturing & Retail | 651-750 | Supply chain, inventory, pricing |
| 10 | Financial Services, Creative, Personal | 751-1000 | Risk modeling, freelance, productivity |
Domain Assignment Rules
- Primary domain takes precedence - If a use case spans domains, assign to the primary
- ID ranges are fixed - Do not assign IDs outside domain ranges
- Cross-references for multi-domain - Use "Related Use Cases" for domain overlap
Formatting Requirements
Title Format
Use Case #[ID]: [Action Verb] [Object] [Optional Context]
Examples:
- Use Case #42: Build REST API with JWT Authentication
- Use Case #156: Create Go-to-Market Strategy for B2B SaaS
- Use Case #301: Design Assessment Rubric for Technical Certification
Problem Statement
Write in third person, describing the challenge:
**Problem:** Organizations need [capability] but currently face [challenge],
resulting in [negative outcome]. This use case addresses [specific gap].
Deliverables
Use checkbox format for trackable outputs:
### Deliverables
- [ ] Primary deliverable (e.g., API endpoints)
- [ ] Secondary deliverable (e.g., Documentation)
- [ ] Tertiary deliverable (e.g., Test suite)
Components Table
### CODITECT Components
| Component Type | Name | Purpose |
|----------------|------|---------|
| Agent | `senior-architect` | Design API structure |
| Command | `/project-new` | Initialize project |
| Workflow | `api-development` | End-to-end implementation |
Productivity Metrics
### Productivity Metrics
| Metric | Manual | CODITECT | Improvement |
|--------|--------|----------|-------------|
| Time to complete | 40 hours | 8 hours | 5x faster |
| Error rate | 15% | 3% | 80% reduction |
| Consistency | Variable | Standardized | 100% |
**Overall Productivity Gain:** 5x
Complexity Levels
Low Complexity
- Single agent can complete
- < 2 hours with CODITECT
- Well-defined inputs and outputs
- Minimal decision points
Medium Complexity
- 2-3 agents involved
- 2-8 hours with CODITECT
- Some ambiguity in requirements
- Multiple valid approaches
High Complexity
- Multi-agent orchestration
-
8 hours with CODITECT
- Significant ambiguity or research required
- Cross-domain knowledge needed
Quality Criteria
Completeness Checklist
- All required fields populated
- Domain correctly assigned
- ID within correct range
- Components exist in CODITECT
- Productivity metrics are realistic
- Problem statement is specific
Review Criteria
| Criterion | Standard |
|---|---|
| Clarity | Problem understandable without domain expertise |
| Actionability | Deliverables are concrete and measurable |
| Accuracy | Components and workflows exist and are appropriate |
| Value | Productivity gain is documented and realistic |
Integration Points
Agent Mapping
Use cases map to agents via mappings/use-case-to-agent.json:
{
"domains": {
"software-development": {
"use_case_range": [1, 100],
"primary_agents": ["senior-architect", "testing-specialist"],
"secondary_agents": ["devops-engineer", "security-specialist"]
}
}
}
Workflow Mapping
Use cases map to workflows via mappings/use-case-to-workflow.json:
{
"use_cases": {
"42": {
"primary_workflow": "api-development",
"supporting_workflows": ["testing", "documentation"]
}
}
}
Command Integration
Future commands will support use case operations:
/use-case 42 --generate-prd # Generate PRD from use case
/use-case 42 --find-workflow # Find matching workflow
/project-new --from-use-case 42 # Start project from use case
File Organization
Repository Structure
coditect-1000-use-cases/
├── use-cases/
│ ├── 00-master-index.md # Complete index
│ ├── 01-software-development.md # Use cases 1-100
│ ├── 02-business-strategy.md # Use cases 101-175
│ └── ... # 10 domain files total
├── templates/
│ ├── use-case-template.md
│ └── prd-from-use-case.md
├── mappings/
│ ├── use-case-to-agent.json
│ └── use-case-to-workflow.json
└── scripts/
└── find-use-case.py
Naming Convention
- Domain files:
use-cases-[NN]-[domain-name].md - Templates:
[purpose]-template.md - Mappings:
use-case-to-[target].json
Examples
Example: Software Development Use Case
## Use Case #42: Build REST API with JWT Authentication
**Domain:** Software Development
**Category:** Backend Development
**Complexity:** Medium
### Problem Statement
Organizations need secure API endpoints but implementing JWT authentication
from scratch requires significant security expertise, resulting in vulnerable
implementations or delayed timelines. This use case provides a standardized,
secure authentication pattern.
### Deliverables
- [ ] REST API with CRUD endpoints
- [ ] JWT authentication middleware
- [ ] Role-based access control
- [ ] API documentation (OpenAPI)
- [ ] Test suite (>80% coverage)
### CODITECT Components
| Component Type | Name | Purpose |
|----------------|------|---------|
| Agent | `senior-architect` | Design API structure |
| Agent | `security-specialist` | Review auth implementation |
| Agent | `testing-specialist` | Create test suite |
| Command | `/project-new` | Initialize project |
| Workflow | `api-development` | End-to-end implementation |
### Productivity Metrics
| Metric | Manual | CODITECT | Improvement |
|--------|--------|----------|-------------|
| Time to complete | 40 hours | 8 hours | 5x faster |
| Security issues | 3-5 per project | 0-1 per project | 80% reduction |
**Overall Productivity Gain:** 5x
### Prerequisites
- Python 3.9+ or Node.js 18+
- Database (PostgreSQL recommended)
### Related Use Cases
- Use Case #43: Add OAuth2 Social Login
- Use Case #45: Implement Rate Limiting
### Notes
Consider using existing templates from `/templates/api-jwt/` for faster start.
Validation
Automated Validation
Run validation script before committing:
python scripts/validate-use-cases.py
Validation Rules
- All required fields present
- ID unique within repository
- ID within domain range
- Referenced components exist
- Productivity metrics have both Manual and CODITECT columns
Related Standards
| Standard | Relationship |
|---|---|
| CODITECT-STANDARD-DOCUMENTATION.md | Parent standard for documentation |
| CODITECT-STANDARD-WORKFLOWS.md | Workflow mapping standard |
| CODITECT-STANDARD-AGENTS.md | Agent reference standard |
Changelog
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2026-01-12 | Initial release |
Owner: AZ1.AI INC Lead: Hal Casteel Repository: coditect-core