nlb-submit
Scan, structure, validate, and submit your project to the Next Level Builders Directory (https://nextlevelbuilder.io) with 17 rich blocks, cryptographic content hashing, Polar payment handling, and automated moderation queueing.
インストール方法を見る含まれるファイル(2)
- SKILL.md6.8 KB
- metadata.json471 B
SKILL.md(原文)
インストールする前に、エージェントに与えられる指示の中身を確認できます。
NLB Submit (nlb-submit)
Autonomous AgentSkill for scanning a codebase, structuring a rich ProductDocument with 17 block types, computing canonical SHA-256 hashes, and submitting the listing to the Next Level Builders Directory (https://nextlevelbuilder.io or https://staging.nextlevelbuilder.io).
Workflow
[1. Scan Repo] -> [2. Select Template] -> [3. Author product.json] -> [4. Validate & Hash] -> [5. Preview] -> [6. Submit & Activate]
1. Scan Repository
Analyze the current repository to extract metadata:
- Project Name & Slug: From
package.json(name),Cargo.toml,pyproject.toml, or folder name. - Tagline & Description: From
README.mdheader orpackage.jsondescription. - Tech Stack: Inspect dependencies, framework configs (
next.config,vite.config,drizzle.config), and runtime. - Repository URL: Git remote URL (
git remote get-url origin). - Website URL: From
package.jsonhomepageor production URL. - Visuals / Screenshots: Look for images in
docs/,public/, orscreenshots/.
2. Select a Layout Template
Choose one of the 5 pre-configured layout templates based on project type:
| Template | Slug | Best For | Included Blocks |
|---|---|---|---|
| Developer Framework & CLI | dev-tool | CLIs, terminal tools, developer packages | hero, techStack, grid, changelog, cta |
| AI Tool & Autonomous Agent | ai-agent | AI agents, LLMs, MCP servers | hero, mediaGallery, grid, milestones, cta |
| SaaS Launch | saas-launch | Commercial apps, web platforms, micro-SaaS | hero, mediaGallery, grid, techStack, faq, cta |
| Curated Community / Directory | community-curated | Communities, learning hubs, curated catalogs | hero, founder, grid, cta |
| Minimalist Showcase | minimalist | Single-fold portfolios, focused tools | hero, mediaGallery, cta |
Generate a starter template:
npx @nextlevelbuilder/cli template dev-tool --out product.json
3. Author product.json
Fill out the document using the 17 supported block schemas from @nextlevelbuilder/contracts (every block requires id and props):
hero— Headline, subheadline, primary CTA button, badge.carousel— Multi-slide showcase with titles and image URLs.mediaGallery— Multi-image gallery with aspect ratio and captions.quote— Testimonial quote, author, title, avatar URL.grid— Feature and capability cards (1-3 columns).changelog— Version history and release entries.roadmap— Planned, in-progress, and completed milestones.pricing— Tiers with feature lists, pricing, and CTA links.faq— Accordion-style Q&A items.techStack— Categorized technology badges and icons.liveDemo— Embedded sandbox (iframe,height,sandboxTokens).cta— Call-to-action banner with primary action.founder— Founder profile with bio, avatar, and social links.verification— Cryptographic or domain provenance verification.milestones— Timeline of key achievements.caseStudy— Customer story with problem, solution, and outcome metrics.analytics— Real traffic for the NLB-hosted product page. Props:title(1–100 characters; defaultTraffic),period(7d,30d,90d; default30d). Publishing this block opts into public aggregate totals and daily series; add it only when the owner wants to publish those stats. Do not invent counts or set a product ID. Insert it in the document and use the normal revision submission flow.
Owners can query detailed traffic with nlb traffic <slug> --json or MCP get_product_traffic. Both use existing API credentials. Optional from/to UTC ISO timestamps select an increasing range of at most 90 days ending no later than now; the default is the last 30 days. Visitor counts measure daily sessions: identifiers reset each UTC day, so a returning session on the next day counts again. Referrers, countries, and devices remain organization-authorized even when an Analytics block is published.
4. Validate & Compute Canonical Hash
Validate schema and compute deterministic SHA-256 hash:
# Via CLI:
npx @nextlevelbuilder/cli validate product.json
# Via MCP Tool:
validate_listing(document={ ... })
5. Preview Terminal Box Art
Render ASCII/Unicode box preview in stdout:
npx @nextlevelbuilder/cli preview product.json
6. Submit & Activate
Submit the revision into the moderation review queue. Note: Supply your organization UUID from https://nextlevelbuilder.io/studio:
# Via CLI:
npx @nextlevelbuilder/cli submit product.json --org <ORG_UUID> --api-key <YOUR_KEY>
# For staging environment:
npx @nextlevelbuilder/cli submit product.json --org <ORG_UUID> --api-key <YOUR_KEY> --url https://staging.nextlevelbuilder.io
# Simulate with dry-run:
npx @nextlevelbuilder/cli submit product.json --dry-run
Polar Payment Handling: If your organization does not yet possess an active directory publishing slot entitlement, the submission response returns a direct Polar checkout session URL:
⚠ Payment Required to Activate Directory Listing Slot
• Amount: $24.50 (Early Bird Slot)
• Checkout URL: https://polar.sh/checkout/...
• Complete checkout above to activate your listing in the review queue.
After completing payment via the Polar checkout URL, run npx @nextlevelbuilder/cli submit product.json --org <ORG_UUID> again to submit your revision into the moderation review queue.
Export AI-optimized Markdown for any published product:
npx @nextlevelbuilder/cli get <your-product-slug> --markdown
Security & Authenticity Invariants
- Deterministic hashing sorts all keys alphabetically and computes consistent canonical SHA-256 digests.
- Submissions are cryptographically anchored by
contentHash. - Organization ownership is strictly validated anti-IDOR via
orgId. - Never commit or log API keys. Use
NLB_API_KEYenvironment variable or--api-key.
レビュー
まだレビューはありません。使ってみた感想をお寄せください。