Skip to content

docs: llms.txt point to the skills registry instead of duplicating fetch steps - #673

Merged
marc0olo merged 2 commits into
mainfrom
agent-skills-llms-pointer
Jul 30, 2026
Merged

docs: llms.txt point to the skills registry instead of duplicating fetch steps#673
marc0olo merged 2 commits into
mainfrom
agent-skills-llms-pointer

Conversation

@marc0olo

@marc0olo marc0olo commented Jul 23, 2026

Copy link
Copy Markdown
Member

What

The generated docs llms.txt "Agent skills" section now points to the canonical, choice-offering entrypoint (https://skills.internetcomputer.org/llms.txt) instead of duplicating fetch-and-remember instructions, and drops the now-unused skillsBase.

  • docs-site/plugins/astro-agent-docs.mjs

Branch brought up to date with main (merge; was 13 behind), merges clean.

Validation

astro build of the docs site passes; the generated llms.txt contains the pointer and the old block is gone.

Companion PRs

…teps

Replaces the '## Agent skills' block's inline fetch-and-remember instructions
with a short pointer to https://skills.internetcomputer.org/llms.txt (the
canonical, choice-offering entry point), and drops the now-unused skillsBase.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates generated agent documentation to reference the canonical ICP skills registry instructions.

Changes:

  • Replaces duplicated skill-fetch guidance with the canonical llms.txt link.
  • Removes the unused skillsBase constant.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@marc0olo marc0olo changed the title docs llms.txt: point to the skills registry instead of duplicating fetch steps docs: llms.txt point to the skills registry instead of duplicating fetch steps Jul 24, 2026
@marc0olo
marc0olo marked this pull request as ready for review July 27, 2026 10:55
@marc0olo
marc0olo requested a review from a team as a code owner July 27, 2026 10:55
@marc0olo
marc0olo merged commit 5f1a032 into main Jul 30, 2026
35 checks passed
@marc0olo
marc0olo deleted the agent-skills-llms-pointer branch July 30, 2026 19:20
marc0olo added a commit that referenced this pull request Aug 4, 2026
…teps (#673)

Replaces the '## Agent skills' block's inline fetch-and-remember instructions
with a short pointer to https://skills.internetcomputer.org/llms.txt (the
canonical, choice-offering entry point), and drops the now-unused skillsBase.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
raymondk pushed a commit to dfinity/icskills that referenced this pull request Aug 4, 2026
## What
`llms.txt` guides the user into a skills-mode choice, and the site no
longer duplicates `AGENTS.md`.

- `src/pages/llms.txt.ts`: leads with the on-demand fetch mechanics
(usable immediately, never blocked), then offers a one-time choice
(on-demand / pinned / autosync) with an ask-first, non-destructive
option to persist it into `AGENTS.md` (create if missing; append a
delimited block to an unrelated one without touching its content).
- Removed the orphaned `/AGENTS.md` endpoint (`src/pages/AGENTS.md.ts`)
and reworked the Get Started page by intent (use skills with your agent;
start a new project with icp-cli; pin into an existing project;
browse/read yourself). `llms.txt` is now the sole agent entrypoint; no
AGENTS.md copy remains on the site.
- `README.md`: quick-start paste prompt.

**Key properties**
- No terminal or install for the default path: the `.well-known` index
and `SKILL.md` are plain URL fetches, so web-only agents (e.g.
Perplexity) are handled; a correct `curl -sL` example is included.
Installs for pin/autosync are run by the agent per the chosen mode.
- Index fetched once per session (remembering names/URLs); `SKILL.md`
per task.
- Pinned update policy: manual or ask-first (never blocks; skips when
non-interactive).

## Validation
`astro build` passes (30 pages); generated `llms.txt` carries the
choice-flow and the `/AGENTS.md` endpoint is correctly gone. Behaviour
validated via simulated paste-flow (empty / unrelated-AGENTS /
non-interactive), cross-link arrival, no-re-onboard regression, and
pinned/ask-first (interactive offer, non-interactive skip).

### Companion PRs
- dfinity/icp-cli-templates#36
- dfinity/icp-cli#673
- dfinity/developer-docs#321

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
marc0olo added a commit to dfinity/developer-docs that referenced this pull request Aug 5, 2026
## What
Aligns the AI-agents docs with the three ways to consume ICP skills.

- `docs/guides/ai-coding-agents.md`: adds autosync as a third option,
frames fetch-on-demand / pin / auto-update as an explicit choice,
corrects the "fetched fresh each time" line to be mode-aware, clarifies
that no install is needed to get started (installing is a separate
option), and links to the icp-cli-templates `AGENT_SKILLS.md`.
- `plugins/astro-agent-docs.mjs`: the generated `llms.txt` "Agent
skills" block becomes a short pointer to
`skills.internetcomputer.org/llms.txt` instead of duplicating fetch
instructions.

Em-dash free (docs validator passes); branch up to date with `main`.

## Validation
`astro build` passes (209 pages) and `scripts/validate.js` passes on the
changed guide. Generated `llms.txt` carries the pointer.

_(The `.sources/*` submodule pointers seen in a local working tree are
pre-existing and not part of this PR.)_

### Companion PRs
- dfinity/icp-cli-templates#36
- dfinity/icskills#251
- dfinity/icp-cli#673

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants