원클릭으로
new-function
Add a new template function to jhelm (Helm or Sprig)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Add a new template function to jhelm (Helm or Sprig)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Check and fix Checkstyle violations in jhelm modules
jhelm project coding standards and conventions for Java 21 with Lombok and Maven
Implement a GitHub issue with branch and pull request workflow
Auto-format, fix violations, and run Maven validate (PMD + Checkstyle) in one step
jhelm project architecture and module structure for a Java Helm implementation
Code review automation for Java, TypeScript, JavaScript, Python, Go. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.
| name | new-function |
| description | Add a new template function to jhelm (Helm or Sprig) |
| disable-model-invocation | true |
| argument-hint | ["function-name"] |
Guided workflow for adding a new template function named $ARGUMENTS.
Helm functions (in jhelm-gotemplate/src/main/java/.../helm/):
conversion/ConversionFunctions.java — YAML/JSON conversion (toYaml, fromJson, etc.)template/TemplateFunctions.java — Template inclusion (include, tpl, required)kubernetes/KubernetesFunctions.java — Kubernetes integration (lookup)chart/ChartFunctions.java — Chart utilities (semverCompare, certificate generation)Sprig functions (in jhelm-gotemplate/src/main/java/.../sprig/):
strings/StringFunctions.java — String manipulationcollections/CollectionFunctions.java — List/dict operationslogic/LogicFunctions.java — default, empty, coalesce, ternarymath/MathFunctions.java — Arithmetic operationsencoding/EncodingFunctions.java — Base64, SHA, etc.crypto/CryptoFunctions.java — UUID, random, encryptiondate/DateFunctions.java — Date formatting/manipulationreflection/ReflectionFunctions.java — Type checkingnetwork/NetworkFunctions.java — DNS lookupsemver/SemverFunctions.java — Semantic versioning@Slf4j for logging if neededmust* version that throws on errorThe function auto-registers via the coordinator:
HelmFunctions.java → getFunctionCategories()SprigFunctionsRegistry.java → getFunctionCategories()If adding a new category, update getFunctionCategories() in the appropriate coordinator.
Add tests in the corresponding test class (e.g., Helm4FunctionsTest.java, or the test class for the Sprig category).
Run the relevant module tests:
./mvnw test -pl jhelm-gotemplate