Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 1.96 KB

File metadata and controls

67 lines (50 loc) · 1.96 KB

Getting started for Skills for Java

If you are interested in getting the benefits of these Skills for Java, read this document.

Concepts related to this project

What is a Skill?

Agent Skills are a lightweight, open format for extending AI agent capabilities with specialized knowledge and workflows.

At its core, a skill is a folder containing a SKILL.md file. This file includes metadata (name and description, at minimum) and instructions that tell an agent how to perform a specific task. Skills can also bundle scripts, templates, and reference materials.

How to install the Skills?

Using a Registry: npx skills

Use the following commands to list and install the Skills:

#To install npx
brew install node
sudo apt install nodejs npm

npx skills --help
npx skills add jabrena/cursor-rules-java --list
npx skills add jabrena/cursor-rules-java --all --agent cursor
npx skills add jabrena/cursor-rules-java --all --agent claude-code

Using Claude plugins

claude plugin marketplace add https://github.com/jabrena/cursor-rules-java

Using Skillsjars

https://www.skillsjars.com/ https://github.com/skillsjars/skillsjars-maven-plugin

<build>
    <plugins>
        <plugin>
            <groupId>com.skillsjars</groupId>
            <artifactId>maven-plugin</artifactId>
            <version>0.0.5</version>
            <dependencies>
                <!-- Your SkillsJars -->
                <dependency>
                    <groupId>com.skillsjars</groupId>
                    <artifactId>SKILLJAR_ARTIFACT_ID</artifactId>
                    <version>SKILLJAR_VERSION</version>
                </dependency>
            </dependencies>
        </plugin>
    </plugins>
</build>

Extract Skills in a directory compatible with your AI Tool like Cursor, Claude Code or Github Copilot:

./mvnw skillsjars:extract -Ddir=.agents/skills
./mvnw skillsjars:extract -Ddir=.claude/skills
./mvnw skillsjars:extract -Ddir=.github/skills