gen-code

Generate a Spring Boot 4.x microservice from modernization artifacts.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/hariinfo/agentic-code-template --skill gen-code-hariinfo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gen-code
Source: https://github.com/hariinfo/agentic-code-template/tree/main/.claude/skills/code-generator
Command: npx skills add https://github.com/hariinfo/agentic-code-template --skill gen-code-hariinfo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate a complete, buildable Spring Boot 4.x microservice from modernization analysis, functional specification, technical specification, and JIRA stories. The generated code translates legacy business logic and data models into idiomatic Spring Boot conventions while preserving traceability back to the original sources.

Core Features & Use Cases

  • Scaffold a full Spring Boot 4.x project with entities, repositories, services, controllers, messaging integration, security configuration, tests, and a traceability manifest.
  • Translate intent from modernization artifacts into clean, maintainable code that preserves critical behaviors without line-by-line porting.
  • Provide end-to-end generation flow from modernization-output/{slug}/ files (analysis.md, fingerprint.json, funcspec.md, techspec.md, jira-stories.md, contracts.json) into a production-ready project.

Quick Start

Provide the modernization-output slug and service-name to generate the code using the CLI.

Frequently Asked Questions about gen-code

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

FAQPage Schema
How do I generate a Spring Boot microservice from JIRA stories and functional specs?

Generating a Spring Boot microservice from JIRA stories requires modernization artifacts like functional specs, technical specs, and analysis files. This Skill translates those inputs into a complete, buildable Spring Boot 4.x project with entities, controllers, and a traceability manifest.

What files do I need to scaffold a complete Spring Boot 4.x project from legacy modernization artifacts?

Scaffolding a Spring Boot 4.x project requires modernization artifacts including analysis.md, fingerprint.json, funcspec.md, techspec.md, jira-stories.md, and contracts.json. These files must be located in the modernization-output directory to produce idiomatic code with database migrations.

Does this code generation tool support Java 17 and Jakarta EE 9 for Spring Boot microservices?

Spring Boot microservice generation enforces Java 17+ and Jakarta EE 9+ runtime requirements. The generated project includes idiomatic Spring Boot 4.x conventions, OpenAPI docs, Flyway or Liquibase database migrations, and test containers-based integration tests.

Can I generate database migrations and integration tests when creating Spring Boot microservices from modernization specs?

Spring Boot microservice generation includes database migrations using Flyway or Liquibase and test containers-based integration tests. The output provides a production-ready project with a code-manifest.json mapping that preserves traceability back to original modernization sources.

What is the best way to translate legacy business logic into idiomatic Spring Boot conventions without line-by-line porting?

Translating legacy business logic into idiomatic Spring Boot conventions is achieved by processing modernization artifacts through automated code generation. This approach preserves critical behaviors and data models while producing clean, maintainable Spring Boot 4.x microservices with traceability manifests.

Why should I use modernization artifacts to generate Spring Boot code instead of manual scaffolding?

Modernization artifacts provide structured intent from analysis and JIRA stories that automated code generation translates into consistent Spring Boot projects. This ensures traceability back to original sources while producing entities, repositories, services, and messaging integration without manual scaffolding errors.