Skip to content
@recipkg

Recipkg · 构方

把软件的配方交给 Agent。用纯 Markdown 管理软件重建说明、递归依赖与验收条件。Software recipes and Agent Skills, in Markdown.

Recipkg logo

Recipkg · 构方

把软件的配方交给 Agent。

从机器码、汇编、源代码,到提示词。我们希望把反复校准的软件需求、接口、依赖和验收条件保存成可以复用、审阅和传递的配方,让不同的 Agent 据此重建软件。

别写软件了,写提示词吧,未来的人工智能会完整重建它!

这是愿景。当前的 Recipkg 负责整理和交付重建材料;实际实现由你选择的 Agent 完成,结果需要通过事先定义的验收。

主仓库 · 中文文档 · English · 设计理念

一份配方,保存什么

  • 行为:软件为谁解决什么问题,接受什么输入,产生什么结果。
  • 依赖:组件如何配合,以及每一层依赖的完整配方。
  • 约束:目标环境、公开接口、兼容性和外部运行前提。
  • 验收:怎样判断重建结果正确,哪些行为仍未验证。

软件配方包以 .recipe.tar.gz 分发,负载全部是 UTF-8 Markdown。RECIPE.md 中的 TOML 块声明包信息与依赖;技能保留标准 SKILL.md 文件头。归档包含完整递归材料、来源记录和文件校验值。

配方不附带实现源码、二进制或执行钩子。包格式不绑定模型厂商、包工具的实现语言或生成软件的语言。

从这里开始

入口 内容
Recipkg CLI 安装、五个提示词动作、显式包操作与技能同步
配方协议 清单、依赖来源、归档、锁文件和完整性规则
三层递归示例 hello → greeting → text-rules,完整材料如何随包交付
Recipkg 自举配方 用公开行为、协议和验收条件描述 Recipkg 自身
软件质量配方 可复用的设计、代码质量与性能要求
迁移技能 将现有软件整理为 Recipkg 配方的 Agent 工作流程
重写技能 观察软件、提取配方、建立规范仓库并重写验收
测试反馈技能 实际体验与端到端测试,结合 issue 生成可验收需求

11 个项目技能各有独立仓库,通过固定提交的 Git 子模块复用;参见 技能清单。CLI 源码也独立保存在 cli-source,主仓库以 generated/cli-source/ 子模块引用。

跑通第一个配方

当前参考 CLI 需要 Python 3.11+,运行时仅依赖标准库;获取 Git 配方来源时需要系统 Git。

git clone --recurse-submodules https://github.com/recipkg/recipkg.git
cd recipkg
python3 -m venv .venv
. .venv/bin/activate
python3 -m pip install ./generated/cli-source
recipkg check examples/hello
recipkg pack examples/hello -o hello-0.1.0.recipe.tar.gz
recipkg build hello-0.1.0.recipe.tar.gz --output hello-build.md

把生成的 hello-build.md 交给你选择的 Agent。它包含根配方与全部递归依赖,供 Agent 实现软件并执行验收。

安装后也可用 recipkg search [关键词] 查找带 recipkg topic 的公开仓库候选;标签不代替配方检查。提示词默认英文,用 --lang zh-CN 选择中文,配方原文保持不变。

五个主要动作是 extract、build、rewrite、add 和 discover,均只输出任务提示词。CLI 不调用模型,也不执行生成的软件。结构校验通过说明材料可以被读取和交付;重建成功需要实际运行生成的实现并验证行为。

一起完善配方

欢迎提供可复用配方、明确的行为说明、失败案例和验收改进。请先阅读主仓库的 工作约定,通过 Issues 讨论问题,或提交 Pull Request。贡献配方时保留材料来源和许可,并写清外部前提、推断与未验证项。

Software recipes for the agent you choose

Recipkg packages software requirements, interfaces, recursive dependencies, and acceptance criteria as Markdown-only recipes. A complete archive carries the full dependency material and integrity metadata. The format is independent of model providers and implementation languages.

The current CLI renders prompts and manages recipe packages and Agent Skills. Your chosen agent performs the implementation; observable acceptance checks establish what was actually rebuilt.

Read the English guide, explore the examples, or help improve the specification.

Popular repositories Loading

  1. recipkg recipkg Public

    Markdown-only software recipes. Standardized prompts, recursive dependencies, and agent skills. 把软件的配方交给 Agent。

    1

  2. .github .github Public

    Recipkg · 构方的组织主页。Software recipes for the agent you choose.

  3. add-dependency add-dependency Public

    为 Recipkg 配方声明并集成一个具体依赖,核对递归关系、接口、来源和固定版本。用于添加依赖、引入现有软件配方或接入 GitHub 配方仓库。

  4. build-software-package build-software-package Public

    Plan and implement reproducible software packages, distribution channels, container images, GitHub Releases, CI and test workflows, and a project-specific README. Ask for the desired scope in one c…

  5. discover-dependencies discover-dependencies Public

    分析软件配方的能力需求与已有依赖,发现缺失配方、接口冲突和外部运行前提。用于发现依赖、评估候选软件或检查递归重建材料是否完整。

  6. manage-git-repository manage-git-repository Public

    Organize and maintain Git projects, choose a clear source/package layout, control repository growth, and handle submodules safely. Inspect repository state before proposing or applying changes.

Repositories

Showing 10 of 47 repositories
  • recipkg Public

    Markdown-only software recipes. Standardized prompts, recursive dependencies, and agent skills. 把软件的配方交给 Agent。

    1 MIT 0 0 0 Updated Nov 1, 2026
  • cli-source Public

    Replaceable generated source for the Recipkg CLI, with pinned shared skill submodules.

    recipkg/cli-source's past year of commit activity
    Python 0 MIT 0 0 0 Updated Nov 1, 2026
  • jq-workspace Public

    jq recipe and independent reconstruction workspace

    recipkg/jq-workspace's past year of commit activity
    0 MIT 0 0 0 Updated Oct 29, 2026
  • jq-source Public

    Work-in-progress independent jq reconstruction from Recipkg recipes

    recipkg/jq-source's past year of commit activity
    Python 0 MIT 0 0 0 Updated Oct 29, 2026
  • jq Public

    Recipkg recipe draft for jq

    recipkg/jq's past year of commit activity
    0 0 0 0 Updated Oct 29, 2026
  • standard-library-verification Public

    Black-box verification samples for Recipkg standard library recipes

    recipkg/standard-library-verification's past year of commit activity
    Python 0 0 0 0 Updated Oct 29, 2026
  • ripgrep Public

    Recipkg recipe draft for ripgrep

    recipkg/ripgrep's past year of commit activity
    0 0 0 0 Updated Oct 29, 2026
  • maintain-recipkg-standard-library Public

    Skill for curating, validating, and publishing the Recipkg standard library

    recipkg/maintain-recipkg-standard-library's past year of commit activity
    0 0 0 0 Updated Oct 29, 2026
  • ffmpeg Public

    Draft Markdown recipe for FFmpeg, sourced from FFmpeg 9.0.2

    recipkg/ffmpeg's past year of commit activity
    0 0 0 0 Updated Oct 29, 2026
  • rewrite-software Public

    根据新需求先更新软件配方,再依据完整递归提示词重新实现软件并验证行为变化。用于重写某个软件、改变技术实现或从新的构建提示词重新生成项目。

    recipkg/rewrite-software's past year of commit activity
    0 0 0 0 Updated Oct 29, 2026

Top languages

Python

Most used topics

Loading…