Repository Specs (beta)

MemHub

Repository Specs gives your team and coding agents a shared description of how your system should work. Each spec covers a part of the codebase, so requirements stay connected to the files they describe. Bring existing specs or have MemHub draft a first set from your code.

  • Work from specs. Use /memhub:spec in your coding agent to find requirements, implement changes, check for drift, or create and revise specs. Dedicated spec-work, spec-check, and spec-maintain skills handle each workflow.
  • Catch missed spec updates before sharing code. Enable the drift-prevention rule to remind your agent before a push or PR when covered code changed but its spec did not. This is an advisory reminder through the MemHub plugin.
  • Check pull requests and audit over time. PR checks compare changes with the relevant specs. Scheduled audits report mismatches and can open a PR with proposed spec corrections for your team to review.

Configure reminders, PR checks, and audits in your repository settings.

Beta: Available by organization. Contact us to enable it for your team.