PR Extension Workflow

Analyze pull requests for security detection coverage gaps and recommend extensions.

471|74|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/MHaggis/Security-Detections-MCP --skill pr-extension-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: PR Extension Workflow
Source: https://github.com/MHaggis/Security-Detections-MCP/tree/main/.claude/skills/pr-extension-workflow
Command: npx skills add https://github.com/MHaggis/Security-Detections-MCP --skill pr-extension-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of ensuring that pull requests (PRs) for security detections are as comprehensive as possible, identifying and recommending extensions to cover gaps before merging.

Core Features & Use Cases

  • Coverage Gap Analysis: Systematically identifies missing sub-techniques, tactic coverage, platform variants, and evasion techniques.
  • Story Alignment: Checks if new detections are associated with relevant analytic stories or if new stories need to be created.
  • Detection Quality Review: Provides a checklist for evaluating the quality and correctness of individual detection rules.
  • Extension Recommendations: Offers concrete suggestions for additional detections, story updates, and test coverage.
  • Use Case: When a developer submits a PR adding new detection rules for command-line abuse, this skill can automatically flag that while PowerShell and CMD are covered, JavaScript execution (T1059.007) is missing, and recommend adding a detection for it.

Quick Start

Analyze the current pull request for detection coverage gaps and recommend additional detections to extend its scope.

Frequently Asked Questions about PR Extension Workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify MITRE ATT&CK coverage gaps in a security detection pull request?

To identify MITRE ATT&CK coverage gaps in a pull request, you can systematically scope new detection rules against missing sub-techniques, tactic coverage, and platform variants to recommend extensions before merging.

What is detection coverage analysis for security rules?

Detection coverage analysis is the process of evaluating pull requests to ensure new security detections are robust, well-documented, and aligned with threat intelligence and relevant analytic stories.

How do I check if new security detections align with existing analytic stories?

To check analytic story alignment, review the pull request to verify if new detections map to existing stories or if new stories must be created to maintain comprehensive threat intelligence context.

Can I automate security detection quality review for pull requests?

Yes, you can automate security detection quality review by applying a checklist that evaluates the correctness and quality of individual detection rules directly within your PR extension workflow.

How do I recommend additional detections for missing evasion techniques in a PR?

To recommend additional detections for missing evasion techniques, analyze the pull request coverage gaps and generate concrete suggestions for supplementary detections, story updates, and test coverage.

Does this PR extension workflow require specific threat intelligence platforms to function?

No specific threat intelligence platforms are required as dependencies; the workflow operates directly on the pull request data to map detections against MITRE ATT&CK techniques and analytic stories.