SpecLeap Framework
SpecLeap is a Spec-Driven Development (SDD) framework designed to transform AI-powered IDEs (like VSCode, Cursor, JetBrains) into 'spec-first' development environments. Currently at version 2.1.1, it focuses on delivering quality software by enforcing immutable 'CONTRATO.md' specifications, leveraging specialized AI agents (Backend, Frontend, Product), and utilizing conversational commands (e.g., `refinar`, `planificar`, `implementar`) in Spanish. Key differentiators include its multi-project support, enforcement of global code standards (Laravel, React), and an optional CLI for automation. It aims to solve common AI development problems like contextless code generation, incomplete specifications, lack of memory, and uncontrolled scope changes by providing a structured, persistent, and guided development flow. The framework's release cadence is not specified in the provided documentation.
Common errors
-
Error: Node.js version is too old. Expected >=18.0.0 but got vX.Y.Z
cause The system's current Node.js version does not meet SpecLeap's minimum requirement.fixUpdate your Node.js to version 18 or higher. You can use `nvm install 18 && nvm use 18` or download the latest LTS from nodejs.org. -
GitHub token invalid or insufficient permissions. Please check your token scopes.
cause The provided GitHub Personal Access Token is either incorrect, expired, or lacks the required `repo` and `workflow` permissions for SpecLeap's operations.fixGenerate a new GitHub Personal Access Token at https://github.com/settings/tokens (classic token), ensuring both `repo` and `workflow` scopes are enabled. -
Asana token invalid or workspace not accessible.
cause The Asana Personal Access Token provided during setup is incorrect, revoked, or does not grant access to any associated Asana workspace.fixVerify your Asana token at https://app.asana.com/0/my-apps and ensure it is active and correctly copied. Also confirm that your Asana account has access to the intended workspace.
Warnings
- breaking SpecLeap requires Node.js version 18.0.0 or higher. Attempting to install or run the framework with older Node.js versions will result in errors or prevent proper operation.
- gotcha The installation is an interactive process that requires generating and providing multiple API tokens (GitHub, Asana) with specific permissions. Failure to provide correct tokens or adequate scopes will halt the setup.
- gotcha The initial setup of SpecLeap is comprehensive, involving the installation of 34 Agent Skills and configuring various services. This process is time-consuming, typically taking 10-15 minutes, and requires a stable internet connection for downloads and configurations.
Install
-
npm install specleap-framework -
yarn add specleap-framework -
pnpm add specleap-framework
Imports
- SpecLeap CLI
import { algunaFuncion } from 'specleap-framework'npx specleap-framework@latest
Quickstart
npx specleap-framework@latest