Document page-actions.options.skills.path and publish the fern-docs skill from this site - #6961
Draft
matlegault wants to merge 3 commits into
Draft
matlegault wants to merge 3 commits into
matlegault wants to merge 3 commits into
Conversation
… 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>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
…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. |
Contributor
There was a problem hiding this comment.
📝 [vale] <FernStyles.Acronyms> reported by reviewdog 🐶
'SKILL' has no definition.
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.jsonpins5.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 --warnings→Found 0 errors(the warnings are pre-existing).What changed vs. #5905:
fern/docs.ymlkeepsrepository: https://github.com/fern-api/skillsalongsidepath: ../.agents/skills.repositoryis not deprecated: the platform still renders it as the "View source" link, so the snippet's deprecation wording was dropped. Keepsmain's updatedlearn-more-url.host-skills.mdxleads with the declared-path flow but retains the hand-built.well-known/agent-skillsv0.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.2026-09-15.mdxand uses<ChangelogTags>per AGENTS.md..agents/skills/fern-docs/is a byte-identical copy offern-api/skills@main(skills/fern-docs), so this site dogfoods the feature by publishing the skill itself; therepositorylink 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