creating-docs-page

Create and register bilingual CompanyGPT documentation pages with frontmatter and sidebar mapping.

Updated Sep 26, 2025
One-click install
npx skills add https://github.com/innFactory-AI/docs --skill creating-docs-page
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-docs-page
Source: https://github.com/innFactory-AI/docs/tree/main/.claude/skills/creating-docs-page
Command: npx skills add https://github.com/innFactory-AI/docs --skill creating-docs-page

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams through creating and registering bilingual CompanyGPT documentation pages, ensuring consistency with frontmatter, language mirroring, and sidebar integration.

Core Features & Use Cases

  • Frontmatter guidance: mandates name and description to enable discovery.
  • Bilingual page workflow: ensures German and English mirrors live under corresponding paths and are registered in astro.config.mjs.
  • Sidebar and structure: enforces correct path registration and asset guidance.

Quick Start

Create a German page under src/content/docs/de/company-gpt/... and its English mirror under src/content/docs/en/company-gpt/... and register both in astro.config.mjs.

Frequently Asked Questions about creating-docs-page

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create bilingual documentation pages with mirrored content?

Bilingual documentation pages require creating German files under src/content/docs/de/... and English mirrors under src/content/docs/en/..., ensuring both have correct frontmatter and follow translation guidelines.

What frontmatter fields are required to publish documentation pages?

Documentation pages require name and description frontmatter fields to enable discovery. These fields must be present for pages to meet validation requirements and pass the frontmatter checks.

How do I register new docs pages in astro.config.mjs?

To register docs pages in astro.config.mjs, add both the German and English page paths to the configuration file so they appear correctly in the documentation sidebar mapping.

Do I need to manually update the sidebar when adding bilingual docs?

Yes, bilingual docs require correct path registration in astro.config.mjs to ensure proper sidebar mapping. The sidebar and structure are enforced through this configuration registration process.

Why are my documentation pages not showing up in the sidebar?

Documentation pages may not appear if they are not properly registered in astro.config.mjs or if they fail frontmatter requirements. Validate that both name and description fields are present.

What is the correct file structure for German and English documentation mirrors?

The correct file structure places German documentation under src/content/docs/de/company-gpt/... and English mirrors under src/content/docs/en/company-gpt/... with matching paths and consistent frontmatter.