Skip to content

Commit abee871

Browse files
authored
refactor: overhaul site messaging — prioritize npx install, remove llms-full.txt (#85)
- Remove llms-full.txt (violates progressive disclosure, incomplete for multi-file skills) - Rewrite llms.txt as concise skill index with install commands and discovery links - Restructure "access" page → "get started" with tiered install/discovery/info sections - Add npx skills install command to skill detail pages and browse cards - Rewrite how-it-works 3-step flow with concrete before/after prompt story - Update OG image to PNG (social platform compat) with current branding - Fix README: canonical .well-known URLs, correct hosting, clean up table - Update CLAUDE.md project structure to match
1 parent d5f09e6 commit abee871

File tree

18 files changed

+364
-299
lines changed

18 files changed

+364
-299
lines changed

.claude/CLAUDE.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This repository contains agent-readable skill files for the Internet Computer. E
44

55
## Key Rules
66

7-
- **`llms.txt`, `llms-full.txt`, `.well-known/skills/`, and `sitemap.xml`** are all generated by Astro at build time into `dist/`. They are NOT committed to git.
7+
- **`llms.txt`, `.well-known/skills/`, and `sitemap.xml`** are all generated by Astro at build time into `dist/`. They are NOT committed to git.
88
- **Never edit Astro source files to add or update a skill** — the website auto-discovers skills from SKILL.md frontmatter at build time. Only edit `src/` files for site-level UI changes.
99
- **One skill = one file** at `skills/<skill-name>/SKILL.md`. No nested directories, no images, no external dependencies within a skill.
1010
- Skill names are **lowercase, hyphenated** (e.g., `ckbtc`, `https-outcalls`, `stable-memory`) and must match the directory name. This aligns with the [Agent Skills spec](https://agentskills.io/specification).
@@ -85,14 +85,13 @@ src/ # Astro site source
8585
layouts/BaseLayout.astro # HTML shell, meta tags, JSON-LD
8686
layouts/SiteLayout.astro # Shared header/nav/footer for main pages
8787
components/BrowseTab.tsx # Preact island: search + skill grid
88-
components/AccessTab.tsx # Preact island: access/endpoints reference
88+
components/GetStartedTab.tsx # Preact island: get started / install + endpoints
8989
components/SkillHeader.tsx # Preact island: skill detail header
9090
pages/index.astro # Browse page
9191
pages/how-it-works/ # How it works page (fully static)
92-
pages/access/ # Access reference page (real endpoints)
92+
pages/get-started/ # Get started page (install + endpoints)
9393
pages/skills/[slug]/ # Dynamic skill pages (pre-rendered)
94-
pages/llms.txt.ts # Skills index for agents
95-
pages/llms-full.txt.ts # All skills concatenated
94+
pages/llms.txt.ts # Skill index with descriptions and discovery links
9695
pages/.well-known/skills/ # Skills Discovery RFC endpoints (index.json + per-skill SKILL.md)
9796
public/ # Static assets (favicon, etc.)
9897
astro.config.mjs # Astro configuration

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ dist
66
*.local
77
public/.well-known/skills/
88
public/llms.txt
9-
public/llms-full.txt
109
.astro
1110
.icp/cache/
1211
lighthouse-*

README.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ All skills live in [`skills/*/SKILL.md`](skills/). Each skill is a self-containe
4444

4545
### Install via CLI
4646

47-
Works with 40+ agents (Claude Code, Cursor, Windsurf, Copilot, and more):
47+
Works with any agent that supports skills (Claude Code, Cursor, Windsurf, Copilot, and more):
4848

4949
```bash
5050
npx skills add dfinity/icskills
@@ -54,10 +54,10 @@ Browse available skills, pick your agent, and install. See [skills.sh](https://s
5454

5555
### Manual
5656

57-
Fetch the raw skill file and place it wherever your agent reads instructions from:
57+
Fetch a single skill and place it wherever your agent reads instructions from:
5858

5959
```bash
60-
curl -sL https://raw.githubusercontent.com/dfinity/icskills/main/skills/ckbtc/SKILL.md
60+
curl -sL https://skills.internetcomputer.org/.well-known/skills/ckbtc/SKILL.md
6161
```
6262

6363
The files are plain markdown — paste into any system prompt, rules file, or context window.
@@ -66,14 +66,11 @@ The files are plain markdown — paste into any system prompt, rules file, or co
6666

6767
| Resource | URL | Description |
6868
|----------|-----|-------------|
69-
| Skill index | [`llms.txt`](https://skills.internetcomputer.org/llms.txt) | Short index with links to each skill |
70-
| All skills | [`llms-full.txt`](https://skills.internetcomputer.org/llms-full.txt) | All skills concatenated for direct context injection |
71-
| Single skill | [`skills/{name}/SKILL.md`](https://raw.githubusercontent.com/dfinity/icskills/main/skills/ckbtc/SKILL.md) | Raw markdown from GitHub |
72-
| Skills discovery | [`.well-known/skills/index.json`](https://skills.internetcomputer.org/.well-known/skills/index.json) | Machine-readable skill index ([Cloudflare Skills Discovery RFC](https://github.com/cloudflare/agent-skills-discovery-rfc)) |
73-
| Single skill (API) | `/.well-known/skills/{name}/SKILL.md` | Raw markdown via discovery endpoint |
74-
| Skill reference file | `/.well-known/skills/{name}/references/{file}.md` | Additional reference files listed in the discovery index |
75-
| Skill page (HTML) | [`/skills/{name}/`](https://skills.internetcomputer.org/skills/ckbtc/) | Pre-rendered skill page with full SEO |
76-
| CLI | `npx skills add dfinity/icskills` | Browse and install skills via [skills.sh](https://skills.sh) |
69+
| Skills discovery | [`.well-known/skills/index.json`](https://skills.internetcomputer.org/.well-known/skills/index.json) | Machine-readable skill index ([Agent Skills Discovery RFC](https://github.com/cloudflare/agent-skills-discovery-rfc)) |
70+
| Single skill | `/.well-known/skills/{name}/SKILL.md` | Raw markdown for one skill |
71+
| Reference files | `/.well-known/skills/{name}/references/{file}.md` | Additional files listed in the discovery index |
72+
| Skill index | [`llms.txt`](https://skills.internetcomputer.org/llms.txt) | All skills with descriptions and discovery links |
73+
| Skill page | [`/skills/{name}/`](https://skills.internetcomputer.org/skills/ckbtc/) | Pre-rendered skill page for humans |
7774

7875
## Contributing
7976

@@ -84,13 +81,13 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for how to add or update skills.
8481
## Tech Stack
8582

8683
- **Site**: [Astro](https://astro.build/) — static site generator, zero JS by default. Interactive islands with [Preact](https://preactjs.com/) (~18kb gzipped total)
87-
- **Hosting**: GitHub Pages via Actions
84+
- **Hosting**: IC asset canister at [`skills.internetcomputer.org`](https://skills.internetcomputer.org)
8885
- **Skills**: Plain markdown files in `skills/*/SKILL.md`
8986
- **Validation**: Structural linter for frontmatter and code blocks (`npm run validate`)
9087
- **Evaluation**: Per-skill eval cases with LLM-as-judge scoring (`node scripts/evaluate-skills.js <skill>`)
9188
- **Schema**: JSON Schema for frontmatter at `skills/skill.schema.json`
9289
- **SEO**: Per-skill meta tags, JSON-LD (TechArticle), sitemap, canonical URLs
93-
- **Skills Discovery**: `llms.txt`, `llms-full.txt`, `.well-known/skills/` ([Skills Discovery RFC](https://github.com/cloudflare/agent-skills-discovery-rfc))
90+
- **Skills Discovery**: `llms.txt`, `.well-known/skills/` ([Skills Discovery RFC](https://github.com/cloudflare/agent-skills-discovery-rfc))
9491

9592
## License
9693

public/og-image.png

24.5 KB
Loading

public/og-image.svg

Lines changed: 8 additions & 19 deletions
Loading

scripts/generate-sitemap.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ xml += ` <url>
4646
<changefreq>weekly</changefreq>
4747
<priority>0.8</priority>
4848
</url>
49-
<url>
50-
<loc>${SITE}/llms-full.txt</loc>
51-
<lastmod>${latestDate}</lastmod>
52-
<changefreq>weekly</changefreq>
53-
<priority>0.8</priority>
54-
</url>
5549
</urlset>
5650
`;
5751

src/components/AccessTab.tsx

Lines changed: 0 additions & 149 deletions
This file was deleted.

src/components/BrowseTab.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default function BrowseTab({ skills }: Props) {
111111
gap: "16px",
112112
}}>
113113
{filtered.map((skill) => {
114-
const rawUrl = `${origin}/.well-known/skills/${skill.name}/SKILL.md`;
114+
const installCmd = `npx skills add dfinity/icskills --skill ${skill.name}`;
115115
return (
116116
<div
117117
key={skill.name}
@@ -186,7 +186,7 @@ export default function BrowseTab({ skills }: Props) {
186186
<div style={{
187187
fontSize: "11px", color: "var(--text-muted)", whiteSpace: "nowrap", flexShrink: 0,
188188
}}>
189-
paste in agent:
189+
install:
190190
</div>
191191
<code style={{
192192
flex: 1, padding: "6px 10px",
@@ -196,9 +196,9 @@ export default function BrowseTab({ skills }: Props) {
196196
whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis",
197197
minWidth: 0,
198198
}}>
199-
{rawUrl}
199+
{installCmd}
200200
</code>
201-
<CopyButton text={rawUrl} />
201+
<CopyButton text={installCmd} />
202202
</div>
203203
</div>
204204
);

0 commit comments

Comments
 (0)