| name | deep-architecture-analysis |
| description | Performs comprehensive reverse engineering and architecture analysis of GitHub repositories and application binaries. Identifies inefficiencies, bloat, vulnerabilities, and architectural patterns. Deconstructs from first principles to recommend optimal tech stacks for rewrites and modernization. |
<essential_principles>
Purpose
This skill performs deep architectural analysis and reverse engineering for the purpose of understanding existing systems to rebuild them better. This is legitimate software reengineering work used for:
- Migration planning - Understanding legacy systems to inform modernization
- Tech debt assessment - Identifying bloat, inefficiencies, and architectural debt
- Security auditing - Finding vulnerabilities and attack surfaces (authorized contexts only)
- Architecture modernization - Deconstructing from first principles to recommend better approaches
- Performance optimization - Identifying bottlenecks and inefficient patterns
Core Analysis Pillars
- Architecture Understanding - Map the overall system design, dependencies, and data flows
- Efficiency Analysis - Identify computational waste, bloat, and over-engineering
- Security Assessment - Find potential vulnerabilities, leaks, and attack surfaces
- First Principles Deconstruction - Question every complexity and rebuild from fundamentals
- Tech Stack Evaluation - Assess if current technologies are optimal for the problem domain
Methodological Approach
Start broad, go deep, synthesize findings:
- Repository analysis: Structure → Dependencies → Code patterns → Data flows
- Binary analysis: Architecture → System calls → Memory patterns → Reverse engineering
What would you like to analyze?
| Response | Next Action | Workflow |
|----------|-------------|----------|
| 1, "repository", "repo", "github", "codebase" | workflows/analyze-repository.md |
| 2, "binary", "executable", "ELF", "PE", "Mach-O" | workflows/analyze-binary.md |
| 3, "both", "full", "complete" | workflows/full-analysis.md |
| 4, "recommend", "tech stack", "rewrite", "alternatives" | workflows/recommend-tech-stack.md |