Repo Mind Skill
This skill analyzes GitHub repositories and provides strategic insights.
Capabilities:
- Reverse engineer repository architecture
- Summarize project files efficiently
- Evaluate SaaS startup potential
- Optimize the product using Elon Musk's framework
When to Use This Skill
Activate this skill when the user:
- pastes a GitHub repository link
- asks to analyze a repository
- asks if a project could become a SaaS
- asks to reverse engineer a GitHub repo
- asks how to improve a project architecture
Example triggers:
Analyze this repo: https://github.com/user/project
Explain this GitHub repository.
Could this repo become a SaaS product?
Break down this codebase
Automatic GitHub Detection
If the user message contains:
github.com/ https://github.com/ http://github.com/
assume it is a repository link and automatically run the repository analysis workflow.
Instructions
When the skill is activated, follow this workflow:
Default entry command: /analyze-repo
- Identify the GitHub repository.
- Analyze the repository structure.
- Detect the main technology stack.
- Summarize key files and modules.
- Evaluate SaaS startup potential.
- Apply Elon Musk's product framework to improve the project.
Return results in structured sections.
Token Efficiency Rules
To minimize token usage:
- Do NOT read every file in the repository.
Repository analysis priority order:
- README.md
- package.json / requirements.txt
- main application entry file
- folder structure
- core modules
Avoid deep file reading unless necessary.
Most repositories can be understood from these sources.
Prefer analyzing repository structure over full file contents.
File explanations must be limited to one sentence each.
Ignore folders such as:
- node_modules
- build
- dist
- .git
- lock files
Commands
/analyze-repo
Analyze repository architecture.
Steps:
- Scan folder tree
- Identify tech stack
- Summarize important files
- Detect core functionality
Output format:
REPO SUMMARY
- Purpose
- Tech stack
- Key modules
FILE ANALYSIS
- file → short description
/saas-potential
Evaluate whether the repository could become a SaaS product.
Steps:
- Identify the problem solved
- Evaluate market demand
- Detect monetization opportunities
- Estimate viral potential
Output:
SAAS REPORT
- Problem solved
- Target audience
- Monetization model
- Competitors
- SaaS score (0–10)
/optimize-product
Apply Elon Musk's product framework.
Steps:
- Question requirements
- Delete unnecessary parts
- Simplify architecture
- Accelerate development
- Automate processes
- Optimize user experience
- Plan for scalability
Output:
PRODUCT OPTIMIZATION REPORT
- Current architecture flaws
- Suggested improvements
- Feature roadmap
References
- references/musk-framework.md
Examples
- examples/example-output.md