diff --git a/.github/instructions/*.instructions.md b/.github/instructions/*.instructions.md new file mode 100644 index 0000000..e459c99 --- /dev/null +++ b/.github/instructions/*.instructions.md @@ -0,0 +1,115 @@ +# AI-HUB-ENTERPRISE Repository Instructions + +## Overview + +AI-HUB-ENTERPRISE is an Enterprise AI Platform built using Zero Trust Architecture, DevSecOps, Cloud Native principles, and Privacy-by-Design. + +## Core Principles + +* Security First +* Zero Trust +* Privacy by Design +* Compliance by Default +* Infrastructure as Code +* AI Governance +* Open Source Best Practices + +## Technology Stack + +* TypeScript +* JavaScript +* Python +* Node.js +* Express +* NestJS +* PostgreSQL +* Redis +* Docker +* Kubernetes +* Terraform +* GitHub Actions +* OpenAI +* LangChain +* Qdrant +* Prometheus +* Grafana + +## Architecture Standards + +* Microservices +* API First +* Event Driven +* Domain Driven Design +* Multi Cloud +* High Availability +* Observability + +## Security Requirements + +* MFA Required +* RBAC Required +* Least Privilege +* Encryption at Rest +* Encryption in Transit +* Audit Logging +* Secret Scanning +* Dependency Review +* SBOM Generation + +## Compliance Requirements + +* PDPA +* GDPR +* ISO 27001 +* SOC 2 +* NIST Cybersecurity Framework + +## Development Standards + +* Pull Request Required +* Branch Protection Enabled +* CI/CD Validation Required +* Code Review Required +* Signed Commits Preferred + +## Branch Strategy + +* main +* develop +* security +* compliance +* infrastructure +* docs +* feature/* + +## Repository Structure + +* apps/ +* packages/ +* infrastructure/ +* security/ +* compliance/ +* docs/ +* tests/ +* legal/ + +## AI Agent Instructions + +Always: + +1. Prioritize security. +2. Follow Zero Trust principles. +3. Validate dependencies. +4. Protect personal data. +5. Generate audit-friendly outputs. +6. Respect compliance requirements. +7. Avoid exposing secrets. +8. Prefer reusable, maintainable code. +9. Document architecture decisions. +10. Preserve backward compatibility when possible. + +## Licensing + +Primary License: MIT + +Copyright © Pichai Takengrach