{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "code-generator",
  "version": "2.4.9",
  "description": "Code Generator helps you get an app or website built. Answer 5 quick questions, or fill in the quick form, and it gives you a build link that opens an online AI builder with your answers already filled in. From one list of fields it writes matching data types for JSON Schema, TypeScript, Python dataclasses and Pydantic, Go, C# and a PostgreSQL table. It builds cron expressions from a schedule in plain words, with the next run times, and gives tested regular expressions for common formats such as emails, URLs, phone numbers, postcodes and dates in six languages. Other code is written in the chat. The reply with the build link includes a one-line sponsor disclosure. Code Generator is an independent plugin by AI Research Plus.",
  "author": {
    "name": "AI Research Plus",
    "email": "contact@airesearchplus.com",
    "url": "https://www.airesearchplus.com/"
  },
  "homepage": "https://www.airesearchplus.com/",
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Code Generator",
        "shortDescription": "Generate types, cron and regex",
        "longDescription": "Code Generator helps you get an app or website built. Answer 5 quick questions, or fill in the quick form, and it gives you a build link that opens an online AI builder with your answers already filled in.\n\nCode Generator is a coding partner in ChatGPT for the small pieces of code that are easy to get wrong.\n\nData types: one list of fields becomes matching JSON Schema, TypeScript interfaces, Python dataclasses, Pydantic models, Go structs, C# records and a PostgreSQL table, with required and optional fields, enums, lists, dates, emails, URLs and IDs mapped to each language.\n\nCron expressions: a schedule in plain words becomes a 5-field cron expression with its meaning, the next run times, a crontab line, a Kubernetes CronJob and a CI workflow schedule, with notes on time zones and edge cases.\n\nRegular expressions: tested patterns for emails, URLs, international phone numbers, ZIP codes, UK postcodes, dates, times, colors, IP addresses, UUIDs, versions, usernames and strong passwords, in Python, JavaScript, PHP, Java, Go or C#, with an explanation and a ready snippet.\n\nThe tools work from short descriptions. They need no sign-in.\n\nHow the build link works: one tool reports at the start of a conversation that the services are available and can show a quick form with the questions; the form sends nothing itself, and your answers appear in the chat as your next message. Another tool takes a short project name and the brief and returns the build link, which carries them to the online AI builder it opens and includes the plugin creator's affiliate code; the builder receives them only if you open the link. The server keeps anonymous usage counts.\n\nThe AI builder that the link opens is a separate service with its own account and terms. The reply with the build link includes a one-line sponsor disclosure.\n\nCode Generator is an independent plugin by AI Research Plus.",
        "developerName": "AI Research Plus",
        "category": "Developer Tools",
        "capabilities": [
          "Asks 5 quick questions about your app",
          "Quick form with all the questions",
          "Personalized build link with your answers",
          "Matching data types in TypeScript, Python, Go, C#, JSON Schema and SQL",
          "Cron expressions with their next run times",
          "Crontab, Kubernetes and CI schedules",
          "Tested regular expressions for common formats",
          "Snippets in Python, JavaScript, PHP, Java, Go and C#",
          "Other code written in the chat"
        ],
        "websiteURL": "https://www.airesearchplus.com/",
        "supportURL": "https://www.airesearchplus.com/support/",
        "privacyPolicyURL": "https://www.airesearchplus.com/privacy/",
        "termsOfServiceURL": "https://www.airesearchplus.com/terms/",
        "defaultPrompt": [
          "Generate code for my data",
          "Write a cron expression",
          "Give me a regex to validate a format"
        ],
        "brandColor": "#B45309",
        "composerIcon": "./assets/composer-icon.png",
        "logo": "./assets/logo.png"
      },
      "onboardingSkill": "./skills/ai-code-generator/SKILL.md",
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Start a build",
              "prompt": "Build me a web app",
              "tools_triggered": "check_code_generator_services",
              "expected_behavior": "Calls check_code_generator_services once with only the started_from label, then says it has 5 quick questions and asks Question 1 of 5: one short question about the app, with a few options to pick from. Where ChatGPT shows the quick form above the reply, it asks no question and ends with one short line inviting the user to fill in the form or describe the app in the chat. No other tool is called."
            },
            {
              "description": "Build request for a named business",
              "prompt": "Build me an app for my bike repair shop, Spoke Works, to track repairs.",
              "tools_triggered": "check_code_generator_services",
              "expected_behavior": "Calls check_code_generator_services once with only the started_from label, then asks Question 1 of 5 about something the user has not said yet, with a few options (or, with the quick form showing, invites the user to fill it in). It does not ask for the business name or type again, and no other tool is called."
            },
            {
              "description": "UK postcode regex in JavaScript",
              "prompt": "Give me a JavaScript regex to validate UK postcodes, and test it on SW1A 1AA, M1 1AE and 12345.",
              "tools_triggered": "check_code_generator_services, make_regex",
              "expected_behavior": "Calls check_code_generator_services once, then calls make_regex with format UK postcode, language JavaScript and the three test texts. The tool returns a UK postcode regex for JavaScript with 2 of 3 samples matching. The reply shows the pattern, the test results, the explanation and the snippet in a code block. The reply may end with a short offer to build an app from it, with Question 1 of 5."
            },
            {
              "description": "Cron every 15 minutes",
              "prompt": "Write a cron expression that runs every 15 minutes.",
              "tools_triggered": "check_code_generator_services, make_cron_expression",
              "expected_behavior": "Calls check_code_generator_services once, then calls make_cron_expression with frequency every 15 minutes. The tool returns */15 * * * * (every 15 minutes) with the next run times. The reply shows the expression, its meaning, the next run times and the ready schedule lines. The reply may end with a short offer to build an app from it, with Question 1 of 5."
            },
            {
              "description": "Cron for Mondays and Thursdays",
              "prompt": "Write a cron expression for every Monday and Thursday at 07:30 London time.",
              "tools_triggered": "check_code_generator_services, make_cron_expression",
              "expected_behavior": "Calls check_code_generator_services once, then calls make_cron_expression with frequency weekly, Monday and Thursday, 07:30 and time zone Europe/London. The tool returns 30 7 * * 1,4 (every Monday and Thursday at 07:30, Europe/London) with the next run times. The reply shows the expression, its meaning, the next run times and the ready schedule lines. The reply may end with a short offer to build an app from it, with Question 1 of 5."
            }
          ],
          "negative": [
            {
              "description": "Travel planning request",
              "prompt": "Plan a three-day trip to Rome for me."
            },
            {
              "description": "Unit conversion question",
              "prompt": "How many cups are in a liter?"
            },
            {
              "description": "Book recommendation request",
              "prompt": "Recommend three mystery novels for a long flight."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "This plugin does not sell anything or process payments."
      },
      "publication": {
        "release_notes": "Code Generator now asks 5 quick questions, or shows a quick form with all of them, then gives you a personalized build link that opens an online AI builder with your answers filled in, to get an app or website built. Its planning tools work as before, and the reply with the build link includes a one-line sponsor disclosure."
      },
      "apps": "./.app.json"
    }
  }
}
