merge main
commit
81bc9b1736
@ -0,0 +1,36 @@
|
||||
"""Add original description and template summary fields to specifications
|
||||
|
||||
Revision ID: c8905d4ce784
|
||||
Revises: 08d71952ec2f
|
||||
Create Date: 2024-07-25 19:24:23.808237
|
||||
|
||||
"""
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = "c8905d4ce784"
|
||||
down_revision: Union[str, None] = "08d71952ec2f"
|
||||
branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table("specifications", schema=None) as batch_op:
|
||||
batch_op.add_column(sa.Column("original_description", sa.String(), nullable=True))
|
||||
batch_op.add_column(sa.Column("template_summary", sa.String(), nullable=True))
|
||||
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table("specifications", schema=None) as batch_op:
|
||||
batch_op.drop_column("template_summary")
|
||||
batch_op.drop_column("original_description")
|
||||
|
||||
# ### end Alembic commands ###
|
||||
@ -0,0 +1,19 @@
|
||||
Your team has taken the client brief and turned it into a project specification.
|
||||
Afterwards the client added a description for a new feature to be added to the project specification.
|
||||
Your job is to update the project specification so that it contains the new feature information but does not lack any of the information from the original project specification.
|
||||
|
||||
This might include:
|
||||
* details on how the app should work
|
||||
* information which 3rd party packages or APIs to use or avoid
|
||||
* concrete examples of API requests/responses, library usage, or other external documentation
|
||||
|
||||
Here is the original project specification:
|
||||
{{ state.specification.description }}
|
||||
|
||||
Here is the new feature description:
|
||||
---FEATURE-DESCRIPTION-START---
|
||||
{{ feature_description }}
|
||||
---FEATURE-DESCRIPTION-END---
|
||||
|
||||
In your response, output only the new updated project specification, without any additional messages to the user.
|
||||
If there is no feature description just output the original project specification.
|
||||
Loading…
Reference in New Issue