@rocketbro/weft
v0.1.3
Published
Weft CLI and LSP for machine-checkable specification files
Readme
@rocketbro/weft
Weft CLI and language server for machine-checkable .weft specification files.
Weft exists to solve spec drift: detailed markdown specs become inconsistent as systems evolve, and those mistakes are hard to catch early. @rocketbro/weft gives you a structured spec language plus real-time validation so references, rules, and architecture constraints stay coherent before implementation.
Install
npm install -g @rocketbro/weftThis installs:
weft(CLI)weft-lsp(Language Server Protocol server)
CLI Quick Start
weft --help
weft check .
weft stats .
weft deps .
weft contract . --format jsonCore Commands
weft check [path]validate.weftfilesweft stats [path]architecture/spec countsweft coverage [path]coverage gapsweft query [path] <query> [args]query rules/types/etc.weft deps [path]dependency graphweft contract [path] [--format text|json]implementation contractweft bootstrap [path] [--target <name>] [--format text|json]weft docs query <terms...>local docs searchweft agentsprint Weft's built-inAGENTS.mdguide
Editor Integration
- VS Code extension wrapper in
packages/vscode - Zed extension in
packages/zed - Both use
weft-lspunderneath
Example
See:
examples/workflow-annotations.weftexamples/wild-collab/*.weft
Source
- Repository:
https://github.com/rocketbro/weft
