neqsim-code-health
Skill167 starsChanged 7 months agoApache-2.0View on GitHub
Assess NeqSim maintainability, technical debt, dependency boundaries, complexity hotspots, duplication and new static-analysis findings. Use for code-health triage, a maintenance backlog, or planning a bounded refactoring with evidence.
In this repository140 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- analyze-convergenceSkill
- analyze-gibbs-convergenceSkill
- book-creationSkill
- design-flash-benchmarkSkill
- design-reactor-benchmarkSkill
- figure-discussionSkill
- generate-publication-figuresSkill
- journal-formattingSkill
- neqsim-acid-gas-treatingSkill
- neqsim-advanced-control-mpc-and-virtual-sensingSkill
- neqsim-agent-handoffSkill
- neqsim-agentic-process-optimizationSkill
- neqsim-api-patternsSkill
- neqsim-autonomous-investigationSkill
- neqsim-capability-mapSkill
- neqsim-capacity-and-utilization-analysisSkill
- neqsim-capacity-increase-screeningSkill
- neqsim-ccs-hydrogenSkill
- neqsim-code-hygieneSkill
- neqsim-code-reviewSkill
- neqsim-column-internals-and-rate-basedSkill
- neqsim-compressor-antisurge-recycleSkill
- neqsim-consequence-analysisSkill
- neqsim-continuous-task-improvementSkill
- neqsim-controllability-operabilitySkill
- neqsim-cooling-waterSkill
- neqsim-cpa-water-boundariesSkill
- neqsim-depressurization-mdmtSkill
- neqsim-distillation-designSkill
- neqsim-document-intelligence-extractionSkill
- neqsim-dynamic-equipment-implementationSkill
- neqsim-dynamic-simulationSkill
- neqsim-electrolyte-systemsSkill
- neqsim-emulsion-separationSkill
- neqsim-energy-systems-and-electrificationSkill
- neqsim-engineering-design-packageSkill
- neqsim-eos-regressionSkill
- neqsim-equipment-cost-estimationSkill
- neqsim-exploration-strategy-selectionSkill
- neqsim-field-developmentSkill
- neqsim-field-economicsSkill
- neqsim-firewater-deluge-designSkill
- neqsim-flow-accelerated-corrosionSkill
- neqsim-flow-assuranceSkill
- neqsim-flow-assurance-study-reportSkill
- neqsim-forward-separator-trainSkill
- neqsim-future-operation-studySkill
- neqsim-hazid-fmea-eta-ftaSkill
- neqsim-heat-integrationSkill
- neqsim-hydrogen-productionSkill
- neqsim-input-validationSkill
- neqsim-integrated-production-and-lifecycleSkill
- neqsim-in-writingSkill
- neqsim-java8-rulesSkill
- neqsim-jurisdiction-regulatory-basisSkill
- neqsim-literature-searchSkill
- neqsim-lng-liquefactionSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Read docs/development/CODE_HEALTH.md for commands, baseline policy and limitations.
- Very specific: line 9
Use current source and the exact base/head revisions.
- Very specific: line 14
Run devtools/code_health.py --output <evidence.json> with the selected Python executable.
- Distinctive: line 19
Use the exact reviewed analysis JDK.
- Distinctive: line 29
Check open work before selecting a change.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Assess code health
Read docs/development/CODE_HEALTH.md for commands, baseline policy and limitations.
Use current source and the exact base/head revisions. Discover existing implementations
with devtools/capability_search.py before proposing new APIs.
In connector-only sessions, inspect current GitHub source and CI artifacts; mark
local checks unrun instead of assuming that a checkout or build tool is available.
- Run
devtools/code_health.py --output <evidence.json>with the selected Python executable. Inspect findings and measured file metrics, not just the exit code. - Generate and supply PMD and SpotBugs reports for a static-analysis assessment.
Missing reports or analysis errors are failures. Distinguish unmeasured coverage
and unavailable history from measured zero values.
Use the exact reviewed analysis JDK; a runtime precondition failure is not a
zero-findings pass. For clone warnings, inspect parent and owned-state copies,
preserve normal copy behavior and propagate failures with their cause.
For
CT_CONSTRUCTOR_THROW, preserve constructor validation and prevent finalizer access to partially initialized objects. New implementations without an inheritance contract can be final; retain the interface as the extension point and document that choice. Do not suppress the detector or remove validation to pass the gate. - Rank candidates using branch counts, size, import dependencies, duplicate-window candidates, bounded history and relevant regression evidence. Size/branch counts are proxies; overlapping duplicate windows are not a percentage of duplicated code.
- Check open work before selecting a change. Keep one coherent maintenance PR and coordinate overlapping files with existing campaigns.
- State the problem, extension point, public contracts, numerical/performance risk, test commands and acceptance criteria. Prefer one responsibility with known callers.
- Hand implementation to
@refactorwithneqsim-safe-refactoring, then request independent@code-reviewusingneqsim-code-review. Reuse@neqsim-testand@documentationfor distinct test and documentation work.
Return a ranked, source-linked backlog and a bounded first task. Record exact checks, exit results and unresolved evidence. Never refresh the baseline to make a failure pass; propose each baseline change explicitly with a reason. Do not call discovery coverage or a maintenance metric numerical qualification.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

