pr-analysis
Skill127 starsChanged 31 days agoApache-2.0View on GitHub
Analyze pull request impact on Harness pipelines via MCP. Assess PR pipeline impact by identifying which pipelines, services, and environments are affected by code changes. Perform security-focused PR reviews checking for secrets, vulnerabilities, and compliance. Track PRs from merge through deployment to production verification. Use when asked to analyze PR impact, review PR security, or track a PR to production. Trigger phrases: PR impact, pull request analysis, PR security review, PR to production, merge impact, deployment tracking, code change impact, PR pipeline, which pipelines affected.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- jokob-sk/NetAlertXtheir own version, first seen Nov 1, 2026
- netalertx/NetAlertXtheir own version, first seen Nov 1, 2026
- kevin-lee/ai-dumping-groundtheir own version, first seen Oct 10, 2026
- kaeawc/auto-mobiletheir own version, first seen Oct 8, 2026
- The-Resonance-Team/skillstheir own version, first seen Sep 3, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- jokob-sk/NetAlertX★ 7.4ksame name
- netalertx/NetAlertX★ 7.4ksame name
- kaeawc/auto-mobile★ 56same name
- kevin-lee/ai-dumping-ground★ 3same name
- The-Resonance-Team/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/harness.mdcCursor rule
- manage-rolesSkill
- manage-usersSkill
- create-agentSkill
- create-agent-templateSkill
- dbops-changesetSkill
- choose-metricSkill
- cleanup-feature-flagsSkill
- create-experimentSkill
- create-feature-flagSkill
- create-metricSkill
- discover-feature-flagsSkill
- explain-flagSkill
- feature-flag-onboardingSkill
- fme-pipelineSkill
- instrument-feature-flagSkill
- instrument-metricSkill
- manage-experimentsSkill
- manage-flag-lifecycleSkill
- manage-segmentsSkill
- review-experiment-resultsSkill
- update-flag-targetingSkill
- create-connectorSkill
- create-environmentSkill
- create-infrastructureSkill
- create-secretSkill
- create-serviceSkill
- ai-operationsSkill
- analyze-costsSkill
- audit-reportSkill
- chaos-code-risk-scanSkill
- chaos-dr-testSkill
- chaos-experimentSkill
- create-policySkill
- deployment-readinessSkill
- dora-metricsSkill
- gitops-statusSkill
- incident-responseSkill
- manage-idpSkill
- manage-slosSkill
- optimize-pipelineSkill
- scorecard-reviewSkill
- security-reportSkill
- sei-analyticsSkill
- template-usageSkill
- create-pipelineSkill
- create-pipeline-v1Skill
- create-templateSkill
- create-triggerSkill
- debug-pipelineSkill
- manage-freeze-windowsSkill
- migrate-pipelineSkill
- run-pipelineSkill
- create-sbomSkill
- enforce-sbomSkill
- manage-artifactsSkill
- manage-cdeSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 17 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
17
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 84
Check for new environment variables that should use Harness Secrets
- Distinctive: line 85
Verify no secrets are logged or exposed in error messages
- Distinctive: line 88
Check for new dependencies with known CVEs
- Distinctive: line 89
Verify license compatibility of new dependencies
- Distinctive: line 93
Check for overly permissive RBAC or IAM changes
- Distinctive: line 94
Verify network policies and security group modifications
- Distinctive: line 98
Verify changes don't violate OPA policies configured in Harness
- Distinctive: line 99
Check if changes require additional security review or approval
- Distinctive: line 125
Test results and coverage delta
- Distinctive: line 161
Check trigger path filters -- glob patterns may not match the actual file paths changed
- Distinctive: line 162
Verify branch conditions on triggers (e.g., main-only vs.
- Distinctive: line 163
Look for manual triggers or scheduled pipelines that also deploy the same service
- Distinctive: line 167
Add exceptions for test directories and example files
- Distinctive: line 168
Verify secret scanning rules match the actual secret formats in use
- Distinctive: line 171
Verify the CI trigger fires on merge to the target branch
- Distinctive: line 172
Check that pipeline identifiers in the tracker match the actual pipeline names
- Distinctive: line 173
Ensure deployment pipelines have the correct artifact reference to pick up the new build
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR Analysis
Analyze pull request pipeline impact, run security-focused reviews, and track PRs from merge to production deployment.
Instructions
Step 1: Establish Scope
Confirm the service, repository, and PR details.
Call MCP tool: harness_list
Parameters:
resource_type: "pipeline"
org_id: "<organization>"
project_id: "<project>"Step 2: Identify the PR Analysis Task
Determine which analysis the user needs:
- PR Pipeline Impact Analysis -- Which pipelines, services, and environments are affected
- Security-Focused PR Review -- Check for secrets, vulnerabilities, and compliance issues
- PR to Production Tracker -- Track a PR from merge through deployment and verification
Step 3: PR Pipeline Impact Analysis
Gather from the user:
- Service name and repository
- PR description and changed components (files/directories modified)
Identify affected resources:
Call MCP tool: harness_list
Parameters:
resource_type: "trigger"
org_id: "<organization>"
project_id: "<project>"Analyze impact:
- Pipelines triggered: Which CI/CD pipelines will fire on merge (based on triggers and path filters)
- Services affected: Which Harness services reference the changed code or manifests
- Environments reached: Which environments will receive the change (dev, staging, prod)
- Downstream impact: Other services that depend on the changed service
- Infrastructure changes: Any Terraform, Helm, or Kubernetes manifest changes
Present findings as:
- DIRECT IMPACT: Pipelines and services directly triggered
- INDIRECT IMPACT: Downstream services and dependent deployments
- RISK LEVEL: Low (test/docs only), Medium (application code), High (infrastructure/security/config)
Step 4: Security-Focused PR Review
Gather from the user:
- Service name and repository
- PR description and changed components
Security checklist:
Secrets and Credentials:
- Scan for hardcoded secrets, API keys, tokens, or passwords in the diff
- Check for new environment variables that should use Harness Secrets
- Verify no secrets are logged or exposed in error messages
Dependency Changes:
- Check for new dependencies with known CVEs
- Verify license compatibility of new dependencies
- Flag dependencies from untrusted or deprecated sources
Configuration Security:
- Check for overly permissive RBAC or IAM changes
- Verify network policies and security group modifications
- Review any changes to authentication or authorization logic
Compliance:
- Verify changes don't violate OPA policies configured in Harness
- Check if changes require additional security review or approval
- Flag changes to compliance-sensitive code paths (PII handling, encryption)
Present findings as a structured security report with PASS/FAIL/WARNING per category.
Step 5: PR to Production Tracker
Gather from the user:
- Service name, PR title, and target environment
- Expected deployment window
Track the PR lifecycle:
Stage 1 -- Merge:
- PR merged to target branch
- CI pipeline triggered
Stage 2 -- Build:
Call MCP tool: harness_list
Parameters:
resource_type: "execution"
org_id: "<organization>"
project_id: "<project>"- Build pipeline status and duration
- Test results and coverage delta
- Security scan results
Stage 3 -- Deploy to Staging:
- Staging deployment pipeline status
- Verification results in staging
Stage 4 -- Production Deployment:
- Production pipeline status
- Canary or blue-green deployment progress
- Health check results post-deployment
Stage 5 -- Verification:
- Error rate comparison: pre-deploy vs. post-deploy
- Latency comparison: pre-deploy vs. post-deploy
- SLO compliance check
Present a timeline view showing the PR's journey with status at each stage and elapsed time.
Examples
- "What pipelines will this PR trigger?" -- Analyze triggers, path filters, and downstream services to identify all affected pipelines
- "Review this PR for security issues before merge" -- Run security checklist covering secrets, dependencies, RBAC, and compliance
- "Track my PR from merge to production" -- Monitor the PR through build, staging deploy, production deploy, and verification
- "What is the blast radius of this code change?" -- Identify all services, environments, and pipelines impacted
Performance Notes
- Pipeline impact analysis depends on correctly configured triggers -- misconfigured path filters can miss affected pipelines.
- Security reviews should be automated in the CI pipeline, not just done manually -- use Harness STO for continuous scanning.
- PR tracking is most useful for critical changes -- routine PRs may not need full lifecycle tracking.
- Track PR-to-production cycle time over time to identify process bottlenecks (part of DORA Lead Time for Changes).
Troubleshooting
Pipeline Impact Not Matching Actual Triggers
- Check trigger path filters -- glob patterns may not match the actual file paths changed
- Verify branch conditions on triggers (e.g., main-only vs. all branches)
- Look for manual triggers or scheduled pipelines that also deploy the same service
Security Review False Positives
- Common false positives: test fixtures with dummy credentials, documentation examples
- Add exceptions for test directories and example files
- Verify secret scanning rules match the actual secret formats in use
PR Tracking Losing Visibility After Merge
- Verify the CI trigger fires on merge to the target branch
- Check that pipeline identifiers in the tracker match the actual pipeline names
- Ensure deployment pipelines have the correct artifact reference to pick up the new build
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.

