Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doc-html — Modern Interactive HTML Documentation Skill

GitHub Release GitHub Pages License: MIT

An agentic AI skill for generating responsive, single-file, interactive HTML technical documentation, API specifications, and architecture whitepapers.

🌐 Live Demo: https://ghasemdev.github.io/html-doc-skill/
📜 Release Notes: See CHANGELOG.md for detailed version history.


⚡ Core Capabilities

  • 📑 ChatGPT/Acrobat-Style Catalog Sidebar: Persistent desktop rail and smooth mobile off-canvas drawer with reading progress indicator.
  • 🔤 Strictly Left-to-Right (LTR) Code Blocks: All <pre>, <code>, and JSON snippets stay LTR in both RTL (Persian) and LTR (English) modes.
  • 📡 Standardized API Tables: Structured endpoints with HTTP badges (POST, GET), parameter tables, JSON schemas, and error code tables.
  • 📍 Coordinate Drag & Drop Commenting: Drag and drop comment pins at $(x, y)$ coordinates across sections with a slide-out review drawer.
  • 📥 Export to AI & Embedded HTML: Download reviewer comments as structured JSON for AI iteration, or embed directly into downloadable HTML.
  • 🔀 Real Version Navigation: Seamless routing between documentation versions (v2.0.0, v1.2.0, v1.0.0) with archived banners.
  • 🌓 Dual-Theme Engine (Dark/Light): Fluid CSS variable transitions persistent in localStorage.
  • 🌐 Zero-Reload Bilingual Engine: Instant English/Persian switching adhering to persian-writing typography (Vazirmatn, ZWNJ, no Fingilish).
  • 📱 Mobile First & No Horizontal Overflow: Clean compact mobile toolbar, touch targets (≥44px), and responsive tables.
  • 🎯 Context-Aware Modularity: Intelligent component inclusion — no forced or irrelevant APIs, diagrams, or simulators.

📂 Repository Structure

html-doc-skill/
├── SKILL.md                          # Authoritative AI agent skill instructions
├── README.md                         # Quick reference & documentation
├── CHANGELOG.md                      # Complete version changelog history
├── index.html                        # GitHub Pages root entrypoint (v2.0.0)
├── resources/
│   └── starter-template.html         # Clean boilerplate starter template
└── examples/
    ├── remote-compose-architecture-and-usecases.html # Full showcase (v2.0.0)
    ├── v2.0.0/remote-compose.html    # Version 2.0.0 release
    ├── v1.2.0/remote-compose.html    # Version 1.2.0 archived release
    └── v1.0.0/remote-compose.html    # Version 1.0.0 baseline release

🚀 Installation & Usage

Install in Antigravity (agy CLI)

# Global installation (all projects)
cp -r html-doc-skill ~/.gemini/antigravity-cli/skills/

# Or project-level
cp -r html-doc-skill .skills/

Prompting Example

"Generate interactive HTML documentation using the doc-html skill for our payment gateway API. Include standardized API tables, bilingual support, strictly LTR code blocks, and coordinate review comments."


📜 License

MIT License — free for open-source and commercial use.

About

Modern, bilingual, single-file interactive HTML documentation skill for AI coding agents with Dark/Light themes, Persian typography, interactive simulators, and Acrobat-style sidebar navigation.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages