Skip to main content

Lightweight enhancement kits for vanilla dev tools (spec-kit, etc.)

Project description

lite-kits

Lightweight enhancement kits for spec-driven development

Add modular enhancement kits to vanilla GitHub Spec-Kit projects without forking or replacing core files.

Version Python License: MIT

What is this?

lite-kits enhances spec-driven development workflows built on GitHub Spec-Kit.

Spec-Kit is a framework for AI-driven collaborative development (spec โ†’ plan โ†’ tasks โ†’ implement) using markdown prompts and scripts. Think "vibe coding" but with structure.

lite-kits adds three optional enhancement kits to vanilla spec-kit projects:

  • ๐ŸŽฏ project-kit - Agent orientation (/orient command)
  • ๐Ÿ”ง git-kit - Smart git workflows (/commit, /pr, /cleanup)
  • ๐Ÿค multiagent-kit - Multi-agent coordination (/sync, collaboration directories)

Each kit installs .md prompt files for AI assistants (Claude Code, GitHub Copilot, Cursor) and optional scripts.

Key Features

๐Ÿ”ง Git-Kit

Smart git workflow commands:

/commit - Intelligent commits with staging proposals

  • Combined staging + commit message approval
  • Multi-commit suggestions for large changesets
  • Conventional commits with feature numbers
  • Agent attribution tracking

/pr - Pull request creation with auto-push

  • Automatic branch pushing before PR
  • PR status checking (prevents duplicates)
  • Smart description generation from commits
  • Modular PR scope (only describes current work)

/cleanup - Safe branch cleanup

  • Delete merged branches safely
  • Optional remote deletion
  • Current branch detection
  • Protected branch safety

๐ŸŽฏ Project-Kit

/orient - Agent orientation command

  • Reads project documentation
  • Checks current git state
  • Determines agent role
  • Provides concise context

๐Ÿค Multiagent-Kit

/sync - Multi-agent coordination status

  • Visual sync status display
  • Agent activity tracking
  • Collaboration structure detection

Collaboration directories for multi-agent coordination:

specs/NNN-feature/collaboration/
โ”œโ”€โ”€ active/          # Current work
โ”‚   โ”œโ”€โ”€ sessions/    # Work session logs
โ”‚   โ””โ”€โ”€ decisions/   # Handoffs, proposals
โ”œโ”€โ”€ archive/         # Historical (YYYY-MM/)
โ””โ”€โ”€ results/         # Completed deliverables

Memory guides:

  • PR Workflow Guide - How AI agents create pull requests
  • Git Worktrees Protocol - Parallel development with worktrees

Installation

