A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Session-Driven Development - Maintain perfect context across AI coding sessions with Claude Code
https://github.com/user-attachments/assets/b7a5bbaf-6a64-420e-874c-2d12313fd516
Build production software alone with team-level sophistication.
Structured Solo Development with AI and Quality Automation for Claude Code
Solokit is a complete development framework for solo developers building production software with AI assistants like Claude Code. It combines minimal scaffolding templates with comprehensive documentation, automated quality gates, intelligent session management, and AI-powered knowledge capture into a cohesive workflow that enables you to build alone with the sophistication of a 10-person engineering team.
Solo developers using AI assistants face critical challenges:
🚀 Start Building in <1 Minute
✨ Perfect Context Continuity
🛡️ Zero-Compromise Quality
🧠 Knowledge That Grows
# macOS/Linux
pip3 install solokit
# Windows
py -m pip install solokit
First-time macOS users: When you run
pip3for the first time, macOS will prompt you to install Command Line Tools. This is normal and required - the installation takes 5-10 minutes.
For new projects:
sk init
For existing projects with code:
sk adopt
Choose from 4 minimal scaffolding stacks (with sk init):
Each stack includes comprehensive ARCHITECTURE.md documentation with patterns you'll implement from your PRD.
Select your quality tier:
Options: CI/CD workflows, Docker support, environment templates
# Create your first work item
sk work-new
# Start a development session
sk start
# Claude receives a comprehensive briefing with:
# - Complete work item specification
# - Project documentation and context
# - Technology stack and file structure
# - Related learnings from past sessions
# - Dependency information
# Work with Claude...
# End session with automated quality gates
sk end
That's it! You now have:
Solokit is designed to work seamlessly with Claude Code, providing:
/start, /end, /work-new, and more without memorizing CLI syntaxInitialize your project (one-time setup):
sk init
Open in Claude Code and use slash commands:
/work-new # Create your first work item
/start # Begin a development session with full briefing
/end # Complete session with quality gates
That's it! Claude Code handles the rest, providing context-aware assistance throughout your development session.
Initialize projects with battle-tested configurations and comprehensive documentation:
SaaS T3 Stack (saas_t3)
ML/AI FastAPI (ml_ai_fastapi)
Dashboard Refine (dashboard_refine)
Full-Stack Next.js (fullstack_nextjs)
All templates include:
Every project initialized with sk init includes comprehensive documentation for building from scratch:
Three-File Documentation Model:
| File | Purpose | Audience | Generated |
|---|---|---|---|
| README.md | Quick start guide | Human developers | Yes (project-specific) |
| ARCHITECTURE.md | Technical patterns & examples | Human developers + Claude | No (static template) |
| CLAUDE.md | AI guidance & Solokit usage | Claude Code | Yes (from template) |
Development Guides (in .session/guides/):
| Guide | Purpose |
|---|---|
| STACK_GUIDE.md | Understand your chosen stack's architecture and patterns |
| PRD_WRITING_GUIDE.md | Write effective PRDs for AI-driven development |
CLAUDE.md is a key differentiator - it provides Claude Code with:
This means Claude Code automatically understands your project's conventions, quality standards, and how to use Solokit effectively from the first session.
ARCHITECTURE.md provides deep technical documentation:
Automated validation prevents technical debt:
Available Checkers:
Quality Tiers:
| Tier | Use Case | What's Included |
|---|---|---|
| Essential | Prototypes, MVPs | Linting, formatting, type-check, basic tests (60-80% coverage) |
| Standard | Production apps | Essential + Pre-commit hooks, security scanning, dependency auditing |
| Comprehensive | Mission-critical | Standard + Mutation testing (75%+), E2E tests, integration tests |
| Production-Ready | Enterprise | Comprehensive + Sentry, OpenTelemetry, performance monitoring, health checks |
Configure in .session/config.json:
{
"quality_gates": {
"tests": {"enabled": true, "required": true, "coverage_threshold": 80},
"linting": {"enabled": true, "required": false, "auto_fix": true},
"security": {"enabled": true, "required": true, "fail_on": "high"}
}
}
Perfect context continuity across all AI interactions:
💡 Recommended: Use Claude Code for the best experience
Start a session in Claude Code:
/start feature_xyz
Claude receives:
.session/specs/feature_xyz.mdComplete session with automatic quality enforcement:
/end
The /end command asks whether the work item is complete and runs quality gates accordingly:
Complete mode (--complete):
Incomplete mode (--incomplete):
Both modes automatically:
sk start feature_xyz # Start session
sk end # Complete session
Dependency-driven, spec-first workflow:
💡 Recommended: Use Claude Code for interactive work item creation and management
Create and manage work items in Claude Code:
/work-new # Create work items interactively
/work-list # List all work items
/work-list --status not_started # Filter by status
/work-list --milestone "v1.0" # Filter by milestone
/work-next # Get smart recommendations (dependencies completed)
/work-graph --critical-path # Show longest dependency chain
/work-graph --bottlenecks # Identify blockers
/work-graph --format svg # Export visual graph
/work-update feature_xyz --status in_progress
/work-update feature_xyz --priority high
sk work-new # Create work items interactively
sk work-list # List all work items
sk work-list --status not_started
sk work-list --milestone "v1.0"
sk work-next # Get recommendations
sk work-graph --critical-path # Visualize dependencies
sk work-update feature_xyz --status in_progress
Spec-First Architecture:
Work item specifications are the single source of truth:
.session/
├── specs/
│ ├── feature_xyz.md # Complete implementation guide
│ └── deployment_abc.md
└── tracking/
└── work_items.json # Metadata only (status, deps)
6 work item types with structured templates:
Each template includes:
AI-powered knowledge capture and curation:
💡 Recommended: Use Claude Code for AI-assisted learning capture
Capture and browse learnings in Claude Code:
/learn # Capture learnings during development (AI-assisted)
/learn-show # Browse all learnings
/learn-show --category gotchas --tag fastapi
/learn-search "CORS" # Search by keyword
/learn-curate # Auto-curate (categorize, deduplicate, merge)
sk learn # Capture learnings manually
sk learn-show # Browse all learnings
sk learn-search "CORS" # Search by keyword
sk learn-curate # Run curation
6 Learning Categories (auto-categorized):
3 Extraction Sources:
LEARNING: annotations)# LEARNING: in changed files)Smart Deduplication:
Already have a project? Use sk adopt to add Solokit's session management without modifying your existing code:
sk adopt
What sk adopt does:
.session/ directory for tracking.gitignore with Solokit entriesWhat sk adopt does NOT do:
When to use sk adopt vs sk init:
| Scenario | Command |
|---|---|
| Starting a brand new project | sk init |
| Adding Solokit to existing codebase | sk adopt |
| Project already has package.json/pyproject.toml | sk adopt |
| Want production-ready templates | sk init |
Example adoption workflow:
# Navigate to your existing project
cd my-existing-project
# Adopt Solokit (interactive prompts)
sk adopt
# Or with arguments
sk adopt --tier=tier-2-standard --coverage=80 --yes
# Start using Solokit
sk work-new
sk start
💡 Best Experience: Use these commands in Claude Code for AI-assisted development
/init # Initialize new project with template selection
/adopt # Add Solokit to existing project
/start [item_id] # Start session with comprehensive briefing
/end # Complete session with quality gates
/status # Quick session overview
/validate # Pre-flight check (run gates without ending)
/work-new # Create work item interactively (AI-assisted)
/work-list # List all work items
/work-show <id> # Show work item details
/work-update <id> # Update work item fields
/work-next # Get next recommended work item
/work-graph # Visualize dependency graph
/work-delete <id> # Delete work item (with safety checks)
/learn # Capture learning interactively (AI-assisted)
/learn-show # Browse all learnings
/learn-search <q> # Search learnings by keyword
/learn-curate # Run curation (categorize, deduplicate)
sk help # Show all commands with descriptions
sk help <command> # Show detailed help for specific command
sk version # Show version information
sk --version, -V # Show version (global flag)
sk doctor # Run system diagnostics
sk config show # Display current configuration
sk config show --json # Display configuration as JSON
sk init # Initialize new project
sk adopt # Add Solokit to existing project
sk start [item_id] # Start session
sk end # Complete session
sk status # Session status
sk validate # Validate readiness
sk work-new # Create work item
sk work-list # List work items
sk work-show <id> # Show work item
sk work-update <id> # Update work item
sk work-next # Get recommendation
sk work-graph # Visualize dependencies
sk work-delete <id> # Delete work item
sk learn # Capture learning
sk learn-show # Browse learnings
sk learn-search <q> # Search learnings
sk learn-curate # Run curation
sk help # Show all commands
sk help <command> # Show command help
sk version # Show version
sk --version, -V # Show version (flag)
sk doctor # Run diagnostics
sk config show # Display config
sk config show --json # Display as JSON
graph TD
Start{New or Existing Project?}
Start -->|New| A[sk init]
Start -->|Existing| A2[sk adopt]
A --> B[Choose Template & Quality Tier]
A2 --> B2[Choose Quality Tier]
B --> C[sk work-new]
B2 --> C
C --> D[Write Spec]
D --> E[sk start]
E --> F[Develop with Claude]
F --> G{More Changes?}
G -->|Yes| F
G -->|No| H[sk validate]
H --> I{Gates Pass?}
I -->|No| J[Fix Issues]
J --> F
I -->|Yes| K[sk end]
K --> L{More Work?}
L -->|Yes| C
L -->|No| M[Done!]
Required:
OS-Specific Requirements:
macOS:
pip3 instead of pip on fresh installationspip3 (5-10 minute installation, completely normal)Windows:
py -m pip instead of pip for reliable installationLinux:
pip3 for Python 3.x installationspython3-pip package first: sudo apt install python3-pip (Debian/Ubuntu) or sudo dnf install python3-pip (Fedora/RHEL)Optional Tools (for quality gates):
pytest (Python), jest (JS/TS)ruff (Python), eslint (JS/TS)prettier (JS/TS)bandit, safety (Python), npm audit (JS)graphviz (dependency graphs)Quality gates gracefully skip when tools aren't available.
# macOS/Linux
pip3 install solokit
# Windows
py -m pip install solokit
Post-Installation (macOS):
If you see a warning that sk is not on PATH, add it to your shell configuration:
# For zsh (default on modern macOS)
echo 'export PATH="$HOME/Library/Python/3.11/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
# For bash
echo 'export PATH="$HOME/Library/Python/3.11/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
Note: Adjust the Python version (3.11) to match your installed version if different.
git clone https://github.com/ankushdixit/solokit.git
cd solokit
# macOS/Linux
pip3 install -e .
# Windows
py -m pip install -e .
sk status
If sk command is not found, see the Troubleshooting section below.
macOS/Linux:
The sk command is installed in your Python user bin directory, which may not be on your PATH.
Solution:
# Find where sk is installed
pip3 show solokit
# Add to PATH (example for macOS with zsh)
echo 'export PATH="$HOME/Library/Python/3.11/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
# Verify
sk status
Windows:
# Add Python Scripts to PATH
# Go to System Properties > Environment Variables
# Add: C:\Users\YourUsername\AppData\Local\Programs\Python\Python311\Scripts
Problem: Fresh macOS installations only have pip3, not pip.
Solution: Use pip3 instead:
pip3 install solokit
This is normal on fresh macOS! When you run pip3 for the first time, macOS needs to install Command Line Tools.
Solution:
pip3 install solokitThis warning is safe to ignore. Solokit works with older pip versions. If you want to update pip:
# macOS/Linux
pip3 install --upgrade pip
# Windows
py -m pip install --upgrade pip
Problem: Solokit requires Python 3.11 or higher.
Check your Python version:
python3 --version
Solution: If you have an older version, install Python 3.11+ from python.org
Problem: Permission denied when installing packages.
Solution: Use --user flag to install in your user directory:
pip3 install --user solokit
Or use a virtual environment (recommended):
python3 -m venv venv
source venv/bin/activate
pip3 install solokit
If you encounter issues not covered here:
sk doctor (after installation)python3 --version)Configure Solokit via .session/config.json (created during sk init):
{
"quality_gates": {
"tests": {
"enabled": true,
"required": true,
"coverage_threshold": 80
},
"linting": {
"enabled": true,
"required": false,
"auto_fix": true
},
"formatting": {
"enabled": true,
"required": false,
"auto_fix": true
},
"security": {
"enabled": true,
"required": true,
"fail_on": "high"
},
"documentation": {
"enabled": true,
"required": false
}
},
"learning_curation": {
"auto_curate": true,
"frequency": 5
},
"git": {
"auto_push": true,
"auto_merge": false
}
}
Quality Gate Options:
enabled - Run this gaterequired - Block sk end if failsauto_fix - Automatically fix issues (linting/formatting)coverage_threshold - Minimum test coverage percentagefail_on - Security threshold (critical, high, medium, low)Learning Curation:
auto_curate - Automatically run curationfrequency - Run every N sessionsGit Integration:
auto_push - Automatically push after sk endauto_merge - Automatically merge branch if work completesolokit/
├── .claude/ # Claude Code integration
│ └── commands/ # 16 slash commands (/sk:init, /sk:start, etc.)
├── src/solokit/ # Python package (standard src/ layout)
│ ├── cli.py # CLI entry point (sk command)
│ ├── core/ # Core functionality
│ ├── session/ # Session management
│ ├── work_items/ # Work item CRUD and specs
│ ├── learning/ # Learning capture & curation
│ ├── quality/ # Quality gates
│ ├── visualization/ # Dependency graphs
│ ├── git/ # Git integration
│ ├── testing/ # Testing utilities
│ ├── deployment/ # Deployment execution
│ ├── project/ # Project initialization
│ └── templates/ # Project templates & work item specs
├── docs/ # Comprehensive documentation
├── tests/ # 3,802 tests (100% passing, 97% coverage)
│ ├── unit/ # Unit tests
│ ├── integration/ # Integration tests
│ └── e2e/ # End-to-end tests
├── README.md # This file
├── CHANGELOG.md # Version history
├── CONTRIBUTING.md # Contribution guidelines
└── pyproject.toml # Package configuration (PEP 517/518)
While Claude Code is excellent for code generation and exploration, Solokit adds:
Solokit is the only tool that combines:
Current Version: v0.3.0 (Production-Ready)
Test Coverage: 3,802 tests passing (100%), 97% code coverage
| Feature | Status |
|---|---|
| Core Session Management | ✅ Complete |
| Work Item System | ✅ Complete |
| Dependency Visualization | ✅ Complete |
| Learning Management | ✅ Complete |
| Quality Gates | ✅ Complete |
| Spec-First Architecture | ✅ Complete |
| Minimal Scaffolding Templates (4 stacks) | ✅ Complete |
| Quality Tiers (4 levels) | ✅ Complete |
| Claude Code Integration | ✅ Complete |
See CHANGELOG.md for detailed release history.
Contributions welcome! See CONTRIBUTING.md for guidelines.
# Clone and install
git clone https://github.com/ankushdixit/solokit.git
cd solokit
pip install -e ".[dev]"
# Run tests
pytest tests/ -v
# Run quality checks
ruff check src/solokit/ tests/
ruff format src/solokit/ tests/
mypy src/solokit
MIT License - See LICENSE for details.
Built for solo developers building production software with AI assistance.
Inspired by professional software development practices adapted for AI-augmented solo development.
Solo doesn't mean shortcuts. Build with team-level sophistication.
🌐 getsolokit.com | 📦 PyPI | 🐙 GitHub
Native macOS app to monitor Claude AI usage limits and watch your coding sessions live
npx CLI installing 100+ agents, commands, hooks, and integrations in one command
干净、强大、属于你的 AI Agent 平台 --AI agents, without the clutter.
Pocket Flow: Codebase to Tutorial