Skip to content

Conversation

@thomas-bartlett
Copy link
Collaborator

Adds documentation for creating custom rules using the existing CLI infrastructure. Includes a template file and CLI reference for the --source and --tag flags.

Fixes #79

@thomas-bartlett thomas-bartlett self-assigned this Jan 22, 2026
Copilot AI review requested due to automatic review settings January 22, 2026 15:00
@thomas-bartlett thomas-bartlett added documentation Improvements or additions to documentation rule-feedback Providing feedback about a rule labels Jan 22, 2026
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 comprehensive documentation for creating custom security rules using the existing CLI infrastructure. It enables users to extend Project CodeGuard with their own organization-specific policies, compliance requirements, or coding standards.

Changes:

  • Added a custom rule template file with proper frontmatter schema and example structure
  • Created detailed documentation covering the quick start process, frontmatter schema, CLI reference, and usage examples
  • Updated README.md to reference the new custom rules documentation

Reviewed changes

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

File Description
sources/templates/custom-rule-template.md.example Provides a complete template with frontmatter schema and markdown structure for creating custom rules
docs/custom-rules.md Comprehensive documentation covering custom rule creation, CLI usage, validation, and configuration options
README.md Added link to custom rules documentation in the developer section

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@ramraaj25 ramraaj25 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@thomas-bartlett thomas-bartlett merged commit e83b958 into develop Jan 22, 2026
7 checks passed
@thomas-bartlett thomas-bartlett deleted the docs/custom-rules branch January 22, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation rule-feedback Providing feedback about a rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants