Agent skill

Code Kata Generator

by revfactory in revfactory/harness-100

A specialized skill for systematically designing coding practice exercises (Code Kata).

Apache-2.0Auto-check passedTesting & QA

Install Code Kata Generator

skills CLI
$ npx skills add revfactory/harness-100 --skill code-kata-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install revfactory/harness-100 code-kata-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/59-coding-bootcamp/.claude/skills/code-kata-generator .claude/skills/code-kata-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-kata-generator
GitHub stars
1.3k
Token cost
~1.1k tokens
SKILL.md length
311 words
Files
1
Skills in repo
464
Repo updated
First seen
Licence
Apache-2.0

At a glance

A specialized skill for systematically designing coding practice exercises (Code Kata).

  • Tasks that involve Test generation
  • SKILL.md covers Target Agent, Exercise Difficulty System, Exercise Template and Concept-to-Exercise Map, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Kata Generator is an agent skill from revfactory/harness-100. A specialized skill for systematically designing coding practice exercises (Code Kata). Used by the exercise-creator agent to create difficulty-tiered, concept-specific coding exercises with test cases and model solutions. Automatically applied in contexts such as 'coding exercises', 'algorithm problems', 'practice problems', 'kata', 'coding tests', 'programming practice'. However, online judge system integration (LeetCode, HackerRank) and automated grading infrastructure are outside the scope of this skill.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test generation. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Test generation

Example prompts

  • “coding exercises”
  • “algorithm problems”
  • “practice problems”
  • “/code-kata-generator”

What it can do on your machine

Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Kata Generator loads about 1.1k tokens when it runs. Until then it costs about 133 tokens; SKILL.md has 311 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~133
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 311 words, ~1,114 tokens.

