Enable Install skills page action pointing at fern-api/skills#121
Open
matlegault wants to merge 2 commits into
Open
Enable Install skills page action pointing at fern-api/skills#121matlegault wants to merge 2 commits into
matlegault wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment on lines
+88
to
+99
| page-actions: | ||
| options: | ||
| skills: | ||
| title: Install agent skills | ||
| description: Skills for authoring Fern docs, maintained in our skills repo. | ||
| learn-more-url: https://buildwithfern.com/learn/docs/ai/agent-skills | ||
| repository: https://github.com/fern-api/skills | ||
| install-command: npx skills add fern-api/skills --skill fern-docs | ||
| skills: | ||
| - name: fern-docs | ||
| description: "Author and edit Fern documentation: MDX pages, navigation, docs.yml config, custom components, landing pages, and changelog entries." | ||
| url: https://github.com/fern-api/skills/tree/main/skills/fern-docs |
Contributor
There was a problem hiding this comment.
🚩 Top-level page-actions key coexists with theme.page-actions
The file already has theme: page-actions: toolbar at line 85, and the PR adds a new top-level page-actions key at line 88. These are distinct YAML keys (one nested under theme, one at the root), so there's no YAML conflict. However, depending on how Fern's docs engine resolves configuration, there could be ambiguity about whether the top-level page-actions overrides or supplements theme.page-actions. The schema at https://schema.buildwithfern.dev/docs-yml.json (referenced in line 1) would clarify whether both are valid simultaneously, but it's not available locally to verify.
Was this helpful? React with 👍 or 👎 to provide feedback.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Adds a top-level
page-actions.options.skillsblock tofern/docs.yml, enabling the "Install skills" page action and pointing it at Fern's own skills repo (fern-api/skills).The modal surfaces the
fern-docsskill with thenpx skills add fern-api/skills --skill fern-docsinstall command, a "View source" link to the repo, and a "Learn more" link to the agent-skills docs. This uses the schema added in fern-api/fern#16446 and rendered by fern-api/fern-platform#11947 — once this site serves a/.well-knownskills manifest, the modal will swap the hand-listed skill for the served one automatically.🤖 Generated with Claude Code