Skip to content

Remove daf git add-comment command — replace with gh/glab skills #384

@itdove

Description

@itdove

Background

Investigation concluded that daf git add-comment is a thin wrapper with zero session integration. It only:

  1. Detects platform (GitHub vs GitLab) from git remote
  2. Calls client.add_comment(issue_key, comment)
  3. Which under the hood runs gh issue comment or glab issue note

The gh-cli and glab-cli skills already teach Claude the raw CLI equivalents.

Files to Remove

  • devflow/cli/commands/git_add_comment_command.py (93 lines)
  • tests/test_git_add_comment_command.py

Files to Modify

  • devflow/cli/main.py — remove add-comment subcommand registration
  • devflow/cli/commands/git_commands.py — remove import if present
  • .claude/skills/daf-git/SKILL.md — remove daf git add-comment section, add note to use gh issue comment / glab issue note directly

Skill-Based Replacement

The gh-cli skill already documents:

gh issue comment 123 --body "Work in progress"

The glab-cli skill already documents:

glab issue note 123 -m "Work in progress"

The daf-git skill should be updated to reference these directly.

Risk

Low — no session integration, no downstream dependencies.

  • git_add_comment_command.py removed
  • Test file removed
  • CLI registration removed from main.py
  • daf-git skill updated with gh/glab replacements
  • All existing tests pass

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions