Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Code Generation Skills

A collection of skills for creating and running code generators using ribosome framework

Installation

Install with the skills CLI — it works with Claude Code, Codex, Cursor, OpenCode and other agents:

# Install both skills into the current project (./.claude/skills/)
npx skills add DavidValin/codegen-skills

# Install globally, for every project (~/.claude/skills/)
npx skills add DavidValin/codegen-skills -g

# Preview what the repository contains without installing
npx skills add DavidValin/codegen-skills --list

# Install a single skill
npx skills add DavidValin/codegen-skills --skill run-ribosome-codegen

# Non-interactive install, e.g. in CI
npx skills add DavidValin/codegen-skills --skill '*' -g -a claude-code -y

Other useful commands:

npx skills list                        # show installed skills
npx skills remove create-ribosome-codegen run-ribosome-codegen

Manual installation

Copy the skill directories into your agent's skills directory:

git clone https://github.com/DavidValin/codegen-skills
cp -r codegen-skills/skills/* ~/.claude/skills/

Requirements

Both skills drive Ribosome, which must be installed separately. Pick the script matching the control language you generate with, make it executable and put it on your PATH:

Control language Script
JavaScript ribosome.js
Ruby ribosome.rb
Python ribosome.py
curl -L -o ~/.local/bin/ribosome.js \
  https://raw.githubusercontent.com/sustrik/ribosome/804e945655a92847b1eb2934ae6f78d19366181e/ribosome.js
chmod +x ~/.local/bin/ribosome.js
ribosome.js --version

Verify a skill is available by asking your agent to run a Ribosome generator, or with npx skills list.

Skills

Create Ribosome Code Generator

Creates reusable Ribosome-based code generators that accept input data and generate source code or other text artifacts.

Run Ribosome Code Generator

Runs an existing Ribosome code generator with input data and handles the resulting generated output.

Workflow

The two skills are designed to work together:

Create generator
      ↓
create-ribosome-codegen
      ↓
generator.dna
      +
input data
      ↓
run-ribosome-codegen
      ↓
generated code

About

Code generation SKILLs for AI agents

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors