map-feature-gates

Map and analyze feature gates in a codebase to identify capabilities and security risks.

1|1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/quangphu1912/codebase-analyzer --skill map-feature-gates
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: map-feature-gates
Source: https://github.com/quangphu1912/codebase-analyzer/tree/main/skills/map-feature-gates
Command: npx skills add https://github.com/quangphu1912/codebase-analyzer --skill map-feature-gates

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you understand the control mechanisms that determine which capabilities are available under specific conditions, aiding in the investigation of feature flags and capability gates.

Core Features & Use Cases

  • Feature Gate Mapping: Identifies and maps the gates that control system capabilities.
  • Gate Detection: Detects various types of gates including build-time, runtime, permission, provider, and config gates.
  • Hidden Capability Detection: Identifies dead, hidden, or upcoming capabilities.
  • Security Signal: Flags security risks such as bypassing authentication or capability escalation paths.

Quick Start

Run the map-feature-gates skill to map feature gates and analyze system capabilities.

Frequently Asked Questions about map-feature-gates

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

FAQPage Schema
How do I map feature gates in a codebase to understand system capabilities?

Feature gate mapping is performed by analyzing the codebase to identify and categorize control mechanisms that determine system capabilities. This process detects build-time, runtime, permission, provider, and config gates to clarify system restrictions.

What types of feature gates can be detected during code analysis?

During code analysis, detectable feature gates include build-time, runtime, permission, provider, and config gates. Identifying these gates helps uncover hidden capabilities and flags security risks like capability escalation paths.

How can I find hidden or dead capabilities using dependency mapping?

Hidden or dead capabilities are found by mapping feature gates within the system architecture. This analysis identifies dormant flags and upcoming features that are restricted by build-time or config gates.

Does feature gate analysis require access to build-pipeline documentation?

Yes, feature gate analysis requires access to tool-graph and build-pipeline documentation. This documentation is necessary to accurately trace build-time gates and understand how dependencies restrict system capabilities.

Can feature gate mapping flag security risks like bypassing authentication?

Feature gate mapping flags security risks by identifying capability escalation paths and authentication bypasses. It analyzes runtime and permission gates to detect potential vulnerabilities within the system architecture.