Skip to content

Commit bf2fa4c

Browse files
itdoveclaude
andauthored
refactor: remove git-cli skill and all references (#397)
- Delete devflow/cli_skills/git-cli/SKILL.md entirely - Remove git-cli mentions from skill lists, comments, and discovery docs - Update cross-references in daf-workflow, gh-cli, glab-cli, and daf-cli skills - Update installation, uninstall, and skills management documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent d7aac1c commit bf2fa4c

16 files changed

Lines changed: 16 additions & 477 deletions

File tree

devflow/cli/commands/skills_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ def _list_skills(
679679
for skill in skills:
680680
# Determine type based on naming convention
681681
# Skills starting with "daf-" are user-invocable commands
682-
# Others (gh-cli, git-cli, glab-cli) are reference documentation
682+
# Others (gh-cli, glab-cli) are reference documentation
683683
if skill.startswith("daf-"):
684684
skill_type = "Command"
685685
else:

devflow/cli/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3823,7 +3823,7 @@ def upgrade(
38233823
38243824
Skills installed:
38253825
- Slash commands: /daf-active, /daf-help, /daf-info, etc.
3826-
- Reference skills: daf-cli, gh-cli, git-cli, glab-cli
3826+
- Reference skills: daf-cli, gh-cli, glab-cli
38273827
- Hierarchical skills from organization config files
38283828
38293829
Items that are already up-to-date will be skipped.

devflow/cli/skills_discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _scan_skill_dir(skill_file: Path, skill_dir_name: str) -> Optional[tuple[str
5555

5656
return (str(skill_file.resolve()), description)
5757

58-
# 1. User-level skills: ~/.claude/skills/ (or $CLAUDE_CONFIG_DIR/skills/) - generic skills like daf-cli, git-cli
58+
# 1. User-level skills: ~/.claude/skills/ (or $CLAUDE_CONFIG_DIR/skills/) - generic skills like daf-cli, gh-cli
5959
if include_levels is None or "user" in include_levels:
6060
user_skills_dir = get_claude_config_dir() / "skills"
6161
if user_skills_dir.exists():

devflow/cli_skills/daf-cli/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ DevAIFlow automatically discovers skills from multiple locations in a specific o
9393

9494
### Discovery Order (Load Order)
9595

96-
1. **User-level**: `~/.claude/skills/` - Generic skills (daf-cli, git-cli, gh-cli, etc.)
96+
1. **User-level**: `~/.claude/skills/` - Generic skills (daf-cli, gh-cli, glab-cli, etc.)
9797
2. **Workspace-level**: `<workspace>/.claude/skills/` - Workspace-specific tools
9898
3. **Hierarchical**: `$DEVAIFLOW_HOME/.claude/skills/` - Organization-specific extensions
9999
4. **Project-level**: `<project>/.claude/skills/` - Project-specific skills

devflow/cli_skills/daf-workflow/SKILL.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ daf git add-comment owner/repo#123 "Fixed authentication bug"
197197
```
198198

199199
**Do NOT:**
200-
- ❌ Create git commits (see **git-cli skill**)
200+
- ❌ Create git commits (handled by `daf complete`)
201201
- ❌ Create pull/merge requests (see **gh-cli** and **glab-cli skills**)
202202
- ❌ Run user-facing `daf` commands (new, open, complete, config, init, upgrade)
203203

@@ -378,7 +378,6 @@ daf investigate PROJ-12345 --goal "Custom investigation focus"
378378

379379
**See these skills for detailed documentation:**
380380
- **daf-cli skill** - Command syntax, flags, and examples
381-
- **git-cli skill** - Git command restrictions and rationale
382381
- **gh-cli skill** - GitHub PR restrictions and workflow
383382
- **glab-cli skill** - GitLab MR restrictions and workflow
384383

devflow/cli_skills/gh-cli/SKILL.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,5 @@ git remote add upstream https://github.com/original-owner/repo.git
630630
## See Also
631631

632632
- daf tool operations: See daf-cli skill
633-
- Git operations: See git-cli skill
634633
- GitLab MR creation: See glab-cli skill
635634
- GitHub CLI documentation: https://cli.github.com/manual/

0 commit comments

Comments
 (0)