Agent skill

Create Code

by rundeck in rundeck/rundeck

Generate Java/Groovy/TypeScript code following Rundeck development standards.

Apache-2.0Auto-check passedDevelopment

Install Create Code

skills CLI
$ npx skills add rundeck/rundeck --skill create-code -a claude-code

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

GitHub CLI
$ gh skill install rundeck/rundeck create-code --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/rundeck/rundeck.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/create-code .claude/skills/create-code && 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
create-code
GitHub stars
6.3k
Token cost
~1.9k tokens
SKILL.md length
484 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate Java/Groovy/TypeScript code following Rundeck development standards.

  • Works in 8 steps: Load Context → Understand Requirements → Write Test First → …
  • Tasks that involve Commit messages
  • SKILL.md covers When to Use, Process, System Configuration Keys and Checklist, plus 4 more sections
  • Calls npm

What it does

Create Code is an agent skill from rundeck/rundeck. Generate Java/Groovy/TypeScript code following Rundeck development standards. Auto-loads development guidelines, formatting rules, and testing requirements.

Its SKILL.md is about 1.9k 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 Development, covering Commit messages and Test generation. It works with Java, TypeScript and Vue.js. The repository describes itself as: Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Commit messages
  • Tasks that involve Test generation

Example prompts

  • “/create-code”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Load Context
  2. Understand Requirements
  3. Write Test First
  4. Implement Code
  5. Format and Validate
  6. Write Meaningful Commit Message
  7. Define Config Type
  8. Implement SystemConfigurable

What it can do on your machine

Read from SKILL.md and the folder at commit 9c3c82c. 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

    Shell commands in SKILL.md call:

    • npm

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

  • Network

    Links to these hosts (documentation or services it may open):

    • cbea.ms
    • spockframework.org

    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

Create Code loads about 1.9k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 484 words of instructions outside code blocks.

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

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 rundeck/rundeck at commit 9c3c82c, republished under its Apache-2.0 licence (© rundeck). 484 words, ~1,908 tokens.

