feat: expand skills review navigation and catalog

This commit is contained in:
Marcos Silva
2026-09-04 13:28:06 -03:00
parent 96771dfbd6
commit 73c3062062
11 changed files with 982 additions and 17 deletions
+5 -4
View File
@@ -5,8 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Friendly reviews and improved drafts for submitted Agent Skills." />
<title>Submitted Skills — Review Desk</title>
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="change-lens.css" />
<!-- Bump all review asset versions together when this interface changes. -->
<link rel="stylesheet" href="styles.css?v=20260904-preview-toolbar" />
<link rel="stylesheet" href="change-lens.css?v=20260904-preview-toolbar" />
</head>
<body>
<main>
@@ -24,7 +25,7 @@
</section>
<section class="method">
<div><p class="eyebrow">How to use this desk</p><h2>Compare.<br><em>Then choose.</em></h2></div>
<ol><li>Select a submission, or open an author URL.</li><li>Read the gentle review before judging the draft.</li><li>Toggle Markdown to inspect either version.</li><li>Copy or download the version you want.</li></ol>
<ol><li>Select a submission, or open an author URL.</li><li>Read the gentle review before judging the draft.</li><li>Choose <strong>Preview Markdown</strong> in the file toolbar to render either version.</li><li>Copy or download the version you want.</li></ol>
</section>
<section class="catalog" id="catalog">
<aside><p class="eyebrow">The catalog</p><label for="skill-filter">Find a skill</label><input id="skill-filter" type="search" placeholder="author, skill, topic" autocomplete="off"><p class="count" id="count"></p><div id="skill-list" role="listbox" aria-label="Submitted skills"></div></aside>
@@ -37,6 +38,6 @@
</section>
<footer>Share an author with <code>?author=Name</code>, or one review with <code>?author=Name&amp;skill=skill-id&amp;view=improved</code>. To add a submission later: drop a package under <code>submitted-skills/</code>, add a tailored entry in <code>skills-review/catalog.js</code>, then run <code>node scripts/build-skill-review.mjs</code>.</footer>
</main>
<script type="module" src="app.js"></script>
<script type="module" src="app.js?v=20260904-preview-toolbar"></script>
</body>
</html>