Skip to content

Conversation

@RichardHightower
Copy link
Contributor

Summary

Implements 4 bug fixes for the skilz-cli:

Ticket Description
SKILZ-081 Agent lookup order - add parent directory check
SKILZ-085 Default agent should be claude, not gemini
SKILZ-086 CLI version should match pyproject.toml
SKILZ-089 Exclude .git when copying skills locally

Changes

SKILZ-081: Agent Lookup Order

  • Added _check_parent_skilz() function to check for ../skilz/skills directory
  • Updated detect_agent() to call parent check after config override but before marker detection

SKILZ-085: Default Agent Should Be Claude

  • Added debug logging when falling back to default agent
  • Ensured final return is always "claude"

SKILZ-086: Version Mismatch

  • Replaced hardcoded __version__ = "1.7.0" with importlib.metadata.version("skilz")
  • Falls back to "0.0.0.dev" if package not installed

SKILZ-089: .git Removal on Local Install

  • Added ignore=shutil.ignore_patterns(".git") to shutil.copytree() in installer.py
  • Added same pattern to copy_skill() in link_ops.py

Test Plan

  • All 640 tests pass
  • No regressions in existing tests
  • Type checking passes (mypy)
  • Linting passes (ruff)

Specs

Full specifications in .speckit/bugfixes/:

  • SKILZ-081-agent-lookup-order/
  • SKILZ-085-default-agent/
  • SKILZ-086-version-mismatch/
  • SKILZ-089-git-removal/

Fixes SKILZ-081, SKILZ-085, SKILZ-086, SKILZ-089

- SKILZ-081: Add parent directory check to agent lookup order
- SKILZ-085: Ensure default agent is always 'claude'
- SKILZ-086: Use importlib.metadata for single source of truth version
- SKILZ-089: Exclude .git directory when copying skills

Fixes: SKILZ-081, SKILZ-085, SKILZ-086, SKILZ-089
Add Spec-Driven Development artifacts documenting the bug fixes:
- SKILZ-081-agent-lookup-order/spec.md and tasks.md
- SKILZ-085-default-agent/spec.md and tasks.md
- SKILZ-086-version-mismatch/spec.md and tasks.md
- SKILZ-089-git-removal/spec.md and tasks.md

Each spec documents the problem, solution, files modified, and acceptance criteria.
Each tasks file tracks completion status and verification steps.
@RichardHightower RichardHightower merged commit 324b0c7 into main Jan 21, 2026
1 check passed
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.

2 participants