exey/archscope — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Go command line tool called ArchScope that can scan a local folder or a GitHub repo and create a single self contained HTML report about the codebase.

I want it to work across common app and backend languages like Go, Python, TypeScript, JavaScript, Swift, Objective C, and Kotlin. The report should show a clear summary, languages found, modules or services, dependency hotspots, architecture style, design patterns, security findings, and useful git history like contributors, churn, branches, tags, and stale branches. It should also be able to output SARIF for security tools.

Make it easy to run, something like pointing it at a folder or repo URL, choosing html, sarif, or both, selecting an output folder, opening the report automatically, and optionally pinning a branch or tag. The HTML should work offline with no external assets and include clickable VS Code links to files when possible.

Use Go 1.21 or newer, keep the code organized so adding a new language later is simple, and make sure it degrades gracefully if git data isn’t available.

Want more depth? Deep Reverse