TMF Test Data & Reference Implementation Generator Skill

Generate TM Forum reference implementations and JSON test data from OpenAPI specifications.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/contextware/skills --skill tmf-test-data-reference-implementation-generator-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TMF Test Data & Reference Implementation Generator Skill
Source: https://github.com/contextware/skills/tree/main/skills/tmf-testdata-generator
Command: npx skills add https://github.com/contextware/skills --skill tmf-test-data-reference-implementation-generator-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of TM Forum OpenAPI Reference Implementations (RI) and generates comprehensive, business-focused test data and scenarios from OpenAPI specifications and PDF documentation, significantly reducing manual setup time.

Core Features & Use Cases

  • Reference Implementation Generation: Builds a working Node.js/Express/MongoDB REST API from OpenAPI specs.
  • Test Data Generation: Creates valid JSON seed files and business-focused test scenarios.
  • Validation & Loading: Verifies data against spec constraints and loads it into MongoDB.
  • Use Case: When you receive a new TM Forum OpenAPI spec (e.g., TMF621, TMF628, TMF724), use this Skill to quickly set up a local development environment with realistic test data for immediate testing and integration.

Quick Start

Generate core RI structure and test data for a TMF621 specification.

Frequently Asked Questions about TMF Test Data & Reference Implementation Generator Skill

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

FAQPage Schema
How do I generate a TM Forum Reference Implementation from an OpenAPI specification?

To generate a TM Forum Reference Implementation from an OpenAPI specification, automate the creation of a Node.js/Express/MongoDB REST API. This process parses the OpenAPI spec to build a working API structure, significantly reducing manual setup time.

Can I automatically generate business-focused test data for TMF OpenAPIs?

Yes, you can automatically generate business-focused test data for TMF OpenAPIs. The generation process creates valid JSON seed files and test scenarios directly from OpenAPI specifications and PDF documentation.

How do I validate and load generated JSON seed files into MongoDB for TMF testing?

To validate and load generated JSON seed files into MongoDB for TMF testing, use Docker. The process verifies data against OpenAPI spec constraints and loads the valid seed files into the MongoDB database environment.

What is the best way to set up a local development environment for TMF622 or TMF628 specs?

The best way to set up a local development environment for TMF622 or TMF628 specs is to generate a Node.js/Express/MongoDB REST API. This provides a working Reference Implementation populated with realistic test data for immediate integration.

Does the TMF test data generator work with Docker and Node.js?

Yes, the TMF test data generator works with Docker and Node.js. It builds the Reference Implementation using Node.js/Express and utilizes Docker specifically for validating constraints and loading the generated JSON seed files into MongoDB.

What are the limitations when parsing OpenAPI specs for TMF Reference Implementations?

When parsing OpenAPI specs for TMF Reference Implementations, limitations may arise if the PDF documentation or OpenAPI definitions lack sufficient detail for generating complex business-focused test scenarios. Data validation strictly depends on the constraints defined within the provided spec.