Skip to content

Feature Request: Add Command to Create Default Dalec Template #40

@Tatsinnit

Description

@Tatsinnit

Feature Request: Add Command to Create Default Dalec Template

It would be very helpful to have a built-in VS Code command that generates a default Dalec template directly within a workspace. This would streamline onboarding for users looking to quickly start Dalec projects without manually creating or copying starter files.

This actually came out of discussion with few extended team members who are using this tool. What do you think @cpuguy83

For example:

Command Palette → “Dalec: Create Default Template”

Proposed Behavior:

  • Prompts the user for a project name

  • Creates a minimal Dalec project structure in the selected folder

  • Populates the core default template files:

    • dalec.yaml
    • Any suggested folder structure and sample logic
  • Optional flags (future enhancement):

    • Choose between simple vs advanced template
    • Add sample story/intent
    • Initialize Git

Benefits:

  • Improves first-time user experience
  • Reduces manual setup errors
  • Encourages consistent Dalec project structure
  • Faster ramp-up during workshops, tutorials, and internal usage

Example Interaction:

  1. User opens a workspace folder
  2. Invokes Dalec: Create Default Template from the Command Palette
  3. Enters project name and confirms
  4. Template files are generated with baseline content

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions