Skip to content
Back to skills

Generate

ASecurity

Regenerate an ElastiCORE project from its DSL, compile it, and report what the generator said - written, skipped and failed files, DSL validation warnings, hand-edited generated files - with the DSL fix for each problem.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 23, 2026
ai-agentsjavabashgit

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add xsko/elasticore-agent-kit --skill generate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Generate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xsko-generate/badge)](https://www.skillsdirectory.com/skills/xsko-generate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: generate
description: Regenerate an ElastiCORE project from its DSL, compile it, and report what the generator said - written, skipped and failed files, DSL validation warnings, hand-edited generated files - with the DSL fix for each problem.
disable-model-invocation: true
argument-hint: "[gradle task - default compileJava]"
---

# Generate and compile

1. In the project root, run `./gradlew $ARGUMENTS`, or `./gradlew compileJava` when no task was
   given (`./gradlew.bat` on Windows, from Git Bash too: the Unix script does not return when it
   starts the Gradle daemon). `compileJava` generates first, unless the
   build sets `generateBeforeCompile = false`. Keep the whole output - no `head`, no `grep`. Never add
   `-Pforce`: it overwrites hand edits in generated files.
2. Say which generator ran: the 3.0 rule engine prints `=== elcore3: ... ===`, the 2.x generator
   prints `ModelExtractor execution mode`.
3. Report, in this order:
   - the summary line, such as `=== elcore3: 20 written / 0 unchanged / 2 skipped / 0 failed ===`;
   - every line under `[elcore3] DSL validation warnings:` (the build succeeds with them) or
     `[WARN] DSL Validation Warnings:` (the 2.x generator fails the build) - for each, the YAML file
     and line to change, and the change;
   - every generated file edited by hand - `SKIP(user-modified; -Pforce to overwrite)`, or the list
     under `[WARN] Externally Modified Files Detected:` - with the DSL change or developer-owned file
     the edit belongs in. Restoring one means deleting it and generating again: ask the user first
     unless you made that edit in this session;
   - every `SKIP(no ElastiCORE header - yours)` file: the generated one is missing there - unless the
     summary says `... that .elasticore/cache does not hold were left as they are`: then the cache is
     missing or replaced, and it is taken from git, not the files deleted;
   - with `.elasticore/cache` (ElastiCORE 3.0.261030-rc5 and later): every `CONFLICT` file - the
     places marked `<<<<<<< yours` / `>>>>>>> elasticore` and how each should be resolved (the build
     fails until they are); every `KEPT(yours ...)` file with what the `[elcore3]` lines say to carry
     over by hand; every `SKIP(not in the cache)` file. `MERGED(your edits kept)` needs no action;
   - every `ERROR` line and every compile error. When a compile error is in a generated file, trace
     it back to the DSL line that caused it - for example a DTO named in `@dtype(...)` that no `dto:`
     section defines.
4. If everything is clean, say so in one line.

The project's guides in `src/main/resources/blueprint/elasticore-*.md` explain each construct; the
`elasticore` skill explains which files are whose.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.