docs: add task for agent prompt generation
This commit is contained in:
@@ -10,7 +10,7 @@ from rich.table import Table
|
||||
from .discovery import append_discovery_answer, core_questions
|
||||
from .handoff import build_handoff
|
||||
from .status import project_stage, task_counts
|
||||
from .tasks import get_next_task, update_task_status
|
||||
from .tasks import generate_agent_prompt, get_next_task, update_task_status
|
||||
from .templates import CONTEXT_FILES, write_file_if_missing
|
||||
|
||||
app = typer.Typer(help="RDB discovery and delivery workflow CLI.")
|
||||
@@ -131,3 +131,11 @@ def complete(task_id: str) -> None:
|
||||
def handoff() -> None:
|
||||
"""Print an AI-agent handoff summary."""
|
||||
console.print(build_handoff(root_path()))
|
||||
|
||||
|
||||
@app.command()
|
||||
def prompt() -> None:
|
||||
"""Generate a ready-to-paste implementation prompt for the next Todo task."""
|
||||
root = root_path()
|
||||
result = generate_agent_prompt(root)
|
||||
console.print(result)
|
||||
|
||||
Reference in New Issue
Block a user