fix: add public references index and manifest-first wording
This commit is contained in:
parent
cca57a771d
commit
20e266539a
4 changed files with 51 additions and 4 deletions
|
|
@ -62,7 +62,7 @@ The agent should return up to three prompt recommendations with sample image URL
|
|||
References are hosted under:
|
||||
|
||||
```text
|
||||
https://jaeswift.xyz/skills/JAE-image-skill/references/
|
||||
https://jaeswift.xyz/skills/JAE-image-skill/references/manifest.json
|
||||
```
|
||||
|
||||
Refresh manually:
|
||||
|
|
|
|||
2
SKILL.md
2
SKILL.md
|
|
@ -62,7 +62,7 @@ node <skill_dir>/scripts/setup.js --force
|
|||
The default reference source is:
|
||||
|
||||
```text
|
||||
https://jaeswift.xyz/skills/JAE-image-skill/references
|
||||
https://jaeswift.xyz/skills/JAE-image-skill/references/manifest.json
|
||||
```
|
||||
|
||||
## Available reference files
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ This markdown file is designed for AI agents to read and execute. Install the JA
|
|||
- Local skill folder name: **jae-image-skill**
|
||||
- Purpose: recommend and customise curated image-generation prompts with sample images for any text-to-image model.
|
||||
- Canonical install document: `https://jaeswift.xyz/skills/JAE-image-skill/Jae-Image-Skill.MD`
|
||||
- Canonical reference base: `https://jaeswift.xyz/skills/JAE-image-skill/references`
|
||||
- Canonical reference manifest: `https://jaeswift.xyz/skills/JAE-image-skill/references/manifest.json`
|
||||
- Preferred Git repo: `https://git.jaeswift.xyz/jae/JAE-IMAGE-SKILL.git`
|
||||
|
||||
## Compatibility
|
||||
|
|
@ -141,6 +141,9 @@ jae-image-skill/
|
|||
|
||||
## Refresh references
|
||||
|
||||
Agents should treat `references/manifest.json` as the entry point. Do not rely on directory listing; `/references/` is only a human-readable index page.
|
||||
|
||||
|
||||
```bash
|
||||
cd "$SKILLS_DIR/jae-image-skill"
|
||||
node scripts/setup.js --force
|
||||
|
|
@ -149,7 +152,7 @@ node scripts/setup.js --force
|
|||
The default refresh source is:
|
||||
|
||||
```text
|
||||
https://jaeswift.xyz/skills/JAE-image-skill/references
|
||||
https://jaeswift.xyz/skills/JAE-image-skill/references/manifest.json
|
||||
```
|
||||
|
||||
To use a mirror:
|
||||
|
|
|
|||
44
references/index.html
Normal file
44
references/index.html
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>JAE Image Skill References</title>
|
||||
<style>
|
||||
:root{color-scheme:dark;--bg:#08080d;--card:rgba(255,255,255,.07);--line:rgba(255,255,255,.13);--txt:#f8fafc;--muted:#aeb7c8;--orange:#ff8a1c;--pink:#ff4fd8;--cyan:#45f3ff}
|
||||
body{margin:0;min-height:100vh;background:radial-gradient(circle at 18% 0%,rgba(255,138,28,.22),transparent 30%),radial-gradient(circle at 84% 18%,rgba(255,79,216,.16),transparent 34%),linear-gradient(135deg,#050509,#111827);font:15px/1.55 Inter,ui-sans-serif,system-ui;color:var(--txt);padding:28px}
|
||||
main{max-width:1050px;margin:0 auto;background:var(--card);border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.42);backdrop-filter:blur(16px)}
|
||||
h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1;margin:0 0 10px;background:linear-gradient(90deg,var(--orange),var(--pink));-webkit-background-clip:text;color:transparent}
|
||||
p{color:var(--muted);max-width:820px}.code{background:rgba(0,0,0,.34);border:1px solid var(--line);border-radius:14px;padding:13px;overflow:auto;color:#e5e7eb}code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.btn{display:inline-flex;padding:10px 14px;border-radius:999px;border:1px solid var(--line);text-decoration:none;color:var(--txt);background:rgba(255,255,255,.06);font-weight:700}.btn.primary{background:linear-gradient(90deg,var(--orange),var(--pink));color:#16050b;border:0}table{width:100%;border-collapse:collapse;margin-top:20px;overflow:hidden;border-radius:16px}th,td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--line)}th{color:#fff;background:rgba(255,255,255,.08)}td{color:#dbe3f3}a{color:var(--cyan)}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h1>JAE Image Skill References</h1>
|
||||
<p>This directory contains the machine-readable prompt reference files used by JAE-IMAGE-SKILL. Agents should read the manifest first, then fetch only the category JSON files they need.</p>
|
||||
<div class="code"><code>Canonical manifest: https://jaeswift.xyz/skills/JAE-image-skill/references/manifest.json</code></div>
|
||||
<div class="actions">
|
||||
<a class="btn primary" href="./manifest.json">Open manifest.json</a>
|
||||
<a class="btn" href="../Jae-Image-Skill.MD">Open installer markdown</a>
|
||||
<a class="btn" href="../jae-image-skill.tar.gz">Download skill tarball</a>
|
||||
<a class="btn" href="https://git.jaeswift.xyz/jae/JAE-IMAGE-SKILL">Git repo</a>
|
||||
</div>
|
||||
<table>
|
||||
<thead><tr><th>Category</th><th>Prompts</th><th>File</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td><a href="./profile-avatar.json">Profile / Avatar</a></td><td>1386</td><td><code>profile-avatar.json</code></td></tr>
|
||||
<tr><td><a href="./social-media-post.json">Social Media Post</a></td><td>7972</td><td><code>social-media-post.json</code></td></tr>
|
||||
<tr><td><a href="./infographic-edu-visual.json">Infographic / Edu Visual</a></td><td>531</td><td><code>infographic-edu-visual.json</code></td></tr>
|
||||
<tr><td><a href="./youtube-thumbnail.json">YouTube Thumbnail</a></td><td>203</td><td><code>youtube-thumbnail.json</code></td></tr>
|
||||
<tr><td><a href="./comic-storyboard.json">Comic / Storyboard</a></td><td>402</td><td><code>comic-storyboard.json</code></td></tr>
|
||||
<tr><td><a href="./product-marketing.json">Product Marketing</a></td><td>4715</td><td><code>product-marketing.json</code></td></tr>
|
||||
<tr><td><a href="./ecommerce-main-image.json">E-commerce Main Image</a></td><td>509</td><td><code>ecommerce-main-image.json</code></td></tr>
|
||||
<tr><td><a href="./game-asset.json">Game Asset</a></td><td>545</td><td><code>game-asset.json</code></td></tr>
|
||||
<tr><td><a href="./poster-flyer.json">Poster / Flyer</a></td><td>642</td><td><code>poster-flyer.json</code></td></tr>
|
||||
<tr><td><a href="./app-web-design.json">App / Web Design</a></td><td>195</td><td><code>app-web-design.json</code></td></tr>
|
||||
<tr><td><a href="./others.json">Uncategorized</a></td><td>1045</td><td><code>others.json</code></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Reference in a new issue