Skip to content

Conversation

@jhauga
Copy link
Contributor

@jhauga jhauga commented Nov 8, 2025

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • My contribution adds a new instruction, prompt, or chat mode file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, or chat mode with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.

Description

Tested the prompt using:

/write-coding-standards-from-file #file:src

where src was a folder.

The results can be seen on support-repo/CODING_STANDARDS.md. The topmost link of the file CODING_STANDARDS.md points to the folder the prompt extracted data from.


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New chat mode file.
  • New collection file.
  • Update to existing instruction, prompt, chat mode, or collection.
  • Other (please specify):

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.

Copilot AI review requested due to automatic review settings November 8, 2025 00:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new agent prompt that generates coding standards documentation by analyzing existing code files or folders. The prompt extracts style patterns from the codebase and produces standardized documentation following configurable templates.

Key changes:

  • New comprehensive prompt file for generating coding standards from existing code
  • Integrated README documentation entry for the new prompt
  • Support for multiple output formats (new file, README insertion, or prompt output)

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
prompts/write-coding-standards-from-file.prompt.md New agent prompt that analyzes code files/folders and generates coding standards documentation with configurable templates and style guide references
docs/README.prompts.md Added table entry documenting the new prompt with installation links

@jhauga
Copy link
Contributor Author

jhauga commented Nov 8, 2025

Side note - extracted list of ### Fetch Links from awesome-guidelines.

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