A comprehensive autonomous development environment using Claude Code with specialized agents, slash commands, and containerized development workflows.
-
Clone and Setup
git clone <this-repo> cd claude-agent-system code . # VS Code will prompt to open in dev container
-
Start Claude Code
claude-code
-
Initialize Your Project
Use
/prdwhen:- Starting a completely new project
- Adding major new features to existing projects
- Need to clarify or document complex requirements
- Working with stakeholders who need structured requirements
Skip
/prdwhen:- Making simple bug fixes or small improvements
- Project requirements are already clear and well-defined
- Working on quick prototypes or experimental code
/prd # Interactive requirements gathering (when needed) /project-init # Configure project-specific settings (always run) -
Start Building
/plan-execution "Build a REST API for task management with authentication" -
Claude Code Delivers
- Automatically plans and executes using specialized agents
- Implements with comprehensive testing and quality gates
- Delivers production-ready, documented code
Requirements β Architect β Developer β Debugger β Quality Reviewer β Technical Writer
Available Agents (in .claude/agents/):
- ποΈ architect - Technical design and architecture analysis
- π¨βπ» developer - Implementation with testing focus
- π debugger - Systematic error investigation and root cause analysis
- β quality-reviewer - Code quality, security, and performance review
- π technical-writer - Documentation and technical explanations
Located in .claude/commands/:
/prd- Interactive Product Requirements Document creation/project-init- Analyze codebase and configure project-specific settings/plan-execution- Systematic multi-phase project execution
- β Zero linting violations
- β 100% test pass rate
- β >80% test coverage for new code
- β Performance within 5% of baseline
- β Security review passed
- β Comprehensive documentation
- Isolated & Safe: Containerized development with firewall protection
- Permission Managed: Non-root user with appropriate restrictions
- Pre-configured: Claude Code CLI and development tools ready
- Network Controlled: Controlled network access for security
- Project Memory:
CLAUDE.mdserves as project memory and configuration - Agent Specialization: Each agent has tailored instructions and patterns
- Advanced Prompting: Techniques from
prompt-engineering.md
.claude/
βββ agents/ # Specialized agent definitions
β βββ architect.md
β βββ developer.md
β βββ debugger.md
β βββ quality-reviewer.md
β βββ technical-writer.md
βββ commands/ # Slash command implementations
β βββ prd.md
β βββ project-init.md
β βββ plan-execution.md
βββ config/ # Environment configurations
βββ templates/ # Project type templates
βββ prompt-engineering.md # Advanced prompting techniques
.devcontainer/ # Safe containerized development
βββ Dockerfile
βββ devcontainer.json
βββ init-firewall.sh
CLAUDE.md # Project memory and instructions
/plan-execution "Implement user authentication with JWT tokens, password hashing, and rate limiting"Claude Code automatically:
- Analyzes requirements using architect agent
- Implements using developer agent with testing
- Debugs any issues systematically
- Reviews code quality and security
- Generates comprehensive documentation
# Use specific agents directly
claude-code --agent architect "Design a caching strategy for high-traffic API"
claude-code --agent developer "Implement Redis caching with connection pooling"
claude-code --agent quality-reviewer "Review caching implementation for security issues"/prd # Interactive requirements gathering
/project-init # Configure for your specific projectWhen you run /project-init, the system:
- Analyzes Your Codebase: Detects languages, frameworks, build tools, testing setup
- Updates CLAUDE.md: Adds project-specific build commands, conventions, patterns
- Configures Agents: Tailors each agent's instructions for your tech stack
- Validates Environment: Ensures linting, testing, and build commands work
- Applies Templates: Uses appropriate templates from
.claude/templates/
Important: After initialization, delete this README to avoid confusion - /project-init will remind you.
- Never ignore errors - always handle appropriately
- Wrap errors with context for debugging
- Use appropriate error types for your stack
- Propagate errors with proper context
- Integration tests for system behavior
- Unit tests for pure logic functions
- Property-based testing where applicable
- Test with real services when possible
- Cover edge cases and failure scenarios
- Development container runs safely with
dangerously-skip-permissions - Firewall rules restrict network access appropriately
- Non-root user with development-only permissions
- No secrets or credentials committed to repository
- Project-specific configuration automatically loaded from
CLAUDE.md - Agent memory with specialized knowledge patterns
- Context preservation across development sessions
- Extended thinking for complex architectural decisions
- Resume/continue functionality with full context
- Integration with CI/CD and build systems
Full-Stack Application:
/plan-execution "Build a React + Node.js todo app with real-time updates, PostgreSQL database, JWT auth, and comprehensive test suite"
API Development:
/plan-execution "Create a RESTful inventory API with OpenAPI docs, input validation, rate limiting, audit logging, and Docker deployment"
Data Pipeline:
/plan-execution "Implement CSV processing pipeline with validation, transformation, multiple output formats, and error handling"
- Prompt Engineering Techniques: Extracted from Southbridge Research's analysis of Claude Code prompts
- DevContainer Configuration: Adapted from Anthropic Claude Code repository
MIT License - see LICENSE file for details.
Ready to transform your development workflow?
- Open in the dev container
- Run
claude-code - Use
/project-initto configure for your project - Start building with autonomous agents!