Skip to main content

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:

  1. Project seeds - Starting points for new projects
  2. Workflow templates - Mappings to CODITECT's 1,152 workflows
  3. Training material - Hands-on exercises for certification
  4. ROI documentation - Productivity metrics and business value

Use Case Structure

Required Fields

Every use case MUST include:

FieldTypeDescription
IDIntegerUnique identifier (1-1000)
TitleStringConcise, action-oriented title
DomainEnumOne of 15 industry domains
Problem StatementStringClear description of the problem solved
DeliverablesListExpected outputs/artifacts
ComponentsListCODITECT agents, commands, workflows
Productivity MetricsObjectTime savings, error reduction
ComplexityEnumLow, Medium, High

Optional Fields

FieldTypeDescription
CategoryStringSubcategory within domain
PrerequisitesListRequired setup or dependencies
Related Use CasesListCross-references to related IDs
NotesStringAdditional context or edge cases

Domain Classification

The 15 Industry Domains

#DomainID RangeDescription
1Software Development1-100APIs, CI/CD, testing, refactoring
2Business Strategy101-175Business plans, market sizing, go-to-market
3Research & Intelligence176-250Competitive analysis, due diligence
4Education & Training251-325Curriculum, assessments, learning paths
5Content & Marketing326-400Content strategy, SEO, editorial calendars
6Finance & Investment401-475Financial modeling, valuations, portfolio
7HR & Legal476-550Hiring, compliance, contracts
8Healthcare & Real Estate551-650Clinical workflows, property analysis
9Manufacturing & Retail651-750Supply chain, inventory, pricing
10Financial Services, Creative, Personal751-1000Risk modeling, freelance, productivity

Domain Assignment Rules

  1. Primary domain takes precedence - If a use case spans domains, assign to the primary
  2. ID ranges are fixed - Do not assign IDs outside domain ranges
  3. 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

CriterionStandard
ClarityProblem understandable without domain expertise
ActionabilityDeliverables are concrete and measurable
AccuracyComponents and workflows exist and are appropriate
ValueProductivity 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

  1. All required fields present
  2. ID unique within repository
  3. ID within domain range
  4. Referenced components exist
  5. Productivity metrics have both Manual and CODITECT columns

StandardRelationship
CODITECT-STANDARD-DOCUMENTATION.mdParent standard for documentation
CODITECT-STANDARD-WORKFLOWS.mdWorkflow mapping standard
CODITECT-STANDARD-AGENTS.mdAgent reference standard

Changelog

VersionDateChanges
1.0.02026-01-12Initial release

Owner: AZ1.AI INC Lead: Hal Casteel Repository: coditect-core