continue-custom/docs/docs/concepts/step.md
2023-05-23 23:45:12 -04:00

816 B

Step

A step is

Step methods

run (required)

the code that should run when executed by the policy

description (optional)

the definition of what the step does in natural language

reverse (optional)

the code that should run when the step is reversed

modify (optional)

the code that should run when the step is rerun with feedback

Steps

Core

RunCommandStep

EditCodeStep

ManualEditStep

Community

CreateTableStep

Create a table in TypeORM

MigrationStep

Create and run an alembic migration

Parameters
  • edited_file:

WritePytestsStep

Write unit tests for this file.

Parameters
  • for_filepath (required): the path of the file that unit tests should be created for