Background
Investigation concluded that daf git view (225 lines) has minimal session integration — its only session link is auto-detecting the issue key when called with no arguments (reads CS_SESSION_NAME env var, looks up session, gets issue_key).
After that, it is purely a client.get_ticket() call + Claude-friendly formatting. The gh issue view and glab issue view commands already produce readable output.
Session integration analysis
The auto-detect flow (lines 122-156):
current_session_id = capture.get_current_session_id() # from CS_SESSION_NAME
session = next(s for s in sessions if s.session_id == current_session_id)
issue_key = session.issue_key
This convenience can be replaced by:
- Claude already knows the issue key from the session prompt/goal
daf status shows the current session's issue key
- The
daf-git skill can guide Claude to extract it
Files to Remove
devflow/cli/commands/git_view_command.py (225 lines)
tests/test_git_view_command.py
Files to Modify
devflow/cli/main.py — remove view subcommand from git group
devflow/cli/commands/git_commands.py — remove import
.claude/skills/daf-git/SKILL.md — replace daf git view section with gh issue view / glab issue view guidance
- Update any prompts in
git_new_command.py or git_open_command.py that reference daf git view
Skill-Based Replacement
# GitHub
gh issue view 123
gh issue view 123 --comments
# GitLab
glab issue view 123
glab issue view 123 --comments
Risk
Low — minimal session integration, skills already document replacements.
Background
Investigation concluded that
daf git view(225 lines) has minimal session integration — its only session link is auto-detecting the issue key when called with no arguments (readsCS_SESSION_NAMEenv var, looks up session, getsissue_key).After that, it is purely a
client.get_ticket()call + Claude-friendly formatting. Thegh issue viewandglab issue viewcommands already produce readable output.Session integration analysis
The auto-detect flow (lines 122-156):
This convenience can be replaced by:
daf statusshows the current session's issue keydaf-gitskill can guide Claude to extract itFiles to Remove
devflow/cli/commands/git_view_command.py(225 lines)tests/test_git_view_command.pyFiles to Modify
devflow/cli/main.py— removeviewsubcommand from git groupdevflow/cli/commands/git_commands.py— remove import.claude/skills/daf-git/SKILL.md— replacedaf git viewsection withgh issue view/glab issue viewguidancegit_new_command.pyorgit_open_command.pythat referencedaf git viewSkill-Based Replacement
Risk
Low — minimal session integration, skills already document replacements.