Coding challenge generator
Skill frankxai/starlight-agent-skills/skills/education/coding-challenge-generator
Portable Starlight substrate skills for agent runtimes, SIS, ACOS, and cross-agent workflow activation.
npx -y skills add frankxai/starlight-agent-skills --skill coding-challenge-generatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Generate a graded set of coding challenges around a topic — progressive difficulty, each with statement, constraints, hidden tests, and solution. Use when building a problem set, a challenge ladder, interview prep, or a curriculum of exercises.
SKILL.md
2.7 KB, as published. Nobody here has run it
Coding Challenge Generator
A topic + difficulty range → a graded ladder of auto-checkable challenges.
Purpose
Single exercises are easy; a coherent ladder that builds a skill is hard. This
skill emits a set of challenges of rising difficulty around one topic, each fully
specified and testable — ready to drop into a course, a bootcamp, or interview
prep. (For a single richly-scaffolded space-themed lab, use
../../coding/cosmic-code-lab.)
When it fires
- Keyword triggers:
coding challenges,problem set,exercises,challenge ladder,interview prep - File triggers:
challenges/**,problems/** - Command triggers:
/coding-challenge-generator
Inputs
| Input | Required | Notes |
|---|---|---|
topic | yes | Skill/concept the set trains (e.g. "recursion"). |
language | no | python (default) or javascript. |
count | no | Number of challenges, default 5. |
range | no | Difficulty span, default intro→advanced. |
Workflow
- Decompose the topic into a rising sequence of sub-skills. ✅ Check: each step depends on the prior.
- Per challenge: statement, constraints, input/output spec, hidden tests (happy + edge + error), and a reference solution that passes them.
- Grade the ladder — assign a difficulty label; verify monotonic increase.
- Self-verify — each solution passes its tests; each empty starter fails.
Output contract
{
"topic": "string",
"challenges": [{
"title": "string",
"difficulty": "intro | easy | medium | hard | advanced",
"statement": "string",
"starter_code": "string",
"tests": "string",
"solution": "string"
}]
}
Tools & MCP
- Tools:
Write,Bash(run tests). MCP: none required.
Quality bar
- Difficulty increases monotonically and is justified.
- Each solution passes its tests; each starter fails them.
- Statements are implementable from text alone.
Example
Input: topic "recursion", count 5 → five Python challenges from factorial to a tree traversal, each with hidden tests and a passing solution.
Built on SIP — Starlight Intelligence Protocol Substrate: starlightintelligence.org/protocol v1.1.0 Layers used: [file-contract, attestation, sovereignty] Vertical: starlight-agent-skills · portable capability layer