Development

Incremental Development

Strata AI allows you to iteratively improve your projects with ease. Here's how to enhance existing project code:

Step-by-Step Process

  1. Locate Your Project Folder: Identify the folder containing your project created with Strata AI on your computer.

  2. Run the Command: Execute the following command to provide new requirements or bug fixes:

    strataai "<user-requirements-described-in-natural-language>" --project-path <path-to-existing-project>

Command Options

You can continuously iterate on your project using the following CLI parameters:

CLI Parameter Name

Value Type

Optional/Required

Description

--project-path

TEXT

Optional

Specify the directory path of the project to integrate incremental changes.

--project-name

TEXT

Optional

Unique name for your project, e.g., game_2048.

Example:

strataai "NEW_REQUIREMENTS" --project-name "my_project" --project-path "YOUR_PROJECT_PATH"

For additional options, use:

strataai --help

Demo: Incremental Development

Create a New Project

To create a new project, run:

Add New Requirements

To append features or fix bugs in an existing project:

Fix Bugs

To address specific issues in your project:


Folder Structure

Below are key directories and files generated by Strata AI, and how they support incremental development:

Path

Editable

Description

.dependencies.json

No

Stores explicit dependency relationships.

docs/requirement.txt

Yes

Stores new requirements for the current iteration.

docs/bugfix.txt

Yes

Contains bug reports to address during the current iteration.

docs/prds/

Yes

Detailed breakdown of project requirements.

docs/system_designs/

Yes

High-level system designs.

tests/

Yes

Unit test code.

<workspace>

Yes

Project source code directory.


Advanced Example: Snake Game

Create the Snake Game

Add Features

Last updated