Download SKILL.mdSave it as .claude/skills/code-kata-generator/SKILL.md (or your agent's skills folder).
name
code-kata-generator
description
A specialized skill for systematically designing coding practice exercises (Code Kata). Used by the exercise-creator agent to create difficulty-tiered, concept-specific coding exercises with test cases and model solutions. Automatically applied in contexts such as 'coding exercises', 'algorithm problems', 'practice problems', 'kata', 'coding tests', 'programming practice'. However, online judge system integration (LeetCode, HackerRank) and automated grading infrastructure are outside the scope of this skill.

Code Kata Generator — Coding Exercise Design Tool

A specialized skill that enhances the exercise-creator agent's exercise creation capabilities.

Target Agent

  • exercise-creator — Difficulty-tiered exercises, test cases, model solutions

Exercise Difficulty System

5-Tier Difficulty Classification
TierNameConceptsEst. Solving TimeTarget Phase
T1Warm-upVariables, conditionals, loops, functions5-15 minWeek 1-2
T2FoundationArrays, strings, basic data structures15-30 minWeek 3-6
T3IntermediateHash maps, stacks/queues, recursion, sorting30-60 minWeek 7-12
T4AdvancedTrees, graphs, DP, binary search45-90 minWeek 13-20
T5ChallengeComposite algorithms, system design60-120 minWeek 20+

Exercise Template

markdown
## [T{N}] {Exercise Name}

### Problem Description
{Clear problem statement}

### Input
- {Input format and constraints}

### Output
- {Output format}

### Examples
| Input | Output | Explanation |
|-------|--------|-------------|
| {Example 1 input} | {Example 1 output} | {Walkthrough} |
| {Example 2 input} | {Example 2 output} | |

### Constraints
- {Time/space complexity requirements}
- {Input size range}

### Hints (optional)
<details>
<summary>Show hint</summary>
{Directional hint}
</details>

### Test Cases
{Basic + edge + large-input cases}

### Model Solution
{Including time complexity and space complexity analysis}

### Learning Points
- {Concept learned from this problem}
- {Real-world application}

Concept-to-Exercise Map

Data Structures
ConceptRequired Exercise TypesTier
ArraysTwo Pointers, Sliding WindowT2-T3
Linked ListsReversal, merging, cycle detectionT2-T3
StacksBracket matching, histogramT2-T3
QueuesBFS, circular queue, priority queueT3
Hash MapsFrequency counting, Two Sum, groupingT2-T3
TreesTraversal, LCA, balance checkingT3-T4
GraphsDFS/BFS, shortest path, topological sortT4-T5
Algorithms
ConceptRequired Exercise TypesTier
SortingSort implementation, custom sortingT2-T3
Binary SearchRange search, Parametric SearchT3-T4
RecursionFibonacci, permutations/combinations, divide & conquerT3
DPKnapsack, LIS, grid pathsT4-T5
GreedyActivity selection, interval schedulingT3-T4
BacktrackingN-Queens, Sudoku, combinationsT4

Test Case Design Principles

Required Case Types
TypePurposeExample
BasicVerify normal operationSame as problem examples
Minimum inputLower boundary valueEmpty array, length 1
Maximum inputPerformance verificationn = 10^5
EdgeSpecial situationsAll same values, negatives, 0
Reverse/sortedSorting-relatedAlready sorted, reverse sorted
DuplicatesDuplicate handlingMany duplicate elements
Case Count Guide
TierPublic CasesHidden CasesPerformance Cases
T1330
T2351
T3372
T4383
T53105

Exercise Sequencing Principles

Scaffolding

Arrange exercises on the same topic progressively:

[T2] Find a specific value in an array (linear search)
  |
[T3] Find a value in a sorted array (binary search)
  |
[T3] Find a value in a rotated sorted array
  |
[T4] Find a value in a 2D sorted matrix
  |
[T4] Parametric Search (find optimal value satisfying a condition)
Interleaving

Mix new concepts with previous ones:

  • During hash map week -> include 1 array review exercise
  • During tree week -> include 1 recursion review exercise

© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in en/59-coding-bootcamp/.claude/skills/code-kata-generator of revfactory/harness-100.

Open the folder on GitHubat commit 8e8d35c

Compare with similar skills

Code Kata Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Kata Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Kata Generator this skillrevfactory/harness-1001.3k—~1.1kAutomated safety check: PassApache-2.0
Emcaklofas/kicad-happy1.3k1 repos~2.8kAutomated safety check: PassMIT
Swig Testswig/swig6.3k—~2.3kAutomated safety check: PassCustom licence
Generate Test Cases342164796/generate-test-cases1191 repos~2.9kAutomated safety check: PassNone
Verify Cc Safety Netkenryu42/cc-safety-net1.6k—~2kAutomated safety check: PassMIT
Wioworkersio/skills180—~5.8kAutomated safety check: PassMIT

Similar skills

  • Emc

    aklofas/kicad-happy

    EMC pre-compliance risk analysis for KiCad PCB designs — 18 check categories, 44 rule IDs covering ground planes, decoupling, I/O filtering, switching harmonics, clock routing, differential pair…

    1.3k GitHub starsUsed in 1 repo~2.8k tokens
    Testing & QAAuto-check passed
  • Swig Test

    swig/swig

    Run SWIG test suite for specific languages. An agent skill from swig/swig.

    6.3k GitHub stars~2.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Generate Test Cases

    342164796/generate-test-cases

    自主学习型测试文档生成器。从需求文档(Markdown)生成测试用例 XMind 文件,支持持久化记忆和持续学习。当用户提到"生成测试用例"、"根据需求生成测试"时触发。

    119 GitHub starsUsed in 1 repo~2.9k tokens
    Testing & QAAuto-check passed
  • Verify Cc Safety Net

    kenryu42/cc-safety-net

    Launch and drive the real cc-safety-net CLI — the hook decision path, explain, status/doctor, logs, and the local policy GUI — against an isolated home, capturing evidence.

    1.6k GitHub stars~2k tokensUpdated today
    Testing & QAAuto-check passed
  • Wio

    workersio/skills

    Testing workflow skill for finding high-value test candidates, writing focused tests, generating realistic workloads, reviewing test value, and diagnosing test-suite health.

    180 GitHub stars~5.8k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • File Server

    microsoft/WindowsProtocolTestSuites

    Official

    ALWAYS LOAD THIS SKILL when working with FileServer, SMB, SMB2, SMB3, CIFS, file sharing, MS-SMB2, MS-FSCC, MS-FSA, MS-DFSC, MS-FSRVP, MS-RSVD, MS-SQOS, or any file server protocol test…

    567 GitHub stars~4.1k tokensUpdated 22 days ago
    Testing & QAAuto-check passed

More from revfactory/harness-100

All 464 skills in this repo
  • Anti Bot Analyzer

    revfactory/harness-100

    A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.

    1.3k GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • API Error Design Patterns

    revfactory/harness-100

    Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed
  • API Security Checklist

    revfactory/harness-100

    Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.

    1.3k GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Arg Parser Generator

    revfactory/harness-100

    Methodology for systematically designing and generating CLI tool argument parser structures.

    1.3k GitHub stars~1.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Audience Segmentation

    revfactory/harness-100

    Audience segmentation skill used by the analyst and curator agents.

    1.3k GitHub stars~1.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Audio Storytelling

    revfactory/harness-100

    Audio storytelling skill used by the podcast scriptwriter and show note editor.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed

Categories

Questions about Code Kata Generator

What does Code Kata Generator do?

A specialized skill for systematically designing coding practice exercises (Code Kata). Code Kata Generator is an agent skill from revfactory/harness-100. A specialized skill for systematically designing coding practice exercises (Code Kata).

When should I use Code Kata Generator?

Code Kata Generator fits situations like: tasks that involve Test generation.

How do I install Code Kata Generator in Claude Code?

Run `npx skills add revfactory/harness-100 --skill code-kata-generator -a claude-code`. Or copy the skill folder (en/59-coding-bootcamp/.claude/skills/code-kata-generator in revfactory/harness-100) into .claude/skills/code-kata-generator in your project. Claude Code loads it when a task matches its description.

How do I install Code Kata Generator in Codex?

Run `npx skills add revfactory/harness-100 --skill code-kata-generator -a codex`. Or copy the skill folder (en/59-coding-bootcamp/.claude/skills/code-kata-generator in revfactory/harness-100) into .agents/skills/code-kata-generator in your project. Codex loads it when a task matches its description.

Can I use Code Kata Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill code-kata-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-kata-generator, .gemini/skills/code-kata-generator, .github/skills/code-kata-generator and .opencode/skills/code-kata-generator in your project.

What does Code Kata Generator need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Kata Generator is instructions for the agent only.

Does Code Kata Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Kata Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Kata Generator use?

Code Kata Generator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Kata Generator use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Kata Generator?

Skills that share tags, products or a category with Code Kata Generator: Emc (aklofas/kicad-happy, 1.3k stars), Swig Test (swig/swig, 6.3k stars), Generate Test Cases (342164796/generate-test-cases, 119 stars) and Verify Cc Safety Net (kenryu42/cc-safety-net, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Kata Generator?

revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.

Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.