Prerequisites

  1. GitHub Spec-Kit - Install the specify CLI tool:

    # See: https://github.com/github/spec-kit
    npm install -g @github/specify
    # Or use pipx, etc.
    
  2. Create a spec-kit project (if you don't have one):

    specify init my-project
    cd my-project
    
  3. Python 3.11+ - For lite-kits itself

  4. AI Assistant - At least one: Claude Code, GitHub Copilot, or Cursor

Install lite-kits

Via pip (when published):

pip install lite-kits

From source (current):

# Clone repository
git clone https://github.com/tmorgan181/lite-kits.git
cd lite-kits

# Build the package
uv build

# Install with uv (recommended)
uv tool install dist/lite_kits-0.1.0-py3-none-any.whl

# Or with pip
pip install dist/lite_kits-0.1.0-py3-none-any.whl

Quick Start

1. Add kits to your spec-kit project

cd your-spec-kit-project
lite-kits add --here --dry-run --recommended  # Preview changes
lite-kits add --here --recommended            # Add project + git kits

What gets added:

  • Git workflow commands (/commit, /pr, /cleanup)
  • Project orientation command (/orient)
  • Multi-agent coordination tools (/sync, collaboration structure) - optional
  • Memory guides (PR workflow, git worktrees protocol) - optional

2. Use the commands in your AI assistant

# In Claude Code or GitHub Copilot
/orient     # Get project context
/commit     # Smart commit with staging
/pr         # Create PR with auto-push
/cleanup    # Clean up merged branches
/sync       # Check multi-agent status

3. Start building

# Standard spec-kit workflow with enhanced git commands
/specify Build a user authentication system
/plan
/tasks
/implement
/commit     # Use smart commit
/pr         # Auto-push and create PR

Usage

CLI Commands

Kit Management:

# Add kits to a project
lite-kits add --here --recommended           # Add project + git kits
lite-kits add --here --kit project           # Add specific kit
lite-kits add --here --dry-run --recommended # Preview changes

# Check status
lite-kits status --here                      # Show installed kits

# Validate installation
lite-kits validate --here                    # Verify kit installation

# Remove kits
lite-kits remove --here --kit git            # Remove specific kit
lite-kits remove --here --all                # Remove all kits

Package Management:

# Get package info
lite-kits info                               # Show version, kits, quick start

# Uninstall instructions
lite-kits uninstall                          # How to remove package

# Version
lite-kits --version                          # Show version only

Git Workflow Example

# Make changes to your code

# Smart commit with combined staging + message approval
/commit
# Shows: staging plan + commit message in one prompt
# Options: y (approve), es (edit staging), em (edit message)

# Create PR (auto-pushes branch first!)
/pr
# Checks: No existing PR, pushes branch, creates PR
# Description: Only describes commits in THIS PR (modular scope)

# Clean up merged branches
/cleanup
# Safe deletion with protection for current/base/unmerged branches
# Optional: --remote flag to delete from remote too

Multi-Agent Workflow Example

Scenario: Claude Code (backend) + GitHub Copilot (frontend) building a blog.

  1. Claude Code: Creates spec and plan

    /specify Build a blog platform with auth
    /plan
    
  2. Claude Code: Creates handoff document

    specs/002-blog/collaboration/active/decisions/agent-split.md
    - Claude: Backend (API, database, auth)
    - Copilot: Frontend (React, UI, components)
    
  3. Both agents: Work in parallel with git worktrees

    # Claude
    git worktree add ../blog-backend 002-blog
    
    # Copilot
    git worktree add ../blog-frontend 002-blog
    
  4. Both agents: Commit with attribution

    /commit
    # Message includes: via claude-sonnet-4.5 @ claude-code
    
  5. Check sync status:

    /sync
    # Shows: agent activity, collaboration status, recommendations
    
  6. Integration: Test together, create PR with /pr

Architecture

Add-on Design (Not a Fork)

lite-kits is an add-on for vanilla spec-kit, not a fork or replacement:

  • โœ… Vanilla spec-kit stays vanilla - Your specify workflow is unchanged
  • โœ… Get upstream updates - Benefit from spec-kit improvements automatically
  • โœ… Modular kits - Add/remove individual kits as needed
  • โœ… No file replacements - Only adds new files, never modifies spec-kit core

What Gets Added

When you run lite-kits add, it installs .md prompt files and optional scripts:

Kit commands (markdown prompts for AI assistants):

  • .claude/commands/*.md - Claude Code slash commands
  • .github/prompts/*.prompt.md - GitHub Copilot prompt files

Memory guides (multiagent-kit only):

  • .specify/memory/pr-workflow-guide.md - How AI agents should create PRs
  • .specify/memory/git-worktrees-protocol.md - Parallel dev with worktrees

Collaboration structure (multiagent-kit only):

  • specs/NNN-feature/collaboration/ - Session logs, handoffs, decisions

No modifications to existing spec-kit files like .specify/, vanilla prompts, etc.

Project Structure

lite-kits/
โ”œโ”€โ”€ src/lite_kits/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ cli.py              # CLI commands
โ”‚   โ”œโ”€โ”€ installer.py        # Installation logic
โ”‚   โ””โ”€โ”€ kits/               # Enhancement kits
โ”‚       โ”œโ”€โ”€ git/            # Git workflow commands
โ”‚       โ”œโ”€โ”€ project/        # Project orientation
โ”‚       โ””โ”€โ”€ multiagent/     # Multi-agent coordination
โ”œโ”€โ”€ examples/               # Example projects
โ”œโ”€โ”€ docs/                   # Documentation
โ”œโ”€โ”€ pyproject.toml          # Package metadata
โ””โ”€โ”€ README.md

Development

Setup

# Clone repository
git clone https://github.com/tmorgan181/lite-kits.git
cd lite-kits

# Install with dev dependencies
uv tool install -e ".[dev]"

Building

# Build package
uv build

# Install locally
uv tool install dist/lite_kits-0.1.0-py3-none-any.whl

Testing (TODO)

pytest
pytest --cov=src/lite_kits

Roadmap

โœ… Phase 1: Foundation (v0.1.0)

  • Package structure with constants and clean architecture
  • Kit-based modular architecture
  • Git-kit (/commit, /pr, /cleanup)
  • Project-kit (/orient)
  • Multiagent-kit (/sync, collaboration)
  • Cross-platform support (Bash + PowerShell)
  • Windows encoding fixes (ASCII-safe status indicators)
  • CLI with Kit Management and Package Management sections
  • Shell completion disabled (no profile modifications)
  • Proper pip/uv tool installation

Phase 2: Polish & Publish (Next - v0.2.0)

  • Complete CLI rebrand (install โ†’ add, proper flags)
  • Fix installer kit mappings (sync in multiagent, cleanup in git)
  • Add examples directory with sample projects
  • PyPI publication
  • Documentation improvements (architecture docs, guides)

Phase 3: Expansion (Future - v0.3.0)

  • Additional kits for other vanilla tools
  • Template library expansion
  • Test suite (pytest)
  • CI/CD automation
  • Plugin system for custom kits

Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines.

License

MIT License - see LICENSE for details.

Related Projects

Support

Acknowledgments

Built to enhance GitHub Spec-Kit, a framework for spec-driven development with AI agents.


Status: Alpha (v0.1.0) - APIs may change

Philosophy: Enhance, don't replace. lite-kits adds features to vanilla spec-kit without forking or modifying core files.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lite_kits-0.1.0.tar.gz (65.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lite_kits-0.1.0-py3-none-any.whl (86.3 kB view details)

Uploaded Python 3

File details

Details for the file lite_kits-0.1.0.tar.gz.

File metadata

  • Download URL: lite_kits-0.1.0.tar.gz
  • Upload date:
  • Size: 65.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for lite_kits-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aee99efd120ecc66301fd3e436fbbf08c8c3876494c8a20d07c73b7c53fe9e60
MD5 afe1374eb331dc8dc11649677f5d6624
BLAKE2b-256 6d25072355cf6976d754b1b85f123c2969e41f5fc35d59ca02e9b8cb94c99792

See more details on using hashes here.

File details

Details for the file lite_kits-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lite_kits-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 86.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for lite_kits-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b00c5f1c6bc6e72e8dca99a10f67d10902baeae4ac8bfeb660317a05bc2bc37
MD5 8d4b4f3d435f08da70900b49c94585ab
BLAKE2b-256 d23c8ab73cf23a9cc6badde5ec3f08e813b58e0d2e6014cb9704e3422cf7c45f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page