Skip to content

Python Wizard: Single Template Generator #2

Description

@AccessiT3ch

Linked to Epic

Overview

Executive Scripter: Implement single Python project template generator. Users invoke the CLI with a project name and receive a working Python scaffold ready for development.

Acceptance Criteria

  1. CLI entry point accepts project name as argument
  2. Generates directory structure:
    • pyproject.toml (with uv configuration + metadata)
    • uv.lock (locked dependency set)
    • src/<project_name>/ (basic Python module)
    • .gitignore, README.md, LICENSE
  3. Generated scaffold runs uv sync without errors
  4. Generated scaffold runs included test suite (pytest) without errors
  5. Error handling:
    • Invalid project name (e.g., Python keywords, non-ASCII) → clear error + usage hint
    • Missing uv in PATH → helpful error message
  6. Template integrates with init repo discovery flow (if applicable)
  7. Documentation in README.md with usage examples

Dependencies

  • Depends on: #102 (Acceptance Test Coverage) — can proceed in parallel with testing cadence

Effort

~15–20 hours (includes CLI design + scaffold template)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions