A comprehensive project bootstrapping skill that creates a complete engineering foundation with SOLID architecture, TDD protocols, comprehensive documentation suite, data logic wireframes, and project scaffold. Works for both greenfield (new) and brownfield (existing) projects.
Project Bootstrap Full is an AI-powered skill that generates complete project foundations with production-ready architecture, documentation, and tooling. Based on proven patterns from amph-v2 and amph-v2-greenfield, this skill handles both new projects and existing codebases with intelligent adaptation.
- π Dual Project Support - Works with both greenfield (new) and brownfield (existing) projects
- ποΈ SOLID Architecture - Enforces Clean Architecture with dependency inversion
- π Comprehensive Documentation - 20+ documentation templates covering all aspects
- π§ͺ TDD & SOLID Protocols - Built-in test-driven development workflows
- π¨ UI/UX Documentation - Wireframes, design systems, and user journeys
- π CI/CD Pipeline - Complete pipeline configuration and deployment guides
- π Security & Compliance - OWASP, GDPR, and security best practices
- π Data Logic Wireframes - API specifications, database schemas, and data flows
- π€ AI Agent Integration - CLAUDE.md and AGENTS.md for AI-assisted development
- π Session Management - Bootstrap, handover, and sprint planning templates
This skill follows a strict Question-First approach:
- Understand completely before creating anything
- Ask intelligent questions to uncover hidden requirements
- Create proportional documentation based on project risk
- Build one vertical slice before expanding horizontally
- Maintain source-of-truth files that evolve with the project
- Enforce SOLID principles through architecture, not just code review
Critical First Step: Automatically detects if this is a greenfield (new) or brownfield (existing) project.
- New repository or empty directory
- No existing codebase
- Starting from scratch
- Action: Proceed to Phase 1 with full greenfield workflow
- Existing codebase with history
- Established patterns and conventions
- Multiple contributors or long development history
- Action: Proceed to Phase 1 with brownfield assessment first
Before creating any files, asks questions to understand:
- Project name and one-sentence summary
- Primary users and problem statement
- Success criteria and non-goals
- Tech stack (languages, frameworks, databases, tools)
- Deployment target and data sensitivity
- Scalability needs and budget/hosting
- System boundaries and integration points
- UI requirements and real-time needs
- Architecture preference (monolith, microservices, modular monolith)
- Team size and development timeline
- Testing strategy and CI/CD pipeline
- Monitoring needs and existing systems
- Business rules and pricing model
- Payment processing and email/notification requirements
- Compliance/regulatory requirements (GDPR, HIPAA, SOC2, PCI)
- Project history and code quality
- Architecture patterns and team knowledge
- Business criticality and user base
- Integration dependencies and compliance constraints
Based on answers, recommends:
- Profile:
prototype,standard, orproduction - Layout:
generic,web-app,api-service,library, ormonorepo - Architecture: Traditional, SOLID-layered, or microservices
- Testing strategy: Proportional to risk and team capability
- Mode:
greenfieldorbrownfield(determined in Phase 0)
Before scaffolding, performs comprehensive codebase assessment:
- Codebase analysis and directory structure mapping
- Code quality audit (test coverage, linting, type safety)
- Architecture mapping (entry points, data flow, integrations)
- Documentation gap analysis
- Migration strategy (preserve, improve, replace)
Creates comprehensive project structure based on project type:
Creates ALL new files from scratch:
README.md- Project overview with badges, quickstart, architecture diagramAGENTS.md- AI/agent guidelines for code generationCHANGELOG.md- Version history (Keep a Changelog format)CONTRIBUTING.md- Contribution guidelinesBOOTSTRAP.md- Session bootstrap promptOPERATING_GUIDELINES.md- Living document with git discipline, TDD protocolSESSION-HANDOVER.md- Session handoff documentationSESSION-TDD-SOLID-AUDIT.md- TDD+SOLID audit with tiered issuesNEXT-SESSION-PROMPT.md- Next-session promptCODEOWNERS- GitHub CODEOWNERS fileLICENSE- Project licenseCLAUDE.md- Architecture overview, layer descriptionsSESSION-LOG.md- Session log with work historySPRINTS.md- Sprint planning with backlogCOMBINED_INSTRUCTIONS.md- Essential instructions from AGENTS.md + CLAUDE.md
docs/PRD.md- Product Requirements Documentdocs/MVP.md- Minimum Viable Product specificationdocs/ARCHITECTURE.md- System architecture with diagramsdocs/BUILD_SPEC.md- Build specifications and configurationdocs/ROADMAP.md- Feature roadmap and milestonesdocs/TESTING.md- Testing strategy and protocolsdocs/DECISIONS.md- Architecture Decision Records (ADRs)docs/BUILD_LOG.md- Build and deployment historydocs/ERROR_LOG.md- Known issues and troubleshootingdocs/API_SPECIFICATION.md- API design, endpoints, rate limitingdocs/SECURITY.md- Security policies, OWASP requirementsdocs/CICD.md- CI/CD pipeline configurationdocs/DATABASE_SCHEMA.md- Database design, migrationsdocs/USER_STORIES.md- User stories, acceptance criteria
docs/TDD_PROTOCOL.md- Test-Driven Development workflowdocs/SOLID_GUIDELINES.md- SOLID principles implementation guidedocs/CODE_REVIEW.md- Code review checklist and standardsdocs/VOICE_GUIDE.md- Voice and tone guidelines
docs/DATA_FLOW.md- Data flow diagrams and state managementdocs/API_SPECIFICATION.md- API contracts and endpointsdocs/DATABASE_SCHEMA.md- Database design and relationshipsdocs/INTEGRATION_MAP.md- External system integrations
docs/UI_WIREFRAMES.md- User interface wireframes and flowsdocs/DESIGN_SYSTEM.md- Design tokens, components, patternsdocs/USER_JOURNEYS.md- User experience flows and personasdocs/UI_COMPONENTS.md- UI component library and usage guidelinesdocs/ACCESSIBILITY.md- WCAG compliance and accessibility guidelinesdocs/RESPONSIVE_DESIGN.md- Mobile, tablet, desktop breakpointsdocs/ANIMATION_GUIDE.md- Motion design and micro-interactionsdocs/UX_WRITING.md- Microcopy, error messages, content designdocs/WIREFRAME_DIAGRAMS.md- ASCII/text-based wireframe diagrams
docs/SECURITY.md- Security policies, OWASP top 10, compliancedocs/DEPLOYMENT.md- Deployment procedures and runbooksdocs/OBSERVABILITY.md- Logging, metrics, and alertingdocs/PERFORMANCE.md- Performance budgets and monitoringdocs/BACKUP_RECOVERY.md- Backup and disaster recovery plansdocs/RELEASE_PROCESS.md- Release management proceduresdocs/RATE_LIMITING.md- API rate limiting, throttlingdocs/INCIDENT_RESPONSE.md- Security incident response procedures
DO NOT overwrite existing files. Instead:
- Create missing docs only (based on gap analysis)
- Update existing docs with missing sections
- Preserve existing patterns and conventions
- Incremental improvement without breaking workflows
- Don't break existing workflows
- Match existing style and conventions
- Add value, not noise
- Incremental updates as code changes
- Preserve history and existing documentation
Creates actual project structure with:
- Package manager configs (package.json, pnpm-lock.yaml)
- Linter and formatter configs (ESLint, Prettier)
- Type checking configs (TypeScript strict)
- Test framework configs (Vitest, Playwright)
- Environment templates (.env.example)
- CI/CD pipeline configs (GitHub Actions)
project/
βββ src/
β βββ domain/ # Pure business model
β β βββ entities/ # Business entities
β β βββ values/ # Value objects
β β βββ services/ # Domain services
β β βββ simulator/ # Domain simulators
β βββ ports/ # Interfaces only
β β βββ repositories/
β β βββ payment/
β β βββ email/
β β βββ security/
β β βββ system/
β βββ usecases/ # One class per use case
β βββ infra/ # Adapters implementing ports
β β βββ repositories/
β β βββ payment/
β β βββ email/
β β βββ security/
β β βββ simulator/
β βββ app/ # Next.js App Router
β β βββ actions/
β β βββ api/
β β βββ (dashboard)/
β βββ composition/ # DI container
β βββ components/ # UI primitives
βββ prisma/ # Database schema
βββ content/ # Content files
βββ tests/ # Test suites
βββ docs/ # Documentation
βββ scripts/ # Build and utility scripts
βββ public/ # Static assets
- Pre-commit hooks for formatting and linting
- CI/CD pipeline for automated testing and deployment
- Documentation generation and validation scripts
- Security scanning and dependency auditing
Run validation checks:
- Documentation completeness
- Project structure integrity
- Test framework setup
- Configuration file validity
- Build system verification
- SOLID architecture compliance
- TDD protocol setup
Provide handoff with:
- Next steps for implementation
- First vertical slice definition
- Acceptance criteria for initial feature
- Recommended development workflow
- Session handover documentation
| Template | Purpose | When to Use |
|---|---|---|
BOOTSTRAP.md.tpl |
Session bootstrap prompt with project status, sprint roadmap, quality gate, git rules, and next steps | Start of each development session |
SESSION-LOG.md.tpl |
Detailed work history, decisions made, and progress tracking | During development sessions |
SPRINTS.md.tpl |
Sprint planning with backlog, velocity tracking, and milestone planning | Sprint planning and tracking |
SESSION-HANDOVER.md |
Session handoff with project status, what shipped, architecture patterns | End of development sessions |
| Template | Purpose | When to Use |
|---|---|---|
README.md.tpl |
Project overview with badges, quickstart, and architecture diagram | Project initialization |
MVP.md.tpl |
Minimum Viable Product specification | Feature planning |
API_SPECIFICATION.md.tpl |
API design, endpoints, rate limiting | API development |
WIREFRAME_DIAGRAMS.md.tpl |
ASCII/text-based wireframe diagrams for key screens | UI/UX planning |
BUILD_LOG.md.tpl |
Build and deployment history | CI/CD tracking |
ERROR_LOG.md.tpl |
Known issues and troubleshooting | Issue tracking |
SECURITY.md.tpl |
Security policies, OWASP requirements, compliance | Security planning |
CICD.md.tpl |
CI/CD pipeline configuration and deployment | DevOps setup |
| Template | Purpose | When to Use |
|---|---|---|
AGENTS.md.tpl |
AI/agent guidelines for code generation and assistance | AI-assisted development |
COMBINED_INSTRUCTIONS.md |
Essential instructions combined from AGENTS.md and CLAUDE.md | Quick reference |
OPERATING_GUIDELINES.md.tpl |
Living document with git discipline, TDD protocol, quality gate | Development standards |
- Operit AI Assistant
- GitHub account (for repository integration)
- Node.js (for JavaScript/TypeScript projects)
-
Invoke the skill in your Operit assistant:
Use project-bootstrap-full to create a new project -
Answer intelligent questions about your project requirements
-
Receive complete foundation with:
- SOLID architecture scaffold
- Comprehensive documentation suite
- TDD and SOLID protocols
- CI/CD pipeline configuration
- Session management templates
Create a new e-commerce platform with React, Node.js, and PostgreSQL
Bootstrap documentation and architecture for my existing React app
This skill works best with:
- tdd-workflow: For implementing Test-Driven Development
- solid-code-design: For SOLID architecture principles
- loop-engineering: For bounded implementation cycles
- engineering-quality-gates: For quality verification
- code-review-and-quality: For code review standards
This skill delivers:
- Complete project documentation suite (20+ files)
- SOLID five-layer architecture
- TDD and SOLID protocol documents
- Data logic and UI wireframes
- Functional project scaffold
- Validation report
- Implementation roadmap
- Session handover documentation
| Profile | Description | Documentation Level |
|---|---|---|
prototype |
Quick MVP, minimal docs | Basic README, simple architecture |
standard |
Balanced approach | Full documentation suite |
production |
Enterprise-grade | Complete docs + security, compliance, monitoring |
| Layout | Description | Best For |
|---|---|---|
generic |
Flexible structure | Most projects |
web-app |
Web application optimized | React, Next.js, Vue apps |
api-service |
API-focused structure | REST/GraphQL APIs |
library |
Reusable library structure | npm packages, SDKs |
monorepo |
Multi-package workspace | Large-scale projects |
- Domain Layer - Pure business logic, entities, value objects
- Ports Layer - Interfaces/contracts only
- Use Cases Layer - Application-specific business rules
- Infrastructure Layer - Adapters implementing ports
- Presentation Layer - UI components, API routes
- Dependency Inversion: High-level modules don't depend on low-level modules
- Single Responsibility: Each class/module has one reason to change
- Interface Segregation: Many specific interfaces over general ones
- Liskov Substitution: Subtypes must be substitutable for base types
- Open/Closed: Open for extension, closed for modification
- Codebase Analysis - Map existing structure and dependencies
- Quality Audit - Test coverage, linting, type safety
- Architecture Mapping - Entry points, data flow, integrations
- Gap Analysis - Documentation and tooling gaps
- Migration Strategy - Preserve, improve, replace plan
- Don't break existing workflows
- Match existing style and conventions
- Add value, not noise
- Incremental updates as code changes
- Preserve history and existing documentation
- Source Stage - Triggers and checkout
- Build Stage - Compilation and artifact generation
- Test Stage - Unit, integration, E2E tests
- Security Stage - Dependency scanning, SAST
- Deploy Stage - Environment-specific deployment
- Monitor Stage - Health checks and alerting
- Blue-Green: Zero-downtime deployments
- Canary: Gradual rollout with monitoring
- Rolling: Batch updates with health checks
- OWASP Top 10 protection
- Dependency scanning (Snyk, Dependabot)
- Secret scanning for hardcoded credentials
- Container scanning for Docker images
- Compliance (GDPR, HIPAA, SOC2, PCI)
SECURITY.md- Security policies and proceduresINCIDENT_RESPONSE.md- Security incident responseRATE_LIMITING.md- API rate limiting and abuse prevention
- Design Tokens - Colors, typography, spacing
- Component Library - Reusable UI components
- Wireframes - ASCII/text-based diagrams
- User Journeys - Experience flows and personas
- Accessibility - WCAG compliance guidelines
- Mobile-first approach
- Tablet and desktop breakpoints
- Performance optimization
- Animation and micro-interactions
- Data Flow Diagrams - How data moves through the system
- API Specifications - REST/GraphQL endpoints
- Database Schema - Tables, relationships, migrations
- Integration Map - External system connections
- Architecture overview and layer descriptions
- Design system and component guidelines
- Code generation rules and patterns
- AI/agent guidelines for code generation
- Best practices and anti-patterns
- Collaboration protocols
- Bootstrap - Load project state and context
- Development - Work with TDD and SOLID protocols
- Handover - Document progress and next steps
- Sprint Planning - Track velocity and milestones
BOOTSTRAP.md- Session initializationSESSION-LOG.md- Work history and decisionsSESSION-HANDOVER.md- Progress and next stepsSPRINTS.md- Sprint planning and tracking
- Code formatting (Prettier)
- Linting (ESLint)
- Type checking (TypeScript)
- Test execution
- Unit test coverage > 80%
- Integration test pass
- Security scan clean
- Performance benchmarks met
- All required documents created
- No placeholder content
- Up-to-date with current codebase
- SOLID principles followed
- Clean Architecture layers proper
- Dependency direction correct
- Unit tests > 80%
- Integration tests for critical paths
- E2E tests for user workflows
- Monthly documentation review
- Quarterly architecture assessment
- Annual security audit
- Continuous integration improvements
- Developer experience surveys
- Documentation usability testing
- Architecture decision reviews
- Performance monitoring
- Clean Architecture by Robert C. Martin
- Test-Driven Development by Kent Beck
- GitHub Actions Documentation
- β Complete project scaffold created
- β All documentation templates populated
- β SOLID architecture implemented
- β TDD protocols established
- β CI/CD pipeline configured
- β Session management ready
- β Existing codebase preserved
- β Missing documentation created
- β Architecture gaps identified
- β Migration strategy defined
- β Quality improvements planned
- β No workflow disruption
| Version | Date | Changes | Author |
|---|---|---|---|
| 1.0 | [Date] | Initial release with greenfield support | [Author] |
| 1.1 | [Date] | Added brownfield project support | [Author] |
| 1.2 | [Date] | Added CI/CD documentation | [Author] |
| 1.3 | [Date] | Added UI/UX templates | [Author] |
| 1.4 | [Date] | Added rate limiting and security | [Author] |
- Documentation: Check this README and docs/ folder
- Issues: Create GitHub issue with detailed description
- Discussions: Use GitHub Discussions for questions
- Contact: [Your Contact Information]
- Follow contribution guidelines in
CONTRIBUTING.md - Use pull request workflow
- Maintain documentation updates
- Follow SOLID principles and TDD
This project is licensed under the MIT License - see the LICENSE file for details.
- amph-v2 - Base project patterns
- amph-v2-greenfield - Greenfield project templates
- Operit AI - AI assistant platform
- Clean Architecture - Robert C. Martin's principles
- Test-Driven Development - Kent Beck's methodology
Note: Never create documentation without understanding the project first. Never skip intelligent questions. Never assume requirements.
Last Updated: [Current Date]
Maintained by: [Your Name/Organization]