@@ -150,31 +150,61 @@ <h2 id="install-title">Install it in your agent.</h2>
150150 </ div >
151151 < div class ="install-options ">
152152 < article class ="install-option ">
153- < div >
154- < h3 > GitHub Copilot CLI </ h3 >
153+ < div class =" install-option-copy " >
154+ < h3 > GitHub Copilot</ h3 >
155155 < p > Add the java.evolved marketplace once, then install the plugin.</ p >
156156 </ div >
157- < code > copilot plugin marketplace add javaevolved/javaevolved.github.io</ code >
158- < code > copilot plugin install modern-java-development@javaevolved</ code >
157+ < div class ="install-command ">
158+ < code > copilot plugin marketplace add javaevolved/javaevolved.github.io</ code >
159+ < button class ="command-copy-btn " type ="button " aria-label ="Copy command ">
160+ < svg viewBox ="0 0 16 16 " width ="16 " height ="16 " aria-hidden ="true "> < path d ="M5.75 1.5h6.75a2 2 0 0 1 2 2v6.75a2 2 0 0 1-2 2h-1V9.5a5 5 0 0 0-5-5H3.5v-1a2 2 0 0 1 2-2h.25Zm-2.25 4h3a4 4 0 0 1 4 4v3a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2Z " fill ="currentColor "/> </ svg >
161+ </ button >
162+ </ div >
163+ < div class ="install-command ">
164+ < code > copilot plugin install modern-java-development@javaevolved</ code >
165+ < button class ="command-copy-btn " type ="button " aria-label ="Copy command ">
166+ < svg viewBox ="0 0 16 16 " width ="16 " height ="16 " aria-hidden ="true "> < path d ="M5.75 1.5h6.75a2 2 0 0 1 2 2v6.75a2 2 0 0 1-2 2h-1V9.5a5 5 0 0 0-5-5H3.5v-1a2 2 0 0 1 2-2h.25Zm-2.25 4h3a4 4 0 0 1 4 4v3a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2Z " fill ="currentColor "/> </ svg >
167+ </ button >
168+ </ div >
159169 < a href ="https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference " target ="_blank " rel ="noopener "> Copilot plugin documentation < span aria-hidden ="true "> ↗</ span > </ a >
160170 </ article >
161171 < article class ="install-option ">
162- < div >
172+ < div class =" install-option-copy " >
163173 < h3 > Claude Code</ h3 >
164174 < p > Clone the repository, then install the skill for your user account.</ p >
165175 </ div >
166- < code > git clone --depth 1 https://github.com/javaevolved/javaevolved.github.io.git</ code >
167- < code > mkdir -p ~/.claude/skills && cp -R javaevolved.github.io/agent-plugins/modern-java-development/skills/modern-java ~/.claude/skills/</ code >
176+ < div class ="install-command ">
177+ < code > git clone --depth 1 https://github.com/javaevolved/javaevolved.github.io.git</ code >
178+ < button class ="command-copy-btn " type ="button " aria-label ="Copy command ">
179+ < svg viewBox ="0 0 16 16 " width ="16 " height ="16 " aria-hidden ="true "> < path d ="M5.75 1.5h6.75a2 2 0 0 1 2 2v6.75a2 2 0 0 1-2 2h-1V9.5a5 5 0 0 0-5-5H3.5v-1a2 2 0 0 1 2-2h.25Zm-2.25 4h3a4 4 0 0 1 4 4v3a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2Z " fill ="currentColor "/> </ svg >
180+ </ button >
181+ </ div >
182+ < div class ="install-command ">
183+ < code > mkdir -p ~/.claude/skills && cp -R javaevolved.github.io/agent-plugins/modern-java-development/skills/modern-java ~/.claude/skills/</ code >
184+ < button class ="command-copy-btn " type ="button " aria-label ="Copy command ">
185+ < svg viewBox ="0 0 16 16 " width ="16 " height ="16 " aria-hidden ="true "> < path d ="M5.75 1.5h6.75a2 2 0 0 1 2 2v6.75a2 2 0 0 1-2 2h-1V9.5a5 5 0 0 0-5-5H3.5v-1a2 2 0 0 1 2-2h.25Zm-2.25 4h3a4 4 0 0 1 4 4v3a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2Z " fill ="currentColor "/> </ svg >
186+ </ button >
187+ </ div >
168188 < p class ="install-scope "> For one project, copy it to < code > .claude/skills/modern-java</ code > instead.</ p >
169189 < a href ="https://code.claude.com/docs/en/skills " target ="_blank " rel ="noopener "> Claude Code skill documentation < span aria-hidden ="true "> ↗</ span > </ a >
170190 </ article >
171191 < article class ="install-option ">
172- < div >
192+ < div class =" install-option-copy " >
173193 < h3 > OpenAI Codex CLI</ h3 >
174194 < p > Clone the repository, then install the skill for your user account.</ p >
175195 </ div >
176- < code > git clone --depth 1 https://github.com/javaevolved/javaevolved.github.io.git</ code >
177- < code > mkdir -p ~/.agents/skills && cp -R javaevolved.github.io/agent-plugins/modern-java-development/skills/modern-java ~/.agents/skills/</ code >
196+ < div class ="install-command ">
197+ < code > git clone --depth 1 https://github.com/javaevolved/javaevolved.github.io.git</ code >
198+ < button class ="command-copy-btn " type ="button " aria-label ="Copy command ">
199+ < svg viewBox ="0 0 16 16 " width ="16 " height ="16 " aria-hidden ="true "> < path d ="M5.75 1.5h6.75a2 2 0 0 1 2 2v6.75a2 2 0 0 1-2 2h-1V9.5a5 5 0 0 0-5-5H3.5v-1a2 2 0 0 1 2-2h.25Zm-2.25 4h3a4 4 0 0 1 4 4v3a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2Z " fill ="currentColor "/> </ svg >
200+ </ button >
201+ </ div >
202+ < div class ="install-command ">
203+ < code > mkdir -p ~/.agents/skills && cp -R javaevolved.github.io/agent-plugins/modern-java-development/skills/modern-java ~/.agents/skills/</ code >
204+ < button class ="command-copy-btn " type ="button " aria-label ="Copy command ">
205+ < svg viewBox ="0 0 16 16 " width ="16 " height ="16 " aria-hidden ="true "> < path d ="M5.75 1.5h6.75a2 2 0 0 1 2 2v6.75a2 2 0 0 1-2 2h-1V9.5a5 5 0 0 0-5-5H3.5v-1a2 2 0 0 1 2-2h.25Zm-2.25 4h3a4 4 0 0 1 4 4v3a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2Z " fill ="currentColor "/> </ svg >
206+ </ button >
207+ </ div >
178208 < p class ="install-scope "> For one project, copy it to < code > .agents/skills/modern-java</ code > instead.</ p >
179209 < a href ="https://developers.openai.com/codex/skills/ " target ="_blank " rel ="noopener "> Codex skill documentation < span aria-hidden ="true "> ↗</ span > </ a >
180210 </ article >
0 commit comments