Update copilot-instructions.md with comprehensive project guidelines #19
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.
Overview
Enhanced the
.github/copilot-instructions.mdfile to provide comprehensive guidance for contributors and Copilot, addressing all requirements from issue #[issue_number].Changes Made
Added SOLID Design Principles Section
Added a dedicated section explaining the five SOLID design principles that should be followed in this project:
Also included guidance on favoring composition over inheritance, keeping functions focused, and using dependency injection.
Clarified Test File Organization
Updated the File Organization and Testing sections to explicitly state that:
__tests__/folder.test.tsand.spec.tsextensions are supportedAdded Documentation Requirements
Enhanced the Documentation section to emphasize that when adding new features, developers must:
docs/foldercsv-writer.md,json-writer.md)Emphasized CI Workflow
Restructured the "Before Committing" section to emphasize the proper workflow:
pnpm run lintandpnpm run format:checkpnpm run ci(recommended)Added clear explanation that
pnpm run ciruns: typecheck → lint → format:check → build → testAdded Copilot Review Information
Added a new subsection to CI/CD explaining that:
Updated Contributing Workflow
Enhanced the Contributing section with a complete step-by-step workflow that includes:
__tests__/folderdocs/folderpnpm run ci)Impact
These updates provide clearer guidance for:
The enhanced instructions help ensure all code contributions follow SOLID principles, include proper tests and documentation, and pass all quality checks before being merged.
Original prompt
Fixes #18
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.