beckn-v21-schema

Generate Beckn Protocol v2.1 schema packs from domain descriptions.

2|3|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/beckn/schemas --skill beckn-v21-schema
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: beckn-v21-schema
Source: https://github.com/beckn/schemas/tree/main/tools/beckn-v21-schema
Command: npx skills add https://github.com/beckn/schemas --skill beckn-v21-schema

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill generates production-ready Beckn Protocol v2.1 generalised schema packs for any use case or vertical, in two modes: Greenfield — create new schemas targeting the generalised Resource/Offer/Contract model from domain descriptions; and Migration — upgrade existing v2 schemas to v2.1 with a structural fit review.

Core Features & Use Cases

  • Greenfield mode creates new domain-neutral Resource/Offer/Contract schemas from user-provided use cases, domain documents, and business flows.
  • Migration mode upgrades existing v2 schemas to v2.1, applying canonical renames, updated context imports, and a paradigm-fit review.
  • It automatically fetches mandatory core references, validates alignment, and runs a post-generation tester to ensure conformance.

Quick Start

Provide a domain-use-case description or upload v2 schema folders to start generation.

Frequently Asked Questions about beckn-v21-schema

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate existing Beckn v2 schemas to v2.1?

To migrate Beckn v2 schemas to v2.1, provide your existing schema folders to generate upgraded v2.1 packs. The process applies canonical renames, updates context imports, and performs a structural paradigm-fit review to ensure conformance.

What is a Beckn v2.1 generalized schema pack?

A Beckn v2.1 generalized schema pack is a set of production-ready schemas structured around a domain-neutral Resource, Offer, and Contract model. It organizes output into folders containing seven files per top-level schema.

How do I generate greenfield Beckn v2.1 schemas from a domain description?

To generate greenfield Beckn v2.1 schemas, input your use-case description, domain documents, or business flows. The system creates new domain-neutral Resource, Offer, and Contract schemas and runs a post-generation validation tester.

Do I need to upload core v2.1 references to generate schemas?

You do not need to manually upload core v2.1 references if they are accessible, as the generation process automatically fetches mandatory core references. Alternatively, you can upload your own v2.1 reference materials to initiate the process.

Does the schema generation process include validation testing?

Yes, the schema generation process includes a built-in validation tester that runs post-generation. This tester fetches mandatory core references, validates alignment, and ensures the newly generated v2.1 schema packs achieve full conformance.