@ibrahimalsharif/spec-lite
v1.0.0
Published
A small CLI that initializes a SPEC-Lite workflow in any project.
Maintainers
Readme
@ibrahimalsharif/spec-lite
@ibrahimalsharif/spec-lite is a small public npm CLI that adds a SPEC-Lite workflow to the current project.
It creates the following files when you run spec-lite init:
.github/copilot-instructions.md.github/agents/spec-lite.agent.md.github/agents/implement-from-spec.agent.md.github/prompts/create-spec-lite.prompt.md.github/prompts/review-implementation-against-spec.prompt.mddocs/specs/README.md
The command is safe:
- missing directories are created automatically
- missing files are created
- existing files are left untouched
- the CLI prints which files were created and which were skipped
Install
Global install:
npm install -g @ibrahimalsharif/spec-lite
spec-lite initRun without installing:
npx @ibrahimalsharif/spec-lite initShow help:
spec-lite helpLocal Testing
Run the CLI directly from this repo:
node bin/spec-lite.js help
node bin/spec-lite.js initTest the installed command name locally:
npm link
spec-lite help
spec-lite initPreview what would be published:
npm packPublishing To npm
- Update
package.jsonwith the version you want to release. - Log in to npm:
npm login- Publish the scoped package publicly:
npm publish --access publicFor later releases, bump the version first and publish again.
After Publishing
Users can run either of these:
npx @ibrahimalsharif/spec-lite initnpm install -g @ibrahimalsharif/spec-lite
spec-lite initWhat The Generated Files Do
.github/copilot-instructions.mdkeeps implementation minimal and constrained..github/agents/spec-lite.agent.mdturns rough ideas into problem-first specs..github/agents/implement-from-spec.agent.mdlimits implementation work to approved specs indocs/specs..github/prompts/create-spec-lite.prompt.mdhelps create a spec from a raw idea..github/prompts/review-implementation-against-spec.prompt.mdhelps review code against a spec.docs/specs/README.mdexplains where specs live and how to use them.
