Add Language Support

Generate starter code and iteratively compile and test new languages for CodeCrafters courses.

113|32|Updated Nov 24, 2023
One-click install
npx skills add https://github.com/codecrafters-io/course-sdk --skill add-language-support
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Add Language Support
Source: https://github.com/codecrafters-io/course-sdk/tree/main/skills/adding-language-support
Command: npx skills add https://github.com/codecrafters-io/course-sdk --skill add-language-support

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex process of adding support for a new programming language to a CodeCrafters course, ensuring consistency and functionality.

Core Features & Use Cases

  • Scaffolding: Generates the necessary starter code structure for a new language.
  • Dependency Management: Helps resolve and integrate language-specific SDKs or libraries.
  • Iterative Testing: Compiles and tests the new language's implementation against course stages until successful.
  • Use Case: A user wants to add support for a less common language like Zig to an existing course. This skill will guide them through generating the initial files, implementing Stage 1, and iterating on compilation and testing until the basic functionality is verified.

Quick Start

Use the add language skill to add support for the Go language.

Frequently Asked Questions about Add Language Support

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

FAQPage Schema
How do I add support for a new programming language to a CodeCrafters course?

To add programming language support to a course, you generate starter code, resolve SDK dependencies, and iteratively compile and test implementations against course stages until they pass.

What do I need to set up before adding language support to course starter code?

Adding language support requires installing Bun and Docker, alongside the course-sdk CLI, to establish the environment needed for generating starter code and running iterative tests.

Can I use this to add an uncommon programming language like Zig to an existing course?

Yes, you can add uncommon programming languages like Zig to an existing course. The process scaffolds the initial files, implements the first stage, and iterates compilation until functionality is verified.

What's the best way to resolve SDK dependencies when expanding course language support?

The best way to resolve SDK dependencies during language expansion is to use the skill's dependency management feature, which integrates language-specific libraries before iteratively compiling and testing the new implementation.