From 7ab5ed27234eb7be89f75e80f8b95dfef50c7069 Mon Sep 17 00:00:00 2001 From: itdove Date: Tue, 31 Mar 2026 13:52:06 -0400 Subject: [PATCH] refactor: clarify backend type in issue creation prompts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove "detailed" qualifier from issue creation instructions - Add explicit backend type indicators to prompts - Simplify command reference phrasing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- devflow/cli/commands/git_new_command.py | 2 +- devflow/cli/commands/jira_new_command.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devflow/cli/commands/git_new_command.py b/devflow/cli/commands/git_new_command.py index ad68065..bbacdf8 100644 --- a/devflow/cli/commands/git_new_command.py +++ b/devflow/cli/commands/git_new_command.py @@ -876,7 +876,7 @@ def _build_issue_creation_prompt( "Your task:", f"1. Analyze the codebase to understand how to implement: {goal}", "2. Read relevant files, search for patterns, understand the architecture", - f"3. Create a detailed GitHub/GitLab issue{' (' + issue_type + ')' if issue_type else ''} using the 'daf git create' command", + f"3. Create the GitHub/GitLab issue{' (' + issue_type + ')' if issue_type else ''} using 'daf git create' (this session uses GitHub/GitLab backend)", "4. Include detailed description and acceptance criteria based on your analysis", "", ]) diff --git a/devflow/cli/commands/jira_new_command.py b/devflow/cli/commands/jira_new_command.py index d798098..29f18e8 100644 --- a/devflow/cli/commands/jira_new_command.py +++ b/devflow/cli/commands/jira_new_command.py @@ -875,7 +875,7 @@ def _build_ticket_creation_prompt( "Your task:", f"1. Analyze the codebase to understand how to implement: {goal}", "2. Read relevant files, search for patterns, understand the architecture", - f"3. Create a detailed JIRA {issue_type} using the 'daf jira create' command", + f"3. Create the JIRA {issue_type} using 'daf jira create' (this session uses JIRA backend)", parent_instruction, f"5. Use project: {project}; configured defaults: {defaults_str}", "6. Include detailed description and acceptance criteria based on your analysis",