---
title: "我为 REA 做了一个开源伴侣，将逆向工程发现转化为构建计划"
url: "https://reamcp.dev/zh-cn/cases/i-made-an-open-source-companion-for-rea-that-turns-reverse-e-b5883d"
source: "https://www.reddit.com/r/OnlyAICoding/comments/1x6ljd7/i_made_an_opensource_companion_for_rea_that_turns"
source_type: "reddit"
author: "Electrical_Worth7942"
author_handle: "Electrical_Worth7942"
stars: 0
category: "工具与集成"
categories: ["tools-integrations"]
tags: ["ai-agents", "claude-code", "codex", "reverse-engineering", "specification"]
added: "2026-10-16T02:13:22.226Z"
updated: "2026-10-15T13:23:54.000Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# 我为 REA 做了一个开源伴侣，将逆向工程发现转化为构建计划

一个面向 AI 编程代理的开源、MIT 许可的伴侣技能，与 REA（Reverse Engineered Anything）协同工作，将调查发现转化为功能分解、需求、架构以及分阶段的构建/测试计划。它支持整个应用、单个功能或单个函数，将观察到的行为与假设区分开，并附带适用于 Claude Code 和 Codex 的安装程序以及自定义技能目录选项。

## Description

作者介绍了 REA Reconstruction Companion，这是一个基于 Markdown 的 AI 编程代理技能，旨在与 REA（Reverse Engineer Anything）一起使用。REA 执行调查；该伴侣将调查发现转化为功能分解、需求、架构以及分阶段的构建和测试计划，粒度可以是整个应用、一个功能或单个函数。它将观察到的行为与假设区分开，将需求链接到测试，并在相关时记录性能测量结果。核心是 MIT 许可下的纯 Markdown，包含适用于 Claude Code 和 Codex 的安装程序，并通过自定义技能目录支持其他代理。REA 需单独安装，一个可选规则可以在 REA 工作期间自动加载该伴侣。提到了 GitHub 仓库和 README 设置说明，作者寻求工作流程反馈，特别是关于重建较小功能或函数的反馈。

## Original README

I built REA Reconstruction Companion with help from AI. I wanted a better way to get from “how does this app work?” to “what would it take to build something similar?” It’s a skill for AI coding agents, used alongside REA (Reverse Engineer Anything) . REA handles the investigation. The companion helps turn those findings into a feature breakdown, requirements, architecture, and a plan you can build and test in stages. You can use it on a whole app, one feature, or a single function. For example: Use REA on this app so I can build a similar local tool. Start with a specification and roadmap. If you later ask the agent to implement it, the skill guides that work too. It keeps observed behavior separate from assumptions, links requirements to tests, and includes performance measurements where they matter. The core is plain Markdown and MIT licensed. There’s an installer for Claude Code and Codex, plus support for other agents through a custom skills directory. REA is installed separately. You can also enable an optional rule that tells the agent to load the companion during relevant REA work, or leave that off and invoke it yourself. GitHub: REA Reconstruction Companion The README has setup instructions and a prompt you can give your agent to handle installation. I’d be interested in feedback on the workflow, especially anything it misses when rebuilding a smaller feature or function.   submitted by   /u/Electrical_Worth7942   to   r/OnlyAICoding [link]   [comments]
