shep

Development Documentation

Guides for developing and contributing to Shep AI CLI.

Contents

Document Description
setup.md Development environment setup
tdd-guide.md TDD methodology with Clean Architecture
spec-driven-workflow.md Shep-kit spec-driven development flow
implementation-guide.md Implementation discipline and patterns
testing.md Testing strategy and commands
building.md Build process and tooling
cicd.md CI/CD pipeline and Docker setup
typespec-guide.md TypeSpec domain modeling guide
adding-agent-types.md Adding a new agent provider
adding-agent-nodes.md Adding a new LangGraph agent node
feature-yaml-protocol.md feature.yaml status tracking protocol
web-component-library.md Web UI component library reference
shep-kit-reference.md Shep-kit skills complete reference
contributing-with-shep.md Contributing to Shep using Shep itself
dev-server-run-plan.md Dev-server run plans (.shep/dev.json)
messaging-local-setup.md Messaging remote control, local setup

Quick Start for Contributors

Requires Node 22+ and pnpm 10+.

# Clone repository
git clone https://github.com/shep-ai/shep.git
cd shep

# Install dependencies
pnpm install

# Build the CLI (alias for build:cli; use build:release for CLI + web)
pnpm build

# Run tests
pnpm test

# Start CLI in development mode
pnpm dev:cli

# Start Web UI in development mode
pnpm dev:web

Development Workflow

  1. Setup - Configure your development environment
  2. Branch - Create a feature branch from main
  3. Develop - Write code following architecture guidelines
  4. Test - Ensure all tests pass
  5. Lint - Check code style
  6. Commit - Use conventional commits
  7. PR - Open pull request for review

Key Guidelines


Maintaining This Directory

Update when:

File naming: