Skip to content

Conversation

chrislomonico
Copy link
Collaborator

This pull request introduces several operational guidelines and configuration files to standardize coding practices, enforce consistent formatting, and streamline development workflows. The changes span editor configurations, Git attributes, Copilot operational guidelines, and prompt instructions for ADRs and Python code creation.

Configuration and Formatting:

  • .editorconfig: Added a comprehensive EditorConfig file to enforce consistent code formatting across the repository, including indentation styles, naming conventions, and code style preferences specific to C# and other file types.
  • .gitattributes: Configured Git attributes to set default line-ending behaviors, declare binary files, and ensure proper handling of shell scripts and solution files.

Copilot Operational Guidelines:

  • .github/copilot-instructions.md: Introduced operational guidelines for using Copilot effectively in ADR creation, code generation, refactoring, and code review processes.

Prompt Instructions:

  • .github/prompts/adr.prompt.md: Added detailed instructions for creating high-quality Architectural Decision Records (ADRs), including mandatory guidelines for file structure, naming conventions, and documentation standards.
  • .github/prompts/code-python.prompt.md: Provided Python-specific coding guidelines, emphasizing best practices such as PEP 8 compliance, type hints, and the use of pytest for testing.
  • .github/prompts/code.prompt.md: Established general code creation and refactoring guidelines, focusing on Clean Architecture principles, SOLID design, and structured planning phases for large or complex edits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant