---
name: Auto-Scaffold Story Kit Metadata on New Projects
---

# Story 25: Auto-Scaffold Story Kit Metadata on New Projects

## User Story
As a user, I want the app to automatically scaffold the `.story_kit` directory when I open a path that doesn't exist, so new projects are ready for the Story Kit workflow immediately.

## Acceptance Criteria
- When I enter a non-existent project path and press Enter/Open, the app creates the directory.
- The app also creates the `.story_kit` directory under the new project root.
- The `.story_kit` structure includes:
  - `README.md` (the Story Kit workflow instructions)
  - `specs/`
    - `README.md`
    - `00_CONTEXT.md`
    - `tech/STACK.md`
    - `functional/` (created, even if empty)
  - `stories/`
    - `archive/`
- The project opens successfully after scaffolding completes.
- If any scaffolding step fails, the UI shows a clear error message and does not open the project.

## Out of Scope
- Creating any `src/` files or application code.
- Populating project-specific content beyond the standard Story Kit templates.
- Prompting the user for metadata (e.g., project name, description, stack choices).