Add Object Calisthenics instruction file#118
Merged
codemillmatt merged 4 commits intoJul 25, 2025
Merged
Conversation
This instruction enforces the 9 original Object Calisthenics rules for business domain code (C#, TypeScript, Java). It provides clear guidelines and examples for maintainable, robust, and clean backend code. DTOs and infrastructure code are exempted. References to original sources included. Signed-off-by: SebastienDegodez <sebastien.degodez@gmail.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request adds a comprehensive Object Calisthenics instruction file that enforces the 9 original Object Calisthenics rules for business domain code in C#, TypeScript, and Java. The instructions aim to promote clean, maintainable, and robust backend code through strict object-oriented principles while providing practical exemptions for DTOs and infrastructure code.
- Implements all 9 Object Calisthenics rules with detailed explanations and code examples
- Defines clear scope and application guidelines for different code layers (domain, application, DTOs)
- Provides comprehensive implementation guidelines and references to original sources
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| instructions/object-calisthenics.instructions.md | New instruction file implementing the 9 Object Calisthenics rules with examples and guidelines |
| README.md | Updates the instruction table to include the new Object Calisthenics instruction file |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This instruction enforces the 9 original Object Calisthenics rules for business domain code (C#, TypeScript, Java). It provides clear guidelines and examples for maintainable, robust, and clean backend code. DTOs and infrastructure code are exempted. References to original sources included.
Pull Request Checklist
node update-readme.jsand verified thatREADME.mdis up to date.Description
This instruction file enforces the 9 original Object Calisthenics rules for business domain code (C#, TypeScript, Java). It helps ensure backend code is clean, maintainable, and robust by limiting complexity and promoting object-oriented best practices.
Context / Usage Notes:
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.