In short.
Scaffold Exercises is an instruction skill for AI coding assistants, aimed at people building coding courses, but its folder recipe depends on a particular project linter. It describes how to turn a course plan into numbered exercise directories, add starter readmes, validate the layout and handle Git operations. The instructions are concrete, while installation, CLI compatibility and successful linting remain unverified.
Researched and written by an AI model and checked by a second AI model. How it works
The complete selected folder contains skills/misc/scaffold-exercises/SKILL.md and skills/misc/scaffold-exercises/agents/openai.yaml at revision 5863806dd4e15c63174bee4e7515a4256792ecfa. The repository-root LICENSE accompanies them as a notice outside that folder. Other folders, linked pages and the ai-hero-cli implementation are excluded. Installation, assistant execution, generated files, lint results and Git effects are unverified; nothing was executed.
The overview
Identity
The resource is the scaffold-exercises instruction skill in the mattpocock/skills repository [https://github.com/mattpocock/skills/tree/main/skills/misc/scaffold-exercises]. Its SKILL.md contains the working procedure; agents/openai.yaml supplies the display name Scaffold Exercises and a short interface description.
It is intended to guide an AI coding assistant (agent) that can read and write project files and run shell commands. The supplied files contain instructions and interface metadata rather than a standalone scaffolding program.
Assessment
The strongest fit is an existing course repository using the documented layout and ai-hero-cli linter. Its useful contribution is a precise recipe for consistent exercise stubs, including variant folders, readme requirements and renumbering instructions.
Lint readiness is an intended outcome. The supplied files contain neither the linter implementation nor successful execution results, so compatibility and generated output quality are unverified.
Users
Course authors, instructors and developers maintaining coding workshops can use this skill when turning a section plan into a repository structure. It distinguishes student workspaces, reference solutions and conceptual explainers.
Beginners receive concrete naming examples, but the instructions assume familiarity with repository folders, terminal commands, pnpm and Git. They provide little help with establishing that environment.
Capabilities
The skill directs an assistant to extract sections, exercises and variant types from a plan; create numbered, dash-case folders under exercises/; and add a nonempty readme.md to each variant. Unspecified stubs default to explainer/.
Code-bearing variants require a main.ts longer than one line, while readme-only stubs are allowed. The instructions also cover lint-and-fix iteration, tracked directory renaming with git mv and committing with git commit.
Using it
Requirements
Following the documented procedure requires an assistant with file and shell access, a writable course repository and a plan naming the sections and exercises. Validation requires pnpm and access to the referenced ai-hero-cli command; tracked renames and commits require Git.
Supported assistant hosts, runtime versions, CLI installation instructions and dependency versions are unspecified. The main.ts requirement makes the documented code layout specific to TypeScript.
Mechanism
The assistant interprets the Markdown procedure, maps plan entries to paths such as exercises/XX-section-name/XX.YY-exercise-name/, creates directories and writes starter readmes. It then invokes pnpm ai-hero-cli internal lint and is instructed to fix reported errors until validation passes.
The stated lint rules cover folder presence, nonempty readmes, broken links and conditional main.ts requirements. They also prohibit .gitkeep files and speaker-notes.md files, and forbid pnpm run exercise commands inside readmes. These are documented rules; their implementation is outside the supplied files.
Setup
The selected files provide no installation or activation command. Adoption therefore requires establishing how the chosen assistant loads SKILL.md and making the documented lint command available in the target course repository.
Supply a plan with section names, exercise names and explicit variant choices where needed. The opening instruction requests a Git commit, so commit behavior should be agreed before applying the skill. The interface YAML supplies a label and description, without documenting host compatibility.
Example
The included Memory Skill Building plan maps to exercises/05-memory-skill-building/. Introduction to Memory gets 05.01-introduction-to-memory/explainer/readme.md. Short-term Memory gets explainer/, problem/ and solution/ folders under 05.02-short-term-memory/, each containing readme.md. Long-term Memory gets 05.03-long-term-memory/explainer/readme.md.
This example illustrates structural stubs. It supplies folder commands and sample readme titles, without completed memory lessons or working implementations. The example was not executed.
Assessment & evidence
Limitations
The variant guidance and lint summary differ: the former allows at least one of problem/, solution/ or explainer/, while the latter requires problem/, explainer/ or explainer.1/. A solution-only exercise would therefore violate the stated lint condition. The explainer.1/ form receives no further explanation.
The general file guidance requires a readme in every variant, while the lint summary specifically mentions the primary subfolder. Actual validation coverage is unknown without the CLI implementation. No commands were run, and the files provide no evidence of lesson quality, solution correctness or learning outcomes.
Reasoning
Explicit paths, minimal file requirements and a multi-variant example make the procedure concrete enough to guide scaffolding in a matching repository. Defaulting to readme-only explainers also permits a course outline before implementation work begins.
Its likely value is consistency in repetitive setup; that is an inference from the procedure. Time savings, reliability across assistants and compatibility across course repositories remain unmeasured.
Alternatives
The source names no competing resources and provides no comparisons. Based on the documented directory and file operations, manual scaffolding, a repository template or a small project-specific generator are plausible alternatives.
Those alternatives are inferred approaches. Their relative effort, reliability and lint compatibility have not been assessed.
Evidence
The procedure is available in the revision-specific SKILL.md [https://raw.githubusercontent.com/mattpocock/skills/5863806dd4e15c63174bee4e7515a4256792ecfa/skills/misc/scaffold-exercises/SKILL.md]. It supports the described conventions and intended workflow.
The interface metadata [https://raw.githubusercontent.com/mattpocock/skills/5863806dd4e15c63174bee4e7515a4256792ecfa/skills/misc/scaffold-exercises/agents/openai.yaml] establishes the display name and short description. The accompanying license [https://raw.githubusercontent.com/mattpocock/skills/5863806dd4e15c63174bee4e7515a4256792ecfa/LICENSE] establishes the stated reuse rights. These files supply no execution logs or demonstrated lint results.
Access & freshness
Costs
The supplied files state no purchase price, usage charges or operating-cost estimates. Assistant or model-provider charges, CLI acquisition costs and setup effort are unknown.
The MIT permission grant allows use and redistribution, including commercial use, but does not establish the total cost of the surrounding tools.
Rights
The accompanying MIT License names Matt Pocock as the 2026 copyright holder. It permits use, copying, modification, publication, distribution, sublicensing and sale, subject to retaining the copyright and permission notice in copies or substantial portions.
The software is supplied without warranty, with the liability disclaimer stated in the license. Terms for external dependencies are not established by these files.
Freshness
The supplied snapshot identifies source revision 5863806dd4e15c63174bee4e7515a4256792ecfa and capture time 2026-11-14T13:01:49.109Z. These findings apply to that version.
The capture time does not establish a release or modification date. Later changes and compatibility with currently available CLI versions are unknown.
Actions
Before adoption, confirm that the target course uses these numbering and TypeScript conventions and that pnpm ai-hero-cli internal lint is available. Resolve the variant-rule ambiguity against the actual linter and agree whether the assistant may create commits.
A small readme-only exercise is a bounded first trial. Inspect its paths, readmes and actual lint output before expanding to a full section. Courses using another language or validator will need corresponding changes to the instructions.
