Skip to content

Document page-actions.options.skills.path and publish the fern-docs skill from this site - #6961

Draft
matlegault wants to merge 3 commits into
mainfrom
devin/1789492354-skills-path-docs
Draft

matlegault wants to merge 3 commits into
mainfrom
devin/1789492354-skills-path-docs

Conversation

@matlegault

Copy link
Copy Markdown
Contributor

Summary

Rebase of #5905 onto current main, for the CLI feature in fern-api/fern#17751 (page-actions.options.skills.path).

Blocked until a Fern CLI release includes fern-api/fern#17751. fern/fern.config.json pins 5.100.0, and that CLI rejects the new key (Invalid object at path $.page-actions.options.skills ... has properties: path, ...), so preview/publish will fail until the pin is bumped to the release that ships the feature. Validated locally with a CLI built from the #17751 branch: fern check --warningsFound 0 errors (the warnings are pre-existing).

What changed vs. #5905:

  • fern/docs.yml keeps repository: https://github.com/fern-api/skills alongside path: ../.agents/skills. repository is not deprecated: the platform still renders it as the "View source" link, so the snippet's deprecation wording was dropped. Keeps main's updated learn-more-url.
  • host-skills.mdx leads with the declared-path flow but retains the hand-built .well-known/agent-skills v0.2.0 manifest layout in a new "Serve a hand-built bundle" section instead of deleting it, since passthrough still works and the CLI only generates the legacy v0.1.0 /.well-known/skills/index.json.
  • Changelog moved to 2026-09-15.mdx and uses <ChangelogTags> per AGENTS.md.
  • Stale redirect edits from the old branch are not carried over.

.agents/skills/fern-docs/ is a byte-identical copy of fern-api/skills@main (skills/fern-docs), so this site dogfoods the feature by publishing the skill itself; the repository link still points at the canonical repo. Open question for reviewers: keep both copies in sync, or make one the source of truth.

Link to Devin session: https://app.devin.ai/sessions/d920802193244dc58438f544c0cfb233
Open in Devin Desktop: https://app.devin.ai/desktop/session/d920802193244dc58438f544c0cfb233?variant=devin
Requested by: @matlegault

… from this site

Adapts #5905 onto current main. Depends on a Fern CLI release
that includes fern-api/fern#17751 and a matching fern/fern.config.json bump.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

matlegault and others added 2 commits September 15, 2026 17:51
…setting

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
</ParamField>

<ParamField path="page-actions.options.skills.path" type="string" required={false} toc={true}>
Path to a directory of agent skills in this repo. Resolved relative to the folder containing `docs.yml`; `../` is allowed (e.g. a repo-root `.agents/skills/` directory that also serves local coding agents). Every subdirectory containing a `SKILL.md` is published as one skill: the CLI validates the bundle, generates the `/.well-known/skills/index.json` discovery manifest, and uploads every file so that `npx skills add https://<your-docs-domain>` works. Nothing is written back to your repo.

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.

📝 [vale] <FernStyles.Acronyms> reported by reviewdog 🐶
'SKILL' has no definition.

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