Skip to content

itdove/devaiflow#346: Remove explicit command syntax from ticket creation session prompts#347

Merged
itdove merged 1 commit intomainfrom
346
Mar 31, 2026
Merged

itdove/devaiflow#346: Remove explicit command syntax from ticket creation session prompts#347
itdove merged 1 commit intomainfrom
346

Conversation

@itdove
Copy link
Copy Markdown
Owner

@itdove itdove commented Mar 31, 2026

Related to: #346

Description

This PR removes explicit command syntax instructions from the ticket creation session prompts in the devflow CLI. The refactoring focuses on the git new and jira new commands, cleaning up their prompt templates to remove hardcoded command examples while preserving functionality.

The changes improve the user experience by making prompts more concise and less prescriptive about command usage, allowing the CLI to guide users more naturally through the ticket creation workflow.

Files modified:

  • devflow/cli/commands/git_new_command.py - Updated prompt templates
  • devflow/cli/commands/jira_new_command.py - Updated prompt templates
  • tests/test_jira_new_command.py - Updated tests to reflect prompt changes

Assisted-by: Claude

Testing

Steps to test

  1. Pull down the PR
  2. Run devflow jira new and verify the prompts display correctly without explicit command syntax
  3. Run devflow git new and verify the prompts display correctly without explicit command syntax
  4. Complete a full ticket creation workflow for both commands to ensure functionality is preserved
  5. Verify that the test suite passes: run tests for the modified command files

Scenarios tested

  • JIRA ticket creation workflow with new prompt format
  • Git issue creation workflow with new prompt format
  • Unit tests for jira_new_command with updated prompt expectations

Deployment considerations

  • This code change is ready for deployment on its own

… prompts

- Remove redundant `daf git create` instruction from git issue creation prompts
- Remove redundant `daf jira create` instruction from JIRA ticket creation prompts
- Update tests to verify CRITICAL instruction presence instead of command examples

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@itdove itdove marked this pull request as ready for review March 31, 2026 17:00
@itdove itdove merged commit c5d8d6d into main Mar 31, 2026
7 checks passed
@itdove itdove deleted the 346 branch March 31, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant