create-doc

Create and validate governed documentation with frontmatter and KNOWLEDGE.md sync.

2|Updated May 20, 2026
One-click install
npx skills add https://github.com/Yemomo511/hybrid-agent-rail --skill create-doc-yemomo511
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-doc
Source: https://github.com/Yemomo511/hybrid-agent-rail/tree/main/.codex/skills/create-doc
Command: npx skills add https://github.com/Yemomo511/hybrid-agent-rail --skill create-doc-yemomo511

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Ungoverned, inconsistent, and unindexed long-lived documentation in the Hybrid Agent Rail repository leads to drift, poor discoverability for Agents, and misalignment with repo standards, wasting developer time and causing incorrect implementation references.

Core Features & Use Cases

  • Standardized Document Creation: Enforces a repo-wide template and validation rules for all docs under docs/ to ensure consistent structure, required frontmatter, and mandatory sections.
  • Automatic Knowledge Index Sync: Updates the central docs/KNOWLEDGE.md index with document metadata when new or updated docs are created, making all governed docs easily discoverable by Agent platforms like Codex, Claude Code, and Cursor.
  • Drift Prevention Validation: Includes built-in validation scripts to catch missing fields, placeholder content, path mismatches, and non-compliant structure before docs are finalized.
  • Use Case: When adding a new usage guide for Flutter FFI integration in the Hybrid Agent Rail system, this skill ensures the doc is properly formatted, indexed, and aligned with repo documentation rules.

Quick Start

Use the create-doc skill to draft a new governed document for the Hybrid Agent Rail React Native TurboModule integration guide and sync it to the project knowledge index.

Frequently Asked Questions about create-doc

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

FAQPage Schema
How do I enforce consistent documentation structure and frontmatter for cross-platform guides?

To enforce consistent documentation structure, apply a standardized template with mandatory frontmatter and section compliance rules. This ensures all technical contracts and usage guides maintain uniform structure across supported platforms.

What is the best way to prevent documentation drift in an agent repository?

Preventing documentation drift requires built-in validation scripts that catch missing fields, placeholder content, and path mismatches before finalizing docs. This approach eliminates unindexed long-lived documentation and maintains repo standards.

How do I sync new usage guides to a central knowledge index for agent discovery?

To sync new usage guides to a central knowledge index, automatically synchronize document metadata to the central KNOWLEDGE.md index when creating or updating docs. This makes governed docs easily discoverable by agent platforms.

Does this documentation validation approach work with React Native and Flutter workflows?

Yes, this documentation validation approach works with React Native, Flutter, and UniApp workflows. It governs technical contracts and usage guides specifically tailored for these supported hybrid platforms within the repository.

How to validate mandatory sections and frontmatter before finalizing technical docs?

To validate mandatory sections and frontmatter, run built-in validation scripts that detect non-compliant structures and missing fields before docs are finalized. This ensures all documents satisfy template-backed structural requirements.

Why does my agent platform fail to discover newly created workflow documentation?

Agent platforms fail to discover workflow documentation when docs are unindexed and lack synchronized metadata. Automatically updating the central knowledge index with new document metadata ensures platforms like Claude Code and Cursor can find them.