Add comprehensive documentation for Claude OS deployment and daily usage. Documentation Added: - docs/PRODUCTION_DEPLOYMENT.md: Complete production deployment guide - Server architecture and resource allocation - SQLite deployment (simpler than PostgreSQL for read-heavy workloads) - Step-by-step deployment instructions - Integration with Rails applications - Service management, backups, monitoring - Troubleshooting and performance optimization - Security considerations - docs/QUICK_REFERENCE.md: Developer quick reference - All slash commands with examples - Skills and trigger phrases - Agent-OS commands (if installed) - Common workflows - Production server commands - API endpoints for integration - Troubleshooting guide - Printable cheat sheet Templates Added: - templates/agents/: 8 Agent-OS agent templates - spec-initializer, spec-shaper, spec-writer - tasks-list-creator, implementer - implementation-verifier, spec-verifier - product-planner - templates/project-files/agent-os/: Agent-OS project structure - config.yml.template - README.md with setup instructions - .gitignore for state files Updates: - templates/commands/claude-os-init.md: Enhanced project initialization - templates/project-files/CLAUDE.md.template: Improved project context Benefits: - Easy onboarding for new team members - Complete deployment automation - Production-ready configuration - Comprehensive troubleshooting - All commands in one place 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agents | ||
| commands | ||
| project-files | ||
| README.md | ||
Claude OS Templates
This directory contains all template files used when initializing a new project with Claude OS.
Directory Structure
templates/
├── commands/ # Slash command templates (symlinked to projects)
├── skills/ # Skill templates (symlinked to projects)
├── agents/ # Agent templates (project-specific)
├── project-files/ # Files created during project init
│ ├── CLAUDE.md.template
│ ├── .claude-os/
│ │ ├── config.json.template
│ │ ├── hooks.json.template
│ │ └── .gitignore
│ └── README.md
└── README.md # This file
Template Variables
Templates use {{VARIABLE}} syntax for placeholders that get replaced during project initialization:
Common Variables
{{PROJECT_NAME}}- Project name (e.g., "my-app"){{PROJECT_DESCRIPTION}}- Brief project description{{TECH_STACK}}- Technology stack (e.g., "Ruby on Rails, MySQL"){{DATABASE}}- Database system (e.g., "PostgreSQL", "MySQL"){{DEV_ENVIRONMENT}}- Dev environment (e.g., "Docker", "Local"){{CLAUDE_OS_URL}}- Claude OS server URL (default: http://localhost:8051){{DOCS_PATHS}}- JSON array of documentation paths{{CREATED_AT}}- ISO timestamp of creation{{PROJECT_SPECIFIC_CONTENT}}- Custom project content{{DEVELOPMENT_GUIDELINES}}- Project-specific guidelines{{COMMON_TASKS}}- Common development tasks{{BUSINESS_RULES}}- Key business rules
How Templates Are Used
When running /claude-os-init:
- Commands & Skills - Symlinked from
templates/commands/andtemplates/skills/to project's.claude/directory - Project Files - Copied from
templates/project-files/with variables replaced - Knowledge Bases - Created via API with project-specific names
- MCP Configuration - Updated in
~/.claude/mcp-servers/with new project
Adding New Templates
New Command Template
- Create file in
templates/commands/my-command.md - Add command logic
- Will be automatically available after
/claude-os-init
New Skill Template
- Create directory in
templates/skills/my-skill/ - Add
SKILL.mdand any scripts - Will be automatically available after
/claude-os-init
Updating CLAUDE.md Template
Edit templates/project-files/CLAUDE.md.template to add:
- New sections
- Updated workflow instructions
- Additional context
Changes will apply to NEW projects only. Existing projects keep their CLAUDE.md unchanged.
Consolidation Scripts
See /Users/iamanmp/Projects/claude-os/cli/ for scripts to:
- Move commands from
~/.claude/commands/totemplates/commands/ - Move skills from
~/.claude/skills/totemplates/skills/ - Update existing projects to use templates
For Coworkers
When you clone Claude OS and run ./install.sh, these templates are:
- Registered with your Claude CLI
- Available for new project initialization
- Ready to use with
/claude-os-init
Then cd to any project and run /claude-os-init to connect it to Claude OS!