@@ -9,13 +9,26 @@ Bias against bespoke internal implementations by preferring mature open-source t
99composable libraries. When custom code is unavoidable, enforce justification rubrics that
1010require explicit rationale, ownership, versioning, testing, and security considerations.
1111
12- ## Core
12+ ## When to Use
13+
14+ - Proposals to write internal mappers, code generators, custom build scripts, or DI containers
15+ - Reviews where new internal tooling or bespoke framework layers are introduced
16+ - Evaluating whether to build vs buy/adopt for any infrastructure component
17+ - Reviewing PRs that add custom implementations for common concerns (validation, retries, caching)
18+ - Architectural decisions involving custom scaffolding or automation scripts
1319
14- ### When to use
20+ ## Core Workflow
1521
16- - Proposals to write internal mappers, code generators, custom build scripts, custom DI containers,
17- or bespoke framework layers.
18- - Reviews where new internal tooling is introduced.
22+ 1 . ** Identify the concern** : Determine what functionality is being proposed (mapping, validation, CLI, etc.)
23+ 2 . ** Search for OSS alternatives** : Evaluate mature open-source libraries that solve the same problem
24+ 3 . ** Compare trade-offs** : Assess maintenance burden, test effort, performance, and community support
25+ 4 . ** Apply decision framework** : Choose OSS unless clear justification exists for bespoke code
26+ 5 . ** Require justification rubric** : If bespoke code is proposed, demand explicit rationale,
27+ ownership, versioning, tests, and security considerations
28+ 6 . ** Document decision** : Record OSS evaluation, selection rationale, and maintenance plan
29+ 7 . ** Verify in PR** : Check that PR includes evidence of OSS evaluation and rubric satisfaction
30+
31+ ## Core
1932
2033### Defaults
2134
0 commit comments