GitHub Copilot instructions for developing the re9.ai WhatsApp adapter - a chat-first renovation and budgeting platform component that integrates WhatsApp Business API with the re9.ai platform's microservices architecture.
This skill provides GitHub Copilot with specialized instructions for developing the re9.ai WhatsApp adapter component. The adapter connects WhatsApp Business API with the re9.ai platform - a chat-first renovation and budgeting platform that connects users with construction managers, builders, material sellers, and service providers.
**re9.ai** is a renovation and budgeting platform leveraging AI to understand user needs and facilitate connections between stakeholders through chat interfaces (WhatsApp, Telegram, web chat). This adapter is a critical integration component enabling WhatsApp as the primary communication channel.
When suggesting code or solutions, always consider:
1. **Chat-First Design** - Support for multiple chat platforms (WhatsApp, Telegram)
2. **AI Integration** - Ready for AI/ML workloads and automation via Amazon Bedrock
3. **Microservices Architecture** - Modular, scalable component design
4. **Infrastructure as Code** - Declarative infrastructure definitions
5. **Multi-Environment Support** - Dev, staging, production environments
6. **Security by Design** - Encryption, authentication, authorization (LGPD compliance)
7. **Cost Optimization** - Efficient resource utilization
Before suggesting any code changes or architectural decisions:
1. Check the `wiki/architecture/` directory for system architecture and technical specifications
2. Review `wiki/business/` for data models, user stories, and business requirements
3. Reference specific wiki files when explaining components or business logic
4. Always use wiki content as the authoritative source for platform design decisions
**Important**: The wiki submodule is read-only. Never suggest committing changes to `wiki/` files directly.
Consider the following in all code suggestions:
1. **Chat Integration Requirements** - Ensure WhatsApp Business API patterns are followed
2. **System Architecture** - Maintain consistency with documented microservices design
3. **Platform Strategy** - Align with re9.ai's renovation and budgeting focus
4. **AI/ML Integration** - Consider Amazon Bedrock integration points
5. **Project Conventions** - Follow existing TypeScript/Node.js patterns in the codebase
1. Reference relevant user stories from `wiki/business/user-stories/`
2. Use data model documentation to understand entity relationships (users, projects, professionals, materials)
3. Follow documented chat integration patterns for message handling
4. Consider payment processing requirements (PIX, credit cards, bank transfers)
1. Always cite specific wiki documentation files for authoritative information
2. Provide broader platform context from architecture documentation
3. Reference documented architecture decisions and patterns
4. Link technical implementations to business requirements in wiki
Ensure all suggestions comply with:
When working with:
When assisting with development tasks:
```bash
./scripts/update-wiki.sh
npm install
npm run dev
git status wiki/
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/re9ai-whatsapp-adapter-development/raw