Skip to content

Conversation

@klendathu2k
Copy link
Contributor

This PR provides a copilot instructions file including a set of coding standards based on the STAR c++ coding standards adopted in 2015 link. The goal is to enable copilot reviews of pull requests to make suggestions which will better align incoming codes with out standards.

The instructions file provides some initial prompts, intended to direct the LLM utilized by copilot to better analyze the codes presented to it, and to not propose changes which turn around and violate the standards.

The coding standards in this document are derived from our 2015 standards document. Changes have been made aimed at reducing the number of tokens the document presents to the LLMs, and making the standards more imperative. In that effort I employed LLM to ensure that changes from one iteration to the next did not significantly alter the meaning of the standards (as understood by the LLM). I have reviewed the end product against the original, and believe them to be consistent. Reviewers are kindly asked to point out where my AI friend and I have it wrong ;)

klendathu2k and others added 30 commits August 1, 2024 22:31
…which couldn't possibly cause any side effects, but lets be safe about it shall we?)
…ving the AI's understanding of the document.
Apply STAR coding standards in copilot-based reviews
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