Skip to content
Back to skills

Docs Portal

ASecurity

Rebuild and verify the AgentLane website documentation portal after docs-sync or edits to root documentation, navigation, or portal rendering.

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 2, 2026
ai-agentsnodegitdocumentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add yasik/agentlane --skill docs-portal --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs Portal?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docs Portal
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yasik-docs-portal/badge)](https://www.skillsdirectory.com/skills/yasik-docs-portal)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: docs-portal
description: Rebuild and verify the AgentLane website documentation portal after docs-sync or edits to root documentation, navigation, or portal rendering.
---

# Documentation portal

Keep public Markdown in root `docs/`. Astro reads those files directly.
`docs/plans/` is internal and must stay out of routes, navigation, and search.

## Workflow

1. If you change documentation prose, use `dev-docs` from the session's skill
   catalog. Apply its review checklist to the changed pages. Reuse a completed
   review from docs-sync when the text has not changed. If the skill is missing,
   report that limitation and do not claim a completed style review.
2. Use Node.js 24 and pnpm 10.29.3. From the repository root, install the website
   dependencies with `make -C website install` if needed.
3. Run `make -C website check`. This checks formatting and types, builds the
   website from root documentation, and tests the generated routes and links.
4. Fix failures within the changed scope and repeat the check. For layout or
   interaction changes, use `make -C website dev` to check a changed page on
   desktop and mobile. Check navigation, search, code blocks, and both themes.
5. Report the source pages, check results, and unresolved failures. Generated
   files stay in ignored `website/dist/`; do not commit them.

The build creates `/docs/` from `docs/README.md`. Other Markdown files retain
their relative path without `.md`; nested README files use directory routes.
The build derives navigation and search from the same public collection.
Use relative Markdown links in source files so they also work on GitHub.

The website workflow runs on public docs changes. Deployment uses the website's
normal release process. A local rebuild does not publish the site.

## Navigation contract

Apply these rules to all public documentation on every rebuild:

- Discover every public Markdown file under `docs/` recursively. Folder paths
  define section membership and nesting depth. Exclude `docs/plans/`.
- Keep `docs/README.md` as the documentation home. Use each top-level folder
  as a section, with its README page first if present.
- Use a nested folder's README title and route for its group. Show that page
  once. A folder without a README has a label without a link; do not create
  a page or route for it.
- Derive the sidebar, breadcrumbs, and previous/next links from the same tree.
  Every public page must appear once in navigation and remain in search.
- Use concise Markdown page titles. Omit parent names that the hierarchy
  already supplies. Group tool references under Harness > Tools and use
  each exact tool name as its title, without a "Tool" suffix. Apply title
  changes in source Markdown so pages, navigation, and search agree.
- Use `docs/README.md` to order siblings. Top-level label and order overrides
  can remain, but must not select pages or limit nesting. Do not add manual
  hierarchy lists for specific sections or providers.
- Include added folders and pages automatically, even when the documentation
  index does not list them. When moving sources, repair incoming links because
  folder paths also determine routes.

Check the generated structure against every public source path. Verify folder
ancestry, README placement, page coverage, and links across the documentation.

Files in this skill

  • SKILL.md1.8 KB
  • agents/openai.yaml254 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.