wssd-sdk-for-go
Copilot instructions9 starsChanged 10 months agoMITView on GitHub
When working on pull requests in this repository, DO NOT mark the PR as ready for review until ALL of the following conditions are met: Before marking a PR ready for review, you MUST verify that all local checks pass: You MUST verify that all continuous integration checks are passing: Use the GitHub MCP tools to verify status: For reference, here are the key commands for this repository: Remember: Green status across ALL checks is mandatory before marking any PR…
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
18 rules. About 0 are common, 13 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
When working on pull requests in this repository, DO NOT mark the PR as ready for review until ALL of the following conditions are met:
- Distinctive: line 9
Before marking a PR ready for review, you MUST verify that all local checks pass:
- Very specific: line 11
Build: Run make build and ensure it completes successfully with no errors
- Very specific: line 12
Unit Tests: Run make unittest and ensure all tests pass
- Very specific: line 13
Linting: Run make golangci-lint and ensure no linting errors are reported
- Very specific: line 14
Formatting: Run make format to ensure code is properly formatted
- Distinctive: line 20
Azure Pipelines: Check that all pipeline jobs have completed successfully
- Distinctive: line 26
GitHub Actions: Check that all GitHub Actions workflows are passing
- Distinctive: line 33
Use the GitHub MCP tools to verify status:
- Very specific: line 36
Check specific run status: get_workflow_run
- Distinctive: line 42
Wait for all checks: Do not mark the PR as ready until all automated checks show green/passing status
- Distinctive: line 43
Fix failures: If any check fails, investigate the logs, fix the issues, commit changes, and wait for checks to run again
- Distinctive: line 44
Verify build quality: Ensure no warnings or errors in build output that could indicate issues
- Distinctive: line 45
Security checks: Ensure all security scanning tools (CredScan, PoliCheck, GoSec, CodeQL) pass
- Distinctive: line 49
Always run local validation before pushing to reduce CI failures
- Distinctive: line 50
If a check fails repeatedly, investigate root cause rather than repeatedly pushing
- Distinctive: line 51
Document any known issues or limitations in the PR description
- Distinctive: line 52
Ensure your changes don't break existing tests or introduce new security vulnerabilities
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Copilot Instructions for wssd-sdk-for-go
PR Readiness Requirements
When working on pull requests in this repository, DO NOT mark the PR as ready for review until ALL of the following conditions are met:
1. Local Build and Test Verification
Before marking a PR ready for review, you MUST verify that all local checks pass:
- Build: Run
make buildand ensure it completes successfully with no errors - Unit Tests: Run
make unittestand ensure all tests pass - Linting: Run
make golangci-lintand ensure no linting errors are reported - Formatting: Run
make formatto ensure code is properly formatted
2. CI/CD Pipeline Status
You MUST verify that all continuous integration checks are passing:
- Azure Pipelines: Check that all pipeline jobs have completed successfully
- Build job (includes
make all) - Unit Tests job
- Lint job (runs golangci-lint)
- Static Analysis job (security scans)
- Build job (includes
- GitHub Actions: Check that all GitHub Actions workflows are passing
- CodeQL analysis
- Dependency review
- Any other configured workflows
3. How to Check CI Status
Use the GitHub MCP tools to verify status:
- List recent workflow runs:
list_workflow_runs - Check specific run status:
get_workflow_run - Review job logs if failures occur:
get_job_logs - For Azure Pipelines, check the PR page for pipeline status
4. Required Actions Before Marking Ready
- Wait for all checks: Do not mark the PR as ready until all automated checks show green/passing status
- Fix failures: If any check fails, investigate the logs, fix the issues, commit changes, and wait for checks to run again
- Verify build quality: Ensure no warnings or errors in build output that could indicate issues
- Security checks: Ensure all security scanning tools (CredScan, PoliCheck, GoSec, CodeQL) pass
5. General Guidelines
- Always run local validation before pushing to reduce CI failures
- If a check fails repeatedly, investigate root cause rather than repeatedly pushing
- Document any known issues or limitations in the PR description
- Ensure your changes don't break existing tests or introduce new security vulnerabilities
Build and Test Commands
For reference, here are the key commands for this repository:
# Format code
make format
# Build the project
make build
# Run unit tests
make unittest
# Run linting
make golangci-lint
# Run all checks (format, build, test)
make all
# Clean build artifacts
make cleanImportant Notes
- This repository uses Go 1.25 (as specified in Azure Pipelines)
- Module mode is enabled (GO111MODULE=on)
- Private repo workaround is configured for Microsoft GitHub repos
- The default branch is
master - PRs must pass security analysis including CredScan, PoliCheck, GoSec, and CodeQL
Remember: Green status across ALL checks is mandatory before marking any PR as ready for review. This ensures code quality, security, and prevents breaking changes from being merged.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

