Skip to content

feat: add install --skills command - #3

Merged
jschfflr merged 3 commits into
mainfrom
feat/install-skills
Feb 24, 2026
Merged

feat: add install --skills command#3
jschfflr merged 3 commits into
mainfrom
feat/install-skills

Conversation

@jschfflr

Copy link
Copy Markdown
Contributor

Summary

  • Adds qodev-gitlab install --skills command that copies bundled AI agent skill files to .claude/skills/qodev-gitlab/ in the workspace
  • Bundles SKILL.md (full CLI reference) and references/ (MR workflows, pipeline monitoring patterns) as package data
  • Uses importlib.resources for portable file access across editable and wheel installs

Test plan

  • uv run pytest tests/test_install.py — 4 tests covering file copy, content, clean replace, no-flag guidance
  • uv run pytest — all 61 tests pass
  • uv run qodev-gitlab install --skills copies files to .claude/skills/qodev-gitlab/
  • uv run qodev-gitlab install (no flag) shows usage guidance
  • uv run qodev-gitlab --help shows install command in command list

🤖 Generated with Claude Code

@jschfflr
jschfflr force-pushed the feat/install-skills branch from 97d8f5f to 0047bd2 Compare February 24, 2026 11:01
jschfflr and others added 3 commits February 24, 2026 14:12
Bundles SKILL.md and reference docs in the package, copyable to
.claude/skills/qodev-gitlab/ via `qodev-gitlab install --skills`.
Teaches AI coding agents the full CLI surface through progressive disclosure.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- No-flag usage now exits with code 83 (validation error) instead of 0
- Print "Replacing existing skills" message before rmtree
- Add integration test for install(skills=True) happy path
- Mention `install --skills` in SKILL.md setup section

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jschfflr
jschfflr force-pushed the feat/install-skills branch from 0452674 to eb0e661 Compare February 24, 2026 13:12
@jschfflr
jschfflr merged commit 9178b9e into main Feb 24, 2026
3 checks passed
@jschfflr
jschfflr deleted the feat/install-skills branch February 24, 2026 13:12
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