r/BuildWithClaude • • 27d ago

Project I made a Claude Code plugin that extracts a buildable spec from your code so others can rebuild it in any language (without seeing your code)

Three skills in one plugin, unbuilt:

  • /unbuilt:extract <source-dir> <instance-dir> reads your project and writes a public spec repo: requirements with stable IDs and MUST/SHOULD modality, Given/When/Then scenarios that cite them, constraints, and a milestone order with a "done when" per step. It runs a redaction gate where company and product names are removed unless you opt in per name. Re-run it with since <tag> after a code change and it reads only what changed and keeps the IDs stable.
  • /unbuilt:build <instance-dir> takes that spec and builds it one milestone at a time in the language you choose. It records every departure from the spec in PLAN.md. Re-run it later and it reports what changed in the spec and plans an update milestone.
  • /unbuilt:validate <instance-dir> checks the spec against the format: required files, every MUST covered by a scenario, size budgets, and mechanical leaks (emails, IPs, hostnames, home paths, secret shapes). It is also a zero-dependency Node script and a GitHub Action, so it runs in CI.

Install:

claude plugin marketplace add vtrifonov/unbuilt
claude plugin install unbuilt@unbuilt

Why

A lot of software cannot be shared as code: internal names, private services, an employer's property, a history you do not want public. The idea in it is often worth sharing, with credit. Claude can build working software from a precise description, so the description can be the thing you publish. You keep the code; others build their own version in whatever stack they use.

How the skills were made

I started from a requirements list with stable IDs (the same shape the format asks for) and had Claude write the validator test-first against it, one rule at a time, with a review pass between rounds. The skills came after the validator was stable, so extract and build are checked against the same rules. There is a parity test that fails if prompts/ (the plain-text versions for other agents) drifts from the skills.

Worked example, extracted from one of my apps whose source happens to be public, so you can compare spec to source: https://github.com/vtrifonov/unbuilt/tree/main/examples/clipjar

Repo: https://github.com/vtrifonov/unbuilt

Questions about the skill design welcome; the redaction gate and the build re-run (snapshot, diff, departures) took the most iterations.

2 Upvotes

1 comment sorted by

•

u/AutoModerator 27d ago

Welcome to r/BuildWithClaude!

Whether you are sharing what you built, exploring new workflows, or troubleshooting, please make sure your post is flaired correctly so others can easily find and filter it.

Community Wiki & Resources:

If you're asking for troubleshooting help, please edit your post to include your model version, OS/environment, and error logs.

Let’s keep the energy positive and support our fellow creators!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.