Skip to content

Commit e66e9d2

Browse files
committed
Link nav to the GitHub skill
1 parent d48ac01 commit e66e9d2

55 files changed

Lines changed: 881 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

scripts/build-loop-pages.mjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,14 @@ ${structuredData(loop)}
366366
<a href="../../#library" aria-current="page">Loops</a>
367367
<a href="../../learn/">Learn</a>
368368
<a href="../../agents/">For agents</a>
369+
<a
370+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
371+
target="_blank"
372+
rel="noopener noreferrer"
373+
aria-label="Loop Library skill on GitHub"
374+
>
375+
Skill
376+
</a>
369377
<button
370378
class="theme-toggle"
371379
id="theme-toggle"
@@ -390,6 +398,14 @@ ${structuredData(loop)}
390398
<a href="../../#library" aria-current="page">Loops</a>
391399
<a href="../../learn/">Learn</a>
392400
<a href="../../agents/">For agents</a>
401+
<a
402+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
403+
target="_blank"
404+
rel="noopener noreferrer"
405+
aria-label="Loop Library skill on GitHub"
406+
>
407+
Skill
408+
</a>
393409
</nav>
394410
</header>
395411

scripts/check.mjs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,10 @@ for (const [index, loop] of loops.entries()) {
693693
);
694694
assert(page.includes('<a href="../../learn/">Learn</a>'));
695695
assert(page.includes('<a href="../../agents/">For agents</a>'));
696+
assert.equal(
697+
(page.match(/aria-label="Loop Library skill on GitHub"/g) || []).length,
698+
2,
699+
);
696700
assert.equal((page.match(/class="mobile-site-nav"/g) || []).length, 1);
697701
assert(!page.includes('href="../../#tips"'));
698702
assert(page.includes('data-copy-root'));
@@ -896,6 +900,10 @@ assert(!html.includes(`<span>Copy link</span>`));
896900
assert(html.includes('<a href="#library" aria-current="page">Loops</a>'));
897901
assert(html.includes('<a href="./learn/">Learn</a>'));
898902
assert(html.includes('<a href="./agents/">For agents</a>'));
903+
assert.equal(
904+
(html.match(/aria-label="Loop Library skill on GitHub"/g) || []).length,
905+
2,
906+
);
899907
assert.equal((html.match(/class="mobile-site-nav"/g) || []).length, 1);
900908
assert(!html.includes('class="loop-guide"'));
901909
assert(!html.includes("A useful loop specifies:"));
@@ -933,7 +941,7 @@ assert(
933941
);
934942
assert(html.includes("<span>Copy command</span>"));
935943
assert(
936-
!html.includes(
944+
html.includes(
937945
"https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library",
938946
),
939947
);
@@ -972,6 +980,10 @@ assert(learnHtml.includes('id="devin"'));
972980
assert(learnHtml.includes('href="../agents/">For agents</a>'));
973981
assert(learnHtml.includes('<a href="../#library">Loops</a>'));
974982
assert(learnHtml.includes('<a href="./" aria-current="page">Learn</a>'));
983+
assert.equal(
984+
(learnHtml.match(/aria-label="Loop Library skill on GitHub"/g) || []).length,
985+
2,
986+
);
975987
assert.equal((learnHtml.match(/class="mobile-site-nav"/g) || []).length, 1);
976988
assert(learnHtml.includes(`href="${siteMeta.baseUrl}llms.txt"`));
977989
assert(learnHtml.includes(`href="${siteMeta.baseUrl}agents/"`));
@@ -984,6 +996,10 @@ assert(agentHtml.includes("Use Loop Library directly."));
984996
assert(agentHtml.includes('<a href="../#library">Loops</a>'));
985997
assert(agentHtml.includes('<a href="../learn/">Learn</a>'));
986998
assert(agentHtml.includes('<a href="./" aria-current="page">For agents</a>'));
999+
assert.equal(
1000+
(agentHtml.match(/aria-label="Loop Library skill on GitHub"/g) || []).length,
1001+
2,
1002+
);
9871003
assert.equal((agentHtml.match(/class="mobile-site-nav"/g) || []).length, 1);
9881004
assert(agentHtml.includes("No skill installation is required."));
9891005
assert(agentHtml.includes('href="../catalog.json"'));

site/agents/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@
114114
<a href="../#library">Loops</a>
115115
<a href="../learn/">Learn</a>
116116
<a href="./" aria-current="page">For agents</a>
117+
<a
118+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
119+
target="_blank"
120+
rel="noopener noreferrer"
121+
aria-label="Loop Library skill on GitHub"
122+
>
123+
Skill
124+
</a>
117125
<button
118126
class="theme-toggle"
119127
id="theme-toggle"
@@ -156,6 +164,14 @@
156164
<a href="../#library">Loops</a>
157165
<a href="../learn/">Learn</a>
158166
<a href="./" aria-current="page">For agents</a>
167+
<a
168+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
169+
target="_blank"
170+
rel="noopener noreferrer"
171+
aria-label="Loop Library skill on GitHub"
172+
>
173+
Skill
174+
</a>
159175
</nav>
160176
</header>
161177

site/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,14 @@
522522
<a href="#library" aria-current="page">Loops</a>
523523
<a href="./learn/">Learn</a>
524524
<a href="./agents/">For agents</a>
525+
<a
526+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
527+
target="_blank"
528+
rel="noopener noreferrer"
529+
aria-label="Loop Library skill on GitHub"
530+
>
531+
Skill
532+
</a>
525533
<button
526534
class="theme-toggle"
527535
id="theme-toggle"
@@ -564,6 +572,14 @@
564572
<a href="#library" aria-current="page">Loops</a>
565573
<a href="./learn/">Learn</a>
566574
<a href="./agents/">For agents</a>
575+
<a
576+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
577+
target="_blank"
578+
rel="noopener noreferrer"
579+
aria-label="Loop Library skill on GitHub"
580+
>
581+
Skill
582+
</a>
567583
</nav>
568584
</header>
569585

site/learn/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,14 @@
112112
<a href="../#library">Loops</a>
113113
<a href="./" aria-current="page">Learn</a>
114114
<a href="../agents/">For agents</a>
115+
<a
116+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
117+
target="_blank"
118+
rel="noopener noreferrer"
119+
aria-label="Loop Library skill on GitHub"
120+
>
121+
Skill
122+
</a>
115123
<button
116124
class="theme-toggle"
117125
id="theme-toggle"
@@ -154,6 +162,14 @@
154162
<a href="../#library">Loops</a>
155163
<a href="./" aria-current="page">Learn</a>
156164
<a href="../agents/">For agents</a>
165+
<a
166+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
167+
target="_blank"
168+
rel="noopener noreferrer"
169+
aria-label="Loop Library skill on GitHub"
170+
>
171+
Skill
172+
</a>
157173
</nav>
158174
</header>
159175

site/loops/100-percent-test-coverage-loop/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,14 @@
155155
<a href="../../#library" aria-current="page">Loops</a>
156156
<a href="../../learn/">Learn</a>
157157
<a href="../../agents/">For agents</a>
158+
<a
159+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
160+
target="_blank"
161+
rel="noopener noreferrer"
162+
aria-label="Loop Library skill on GitHub"
163+
>
164+
Skill
165+
</a>
158166
<button
159167
class="theme-toggle"
160168
id="theme-toggle"
@@ -197,6 +205,14 @@
197205
<a href="../../#library" aria-current="page">Loops</a>
198206
<a href="../../learn/">Learn</a>
199207
<a href="../../agents/">For agents</a>
208+
<a
209+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
210+
target="_blank"
211+
rel="noopener noreferrer"
212+
aria-label="Loop Library skill on GitHub"
213+
>
214+
Skill
215+
</a>
200216
</nav>
201217
</header>
202218

site/loops/accessibility-repair-loop/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,14 @@
155155
<a href="../../#library" aria-current="page">Loops</a>
156156
<a href="../../learn/">Learn</a>
157157
<a href="../../agents/">For agents</a>
158+
<a
159+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
160+
target="_blank"
161+
rel="noopener noreferrer"
162+
aria-label="Loop Library skill on GitHub"
163+
>
164+
Skill
165+
</a>
158166
<button
159167
class="theme-toggle"
160168
id="theme-toggle"
@@ -197,6 +205,14 @@
197205
<a href="../../#library" aria-current="page">Loops</a>
198206
<a href="../../learn/">Learn</a>
199207
<a href="../../agents/">For agents</a>
208+
<a
209+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
210+
target="_blank"
211+
rel="noopener noreferrer"
212+
aria-label="Loop Library skill on GitHub"
213+
>
214+
Skill
215+
</a>
200216
</nav>
201217
</header>
202218

site/loops/architecture-satisfaction-loop/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,14 @@
155155
<a href="../../#library" aria-current="page">Loops</a>
156156
<a href="../../learn/">Learn</a>
157157
<a href="../../agents/">For agents</a>
158+
<a
159+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
160+
target="_blank"
161+
rel="noopener noreferrer"
162+
aria-label="Loop Library skill on GitHub"
163+
>
164+
Skill
165+
</a>
158166
<button
159167
class="theme-toggle"
160168
id="theme-toggle"
@@ -197,6 +205,14 @@
197205
<a href="../../#library" aria-current="page">Loops</a>
198206
<a href="../../learn/">Learn</a>
199207
<a href="../../agents/">For agents</a>
208+
<a
209+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
210+
target="_blank"
211+
rel="noopener noreferrer"
212+
aria-label="Loop Library skill on GitHub"
213+
>
214+
Skill
215+
</a>
200216
</nav>
201217
</header>
202218

site/loops/artifact-to-skill-loop/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,14 @@
155155
<a href="../../#library" aria-current="page">Loops</a>
156156
<a href="../../learn/">Learn</a>
157157
<a href="../../agents/">For agents</a>
158+
<a
159+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
160+
target="_blank"
161+
rel="noopener noreferrer"
162+
aria-label="Loop Library skill on GitHub"
163+
>
164+
Skill
165+
</a>
158166
<button
159167
class="theme-toggle"
160168
id="theme-toggle"
@@ -197,6 +205,14 @@
197205
<a href="../../#library" aria-current="page">Loops</a>
198206
<a href="../../learn/">Learn</a>
199207
<a href="../../agents/">For agents</a>
208+
<a
209+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
210+
target="_blank"
211+
rel="noopener noreferrer"
212+
aria-label="Loop Library skill on GitHub"
213+
>
214+
Skill
215+
</a>
200216
</nav>
201217
</header>
202218

site/loops/autonomy-loop/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,14 @@
155155
<a href="../../#library" aria-current="page">Loops</a>
156156
<a href="../../learn/">Learn</a>
157157
<a href="../../agents/">For agents</a>
158+
<a
159+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
160+
target="_blank"
161+
rel="noopener noreferrer"
162+
aria-label="Loop Library skill on GitHub"
163+
>
164+
Skill
165+
</a>
158166
<button
159167
class="theme-toggle"
160168
id="theme-toggle"
@@ -197,6 +205,14 @@
197205
<a href="../../#library" aria-current="page">Loops</a>
198206
<a href="../../learn/">Learn</a>
199207
<a href="../../agents/">For agents</a>
208+
<a
209+
href="https://github.com/Forward-Future/loop-library/tree/main/skills/loop-library"
210+
target="_blank"
211+
rel="noopener noreferrer"
212+
aria-label="Loop Library skill on GitHub"
213+
>
214+
Skill
215+
</a>
200216
</nav>
201217
</header>
202218

0 commit comments

Comments
 (0)