This repository contains the official engineering constitution for Eiseron. It defines the standards, workflows, and skills required for both human developers and AI agents (Cursor, Windsurf, etc.) to maintain a high-quality, secure, and maintainable codebase.
- 00-ai-conventions.md: Fundamental rules for AI interaction, communication, and basic git etiquette.
The following modules provide detailed standards for various engineering domains:
- Architecture & Design
01-architecture.md: Clean Code, Phoenix/Vertical Dev, and Modular Monolith principles.
- Data & Storage
02-database-standards.md: Database naming, schema, and auditing rules.
- Security & Privacy
03-security.md: Authentication, authorization, and secure-by-default standards.
- Frontend & UX
04-frontend.md: Pure CSS, Semantic HTML, and Component-Driven Development.
- Dependency Management
05-dependency-management.md: Rules for selection, justification, and security of third-party libraries.
- Quality Assurance
06-testing-bdd.md: Testing Pyramid, BDD, and single-assertion patterns.
- Infrastructure & DevOps
07-docker-infra.md: Standardized Docker workflows and environment isolation.
- Observability & Reliability
08-observability-ops.md: Logging, monitoring, and health standards.
- Workflow & Version Control
09-git-workflow.md: Advanced Git strategies, release cycles, and branch protection.
- Communication & Knowledge
10-documentation.md: Documentation standards (Sync, Format, and Types).
To enforce these global standards on your local machine and ensure AI agents always have the correct context, run the bootstrap installer:
curl -fsSL https://raw.githubusercontent.com/eiseron/eiseron-agents/main/install.sh | bashThis script is idempotent. It securely clones the repository to ~/.eiseron-agents, sets up a background auto-update task, and injects the global pointers into your AI IDE configurations (Cursor, Windsurf).
AI Agents must perform "Self-Discovery" at the start of every session by:
- Listing the files in this repository to identify available skills.
- Reading 00-ai-conventions.md and AGENTS.md.
- Reading specific skill modules on-demand (lazy-loading) as required by the current objective to preserve context tokens.
All code generated must strictly adhere to these guidelines. Any deviation requires explicit user approval.