Package Exports
- @nexus-framework/cli
- @nexus-framework/cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nexus-framework/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
๐ฎ NEXUS CLI
AI-Native Project Scaffolding
The open-source CLI by GDA Africa that generates production-ready, AI-optimized project structures โ so you ship faster and smarter.
Where documentation drives development and AI agents are first-class citizens.
๐ About GDA Africa
GDA (Glenhalton Digital Agency) is building the digital infrastructure for Africa's next generation of products and services. NEXUS CLI is GDA's open-source developer tool โ a scaffolding engine that generates intelligent project structures where AI and humans collaborate from day one.
๐ฏ Why NEXUS?
Every new project starts with the same ritual: hours of boilerplate, fragmented configs, and zero documentation. NEXUS eliminates all of that.
| Problem | NEXUS Solution |
|---|---|
| ๐ Hours of setup and config guesswork to start a project | 2-minute interactive setup with strategy-first questions and smart defaults |
| ๐ค AI tools (Cursor, Copilot) have no project-wide context | 8 structured doc files AI agents can parse, execute, and auto-populate |
| ๐งช Tests and docs are always afterthoughts | Generated from day one โ test infrastructure, CI/CD, and documentation included |
| ๐ No conventions exist for AI-native development | The first framework built for the AI era โ bridging requirements and code generation |
โจ Features
Core Capabilities
|
Production Ready
|
๐ Quick Start
Install
npm install -g @nexus-framework/cliCreate a Project
nexus init my-appYou'll be guided through an interactive setup:
๐ฎ NEXUS CLI v0.1.2 โ AI-Native Project Scaffolding
? What are you building? โบ Web Application
? How will your app handle data? โบ Cloud First
? Which application patterns? โบ PWA, Theming
? Which frontend framework? โบ Next.js 15 (App Router)
? Testing framework? โบ Vitest
? Package manager? โบ npm
? Initialize a git repository? โบ Yes
? Install dependencies now? โบ Yes
โ Project created successfully!
cd my-app
npm run devRun It
cd my-app
npm run dev
# โ Your app is running at http://localhost:3000๐ฆ What You Get
Every generated project includes:
| Output | What's Inside |
|---|---|
src/ |
Framework-specific source code and landing page |
.nexus/docs/ |
8 AI-optimized documentation files (vision, architecture, API contracts, test strategy, etc.) |
.nexus/ai/ |
AI agent instructions โ Copilot, Cursor, Windsurf, Cline all auto-detect these |
tests/ |
Vitest config, example tests, and test helpers |
package.json |
Real dependencies, real scripts โ npm run dev works immediately |
| CI/CD | GitHub Actions workflow for lint, test, and build |
| Config | TypeScript, ESLint, Prettier, EditorConfig โ all pre-configured |
๐๏ธ Adopt an Existing Project
Already have a project? Add the NEXUS documentation system and AI config without touching your source code.
cd my-existing-app
nexus adoptThis adds .nexus/docs/, .nexus/ai/, and AI tool config files. It does not modify your source code, configs, or dependencies.
After adopting, your AI coding tool will auto-detect the NEXUS docs, scan your codebase to populate them, and ask you about anything it can't infer โ giving the AI full project context from that point forward.
๐ Supported Frameworks
| Framework | Version | Notes |
|---|---|---|
| Next.js | 15 (App Router) | React Server Components, Turbopack |
| React + Vite | React 19 + Vite 6 | SWC, fast HMR |
| SvelteKit | 2.x | Svelte 5, file-based routing |
| Nuxt | 3.x | Vue 3, auto-imports |
| Astro | 5.x | Content-first, island architecture |
๐บ๏ธ Roadmap
- Core CLI with
nexus initandnexus adopt - Interactive prompt system (project type, data strategy, patterns, frameworks)
- Generator engine (structure, docs, config, tests, CI/CD, landing page, AI config)
- AI-native documentation system (8 structured files + onboarding protocol)
- 5 frontend frameworks supported
- 105 unit tests passing
- Published to npm as
@nexus-framework/cli - End-to-end testing of full
nexus initflow - Strategy pattern generators (PWA service workers, i18n setup, theming engine)
-
nexus add <feature>โ add capabilities to existing projects -
nexus validateโ check projects against NEXUS standards - Community templates and plugin system
๐ค Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
git clone https://github.com/GDA-Africa/nexus-cli.git
cd nexus-cli && yarn install
yarn lint && yarn testBuilt with โค๏ธ by GDA Africa โ Powering Africa's Digital Future
NEXUS CLI is the open-source foundation of the NEXUS framework. For questions, ideas, or collaboration, reach out to the GDA engineering team.