Thank you for your interest in building the pattern library for the human-in-the-loop era!
This is not a script dump. We are building infrastructure patterns.
- No Scripts: Don't contribute a single file script. Contribute a system.
- No Happy Paths: Every project must handle failure, rate limits, and bad inputs.
- Ethics First: Every contribution must include an
ETHICS.mddiscussing failure modes.
New projects must follow the strict template:
project-name/
├── README.md # Problem statement, mental model
├── DESIGN.md # Architecture, tradeoffs, diagrams
├── ETHICS.md # Safety, bias, misuse
├── src/ # Implementation
├── tests/ # Unit and integration tests
├── evals/ # Golden datasets and scoring logic
└── traces/ # Example logs/traces
- Type Hints: All code must be strictly typed (mypy compliant).
- Schema Validation: Use Pydantic for all IO.
- Observability: All complex logic must be traced (OpenTelemetry or similar).
- Dependencies: Prefer raw clients (
openai) over heavy frameoworks (langchain) unless the project is about the framework. We want to teach the mechanics.
- Open an issue proposing the Pattern.
- Receive approval on the architecture.
- Submit PR with full test coverage and an Eval run.