Skip to content

Update Copilot instructions#3585

Merged
cpholguera merged 3 commits intomasterfrom
update-instructions
Dec 14, 2025
Merged

Update Copilot instructions#3585
cpholguera merged 3 commits intomasterfrom
update-instructions

Conversation

@cpholguera
Copy link
Collaborator

@cpholguera cpholguera commented Dec 13, 2025

This PR enhances the clarity and consistency of documentation by clarifying scope boundaries between Knowledge, Tests, and Best Practices components, detailing their relationships, and providing more explicit guidance on content structure. The changes focus on improving authoring standards across instruction files.

  • Clarifies the three-way relationship and scope boundaries between Knowledge (descriptive), Tests (issue-focused), and Best Practices (prescriptive) components
  • Adds detailed guidance for writing test overviews with issue-focused framing and examples
  • Expands metadata documentation to include knowledge references in best practices

- Added detailed relationships between Knowledge, Tests, and Best Practices in `mastg-best-practice.instructions.md`.
- Clarified scope boundaries and content guidelines in `mastg-knowledge.instructions.md`.
- Improved overview phrasing and linking requirements in `mastg-test.instructions.md`.
- Updated best practices linkage instructions in `porting-mastg-v1-tests-to-v2.instructions.md`.
@cpholguera cpholguera requested a review from Copilot December 13, 2025 09:32
@cpholguera cpholguera changed the title Enhance documentation clarity and consistency Update Copilot instructions Dec 13, 2025
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 enhances the clarity and consistency of documentation by clarifying scope boundaries between Knowledge, Tests, and Best Practices components, detailing their relationships, and providing more explicit guidance on content structure. The changes focus on improving authoring standards across instruction files.

  • Clarifies the three-way relationship and scope boundaries between Knowledge (descriptive), Tests (issue-focused), and Best Practices (prescriptive) components
  • Adds detailed guidance for writing test overviews with issue-focused framing and examples
  • Expands metadata documentation to include knowledge references in best practices

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 13 comments.

Show a summary per file
File Description
.github/instructions/porting-mastg-v1-tests-to-v2.instructions.md Updates best practice linkage instructions with clearer guidance on using YAML front matter
.github/instructions/mastg-test.instructions.md Adds comprehensive guidance on writing issue-focused overviews, clarifies evaluation/observation requirements, and updates profile documentation link
.github/instructions/mastg-r2-scripts.instructions.md Updates scope definition with consistent quotation formatting
.github/instructions/mastg-mitmproxy-scripts.instructions.md Updates scope definition with consistent quotation formatting
.github/instructions/mastg-knowledge.instructions.md Expands scope boundaries section with explicit guidance on avoiding prescriptive/threat language and clarifies relationship to tests
.github/instructions/mastg-demo.instructions.md Updates evaluation section with consistent quotation formatting
.github/instructions/mastg-best-practice.instructions.md Adds nuanced relationship explanation between Tests, Knowledge, and Best Practices, plus knowledge metadata field

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


- Describe the relevant platform feature/API from the perspective of "what can go wrong" (risk, failure mode, exposure).
- Make it clear why the test exists: what the tester is trying to detect and why that matters.
- Reference the related Knowledge page for background using its ID (for example, @MASTG-KNOW-0013).
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's the deletion motive?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because now we'll rather enforce the metadata key instead.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@cpholguera cpholguera merged commit 4d098a9 into master Dec 14, 2025
3 of 4 checks passed
@cpholguera cpholguera deleted the update-instructions branch December 14, 2025 12:04
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.

2 participants