Quick Start Guide¶
Get up and running with Samuel (Artificial Intelligence Coding Framework) in under a minute.
60-Second Setup¶
The system works immediately:
- AI loads CLAUDE.md automatically (500 lines of guardrails + operations)
- Language guides auto-load based on file extensions
- 14 CLI commands for component management
- Progressive - starts minimal, grows with your project
- Cross-tool: Works with any AI assistant via AGENTS.md
Discover Components Before Installing¶
One of Samuel's best features is component discovery. Before installing anything, explore what's available:
Search for Components¶
# Find anything matching "react"
samuel search react
# Search only frameworks
samuel search --type fw api
# Fuzzy matching - finds "python" even with typos
samuel search pythn
Preview Before Installing¶
# See component details
samuel info framework react
# Preview the actual content (first 20 lines)
samuel info lang typescript --preview 20
# See what's related
samuel info fw nextjs # Shows: Related to typescript, react
Add What You Need¶
# Add a framework
samuel add framework react
# Add a language guide
samuel add language typescript
# Add a workflow
samuel add workflow code-review
# Use short aliases
samuel add fw react
samuel add lang ts
samuel add wf security-audit
Check What's Installed¶
# List installed components
samuel list
# See what's available (not installed)
samuel list --available
# Filter by type
samuel list --type frameworks
Choose Your Path¶
Path 1: New Project with CLI¶
# Create and initialize a new project
mkdir my-project && cd my-project
samuel init
# Or initialize with specific components
samuel init --languages typescript,python --frameworks react
The CLI will:
- Create
CLAUDE.mdwith all guardrails - Create
.claude/directory structure - Let you select languages, frameworks, workflows interactively
- Set up cross-tool compatibility (AGENTS.md symlink)
Path 2: Existing Project¶
AI will:
- Detect existing files (won't overwrite without
--force) - Create Samuel structure
- Let you select relevant components
Or use the workflow for deep analysis:
Path 3: Jump Right In¶
Just start coding. AI follows guardrails automatically.
CLI Command Reference¶
Here are the most useful commands to get started:
| Command | Description | Example |
|---|---|---|
init | Initialize Samuel in a project | samuel init |
search | Find components by keyword | samuel search react |
info | Show component details | samuel info fw react --preview |
add | Add a component | samuel add lang typescript |
remove | Remove a component | samuel remove fw react |
list | List components | samuel list --available |
config | Manage configuration | samuel config list |
diff | Compare versions | samuel diff --installed |
update | Update framework | samuel update --check |
doctor | Check installation health | samuel doctor |
version | Show version info | samuel version |
skill | Manage Agent Skills | samuel skill list |
auto | Autonomous AI coding loop | samuel auto status |
sync | Sync per-folder CLAUDE.md/AGENTS.md | samuel sync --dry-run |
Type aliases: language (lang, l), framework (fw, f), workflow (wf, w)
Verify Installation¶
After setup, verify everything is working:
# Check installation health
samuel doctor
# See what's installed
samuel list
# Check for updates
samuel version --check
Expected output from samuel doctor:
Samuel Health Check
==================
[OK] CLAUDE.md exists
[OK] .claude/ directory exists
[OK] Configuration valid
[OK] 3 languages installed
[OK] 2 frameworks installed
[OK] All workflows available
Status: Healthy
What Happens Next?¶
Once initialized, the system is ready. Here's what to expect:
Automatic Loading¶
When you start working with an AI assistant:
- CLAUDE.md loads automatically - 500 lines of guardrails and operations
- Language guides auto-load - Based on file extensions you're working with
- Guardrails are enforced - Code quality, security, testing standards
Progressive Growth¶
The .claude/ directory grows with your project:
| Timeline | What Gets Created |
|---|---|
| Day 1 | Only CLAUDE.md + templates |
| Week 1 | .claude/project.md (tech stack) |
| Month 1 | .claude/patterns.md (conventions) |
| Ongoing | .claude/memory/ (decisions) |
Don't Over-Document
Let the documentation grow naturally. Don't create project.md on day one - wait until you make architecture decisions.
Next Steps¶
-
CLI Reference
Learn all 14 commands and their options.
-
Learn the Methodology
Understand the 4D approach: Deconstruct, Diagnose, Develop, Deliver.
-
Review Guardrails
See all 35+ rules that AI will follow.
-
Try a Workflow
Use PRD workflow for a complex feature.