Project Structure Design

Intelligent Directory Architecture & Template Selection

Task Overview

Design and create optimal directory structures for new projects based on comprehensive analysis of project requirements, technology stack, team size, and organizational standards. This task transforms project initialization from ad-hoc directory creation to systematic, template-driven architecture design.

Core Objectives

  1. Analyze project requirements to determine optimal directory structure

  2. Select appropriate golden templates from comprehensive template library

  3. Customize directory architecture based on specific project needs

  4. Generate complete project foundation with all necessary directories and files

  5. Ensure scalability and maintainability of the created structure

Input Requirements

Project Analysis Parameters

project_context:
  basic_information:
    - project_name: "string"
    - project_type: "web_app | ml_project | research | documentation | infrastructure"
    - primary_language: "python | javascript | java | c++ | rust | go | other"
    - framework_stack: ["react", "django", "tensorflow", "docker"]
  
  team_context:
    - team_size: "solo | small_team | large_team | enterprise"
    - collaboration_model: "centralized | distributed | hybrid"
    - experience_level: "beginner | intermediate | expert | mixed"
  
  technical_requirements:
    - deployment_target: "local | cloud | hybrid | edge"
    - ci_cd_requirements: "basic | advanced | enterprise"
    - testing_framework: "unit | integration | e2e | all"
    - documentation_needs: "minimal | standard | comprehensive"
  
  organizational_constraints:
    - naming_conventions: "camelCase | snake_case | kebab-case | custom"
    - compliance_requirements: ["GDPR", "HIPAA", "SOX", "ISO27001"]
    - security_standards: "basic | enhanced | enterprise"

Execution Workflow

Phase 1: Project Analysis (2-3 minutes)

Phase 2: Template Selection & Customization (3-5 minutes)

Phase 3: Structure Generation (2-4 minutes)

Template Library Categories

1. Python ML Project Template

2. Web Application Template

Quality Validation

Structure Validation Checklist

Success Metrics

Performance Indicators

  • โœ… Template Accuracy: 95%+ match between project needs and selected template

  • โœ… Generation Speed: Complete structure creation in under 10 minutes

  • โœ… Validation Success: 100% of generated structures pass validation checks

  • โœ… User Satisfaction: 90%+ developer approval of generated structures

Quality Standards

  • โœ… Best Practice Compliance: Adherence to industry standards and conventions

  • โœ… Scalability: Structure supports project growth without reorganization

  • โœ… Maintainability: Clear organization facilitates long-term maintenance

  • โœ… Team Adoption: Easy onboarding for new team members

Integration Points

Handoff to Classifico

Support for Other Agents

  • Locomoto Integration: Ensure proper permissions for file movement operations

  • Purgo Coordination: Create structure that supports automated hygiene monitoring

  • Documentation: Provide comprehensive structure documentation for team reference

Error Handling

Common Issues & Resolutions

This task establishes the foundation for all subsequent file organization activities by creating well-designed, scalable directory structures that support efficient project development and maintenance.

Last updated