lumina: Skill for Claude Code

.agents/skills/lumina_code_style/SKILL.md

lumina_code_style is a skill for Claude Code, Codex from zwl467135974/lumina. It costs 46 tokens per session (1,058 once invoked), scanned A, original, Apache-2.0.

A Java coding-style guide for the Lumina framework. It defines package names, class names, method names, and the expected organization of common components such as controllers, services, entities, and mappers.

In plain words
What is it for?
Writing or reviewing Lumina Java classes, naming controllers and services, organizing packages, and choosing names for entities, data objects, DTOs, view objects, mappers, converters, exceptions, and enums.
Why use it?
It removes naming and placement decisions when adding or reviewing Java code. Consistent structure makes related classes easier to find and understand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is zwl467135974/lumina's own configuration. It tells Claude Code and Codex how to work on lumina itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lumina configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zwl467135974/lumina. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zwl467135974/lumina/master/.agents/skills/lumina_code_style/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/zwl467135974/lumina

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lumina_code_style

README.md
[![agentmods](https://agentmods.dev/badge/skills/zwl467135974/lumina/lumina_code_style/github.svg)](https://agentmods.dev/skills/zwl467135974/lumina/lumina_code_style)
Your own site
<a href="https://agentmods.dev/skills/zwl467135974/lumina/lumina_code_style"><img src="https://agentmods.dev/badge/skills/zwl467135974/lumina/lumina_code_style/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lumina_code_style

Your own site · 80×15
<a href="https://agentmods.dev/skills/zwl467135974/lumina/lumina_code_style"><img src="https://agentmods.dev/badge/skills/zwl467135974/lumina/lumina_code_style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,058 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.01058
Opus 5 $0.00023 $0.00529
Sonnet 5 $0.00009 $0.00212
Haiku 4.5 $0.00005 $0.00106

Measured 11d ago against content hash 9105f721a913, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

lumina_code_style scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/lumina_code_style/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Lumina 代码风格规范

功能概述

本技能包用于确保 Lumina 框架项目的代码风格一致性,包括命名规范、包结构、类组织、注释规范等。

核心规范

包命名规范

基础包名: io.lumina
模块包名: io.lumina.{domain}
示例: io.lumina.agent, io.lumina.system, io.lumina.user

类命名规范

类型 命名规则 示例
Controller {业务}Controller AgentController, UserController
Service {业务}Service AgentService, TaskService
Service Impl {业务}ServiceImpl AgentServiceImpl
Entity (Domain) {实体名} Agent, Task, User
DO (Data Object) {实体}DO AgentDO, TaskDO
DTO {业务}{操作}DTO CreateAgentDTO, QueryAgentDTO
VO {业务}VO AgentVO, TaskVO
Mapper {实体}Mapper AgentMapper, TaskMapper
Converter {实体}Converter AgentConverter
Exception {业务}Exception AgentNotFoundException
Enum {业务}{类型}Enum TaskStatusEnum, AgentTypeEnum

方法命名规范

类型 命名规则 示例
Controller 方法 {操作}{资源} createAgent, getAgent, listAgents, updateAgent, deleteAgent
Service 方法 {操作}{实体} createAgent, getAgentById, listAgents, executeTask
Mapper 方法 select{条件}, insert, update, delete selectById, selectByName, insert, deleteById
Domain 方法 {业务动作} executeTask, validate, activate

变量命名规范

  • 实体对象: 使用实体名,如 agent, task, user
  • 集合: 使用复数形式,如 agents, tasks, users
  • 布尔值: 使用 is/has 前缀,如 isActive, hasPermission
  • 常量: 全大写,下划线分隔,如 MAX_RETRY_COUNT, DEFAULT_TIMEOUT

注释规范

类注释
/**
 * Agent 领域实体
 * 
 * <p>Agent 是系统的核心领域对象,代表一个可执行的 AI 智能体。
 * 它封装了 Agent 的业务逻辑和业务规则。
 * 
 * @author Lumina Team
 * @since 1.0.0
 */
public class Agent {
    // ...
}
方法注释
/**
 * 执行 Agent 任务
 * 
 * <p>根据任务配置执行 Agent,支持同步和异步两种模式。
 * 
 * @param taskId 任务ID
 * @param command 执行命令
 * @return 任务执行结果
 * @throws AgentNotFoundException 当 Agent 不存在时
 * @throws TaskExecutionException 当任务执行失败时
 */
public TaskResult executeTask(Long taskId, ExecuteTaskDTO dto) {
    // ...
}

Read the full file on GitHub · 114 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 114 lines · 46 tokens per session scan A 9105f721a913

Subscribe to this mod's changes

lumina_code_style is a skill published in the GitHub repository zwl467135974/lumina (65 stars, last pushed 20d ago), licensed Apache-2.0. It adds 46 tokens to every session and 1,058 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

solid-principles

SOLID principles checklist with Java examples. Use when a class has too many responsibilities, an abstraction leaks, or a dependency points the wrong way, and when the user asks about Single Responsibility, Open/Closed, Liskov, Interface Segregation or Dependency Inversion. For naming, duplication and method length…

decebals/claude-code-java · 73 tokens

concurrency-review

Review Java concurrency code for thread safety, race conditions, deadlocks, and modern patterns (Virtual Threads, CompletableFuture, @Async). Use when user asks "check thread safety", "concurrency review", "async code review", or when reviewing multi-threaded code.

decebals/claude-code-java · 58 tokens

java-code-review

Systematic code review for Java with null safety, exception handling, concurrency, and performance checks. Use when user says "review code", "check this PR", "code review", or before merging changes.

decebals/claude-code-java · 45 tokens

121-java-object-oriented-design

Use when reviewing, improving, or refactoring Java object-oriented design, including applying SOLID, DRY, or YAGNI; improving classes and interfaces; correcting encapsulation, inheritance, or polymorphism; resolving God Class, Feature Envy, or Data Clumps; and improving object creation, methods, or exception…

jabrena/plinth · 107 tokens

053-design-simple-rules

Use when Java design, refactoring, or implementation tradeoffs should be evaluated with Kent Beck's simple design rules, including passes the tests, reveals intention, has no duplication, and has the fewest elements. This should trigger for requests such as Apply simple design rules; Review this design with Beck's…

jabrena/plinth · 86 tokens

java-api-consistency-validator

Validate API consistency between two versions of Java libraries. Use when you need to compare API behavior, signatures, and exceptions between Java library versions to identify breaking changes, incompatible modifications, and behavior differences. The skill performs static analysis of Java code, compares method…

ArabelaTso/Skills-4-SE · 95 tokens