with one click
add-challenge
Scaffold a challenge in this git repository
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Scaffold a challenge in this git repository
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | add-challenge |
| description | Scaffold a challenge in this git repository |
| argument-hint | <blog-name> <programming-language> <stack> |
For enums strictly follow documentation.
Scaffold a new challenge in this git repository. Steps are as follows
challenge-[id] where id is a short - separated name derived from challenge-name arguement.nurburgdev directory and a file .nurburgdev/README.md.nurburgdev/README.md add frontmatter with the following format---
title: "Your experiment title"
author: "Author Name"
authorLink: "https://github.com/your-handle"
authorTitle: "Software Engineer"
summary: "One-sentence description shown in listings"
publishedOn: 2024-06-01
tags: [redis, scalability]
intent: "challenge"
draft: true
challengeDetails:
id: 1234
difficulty: "medium"
points: 100
language: "go"
---
README.mdREADME.md according to the specification document docs/specification-for-experiments.mdintent should be challengechallengeDetails are required.id in challengeDetails in frontmatter - scan challenge-*/.nurburgdev/README.md for the max value in front matter. new id should be 1 more that.README.md content/bodyh1 or # heading. Use ## or ### or #### or ##### or #####README.md content/bodyFollow the guidelines provided in README_GUIDELINE_V1.md folder.
.nurburgdev/experiment.tomlRead docs/specification-for-experiments.md the section Format of an experiment to understand how to format this file. Consider <programming-language> and <stack> arguements to create this file.
.nurburgdev/experiment.toml should be from the from folder created in step 1 as base. Never from the git root as base..nurburgdev/experiment.toml should not start with ./. for example .nurburgdev/traffic.js is correct. ./.nurburgdev/traffic.js is not correct.ProcfileRead docs/specification-for-experiments.md the section Procfile to understand how to create Procfile.
Any project created should have 1 endpoint /healthcheck api
go.modgo.sumsrc/main.go with a /healthcheck api.gitignorepackge.json and package-lock.jsonsrc/index.ts - use express for http service.gitignorerequirements.txtsrc/index.py - use fastapi for http service.gitignorepom.xmlsrc folder with package dev.nurburg with an springboot 1 file http service. The class should be named main.nurburgdev/traffic.jsThis is a k6 load tests. Create a 10 second loadtest on /healthcheck api.
HOST env var will be provided. Use this env var for creating urls.HOST env var will be of the format http://host:port format. NOT host:post or http://host:port/. create the urls accordingly..nurburgdev/apitest.tavern.yamlThis is a tavern test file. create 1 test on /heatlhcheck which just expects status code 200
HOST env var will be provided. Use this env var for creating urls.HOST env var will be of the format http://host:port format. NOT host:post or http://host:port/. create the urls accordingly.Change directory to the challenge directory and run nd devcontainer --features=<comma-separated-features>. Replace <comma-separated-features> with a list of features inferred from arguements. allowed list of features are 1. postgresql 2. mysql 3. kafka 4. typescript 5. go 6. java 7. python 8. temporal