repo-architecture-analysis

Analyze git repository structures to extract architectural patterns and data flows for threat modeling.

Updated Jan 1, 2026
One-click install
npx skills add https://github.com/securityreviewai/codeking --skill repo-architecture-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo-architecture-analysis
Source: https://github.com/securityreviewai/codeking/tree/main/.claude/skills/git_architecture
Command: npx skills add https://github.com/securityreviewai/codeking --skill repo-architecture-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the reconnaissance phase of security threat modeling by programmatically identifying system components, trust boundaries, and data flows within a codebase.

Core Features & Use Cases

  • Automated Reconnaissance: Quickly map tech stacks, entry points, and database configurations across complex repositories.
  • Security Pattern Extraction: Identify authentication, authorization, and cryptographic patterns to highlight potential vulnerabilities.
  • Use Case: A security architect needs to perform a STRIDE analysis on a new microservices repository; this skill generates the necessary component lists and data flow diagrams to accelerate the process.

Quick Start

Use the repo-architecture-analysis skill to scan the current directory and generate a comprehensive architectural summary for threat modeling.

Frequently Asked Questions about repo-architecture-analysis

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

FAQPage Schema
How do I extract trust boundaries and data flows from a git repository for threat modeling?

To extract trust boundaries and data flows for threat modeling, analyze the git repository structure to identify architectural patterns, system components, and security-relevant code. This automated reconnaissance maps tech stacks and entry points to generate structured inputs for frameworks like STRIDE or PASTA.

Can I automate STRIDE analysis reconnaissance on a microservices codebase?

You can automate STRIDE analysis reconnaissance on a microservices codebase by scanning the repository to map components, trust boundaries, and data flows. This process identifies authentication, authorization, and cryptographic patterns to highlight potential vulnerabilities and accelerate threat modeling.

What is the best way to identify security patterns and attack surfaces in source code?

The best way to identify security patterns and attack surfaces in source code is to programmatically analyze the architectural patterns and database configurations. This reconnaissance extracts system components and data flow information to highlight potential vulnerabilities for security auditing tasks.

Do I need specific dependencies to perform automated code analysis for threat modeling?

No specific dependencies are required to perform automated code analysis for threat modeling using this approach. You can scan the current directory directly to generate a comprehensive architectural summary, extracting necessary component lists and data flow diagrams without external libraries.

How does architectural pattern extraction highlight potential vulnerabilities in software engineering?

Architectural pattern extraction highlights potential vulnerabilities by programmatically identifying authentication, authorization, and cryptographic patterns within the codebase. This security pattern extraction maps the tech stack and entry points to rapidly identify attack surfaces and security-relevant code.

When should I not use automated reconnaissance for security auditing tasks?

You should not use automated reconnaissance for security auditing tasks when a repository lacks a clear architectural structure or when manual threat modeling is required to capture complex, implicit trust boundaries. Automated extraction focuses on explicit code patterns and data flow configurations.