Agent skill
2020-6-10-java-skill
Java 语言积累
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/2020-6-10-java-skill
SKILL.md
积累一些在使用 Java 语言编程中常用到的一些方法:
List中元素不重复比对
class test {
public static void main(String[] args) {
List<Integer> tem = new ArrayList<>();
tem.add(0);
tem.add(1);
tem.add(2);
tem.add(3);
tem.add(4);
tem.add(5);
int first = tem.get(0);
tem.remove(0);
while (!tem.isEmpty()) {
for (int j = 0; j < tem.size(); j++) {
System.out.println(first + "--------->" + tem.get(j));
}
first = tem.get(0);
tem.remove(0);
}
}
}
2020-6-10更新
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?