scaffold-exercises

Generate structured exercise directories with readme stubs and linting validation.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/pxlcrtiv/opencode-setup --skill scaffold-exercises-pxlcrtiv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-exercises
Source: https://github.com/pxlcrtiv/opencode-setup/tree/main/skills/scaffold-exercises
Command: npx skills add https://github.com/pxlcrtiv/opencode-setup --skill scaffold-exercises-pxlcrtiv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of structured exercise directories for coding challenges, saving time and ensuring consistency in setup.

Core Features & Use Cases

  • Automatic Directory Creation: Generates directory structures for exercises, sections, and variants.
  • Readme Stubbing: Creates placeholder content for problem, solution, and explainer sections.
  • Linting Validation: Ensures the exercise directories pass pnpm ai-hero-cli internal lint for quality assurance.

Quick Start

Use the scaffold-exercises skill to create a new exercise directory for a retrieval skill with 'retrieve-01-retrieval-exercise' as the name.

Frequently Asked Questions about scaffold-exercises

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold exercise directories for coding challenges automatically?

To scaffold exercise directories for coding challenges, use this Skill to generate structured folders with sections, problems, and solutions. It automates directory structuring and creates readme stubs for problem and explainer sections.

What is the best way to organize course materials with multiple exercise variants?

Organizing course materials with multiple exercise variants is handled by generating structured directory layouts and placeholder readme stubs. This ensures consistent file organization across different sections and coding challenges.

How do I ensure my coding exercise directories pass linting validation?

To ensure your coding exercise directories pass linting validation, the Skill runs `pnpm ai-hero-cli internal lint` after generation. This quality assurance step checks directory structuring and file organization for compliance.

Can I use this to set up course materials without manually creating problem and solution files?

Yes, you can set up course materials without manual file creation because the Skill generates readme stubs for problem, solution, and explainer sections. It automatically structures these files within your coding education directories.

Do I need any specific dependencies to create exercise directory structures?

No specific dependencies are required to create exercise directory structures, as the Skill operates with an empty dependencies list. You only need the base environment to run the provided scripts for directory structuring.

Why does my manually structured coding exercise folder fail linting checks?

Manually structured coding exercise folders fail linting checks due to inconsistent file organization and missing readme stubs. The Skill prevents this by automating directory creation and enforcing linting compliance with `pnpm ai-hero-cli internal lint`.