Download SKILL.mdSave it as .claude/skills/create-code/SKILL.md (or your agent's skills folder).
name
create-code
description
Generate Java/Groovy/TypeScript code following Rundeck development standards. Auto-loads development guidelines, formatting rules, and testing requirements.

Create Code Skill

When to Use

  • Creating new Java classes or Groovy services
  • Adding features to existing modules
  • Writing TypeScript/Vue components
  • Need to follow Rundeck code standards
  • Implementing new functionality with proper tests

Process

Phase 1: Load Context

Automatically read these documentation files:

  • .claude/docs/development-guidelines.md - Git commits, Groovy patterns, System Config, APIs
  • .claude/docs/code-formatting.md - Spotless rules, IDE setup
  • .claude/docs/testing-guidelines.md - Complete testing guide (Unit, API, UI, Functional)
Phase 2: Understand Requirements

Ask yourself:

  • What is being created? (Class, Service, Controller, Component)
  • What module does it belong to? (core, plugin, frontend)
  • What are the dependencies?
  • What behavior needs to be tested?
Phase 3: Write Test First

✅ ALWAYS write tests BEFORE implementation

For Groovy/Java:

  • Use Spock framework
  • Create *Spec.groovy test file
  • Use given/when/then blocks
  • Test should FAIL before implementation

For TypeScript/Vue:

  • Use Jest + Vue Test Utils
  • Create Component.spec.ts next to component
  • Test component behavior and interactions

Example Spock Test:

groovy
class UserServiceSpec extends Specification {
    
    def userService = new UserService()
    
    def "should return user when valid ID provided"() {
        given: "a valid user ID"
        def userId = 123
        
        when: "finding user by ID"
        def user = userService.findById(userId)
        
        then: "user is returned with correct ID"
        user != null
        user.id == userId
    }
    
    def "should throw exception when user not found"() {
        given: "an invalid user ID"
        def userId = 999
        
        when: "finding user by ID"
        userService.findById(userId)
        
        then: "exception is thrown"
        thrown(UserNotFoundException)
    }
}
Phase 4: Implement Code
Groovy/Java Standards

Use @CompileStatic:

groovy
@CompileStatic
class MyService {
    // your code
}
  • Use @GrailsCompileStatic for Grails components (Controllers, Services)
  • Use @CompileDynamic ONLY on specific methods that can't use static typing

Don't Implement Property Getters/Setters:

groovy
// Good - Groovy auto-generates getters/setters
class User {
    String name
    int age
}

// Bad - unnecessary boilerplate
class User {
    private String name
    String getName() { return name }
    void setName(String n) { name = n }
}

Use @Delegate When Appropriate:

groovy
class MyService implements SomeInterface {
    @Delegate
    SomeInterface wrapped
    // No need to implement SomeInterface methods
}

Avoid Commented-Out Code:

  • Delete it, don't comment it
  • Explain WHY in commit message
  • Version control preserves history
TypeScript/Vue Standards
  • Follow existing patterns in codebase
  • Use TypeScript types (no any)
  • Component props should be typed
  • Emit events with proper typing
Phase 5: Format and Validate

Format Code:

bash
# Fix formatting
./gradlew spotlessApply

Verify Build:

bash
# Quick verification (compilation + basic checks)
./gradlew verifyBuild

# Or full clean build (skips tests)
./gradlew clean && ./gradlew build -x check

Frontend Tests (if applicable):

bash
# Core UI
CORE_UI=rundeckapp/grails-spa/packages/ui-trellis
npm run --prefix "$CORE_UI" ci:test:unit

Note: Run the full test suite (./gradlew test) locally before considering work complete. CI will also run the complete test suite as an additional verification step.

Phase 6: Write Meaningful Commit Message

Your commit should complete: "If applied, this commit will ___"

Structure:

Short summary (50 chars or less)

Detailed explanation of what and why.
- Why this change was needed
- What the context was
- Any important details

Resources: How to Write a Git Commit Message


System Configuration Keys

If creating new System Configuration keys, follow 2-step process:

Show full SKILL.md (192 more words)Show less
Step 1: Define Config Type

Core: com.dtolabs.rundeck.core.config.RundeckConfigBase

Add nested field structure for your key (e.g., rundeck.a.b.mykey)

Step 2: Implement SystemConfigurable

Find appropriate Spring bean and implement SystemConfigurable interface

Return SysConfigProp objects in getSystemConfigProps() method

Use org.rundeck.app.config.SystemConfig builder:

groovy
SystemConfig.builder()
    .key("rundeck.feature.myfeature.enabled")
    .label("My Feature Enabled")
    .datatype("Boolean")
    .defaultValue("false")
    .authRequired("app_admin")  // or "ops_admin"
    .build()

See: .claude/docs/development-guidelines.md for complete details


Checklist

Before considering code complete:

  • Tests written first
  • Tests fail before implementation
  • Implementation follows Groovy/Java standards
  • @CompileStatic used (or @GrailsCompileStatic for Grails)
  • No commented-out code
  • Code formatted (./gradlew spotlessApply)
  • Build verified (./gradlew verifyBuild or ./gradlew clean && ./gradlew build -x check)
  • Meaningful commit message written

Examples

Example 1: Simple Service Class
groovy
@CompileStatic
class ProjectService {
    
    List<Project> listProjects() {
        // implementation
    }
    
    Project getProject(String name) {
        // implementation
    }
}

Test:

groovy
class ProjectServiceSpec extends Specification {
    
    def projectService = new ProjectService()
    
    def "should list all projects"() {
        when:
        def projects = projectService.listProjects()
        
        then:
        projects != null
        projects.size() >= 0
    }
}
Example 2: Grails Controller
groovy
@GrailsCompileStatic
class ProjectController {
    
    ProjectService projectService
    
    def index() {
        def projects = projectService.listProjects()
        respond projects
    }
}
Example 3: Using @Delegate
groovy
@CompileStatic
class CachedProjectService implements ProjectService {
    
    @Delegate
    ProjectService delegate
    
    private Cache cache
    
    // Override specific methods that need caching
    @Override
    Project getProject(String name) {
        cache.get(name) ?: delegate.getProject(name)
    }
}

Common Mistakes to Avoid

❌ Don't:

  • Write implementation before tests
  • Use @CompileDynamic on entire class
  • Commit commented-out code
  • Implement unnecessary getters/setters in Groovy
  • Write vague commit messages

✅ Do:

  • Write failing test first
  • Use @CompileStatic by default
  • Delete unused code (explain in commit)
  • Use Groovy properties
  • Write meaningful commit messages

Integration with Other Skills

  • API Endpoints: Use create-api-endpoint skill for REST controllers
  • Plugins: Use create-plugin skill for bundled plugins
  • Testing Only: Use create-test skill for comprehensive test scenarios

Resources

  • .claude/docs/development-guidelines.md - Complete guidelines
  • .claude/docs/code-formatting.md - Spotless configuration
  • .claude/docs/testing-guidelines.md - Testing guide
  • Spock Framework
  • Git Commit Guide

© rundeck, 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 .claude/skills/create-code of rundeck/rundeck.

Open the folder on GitHubat commit 9c3c82c

Compare with similar skills

Create Code 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.

Create Code compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Code this skillrundeck/rundeck6.3k—~1.9kAutomated safety check: PassApache-2.0
Git Commitpddzl/td27-admin112—~147Automated safety check: PassMIT
Approval Testing Toolkitlexler/skill-factory239—~1.2kAutomated safety check: PassApache-2.0
Test Writeraxelixlabs/axelix148—~2.2kAutomated safety check: PassLGPL-3.0
Polyglot Test Agentboshi-xixixi/TraeSkill275—~1.7kAutomated safety check: PassMIT
Git HooksProrise-cool/Claude-Code-Multi-Agent305—~3.6kAutomated safety check: NotesNone

Similar skills

  • Git Commit

    pddzl/td27-admin

    Generate clear and conventional commit messages from git diffs

    112 GitHub stars~147 tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • Approval Testing Toolkit

    lexler/skill-factory

    Writes snapshot-style approval tests in Python, JavaScript, TypeScript or Java, comparing output against an approved file instead of writing individual assertions.

    239 GitHub stars~1.2k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Test Writer

    axelixlabs/axelix

    Writes new tests for Axelix source code (Java, Kotlin, TypeScript, JavaScript) that follow the project's testing standards — public-API contract coverage, test isolation, given/when/then structure…

    148 GitHub stars~2.2k tokensUpdated today
    MobileAuto-check passed
  • Polyglot Test Agent

    boshi-xixixi/TraeSkill

    Generates comprehensive, workable unit tests for any programming language using a multi-agent pipeline.

    275 GitHub stars~1.7k tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Git Hooks

    Prorise-cool/Claude-Code-Multi-Agent

    Central authority on git hook implementations, modern best practices, and tooling for .NET/C, JavaScript/TypeScript, Python, and polyglot repositories.

    305 GitHub stars~3.6k tokensUpdated 22 days ago
    DevelopmentAuto-check: notes
  • Ad PR

    alexandremendoncaalvaro/CorridorKey-Runtime

    Open a GitHub pull request with a uniform body shape. An agent skill from alexandremendoncaalvaro/CorridorKey-Runtime.

    755 GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed

More from rundeck/rundeck

All 10 skills in this repo
  • Backport PR

    rundeck/rundeck

    Backport commits from an existing GitHub Pull Request to a target branch and open a new backport PR.

    6.3k GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Cve Remediation

    rundeck/rundeck

    Verify if a CVE affects the project and remediate it. An agent skill from rundeck/rundeck.

    6.3k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Generate standardized CONTEXT.md files for features. An agent skill from rundeck/rundeck.

    6.3k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • I18n Vue Template

    rundeck/rundeck

    Internationalize Vue component templates by replacing all hardcoded strings with $t() calls and adding translations to i18n.ts or enUS.js.

    6.3k GitHub stars~523 tokensUpdated today
    Auto-check: notes
  • Onboard Contributor

    rundeck/rundeck

    Guide a new contributor through the rundeck OSS repo. An agent skill from rundeck/rundeck.

    6.3k GitHub stars~848 tokensUpdated today
    Auto-check passed
  • Write Jest Tests

    rundeck/rundeck

    Write Vue component unit tests. An agent skill from rundeck/rundeck.

    6.3k GitHub stars~486 tokensUpdated today
    Auto-check: notes

Questions about Create Code

What does Create Code do?

Generate Java/Groovy/TypeScript code following Rundeck development standards. Create Code is an agent skill from rundeck/rundeck. Generate Java/Groovy/TypeScript code following Rundeck development standards.

When should I use Create Code?

Create Code fits situations like: tasks that involve Commit messages; tasks that involve Test generation.

How do I install Create Code in Claude Code?

Run `npx skills add rundeck/rundeck --skill create-code -a claude-code`. Or copy the skill folder (.claude/skills/create-code in rundeck/rundeck) into .claude/skills/create-code in your project. Claude Code loads it when a task matches its description.

How do I install Create Code in Codex?

Run `npx skills add rundeck/rundeck --skill create-code -a codex`. Or copy the skill folder (.claude/skills/create-code in rundeck/rundeck) into .agents/skills/create-code in your project. Codex loads it when a task matches its description.

Can I use Create Code 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 rundeck/rundeck --skill create-code -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-code, .gemini/skills/create-code, .github/skills/create-code and .opencode/skills/create-code in your project.

What does Create Code need to run?

Going by SKILL.md and its folder, Create Code needs the command-line tools its instructions call (npm).

Does Create Code access the network?

SKILL.md names 2 domains. As links in the text: cbea.ms and spockframework.org. This is read from the text; nothing was executed.

Is Create Code 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 Create Code use?

Create Code 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 Create Code use?

About 1.9k tokens (SKILL.md is roughly 7.6k 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 Create Code?

Skills that share tags, products or a category with Create Code: Git Commit (pddzl/td27-admin, 112 stars), Approval Testing Toolkit (lexler/skill-factory, 239 stars), Test Writer (axelixlabs/axelix, 148 stars) and Polyglot Test Agent (boshi-xixixi/TraeSkill, 275 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Code?

rundeck (a GitHub organization) maintains it in rundeck/rundeck, which has 6,329 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 8, 2026.

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