Skip to content

docs: host the agent skill's references as docs pages - #298

Merged
rafaelha merged 1 commit into
mainfrom
docs/skill-absolute-links
Nov 12, 2026
Merged

rafaelha merged 1 commit into
mainfrom
docs/skill-absolute-links

Conversation

@rafaelha

@rafaelha rafaelha commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

The docs site publishes the agent skill at /.well-known/skills/simulating-circuits-with-tsim/SKILL.md and as the MCP resource mintlify://skills/simulating-circuits-with-tsim, but Mintlify serves only SKILL.md:

  • .well-known/skills/index.json lists "files": ["SKILL.md"].
  • references/qec-experiments.md, references/decoders.md and references/porting.md return 404 under /.well-known/skills/simulating-circuits-with-tsim/.

So the skill's links to its references are broken for agents that get it from the site.

Fix

  • docs/skill-references: a symlink to skills/simulating-circuits-with-tsim/references. Mintlify serves the three files as hidden pages, not in the navigation: /tsim/skill-references/<name> and the Markdown at /tsim/skill-references/<name>.md. The deploy step already copies docs/ with cp -rL, so the files land on docs-site as real files, the same way the skill does.
  • docs/docs.json: redirect /.well-known/skills/simulating-circuits-with-tsim/references/:slug to /skill-references/:slug, so the skill's relative links (references/decoders.md) resolve to those pages.

SKILL.md is unchanged, and installed copies keep reading their local files.

Verification

  • Under mint dev, /skill-references/decoders returns the page and /skill-references/decoders.md returns the Markdown, with a short Mintlify index note at the top. Links between the references resolve.
  • mint validate and mint broken-links --check-anchors --check-redirects --check-snippets pass, on docs/ and on a cp -rL copy like the deploy step's.
  • uv run tsim-dev test test/unit/test_skills.py: 9 passed. pre-commit passes.

Not verified: the redirect. mint dev applies no docs.json redirects (it 404s even on a test redirect between ordinary paths) and does not serve /.well-known/, so it can only be checked on the deployed site with:

curl -sIL https://bloqade.quera.com/tsim/.well-known/skills/simulating-circuits-with-tsim/references/decoders.md

The pages are hidden, so they may not appear in the MCP server's search or its docs filesystem, which lists only pages in the navigation.

No changelog entry: the skill itself is still unreleased.

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T22:43:39.332617Z aa75643 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov

codecov Bot commented Nov 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

The docs site serves only SKILL.md of the agent skill (at
/.well-known/skills/ and as an MCP resource), so its links to
references/*.md returned 404 there. Symlink the references into docs/ as
hidden pages (the deploy step's `cp -rL` copies them) and redirect
/.well-known/skills/simulating-circuits-with-tsim/references/:slug to them,
so the skill's relative links resolve on the site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rafaelha
rafaelha force-pushed the docs/skill-absolute-links branch from aa75643 to 04f372f Compare November 12, 2026 22:51
@rafaelha rafaelha changed the title docs(skill): say where to fetch the references without the skill folder docs: host the agent skill's references as docs pages Nov 12, 2026
@rafaelha
rafaelha merged commit 8fe35f3 into main Nov 12, 2026
12 checks passed
@rafaelha
rafaelha deleted the docs/skill-absolute-links branch November 12, 2026 22:55
@github-actions

Copy link
Copy Markdown
Contributor

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
6277 5203 83% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 04f372f by action🐍

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.

1 participant