Skip to content

Commit 1ca1558

Browse files
committed
Docs for skill install
1 parent 61d47fe commit 1ca1558

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

‎docs/agents/skills.html‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,29 +164,35 @@ <h2 id="available">Available skill</h2>
164164
<h2 id="installation">Installation</h2>
165165

166166
<h3 class="install-option" id="clone-symlink">Option A - Clone and symlink (recommended)</h3>
167+
<div class="syntax">
167168
<pre class="sh">
168169
git clone https://github.com/ebean-orm/skills.git ~/.agents/ebean-skills
169170
mkdir -p ~/.agents/skills
170171
ln -sf ~/.agents/ebean-skills/ebean-orm ~/.agents/skills/ebean-orm
171172
</pre>
173+
</div>
172174
<p>To update:</p>
175+
<div class="syntax">
173176
<pre class="sh">
174177
cd ~/.agents/ebean-skills && git pull
175178
</pre>
179+
</div>
176180

177181
<h3 class="install-option" id="copy-install">Option B - Clone and copy into the skills directory</h3>
182+
<div class="syntax">
178183
<pre class="sh">
179184
git clone https://github.com/ebean-orm/skills.git /tmp/ebean-skills
180185
mkdir -p ~/.agents/skills
181186
cp -r /tmp/ebean-skills/ebean-orm ~/.agents/skills/ebean-orm
182187
rm -rf /tmp/ebean-skills
183188
</pre>
184-
189+
</div>
185190
<h3 class="install-option" id="project-level">Option C - Project-level installation</h3>
186191
<p>
187192
To make the skill available to everyone working on a specific project, copy it into a checked-in
188193
<code>.agents/skills</code> directory.
189194
</p>
195+
<div class="syntax">
190196
<pre class="sh">
191197
# from your project root
192198
git clone https://github.com/ebean-orm/skills.git /tmp/ebean-skills
@@ -195,14 +201,17 @@ <h3 class="install-option" id="project-level">Option C - Project-level installat
195201
rm -rf /tmp/ebean-skills
196202
git add .agents/skills/ebean-orm
197203
</pre>
204+
</div>
198205

199206
<h2 id="verification">Verification</h2>
200207
<p>
201208
After installation, verify that the skill is visible to your coding tool. In pi:
202209
</p>
210+
<div class="syntax">
203211
<pre class="sh">
204212
/skills
205213
</pre>
214+
</div>
206215
<p>
207216
You should see <code>ebean-orm</code> listed.
208217
</p>
@@ -222,6 +231,7 @@ <h2 id="how-it-works">How it works</h2>
222231
</p>
223232

224233
<h2 id="structure">Skill structure</h2>
234+
<div class="syntax">
225235
<pre class="code">
226236
ebean-orm/
227237
├── SKILL.md
@@ -233,6 +243,7 @@ <h2 id="structure">Skill structure</h2>
233243
├── testing.md
234244
└── db-migrations.md
235245
</pre>
246+
</div>
236247
<ul>
237248
<li><code>setup.md</code> - project setup, dependencies, and configuration</li>
238249
<li><code>modeling.md</code> - entity modeling and relationships</li>

0 commit comments

Comments
 (0)