Background
Investigation concluded that daf git check-auth is a thin wrapper around gh auth status with added troubleshooting guidance for fine-grained tokens. It has zero session integration.
The gh-cli skill already documents authentication checks and fine-grained token troubleshooting in detail.
Files to Remove
devflow/cli/commands/git_check_auth_command.py (122 lines)
- Related test files if any
Files to Modify
devflow/cli/main.py — remove check-auth subcommand registration
devflow/cli/commands/git_commands.py — remove import if present
.claude/skills/daf-git/SKILL.md — remove daf git check-auth references
.claude/skills/gh-cli/SKILL.md — already has auth troubleshooting, verify completeness
Skill-Based Replacement
The gh-cli skill already documents:
gh auth status
gh auth login
daf git check-auth owner/repo → gh auth status + gh api /repos/owner/repo
Fine-grained token guidance is already in the gh-cli skill under "Fine-Grained Personal Access Tokens" section.
Note
The pre-flight auth check logic in devflow/github/auth.py (183 lines) is still used by GitHubClient internally and should NOT be removed — only the CLI command wrapper is removed.
Risk
Low — no session integration, no downstream dependencies.
Background
Investigation concluded that
daf git check-authis a thin wrapper aroundgh auth statuswith added troubleshooting guidance for fine-grained tokens. It has zero session integration.The
gh-cliskill already documents authentication checks and fine-grained token troubleshooting in detail.Files to Remove
devflow/cli/commands/git_check_auth_command.py(122 lines)Files to Modify
devflow/cli/main.py— removecheck-authsubcommand registrationdevflow/cli/commands/git_commands.py— remove import if present.claude/skills/daf-git/SKILL.md— removedaf git check-authreferences.claude/skills/gh-cli/SKILL.md— already has auth troubleshooting, verify completenessSkill-Based Replacement
The
gh-cliskill already documents:Fine-grained token guidance is already in the
gh-cliskill under "Fine-Grained Personal Access Tokens" section.Note
The pre-flight auth check logic in
devflow/github/auth.py(183 lines) is still used byGitHubClientinternally and should NOT be removed — only the CLI command wrapper is removed.Risk
Low — no session integration, no downstream dependencies.