You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add usage instructions for different AI agents
Covers Claude Code, Cursor, GitHub Copilot, OpenAI Codex, Goose,
Roo Code, Amp, Junie, and Gemini CLI with skill paths and
invocation methods for each.
-`references/` — pattern database loaded on demand via progressive disclosure
95
-
-`scripts/find-pattern.py` — CLI tool for programmatic pattern search
96
-
-`assets/` — output templates
97
-
98
-
Clone the repo and point the agent framework at `SKILL.md` as the skill entry point.
91
+
This skill follows the [agentskills.io](https://agentskills.io) open standard and works with any compatible agent. See [Usage with Different Agents](#usage-with-different-agents) below for agent-specific setup.
99
92
100
93
## Directory Structure
101
94
@@ -124,6 +117,97 @@ java-code-upgrade/
124
117
upgrade-report-template.md # Template for upgrade reports
125
118
```
126
119
120
+
## Usage with Different Agents
121
+
122
+
This skill follows the [agentskills.io](https://agentskills.io) open standard. It auto-activates when relevant to Java modernization tasks, or can be invoked explicitly.
123
+
124
+
### Claude Code
125
+
126
+
| Scope | Path |
127
+
|-------|------|
128
+
| Personal (all projects) |`~/.claude/skills/java-code-upgrade/`|
129
+
| Project |`.claude/skills/java-code-upgrade/`|
130
+
131
+
**Invoke:** Ask naturally ("modernize this Java code") or explicitly with `/java-code-upgrade`. Claude loads the skill automatically when relevant.
| User (global) |`~/.cursor/skills/java-code-upgrade/`|
140
+
| Project |`.cursor/skills/java-code-upgrade/` or `.agents/skills/java-code-upgrade/`|
141
+
142
+
**Invoke:** Ask naturally or use `/java-code-upgrade` in chat. Cursor auto-discovers skills at startup. You can also install from GitHub via **Settings > Rules > Add Rule > Remote Rule (Github)**.
For any other [agentskills.io](https://agentskills.io)-compatible agent, place the skill directory where the agent discovers skills (typically `~/.agents/skills/` globally or `.agents/skills/` per-project). The `SKILL.md` file is the entry point. The agent loads references and scripts on demand via progressive disclosure.
0 commit comments