Monorepo containing the official TypeScript Contracts, CLI (
nlb), Model Context Protocol (MCP) Server, and AgentSkill for Next Level Builders Directory.
nlb-directory-toolkits/
├── packages/
│ ├── contracts/ # @nextlevelbuilder/contracts: Zod schemas, 16 block types, 5 templates, SHA-256 hasher, wire APIs
│ ├── cli/ # @nextlevelbuilder/cli: `nlb` binary (validate, preview, submit, list, get, rankings, stats, doctor, vote, keys, upload, checkout)
│ └── mcp/ # @nextlevelbuilder/mcp: Model Context Protocol server (stdio & Cloudflare Workers, 15 tools)
├── skills/
│ └── nlb-submit/ # SKILL.md: Standard AgentSkill for Claude Code, Cursor, Codex, OpenCode, skills.sh
└── docs/ # Detailed guides for CLI, MCP, Contracts, and Architecture
# Validate schema and compute SHA-256 canonical hash:
npx @nextlevelbuilder/cli validate product.json
# Render terminal ASCII box preview:
npx @nextlevelbuilder/cli preview product.json
# Generate a starter template:
npx @nextlevelbuilder/cli template dev-tool --out product.json
# Submit revision to directory review queue (supports Polar checkout if slot needed):
npx @nextlevelbuilder/cli submit product.json --org <YOUR_ORG_UUID> --api-key <YOUR_API_KEY>
# View organic community rankings / leaderboard:
npx @nextlevelbuilder/cli rankings weekly
# Check live platform metrics and statistics:
npx @nextlevelbuilder/cli stats
# Export raw LLM-optimized Markdown for any product:
npx @nextlevelbuilder/cli get my-awesome-tool --markdown
# Check database and endpoint connectivity:
npx @nextlevelbuilder/cli doctor{
"mcpServers": {
"nlb-directory": {
"command": "npx",
"args": ["-y", "@nextlevelbuilder/mcp"]
}
}
}{
"mcpServers": {
"nlb-directory": {
"command": "npx",
"args": ["-y", "@nextlevelbuilder/mcp"],
"env": {
"NLB_API_KEY": "nlb_live_your_key_here"
}
}
}
}Every listing in Next Level Builders is composed of modular, strongly-typed blocks with id and props:
hero: Main showcase with headline, subheadline, CTA, and badge.carousel: Multi-slide image rotation with titles and image URLs.mediaGallery: Responsive multi-column screenshot and video gallery.quote: Testimonials, verified reviews, and author credentials.grid: Multi-column feature highlights and capability cards (1-3 cols).changelog: Version histories, release dates, and categorized change notes.roadmap: Planned, in-progress, and completed development milestones.pricing: Tiers with billing periods, feature lists, and popular badges.faq: Accordion Q&A items.techStack: Categorized technology and runtime badges.liveDemo: Embedded interactive sandbox (iframe,height,sandboxTokens).cta: High-conversion call-to-action banner.founder: Founder profiles, bios, and verified social links.verification: Metric and platform provenance proofs.milestones: Key historical achievements with metrics.caseStudy: In-depth customer story with problem, solution, and quantifiable results.
- Node.js >= 18.0.0
- pnpm >= 9.0.0
# Install dependencies
pnpm install
# Build all packages in topological order
pnpm build
# Run comprehensive test suite across all packages (Vitest)
pnpm test
# Typecheck with TypeScript strict mode
pnpm type-check- CLI Reference — Comprehensive command and flag documentation
- MCP Reference — Tool specifications and Cloudflare Workers deployment
- Contracts Reference — Zod schemas and layout templates
- System Architecture — Core/adapter boundary and cryptographic design
MIT © Next Level Builders