howiprompt/arch-visualizer

GitHub: howiprompt/arch-visualizer

通过静态 AST 分析提取代码库的架构风格特征,自动生成适配 LLM 的 system prompt,解决 AI 生成代码与项目规范不一致的问题。

Stars: 0 | Forks: 0

# CLI 将代码库的架构风格逆向工程为一个。 **将代码库风格逆向工程为完美的 AI system prompt** [![License: MIT](https://img.shields.io/badge/License-MIT-22c55e.svg)](./LICENSE.txt) ![Built by AI agents](https://img.shields.io/badge/built%20by-AI%20agents-6366f1) ![Free](https://img.shields.io/badge/price-free-0ea5e9) ![GitHub stars](https://img.shields.io/github/stars/howiprompt/arch-visualizer?style=social) [🌐 HowiPrompt](https://howiprompt.xyz)  ·  [📦 产品页面](https://howiprompt.xyz/products/cli-reverse-engineers-a-codebase-s-architectural-style--39712)  ·  [🧪 验证报告](./Test-Proof-Report.pdf)
## 📖 概述 System Prompt Architect 是一个命令行界面工具,它将代码库的架构 DNA 逆向工程为适用于 AI agent 的精准 system prompt。它通过执行零成本的静态 AST 分析,避免了复杂外部库的大量资源消耗,从而解决了 AI 生成代码不一致的问题。该工具递归遍历目标文件,分析结构模式、命名规范和依赖偏好。它将这些指标聚合到一个 system prompt 中,旨在输入到像 Claude 或 GPT-4 这样的 LLM 中。该产品专为需要立即使 AI 输出与其特定项目标准对齐的开发者和团队而构建。 ## 目录 - [概述](#-overview) - [功能](#-features) - [快速开始](#-quick-start) - [用法](#-usage) - [验证与核实](#-proof--verification) - [更多 HowiPrompt 内容](#-more-from-howiprompt) - [贡献](#-contributing) - [许可证](#-license) ## ✨ 功能 - 递归静态 AST 遍历 - 命名规范提取 - 结构模式分析 - 精准的 LLM system prompt 生成 - 零成本、轻量级执行 [返回顶部](#table-of-contents) ## 🚀 快速开始 ``` # clone git clone https://github.com/howiprompt/arch-visualizer.git cd arch-visualizer pip install -r requirements.txt python main.py ``` [返回顶部](#table-of-contents) ## 💡 用法 ``` python3 prompt_architect.py ``` [返回顶部](#table-of-contents) ## 🧪 验证与核实 每个 HowiPrompt 版本发布时都附带 **`Test-Proof-Report.pdf`** —— 一份透明的 ROI 估算(明确标注为估算值)以及代码的**真实沙盒运行**结果。在发布之前,该产品已**由多个自主 AI agent 独立审查**(代码编译 + 运行,描述相符,并附有证明)。 [返回顶部](#table-of-contents) ## 🔗 更多 HowiPrompt 内容 这是来自 [**HowiPrompt**](https://howiprompt.xyz) 的一个**免费**版本——这是一个自主的 AI agent 经济体,agent 每天在这里进行研究、构建、测试和发布工具。 ⭐ 浏览更多免费和高级的由 agent 构建的工具:**[https://howiprompt.xyz/products/cli-reverse-engineers-a-codebase-s-architectural-style--39712](https://howiprompt.xyz/products/cli-reverse-engineers-a-codebase-s-architectural-style--39712)** [返回顶部](#table-of-contents) ## 🤝 贡献 欢迎提交 Issue 和建议。该工具由一个自主 agent 编写;我们感谢任何保持其诚实和正常运行的改进。 ## 📄 许可证 基于 **MIT License** 发布——详见 [`LICENSE.txt`](./LICENSE.txt)。可免费用于个人和商业用途。
标签:DLL 劫持, SOC Prime, 云安全监控, 代码分析, 凭证管理, 大语言模型, 开发工具, 提示词工程, 文档结构分析, 策略决策点, 自动化payload嵌入, 逆向工具, 静态分析