@fiberplane/spectacular-cli
v0.0.13
Published
An interactive CLI to iterate on project specifications with AI
Keywords
Readme
spectacular-cli
A CLI that helps you generate spectacular specs.
Usage
npx @fiberplane/spectacular-cli@latestDevelopment
Important Files for LLM Calls
src/commands- Code for the different cli commands (e.g.init,create-schema,apikey:list, etc.)src/actions- Code that implements CLI logicsrc/actions/ideate.ts- Logic for the back-and-forth between user and assistant before generating the spec
src/integrations/- Code for integrations with LLM callssrc/integrations/ideation-agent- LLM calls for the spec generationsrc/integrations/schema-agent- LLM calls for the Drizzle database schema generation
Evals
We're using Evalite to evaluate the CLI.
evals/- Directory with eval codeevals/scorers/asked-one-question/- Code that implements an LLM-as-a-judge scorer to verify that messages from the assistant go one-by-one when interacting with the end user.
Local Development
To test individual commands, you can run them directly with the dev scripts:
npm run devnpm run dev:create-schemanpm run dev:create-apinpm run dev:apikey:addnpm run dev:apikey:listnpm run dev:apikey:remove
