Brainstorming
xpinjection/test-driven-spring-boot
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.
Fix formatting, Checkstyle, Spotless, and JavaDoc build failures in NeqSim Java code.
$ npx skills add equinor/neqsim --skill neqsim-code-hygiene -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install equinor/neqsim neqsim-code-hygiene --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/equinor/neqsim.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/neqsim-code-hygiene .claude/skills/neqsim-code-hygiene && rm -rf skills-srcUse ~/.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/
Install the "neqsim-code-hygiene" agent skill from https://github.com/equinor/neqsim/tree/master/.github/skills/neqsim-code-hygiene into .claude/skills/neqsim-code-hygiene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neqsim-code-hygiene", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/equinor/neqsim/tree/master/.github/skills/neqsim-code-hygieneType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add equinor/neqsim --skill neqsim-code-hygiene -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install equinor/neqsim neqsim-code-hygiene --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/equinor/neqsim.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/neqsim-code-hygiene .agents/skills/neqsim-code-hygiene && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "neqsim-code-hygiene" agent skill from https://github.com/equinor/neqsim/tree/master/.github/skills/neqsim-code-hygiene into .agents/skills/neqsim-code-hygiene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neqsim-code-hygiene", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add equinor/neqsim --skill neqsim-code-hygiene -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install equinor/neqsim neqsim-code-hygiene --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/equinor/neqsim.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/neqsim-code-hygiene .cursor/skills/neqsim-code-hygiene && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "neqsim-code-hygiene" agent skill from https://github.com/equinor/neqsim/tree/master/.github/skills/neqsim-code-hygiene into .cursor/skills/neqsim-code-hygiene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neqsim-code-hygiene", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/equinor/neqsim.git --path .github/skills/neqsim-code-hygiene--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add equinor/neqsim --skill neqsim-code-hygiene -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install equinor/neqsim neqsim-code-hygiene --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/equinor/neqsim.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/neqsim-code-hygiene .gemini/skills/neqsim-code-hygiene && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "neqsim-code-hygiene" agent skill from https://github.com/equinor/neqsim/tree/master/.github/skills/neqsim-code-hygiene into .gemini/skills/neqsim-code-hygiene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neqsim-code-hygiene", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install equinor/neqsim neqsim-code-hygieneInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add equinor/neqsim --skill neqsim-code-hygiene -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/equinor/neqsim.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/neqsim-code-hygiene .github/skills/neqsim-code-hygiene && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "neqsim-code-hygiene" agent skill from https://github.com/equinor/neqsim/tree/master/.github/skills/neqsim-code-hygiene into .github/skills/neqsim-code-hygiene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neqsim-code-hygiene", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add equinor/neqsim --skill neqsim-code-hygiene -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install equinor/neqsim neqsim-code-hygiene --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/equinor/neqsim.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/neqsim-code-hygiene .opencode/skills/neqsim-code-hygiene && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "neqsim-code-hygiene" agent skill from https://github.com/equinor/neqsim/tree/master/.github/skills/neqsim-code-hygiene into .opencode/skills/neqsim-code-hygiene/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neqsim-code-hygiene", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
neqsim-code-hygieneFix formatting, Checkstyle, Spotless, and JavaDoc build failures in NeqSim Java code.
Neqsim Code Hygiene is an agent skill from equinor/neqsim. Fix formatting, Checkstyle, Spotless, and JavaDoc build failures in NeqSim Java code. USE WHEN: the build fails on spotless:check, checkstyle:check, or javadoc:javadoc; a PR shows formatting/import-order/JavaDoc violations; or you edited any .java file and need to make it CI-clean. Covers the exact recurring errors (JavadocParagraph <p, orphan </p after lists, single-line @param/@return, import ordering, HTML5 tables, unused variables) and the fix-and-verify loop.
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with Java. The repository describes itself as: NeqSim is a library for calculation of fluid behavior, phase equilibrium and process simulation. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 068e6ed. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
gitpythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Neqsim Code Hygiene loads about 2.7k tokens when it runs. Until then it costs about 123 tokens; SKILL.md has 1,025 words of instructions outside code blocks.
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.
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.
The full file from equinor/neqsim at commit 068e6ed, republished under its Apache-2.0 licence (© equinor). 1,025 words, ~2,683 tokens.
.claude/skills/neqsim-code-hygiene/SKILL.md (or your agent's skills folder).This skill is the fix-it playbook for the code-quality gates that fail NeqSim CI:
spotless:check (formatting), checkstyle:check (style, imports, JavaDoc structure),
and javadoc:javadoc (HTML5-valid JavaDoc). It maps each recurring error message to
its exact cause and fix, and gives the mandatory verify loop. For the separate rule
set on which Java language features are allowed, load neqsim-java8-rules.
spotless:check, checkstyle:check, or javadoc:javadoc..java file (main, test, or examples) and must make it CI-clean../mvnw spotless:apply<p> tags, single-line JavaDoc, tables (below)../mvnw spotless:check
./mvnw checkstyle:check
./mvnw javadoc:javadocspotless:apply after hand edits (JavaDoc edits can change wrapping), then git add.git commit --no-verify.Order matters: hand-fix JavaDoc/imports, then
spotless:applylast so the committed file is both style-correct and formatter-clean.
.config/neqsim_formatter.xml (pom.xml), applied to src/main/java and src/test/java.spotless:apply fixes: indentation (2 spaces), trailing whitespace, blank lines,
brace placement, line wrapping of long method chains and string concatenations.spotless:apply does NOT fix: import ordering, JavaDoc content/structure, unused variables.python devtools/run_spotless.py / devtools/run_spotless.sh.Config: .config/checkstyle_neqsim.xml (Google style + project overrides). Imports must be
alphabetical by full path, grouped in this order with the groups appearing top-to-bottom:
import com.google.gson.JsonObject; // com.*
import java.util.HashMap; // java.* (HashMap before HashSet before List...)
import java.util.HashSet;
import java.util.List;
import neqsim.thermo.system.SystemInterface; // neqsim.*
import org.apache.logging.log4j.LogManager; // org.* (goes last)
import org.apache.logging.log4j.Logger;Rule: sort strictly by the full import string. java.util.HashMap sorts before
java.util.HashSet; org.* comes after neqsim.*. No blank lines inside a group
unless the project's config requires group separation — match the surrounding file.
<p> errors)The JavadocParagraph rule requires that every <p> tag is preceded by a blank JavaDoc line
(a lone *). This is the most common failure.
// WRONG — <p> immediately after a heading/text line:
/**
* <h2>Hardy Cross Method</h2>
* <p>Balances loop flows iteratively...</p>
*/
// CORRECT — blank ` *` line before <p>:
/**
* <h2>Hardy Cross Method</h2>
*
* <p>Balances loop flows iteratively...
*/Notes:
</p> — JavaDoc treats <p> as an opening separator.<p>, including ones after <h2>, <pre>, </ul>.</p> After a List (javadoc:javadoc HTML error)Starting a <ul> or <ol> implicitly closes the current paragraph. A </p> after the
list has no matching <p> and breaks HTML5 JavaDoc ("unexpected end tag: </p>").
// WRONG — orphan </p> after the list closes:
/**
* <p>Supported modes:
* <ul>
* <li>Sequential</li>
* <li>Newton-Raphson</li>
* </ul>
* </p>
*/
// CORRECT — drop the trailing </p>:
/**
* <p>Supported modes:
*
* <ul>
* <li>Sequential</li>
* <li>Newton-Raphson</li>
* </ul>
*/Find them fast across a file/tree:
grep -rnE '^\s*\*\s*</p>' src/main/java src/test/java@param / @return JavaDocA single-line JavaDoc like /** @return the pump speed */ triggers THREE violations:
missing summary sentence, not-multiline, and tag-not-preceded-by-blank-line. Expand it:
// WRONG:
/** @return the pump speed in rpm */
public double getPumpSpeed() { ... }
// CORRECT — summary sentence, blank line, then the tag:
/**
* Returns the pump speed.
*
* @return the pump speed in rpm
*/
public double getPumpSpeed() { ... }Same shape for setters/params:
/**
* Sets the pump speed.
*
* @param speed the pump speed in rpm
*/
public void setPumpSpeed(double speed) { ... }// WRONG — deprecated summary attribute, no caption:
/**
* <table summary="modes">
* <tr><th>Mode</th></tr>
* </table>
*/
// CORRECT — <caption> element, no summary attribute:
/**
* <table>
* <caption>Solver modes</caption>
* <tr><th>Mode</th></tr>
* </table>
*/| Error | Cause | Fix |
|---|---|---|
reference not found | @see IEC 61508 (plain text) | Move the standard into the description text; @see only takes ClassName/#method |
bad use of '>' | Lambda -> or > in a JavaDoc code example | Use >, or rewrite the lambda as an anonymous class |
no @param for X / no @return / no @throws for X | Missing tag (applies to private methods too) | Add the tag; every throws clause needs a matching @throws |
semicolon missing / malformed HTML | Unbalanced tag in JavaDoc | Check tag nesting; lists close the paragraph implicitly |
get_errors may report unused locals/fields after cleanup. They do NOT fail the CI gates
but are worth clearing:
double viscosity = ...;) → delete it.[deprecation] warnings)Calling an API marked @Deprecated produces a [deprecation] compiler warning
(uses or overrides a deprecated API). NeqSim treats these as debt to pay down: replace
the call with the successor named in the member's @deprecated JavaDoc.
Find the successor — never guess. Read the deprecated member's JavaDoc; the
@deprecated tag states the replacement:
/**
* @deprecated use {@link #getFluid()} instead
*/
@Deprecated
public SystemInterface getThermoSystem() { ... }Migrate the call site (do NOT change the deprecated method's body):
// WRONG — deprecated call:
SystemInterface sys = stream.getThermoSystem();
// CORRECT — successor from the @deprecated note:
SystemInterface sys = stream.getFluid();Find deprecated usages across the tree:
# every call site the compiler warned about
./mvnw -q compile 2>&1 | grep -i deprecat
# or search for a specific retired method by name
grep -rn "getThermoSystem(" src/main/java src/test/javaRules and cautions:
vscode_listCodeUsages / the rename provider to migrate every call site of a
retired member consistently, rather than editing one file at a time.@deprecated tag gives no replacement, or the successor changes behaviour, do
NOT blind-swap it — leave it and flag it for the owner.@Deprecated annotation; other
callers (and downstream users) may still depend on it. This skill fixes call sites.@Deprecated too, or
re-target it to the successor../mvnw -q compile and confirm the [deprecation] warning for
that member is gone, then run the full verify loop.| Mistake | Fix |
|---|---|
Running only spotless:check and expecting it to fix files | Run spotless:apply to actually reformat |
| Expecting Spotless to sort imports or fix JavaDoc | Do those by hand; Spotless only touches formatting |
Adding </p> to "close" a <p> | JavaDoc <p> is a separator — never add </p> |
Leaving </p> after </ul>/</ol> | Remove it — the list already closed the paragraph |
Committing with --no-verify to skip the gate | Never bypass; fix the violation |
| Hand-indenting long method chains | Let spotless:apply wrap them |
| Guessing a deprecated method's replacement | Read the @deprecated JavaDoc tag for the named successor |
| Deleting a deprecated member to clear a warning | Fix the call site; other callers may still need the member |
./mvnw spotless:apply run, files re-git added./mvnw spotless:check passes./mvnw checkstyle:check passes (imports sorted, <p> preceded by blank line, no single-line JavaDoc)./mvnw javadoc:javadoc passes (no orphan </p>, tables have <caption>, no plain-text @see)throws clause has a matching @throws[deprecation] warnings — call sites migrated to the successor named in the @deprecated tagneqsim-java8-rules).config/checkstyle_neqsim.xml — Checkstyle rules (Google style + overrides).config/neqsim_formatter.xml — Eclipse formatter profile used by Spotlessneqsim-java8-rules skill — forbidden Java 9+ features and JavaDoc requirementsAGENTS.md / .github/copilot-instructions.md — Spotless and JavaDoc mandates© equinor, 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
Just SKILL.md in .github/skills/neqsim-code-hygiene of equinor/neqsim.
Open the folder on GitHubat commit 068e6ed
Neqsim Code Hygiene 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Neqsim Code Hygiene this skillequinor/neqsim | 156 | — | ~2.7k | Automated safety check: Pass | Apache-2.0 | |
| Brainstormingxpinjection/test-driven-spring-boot | 112 | 54 repos | ~2.6k | Automated safety check: Pass | MIT | |
| Android API Diffgkd-kit/gkd | 43k | — | ~796 | Automated safety check: Pass | GPL-3.0 | |
| Video Cover Imageitwanger/toBeBetterJavaer | 18k | — | ~3.3k | Automated safety check: Pass | None | |
| Lancedb Update Lance Dependencylancedb/lancedb | 12k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Java SDK E2E Test with Replay Snapshotgithub/copilot-sdk | 11k | — | ~1.8k | Automated safety check: Pass | MIT |
xpinjection/test-driven-spring-boot
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.
gkd-kit/gkd
Looks up Android framework Java and AIDL APIs across versions with the android-api-diff CLI: signatures, availability, source files and hidden-API access code.
itwanger/toBeBetterJavaer
Generate matched 3:4, 16:9, and 4:3 short-video cover images from toBeBetterJavaer video scripts or AI/Java technical topics.
lancedb/lancedb
Update LanceDB to a specific Lance release or tag. An agent skill from lancedb/lancedb.
github/copilot-sdk
Creates a Java SDK end-to-end test for the Copilot SDK that runs against a recorded YAML snapshot through a replay proxy, so CI needs no real authentication.
apache/fory
Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email.
equinor/neqsim
Guides NeqSim agents through acid-gas and contaminant removal with SimpleAmineAbsorber, SimpleAmineRegenerator, SystemKentEisenberg, SystemDesmukhMather, RateBasedAbsorber, MembraneSeparator, and…
equinor/neqsim
Guides agents through ProcessLinkedMPC, ProcessLinearizer, ModelPredictiveController, VirtualFlowMeter, SoftSensor, and DataReconciliationEngine.
equinor/neqsim
Agent-to-agent communication schema for NeqSim. An agent skill from equinor/neqsim.
equinor/neqsim
Autonomous observe-hypothesize-predict-test-discriminate loop for operational anomalies.
equinor/neqsim
Equipment capacity constraints, bottlenecks, utilization snapshots, KPI/response DTOs, validated automation writes and GOR/MPFM rate fitting (CapacityConstraint, BottleneckTracker…
equinor/neqsim
CO2 capture, transport, storage (CCS) and hydrogen systems patterns for NeqSim.
Works with
Fix formatting, Checkstyle, Spotless, and JavaDoc build failures in NeqSim Java code. Neqsim Code Hygiene is an agent skill from equinor/neqsim. Fix formatting, Checkstyle, Spotless, and JavaDoc build failures in NeqSim Java code.
Neqsim Code Hygiene fits situations like: : the build fails on spotless:check; checkstyle:check; javadoc:javadoc; A PR shows formatting/import-order/JavaDoc violations.
Run `npx skills add equinor/neqsim --skill neqsim-code-hygiene -a claude-code`. Or copy the skill folder (.github/skills/neqsim-code-hygiene in equinor/neqsim) into .claude/skills/neqsim-code-hygiene in your project. Claude Code loads it when a task matches its description.
Run `npx skills add equinor/neqsim --skill neqsim-code-hygiene -a codex`. Or copy the skill folder (.github/skills/neqsim-code-hygiene in equinor/neqsim) into .agents/skills/neqsim-code-hygiene in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add equinor/neqsim --skill neqsim-code-hygiene -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/neqsim-code-hygiene, .gemini/skills/neqsim-code-hygiene, .github/skills/neqsim-code-hygiene and .opencode/skills/neqsim-code-hygiene in your project.
Going by SKILL.md and its folder, Neqsim Code Hygiene needs the command-line tools its instructions call (git and python). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Neqsim Code Hygiene 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.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Neqsim Code Hygiene: Brainstorming (xpinjection/test-driven-spring-boot, 112 stars), Android API Diff (gkd-kit/gkd, 43k stars), Video Cover Image (itwanger/toBeBetterJavaer, 18k stars) and Lancedb Update Lance Dependency (lancedb/lancedb, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
equinor (a GitHub organization) maintains it in equinor/neqsim, which has 156 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 8, 2026.
Source: equinor/neqsim on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.